Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

feat(activity): 统一任务调速与分页交互

longmeidao55710df5b666
diff --git a/docs/BOARD_UI.md b/docs/BOARD_UI.md
index 47c61e939..94b331d34 100644
--- a/docs/BOARD_UI.md
+++ b/docs/BOARD_UI.md
@@ -48,6 +48,10 @@ Tree View 直接使用上游的目录图标、层级线、32px 紧凑行、键
任务中心的一轮任务使用独立卡面,失败时卡框使用错误色,结束原因保留正文色。运行进度、后继任务明细、例行任务折叠、历史分页和轮询共用现有数据状态。
+本机可控任务复用刮削的三档速度控件,支持低占用、标准、全速;运行中调档作用于当前任务和后继。设置的「媒体库与入库 → 后台任务」保存新任务默认档位。正在进行、本次未执行、最近完成、任务明细和云下载复用完整分页栏,提供每页 10、20、50、100 条选择,默认 20 条;历史与云下载按服务端页码读取,轮询刷新当前页。详情摘要整行可点击,正文和完整标题沿用共用高度过渡,复制成功通过通知栈反馈。
+
+JAV 新作、想要清单和人工复核使用同一完整分页栏。每页数量变化回到第一页,筛选后的总数决定页数;新作默认每页 24 部,并在标准选项中保留 24 部这一档,地址中的 `size` 同步请求与查询缓存。
+
系统诊断首先呈现 warning、failed 与 unknown 检查,正常与未配置项保留在「其他检查」折叠区。库健康清单与来源会话各自保留。恢复按钮点明媒体库、网络与访问、维护与更新或任务中心,并使用诊断报告提供的目标。
追更与订阅源检查的问题详情保留本轮来源名称、站点和失败原因,并提供来源管理入口。旧记录只在任务号匹配时读取完成检查点补齐详情;未取得明细时明确说明。媒体修复只为本次跟踪完成的任务发送回执,成功使用短暂通知,缺少工具的提示可以关闭。
diff --git a/frontend/e2e/design-activity.test.ts b/frontend/e2e/design-activity.test.ts
index 133b6255a..eeb53e201 100644
--- a/frontend/e2e/design-activity.test.ts
+++ b/frontend/e2e/design-activity.test.ts
@@ -25,9 +25,9 @@ describe('任务页云下载布局', () => {
await page.route('**/api/downloads?*', route => route.fulfill({ json: { available: false, tasks: [], providers: [] } }));
await page.route('**/api/tasks*', route => route.fulfill({ json: {
available: true, running: [
- { ...row(1, 'running'), resources: reading(true), control: { state: 'running', actions: ['pause', 'cancel'] } },
+ { ...row(1, 'running'), resources: reading(true), control: { state: 'running', actions: ['pause', 'cancel', 'set_speed'], speed_mode: 'standard' } },
{ ...row(90, 'running'), parent_run_id: 1, followup_key: 'child:90', resources: reading(false),
- control: { state: 'running', actions: ['pause', 'cancel'] } },
+ control: { state: 'running', actions: ['pause', 'cancel', 'set_speed'], speed_mode: 'standard' } },
], skipped: [], finished: [row(3, 'cancelled'), row(4, 'succeeded'), row(5, 'succeeded')],
followup_counts: { 4: { cancelled: 2 }, 5: { succeeded: 1, cancelled: 1 } },
} }));
@@ -61,11 +61,13 @@ describe('任务页云下载布局', () => {
const controls = card.querySelector('[data-task-controls="1"]')!.getBoundingClientRect();
const title = card.querySelector('strong')!.getBoundingClientRect();
return { fits: document.documentElement.scrollWidth <= innerWidth,
- rightOfTitle: controls.left >= title.right, insideCard: controls.right <= card.getBoundingClientRect().right };
+ separate: controls.left >= title.right || controls.top >= title.bottom,
+ insideCard: controls.right <= card.getBoundingClientRect().right };
});
assert.equal(geometry.fits, true);
- assert.equal(geometry.rightOfTitle, true);
+ assert.equal(geometry.separate, true);
assert.equal(geometry.insideCard, true);
+ assert.equal(await page.locator('[data-task-controls="1"]').getByRole('button', { name: '处理速度:标准' }).count(), 1);
assert.deepEqual(opened.problems, []);
} finally { await opened.close() }
});
@@ -220,7 +222,7 @@ describe('任务页云下载布局', () => {
assert.equal(geometry.overflows, true, '长行在代码块内部横向滚动');
assert.equal(geometry.pageFits, true);
assert.ok(Math.abs(geometry.leftGap - geometry.bottomGap) <= 1,
- '技术详情代码块的底部留白与卡片左右内边距一致');
+ `技术详情代码块的底部留白与卡片左右内边距一致:${JSON.stringify(geometry)}`);
assert.equal(await card.getByRole('button', { name: '复制代码' }).count(), 1);
assert.deepEqual(opened.problems, []);
} finally { await opened.close(); }
@@ -338,10 +340,10 @@ describe('任务页云下载布局', () => {
assert.equal(geometry.providerTop, geometry.metadataTop, '来源文字与目录、时间没有对齐');
await page.screenshot({ path: `../build/agent-verification/browser/activity-${viewport.name}.png`, fullPage: true });
await firstCard.getByRole('button', { name: '展开标题', exact: true }).click();
- assert.equal(await page.locator('[data-download-title-full]').textContent(), `ABC-123 · ${title.trim()}`);
+ assert.equal(await firstCard.locator('[data-download-title-full]').textContent(), `ABC-123 · ${title.trim()}`);
assert.equal(await firstCard.locator('[data-download-cover]').evaluate(cover => cover.getBoundingClientRect().height), geometry.coverHeight);
await firstCard.getByRole('button', { name: '收起标题', exact: true }).click();
- assert.equal(await page.locator('[data-download-title-full]').count(), 0);
+ await firstCard.locator('[data-download-title-full]').waitFor({ state: 'hidden' });
for (const selector of ['[data-download-cover-link]', '[data-download-title-link]']) {
await page.locator(selector).click();
await page.waitForURL(`**/assets/${assetId}`);
diff --git a/frontend/src/react/activity/activity-page.tsx b/frontend/src/react/activity/activity-page.tsx
index 7b3440521..515da1495 100644
--- a/frontend/src/react/activity/activity-page.tsx
+++ b/frontend/src/react/activity/activity-page.tsx
@@ -10,18 +10,16 @@
* 等于告诉辅助技术和冒烟用例「这一屏还没好」。取数失败只在页内报一条,上一份数据留着:
* 服务重启的那几秒里,把整页换成一句错误比留着十秒前的进度更难用。
*
- * 「最近完成」末尾的「加载更早」往前接一页,接上的行留在组件里,与轮询那一份按 id 合并:
- * 轮询只管第一页,翻过的那些不会被下一次刷新冲掉。 */
-import { useId, useState } from 'react';
+ * 各段使用统一分页,最近完成按服务端页码读取,轮询刷新当前页。 */
+import { Children, useId, useState } from 'react';
import type { ReactNode } from 'react';
-import { RiArrowDownSLine, RiArrowRightLine, RiHistoryLine } from '@remixicon/react';
-import { useMutation, useQuery } from '@tanstack/react-query';
+import { RiArrowRightLine, RiHistoryLine } from '@remixicon/react';
+import { useQuery } from '@tanstack/react-query';
import { Chip } from '@/components/base/badges/chip';
-import { Button } from '@/components/base/buttons/button';
import { LinkButton } from '@/components/base/buttons/link-button';
-import { errorMessage } from '../../api';
+import { apiGet, errorMessage } from '../../api';
import { cardClass } from '../components/card';
import { CodeBlock } from '../components/code-block';
import { EmptyState } from '../components/empty-state';
@@ -31,7 +29,7 @@ import { NameLink } from '../components/name-link';
import { Note } from '../components/note';
import { Page } from '../components/page';
import { Progress } from '../components/progress';
-import { busyProps } from '../settings/use-action';
+import { DataTableFooter } from '../components/table-controls';
import { Disclosure } from '../settings/section';
import { BackgroundIssues } from './background-issues';
import { DownloadsPanel } from './downloads-panel';
@@ -40,13 +38,11 @@ import { TaskControlFeedback, TaskControls } from './task-controls';
import { TaskIcon } from './task-icon';
import { TaskResources } from './task-resources';
import {
- elapsedText, fetchEarlier, fetchTasks, foldByKind, foldRoutine, followupDetail, followupTally, groupFollowups, isActive,
- hasResultProblems, isRoutine, latestOfKind, mergeFinished, momentText, pollInterval, problemDestination, progressText,
+ elapsedText, fetchTasks, foldByKind, foldRoutine, followupDetail, followupTally, groupFollowups, isActive,
+ hasResultProblems, isRoutine, latestOfKind, momentText, pollInterval, problemDestination, progressText,
readableErrorHeadline, statusLabel, summaryItems, taskIssues, taskSubject, TASKS_KEY, TRIGGER_LABELS, type FollowupCounts, type TaskControlState, type TaskRunPayload,
} from './tasks';
-/** 一张卡里最多列多少条后继。几批合成一张卡时会有上千条,全画出来一屏都是同一句。 */
-const FOLLOWUP_ROWS = 50;
/** 自己只负责派发后继的任务:一轮只是「安排了几项」,要看的是那几项的结果。 */
const DISPATCHERS = new Set(['upgrade-repairs']);
/** 开跑时写进摘要、指明这一轮处理哪部作品的两项(`taskSubject`)。 */
@@ -82,15 +78,18 @@ function StatusBadge({ run }: { run: TaskRunPayload }) {
* 而那恰恰是这一屏上唯一需要解释的东西:用户没点过补头像,它却在跑。
* 条间线写在每个 li 自己身上,第一条那根同时充当与卡片正文的分隔。 */
function FollowupList({ rows }: { rows: TaskRunPayload[] }) {
- return (
+ const [pagination, setPagination] = useState({ pageIndex: 0, pageSize: 20 });
+ const { pageSize } = pagination;
+ const current = Math.min(pagination.pageIndex, Math.max(0, Math.ceil(rows.length / pageSize) - 1));
+ return (<>
<ul className="-mr-5 flex min-w-0 flex-col">
- {rows.map((row) => {
+ {rows.slice(current * pageSize, (current + 1) * pageSize).map((row) => {
const detail = followupDetail(row);
return (
<li key={row.id} data-status={row.status} data-followup-key={row.followup_key}
className="flex min-w-0 flex-col gap-1 border-t border-separator-border py-2.5 pr-10 pl-5">
- <div className="flex min-w-0 items-start justify-between gap-3">
- <div className="flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1">
+ <div className="flex min-w-0 flex-wrap items-start justify-between gap-3">
+ <div className="flex min-w-0 flex-1 basis-40 flex-wrap items-center gap-x-2 gap-y-1">
<TaskIcon taskKey={row.task_key} className="size-4 shrink-0 text-text-secondary" />
<span className="min-w-0 break-words text-caption-1-regular text-text-primary">
{row.task_label}
@@ -116,7 +115,9 @@ function FollowupList({ rows }: { rows: TaskRunPayload[] }) {
);
})}
</ul>
- );
+ <DataTableFooter label="任务明细" total={rows.length} pagination={{ ...pagination, pageIndex: current }}
+ onChange={setPagination} />
+ </>);
}
/** 一轮任务一张卡。失败时整张卡的框线换成 danger 色,不给结束原因那行字上色——
@@ -127,12 +128,23 @@ function RunCard(
followups?: TaskRunPayload[]; followupTotal?: number; badge?: ReactNode; resourceActive?: boolean;
controlled?: TaskRunPayload[] },
) {
- /* 一轮派出上千条后继时只下发最近几十条,合并的几批又可能各带几十条:标题写全数,
- 列表先列在跑与排队的、再列最近结束的,最多 `FOLLOWUP_ROWS` 条,并说清只列了其中几条。 */
+ const [detailOpen, setDetailOpen] = useState(Boolean(followups?.some(isActive)));
+ const parentIds = (controlled || [run]).map((parent) => parent.id);
+ const needsDetails = followupTotal > (followups?.length || 0);
+ const detail = useQuery({
+ queryKey: [...TASKS_KEY, 'followups', parentIds],
+ enabled: detailOpen && needsDetails,
+ queryFn: async ({ signal }) => {
+ const snapshots = await Promise.all(parentIds.map((id) =>
+ apiGet<{ followups: TaskRunPayload[] }>(`/api/tasks/${id}`, signal)));
+ return snapshots.flatMap((snapshot) => snapshot.followups);
+ },
+ refetchInterval: resourceActive ? 2000 : false,
+ });
const rank = (row: TaskRunPayload) => (row.status === 'running' ? 3 : row.status === 'pending' ? 2
: row.status === 'failed' || row.status === 'interrupted' ? 1 : 0);
- const listed = followups ? [...followups].sort((a, b) =>
- rank(b) - rank(a) || b.id - a.id).slice(0, FOLLOWUP_ROWS) : [];
+ const listed = [...((needsDetails ? detail.data : undefined) || followups || [])].sort((a, b) =>
+ rank(b) - rank(a) || b.id - a.id);
const shown = listed.length;
const total = Math.max(followups?.length || 0, followupTotal);
const subject = taskSubject(run);
@@ -146,8 +158,8 @@ function RunCard(
})}>
{/* 卡片标题比分段标题(「正在进行」)低一档,标题、时间与摘要之间同一个行距。 */}
<div className="flex flex-col gap-2 px-5 py-4">
- <div className="flex min-w-0 items-start justify-between gap-3">
- <div className="flex min-w-0 flex-wrap items-center gap-2">
+ <div className="flex min-w-0 flex-wrap items-start justify-between gap-3">
+ <div className="flex min-w-0 flex-1 basis-48 flex-wrap items-center gap-2">
<TaskIcon taskKey={run.task_key} className="size-5 shrink-0 text-text-secondary" />
<strong className="min-w-0 break-words text-title-3-medium text-text-primary">{run.task_label}</strong>
{badge ?? <StatusBadge run={run} />}
@@ -167,16 +179,17 @@ function RunCard(
{children}
</div>
{/* 问题详情、错误详情、任务明细、技术详情都是可展开的明细,同样排成卡片底部带分隔线的一行,按这个顺序。 */}
- {issues ? <div className="border-t border-separator-border px-5 py-2.5">{issues}</div> : null}
- {errorHead && errorFull !== errorHead ? <div className="border-t border-separator-border px-5 py-2.5">
- <Disclosure summary="错误详情" contentClassName="pb-2.5">
+ {issues ? <div className="border-t border-separator-border">{issues}</div> : null}
+ {errorHead && errorFull !== errorHead ? <div className="border-t border-separator-border">
+ <Disclosure row summary="错误详情" contentClassName="pb-5">
<ErrorDetails label={`${run.task_label}错误详情`}>{errorFull}</ErrorDetails>
</Disclosure>
</div> : null}
- {shown ? <div className="border-t border-separator-border px-5 py-2.5">
- <Disclosure summary={`任务明细 · ${total.toLocaleString()} 项`}
- contentClassName="pb-2.5"
- defaultOpen={listed.some((row) => isActive(row))}>
+ {total ? <div className="border-t border-separator-border">
+ <Disclosure row summary={`任务明细 · ${total.toLocaleString()} 项`}
+ contentClassName="pb-5"
+ isOpen={detailOpen} onOpenChange={setDetailOpen}>
+ {detail.error ? <Note tone="error">{errorMessage(detail.error)}</Note> : null}
{shown < total
? <p className="text-caption-1-regular text-text-secondary">列出其中 {shown.toLocaleString()} 项,正在处理的排在前面</p>
: null}
@@ -185,8 +198,8 @@ function RunCard(
</div> : null}
{/* 摘要里只有开跑时写下的作品时,它已经链接在卡片上,不再单列一块技术详情。 */}
{Object.keys(run.result_summary || {}).some((key) => !(subject && SUBJECT_KEYS.has(key)))
- ? <div className="border-t border-separator-border px-5 py-2.5">
- <Disclosure summary="技术详情" contentClassName="pb-2.5">
+ ? <div className="border-t border-separator-border">
+ <Disclosure row summary="技术详情" contentClassName="pb-5">
<CodeBlock code={JSON.stringify(run.result_summary, null, 2)} language="json"
label={`${run.task_label}技术详情`} />
</Disclosure>
@@ -246,8 +259,8 @@ function SettledRun(
: [TRIGGER_LABELS[run.trigger] || run.trigger, momentText(run.finished_at),
elapsed && `用时 ${elapsed}`]).filter(Boolean).join(' · ');
return (
- <RunCard run={run} meta={meta} error={run.error} followups={followups} followupTotal={followupTotal}
- issues={issues.length ? <Disclosure summary={`问题详情 · ${issues.length} 项`} contentClassName="pb-2.5">
+ <RunCard run={run} meta={meta} error={run.error} followups={followups} followupTotal={followupTotal} controlled={runs}
+ issues={issues.length ? <Disclosure row summary={`问题详情 · ${issues.length} 项`} contentClassName="pb-5">
<ErrorDetails label="任务问题详情">
{/* 与数据管理的问题清单同一种分层:名字一层,来源与问题类别跟在名字后面用次级色,原因再低一档。 */}
<ul className="flex min-w-0 flex-col whitespace-normal" data-task-issues="">
@@ -328,44 +341,37 @@ function Section({ title, children }: { title: string; children: ReactNode }) {
);
}
-function RunList({ live = false, children }: { live?: boolean; children: ReactNode }) {
- return (
- <ul aria-live={live ? 'polite' : undefined} className="flex min-w-0 flex-col gap-3">{children}</ul>
- );
+function RunList({ live = false, paginate = true, children }: { live?: boolean; paginate?: boolean; children: ReactNode }) {
+ const [pagination, setPagination] = useState({ pageIndex: 0, pageSize: 20 });
+ const rows = Children.toArray(children);
+ const { pageSize } = pagination;
+ const current = Math.min(pagination.pageIndex, Math.max(0, Math.ceil(rows.length / pageSize) - 1));
+ return <>
+ <ul aria-live={live ? 'polite' : undefined} className="flex min-w-0 flex-col gap-3">
+ {paginate ? rows.slice(current * pageSize, (current + 1) * pageSize) : rows}
+ </ul>
+ {paginate ? <DataTableFooter label="任务列表" total={rows.length}
+ pagination={{ ...pagination, pageIndex: current }} onChange={setPagination} /> : null}
+ </>;
}
export function ActivityPage() {
+ const [page, setPage] = useState(1);
+ const [pageSize, setPageSize] = useState(20);
const tasks = useQuery({
- queryKey: TASKS_KEY,
- queryFn: ({ signal }) => fetchTasks(signal),
+ queryKey: page === 1 && pageSize === 20 ? TASKS_KEY : [...TASKS_KEY, 'page', page, pageSize],
+ queryFn: ({ signal }) => fetchTasks(signal, page, pageSize),
refetchInterval: (query) => pollInterval(query.state.data),
+ placeholderData: (previous) => previous,
});
- const data = tasks.data;
- const top = data?.finished;
- // 往前翻接上的行。没翻过时一直是空的,页面和只有第一页时完全一样。
- const [earlier, setEarlier] = useState<TaskRunPayload[]>([]);
- const [earlierMore, setEarlierMore] = useState(false);
- const [earlierCounts, setEarlierCounts] = useState<FollowupCounts>({});
- const [seenTop, setSeenTop] = useState(top);
- if (top !== seenTop) {
- setSeenTop(top);
- // 翻过页之后,新完成的几轮会把第一页末尾的挤出去;把上一份第一页并进已翻过的部分,
- // 不然被挤出去的那几轮夹在两段之间,哪一段都不再有它们。
- if (earlier.length && seenTop) setEarlier(mergeFinished(earlier, seenTop));
- }
- const more = useMutation({
- mutationFn: ({ oldest }: { oldest: TaskRunPayload; shown: TaskRunPayload[] }) => fetchEarlier(oldest),
- onSuccess: (page, { shown }) => {
- setEarlier((current) => mergeFinished(current, shown, page.finished || []));
- setEarlierMore(Boolean(page.finished_has_more));
- setEarlierCounts((current) => ({ ...current, ...page.followup_counts }));
- },
- });
+ const [lastData, setLastData] = useState(tasks.data);
+ if (tasks.data && tasks.data !== lastData) setLastData(tasks.data);
+ const data = tasks.data || lastData;
const problem = tasks.error ? errorMessage(tasks.error) : '';
// 首屏就没拿到数据:只剩这一条,不画空的三段。
if (!data) return <Page><Note tone="error">{problem || '读取任务中心失败'}</Note></Page>;
- const allFinished = mergeFinished(data.finished || [], earlier);
+ const allFinished = data.finished || [];
const parents = data.working_parents || [];
const allRuns = [...(data.running || []), ...(data.skipped || []), ...allFinished, ...parents];
// 后继挂到派出它的那张卡下面。父任务不在这一屏上(已经被 prune 掉)时照常单独摆出来
@@ -375,13 +381,7 @@ export function ActivityPage() {
const topLevel = (rows: TaskRunPayload[]) => rows.filter(
(run) => !(run.followup_key && run.parent_run_id != null && visible.has(run.parent_run_id)));
const settled = topLevel(allFinished);
- // 游标取最旧的顶层那一轮:服务端一页数的是顶层行,后继跟着父任务走。
- const oldest = settled[settled.length - 1];
- const hasEarlier = Boolean(oldest) && (earlier.length ? earlierMore : Boolean(data.finished_has_more));
- const loadEarlier = () => {
- if (!more.isPending && oldest) more.mutate({ oldest, shown: allFinished });
- };
- const counts: FollowupCounts = { ...earlierCounts, ...data.followup_counts };
+ const counts: FollowupCounts = data.followup_counts || {};
const childrenOf = (runs: TaskRunPayload[]) => runs.flatMap((run) => byParent.get(run.id) || []);
// 自己跑完、派出的后继还在跑的那一轮算「正在进行」:整件事还没完,放进「最近完成」
// 就是一张卡上一个已完成、一个进行中。页面上只列得到一部分后继,所以先看计数。
@@ -440,23 +440,22 @@ export function ActivityPage() {
<SettledRun key={run.id} run={run} latest={newest.has(run.id)} followups={byParent.get(run.id)} />))}</RunList>
</Section>
: null}
- {finished.length || hasEarlier
+ {finished.length || Boolean(data.finished_total)
? <Section title="最近完成">
{finished.length
- ? <RunList>{folds.map(({ run, runs }) => {
+ ? <RunList paginate={false}>{folds.map(({ run, runs }) => {
const tally = followupTally(counts, runs);
return <SettledRun key={run.id} run={run} runs={runs} latest={newest.has(run.id)}
followups={childrenOf(runs)} followupTotal={tally.total} followupFailed={tally.failed}
followupCancelled={tally.cancelled} />;
})}</RunList>
: null}
- {more.error ? <Note tone="error">{errorMessage(more.error)}</Note> : null}
- {hasEarlier
- ? <Button variant="secondary" size="small" leadingIcon={RiArrowDownSLine}
- className="self-start" {...busyProps(more.isPending)} onClick={loadEarlier}>
- 加载更早
- </Button>
- : null}
+ <DataTableFooter label="最近完成" total={data.finished_total ?? settled.length} unit="轮任务" pageUnit="轮"
+ pagination={{ pageIndex: (data.finished_page || page) - 1, pageSize }}
+ onChange={(next) => {
+ if (next.pageIndex + 1 === page && next.pageSize === pageSize) void tasks.refetch();
+ else { setPage(next.pageIndex + 1); setPageSize(next.pageSize) }
+ }} />
</Section>
: null}
</>}
diff --git a/frontend/src/react/activity/downloads-panel.tsx b/frontend/src/react/activity/downloads-panel.tsx
index b29c138b4..b440998f4 100644
--- a/frontend/src/react/activity/downloads-panel.tsx
+++ b/frontend/src/react/activity/downloads-panel.tsx
@@ -8,8 +8,8 @@
* 一条任务都没有时整段不画。失败的任务给中文原因;失败、取消与停滞的可以重新提交,被判
* 违规的不给(服务端也会拒)。每张卡都能复制磁力:接口失效时退回手动添加。 */
import { useId, useState, type CSSProperties } from 'react';
-import { useInfiniteQuery, useQueryClient } from '@tanstack/react-query';
-import { RiArrowDownSLine } from '@remixicon/react';
+import { useQuery, useQueryClient } from '@tanstack/react-query';
+import { showToast } from '../toaster';
import { Chip } from '@/components/base/badges/chip';
import { Button } from '@/components/base/buttons/button';
@@ -22,6 +22,8 @@ import type { DownloadsSnapshot, DownloadTask } from '../bundle';
import { cardClass } from '../components/card';
import { Note } from '../components/note';
import { Progress } from '../components/progress';
+import { DataTableFooter } from '../components/table-controls';
+import { CollapseRegion } from '../components/collapse-region';
import { ErrorText } from '../settings/section';
import { busyProps, useAction } from '../settings/use-action';
import { momentText } from './tasks';
@@ -61,16 +63,18 @@ const postprocessDetail = (task: DownloadTask) => (task.postprocess_detail || ''
export function DownloadsPanel() {
const id = useId();
- const query = useInfiniteQuery({
- queryKey: [...DOWNLOADS_KEY, 'pages'],
- initialPageParam: null as number | null,
- queryFn: ({ signal, pageParam }) => apiGet<DownloadsSnapshot>(
- `${DOWNLOADS_URL}?limit=20${pageParam === null ? '' : `&before_id=${pageParam}`}`, signal),
- getNextPageParam: (page) => page.has_more ? page.next_before_id ?? undefined : undefined,
- refetchInterval: (state) => state.state.data?.pages.some((page) => downloadPollInterval(page) === 5_000) ? 5_000 : 30_000,
+ const [page, setPage] = useState(1);
+ const [pageSize, setPageSize] = useState(20);
+ const query = useQuery({
+ queryKey: [...DOWNLOADS_KEY, 'page', page, pageSize],
+ queryFn: ({ signal }) => apiGet<DownloadsSnapshot>(`${DOWNLOADS_URL}?limit=${pageSize}&page=${page}`, signal),
+ refetchInterval: (state) => downloadPollInterval(state.state.data),
+ placeholderData: (previous) => previous,
});
- const pages = query.data?.pages || [];
- const tasks = [...new Map(pages.flatMap((page) => page.tasks).map((task) => [task.id, task])).values()];
+ const [lastData, setLastData] = useState(query.data);
+ if (query.data && query.data !== lastData) setLastData(query.data);
+ const data = query.data || lastData;
+ const tasks = data?.tasks || [];
if (!tasks.length && !query.error) return null;
return (
<section id="cloudDownloads" aria-labelledby={id} className="flex min-w-0 flex-col gap-3">
@@ -78,13 +82,15 @@ export function DownloadsPanel() {
{query.error ? <Note tone="error">{errorMessage(query.error)}</Note> : null}
{tasks.length
? <ul aria-live="polite" className="flex min-w-0 flex-col gap-3">
- {tasks.map((task) => <TaskCard key={task.id} task={task} writable={pages[0]?.available ?? false} />)}
+ {tasks.map((task) => <TaskCard key={task.id} task={task} writable={data?.available ?? false} />)}
</ul>
: null}
- {query.hasNextPage ? <Button variant="secondary" size="small" leadingIcon={RiArrowDownSLine}
- className="self-start" {...busyProps(query.isFetchingNextPage)} onClick={() => {
- if (!query.isFetching) void query.fetchNextPage();
- }}>加载更多</Button> : null}
+ <DataTableFooter label="云下载" total={data?.total ?? tasks.length}
+ pagination={{ pageIndex: (data?.page || page) - 1, pageSize }}
+ onChange={(next) => {
+ if (next.pageIndex + 1 === page && next.pageSize === pageSize) void query.refetch();
+ else { setPage(next.pageIndex + 1); setPageSize(next.pageSize) }
+ }} />
</section>
);
}
@@ -93,7 +99,6 @@ function TaskCard({ task, writable }: { task: DownloadTask; writable: boolean })
useEntityNames();
const client = useQueryClient();
const action = useAction();
- const [copied, setCopied] = useState(false);
const [fullTitle, setFullTitle] = useState(false);
const titleId = useId();
/* 还在对账的任务没有失败分类:暂时性故障只记下原因、退避后再查,底栏照样把它读出来。 */
@@ -116,7 +121,9 @@ function TaskCard({ task, writable }: { task: DownloadTask; writable: boolean })
void action.run('resubmit', (signal) => apiSend(DOWNLOADS_URL, body, 'POST', signal), refresh);
};
const copy = () => {
- void navigator.clipboard.writeText(task.source_uri).then(() => setCopied(true), () => setCopied(false));
+ void navigator.clipboard.writeText(task.source_uri).then(
+ () => showToast(`download-copy-${task.id}`, { html: '已复制磁力', alert: false, timeout: 4000, action: null }),
+ () => showToast(`download-copy-${task.id}`, { html: '复制失败,请检查剪贴板权限', alert: true, timeout: 6000, action: null }));
};
const retryPostprocess = () => {
void action.run('postprocess', (signal) => apiSend(
@@ -171,9 +178,9 @@ function TaskCard({ task, writable }: { task: DownloadTask; writable: boolean })
{action.error ? <ErrorText>{action.error}</ErrorText> : null}
{/* 辅助的(看标题、抄磁力)靠左,改动这条任务的靠右,最右是这张卡此刻的主动作。 */}
<div data-download-actions="" className="flex flex-wrap items-center gap-2 pt-1 sm:mt-auto">
- <Button variant="ghost" size="small" aria-expanded={fullTitle} aria-controls={fullTitle ? titleId : undefined}
+ <Button variant="ghost" size="small" aria-expanded={fullTitle} aria-controls={titleId}
onClick={() => setFullTitle(!fullTitle)}>{fullTitle ? '收起标题' : '展开标题'}</Button>
- <Button variant="ghost" size="small" onClick={copy}>{copied ? '已复制磁力' : '复制磁力'}</Button>
+ <Button variant="ghost" size="small" onClick={copy}>复制磁力</Button>
{writable && (task.cancellable || task.resubmittable || task.postprocess_retryable)
? <div className="ml-auto flex flex-wrap items-center gap-2">
{task.cancellable
@@ -191,7 +198,9 @@ function TaskCard({ task, writable }: { task: DownloadTask; writable: boolean })
</div>
</div>
</div>
- {fullTitle ? <p id={titleId} data-download-title-full className="wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary">{taskName(task)}</p> : null}
+ <CollapseRegion open={fullTitle} id={titleId}>
+ <p data-download-title-full className="wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary">{taskName(task)}</p>
+ </CollapseRegion>
{reason || task.postprocess_detail
? <div className="flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3">
<p className="wrap-anywhere text-caption-1-regular text-text-secondary">{reason || postprocessDetail(task)}</p>
diff --git a/frontend/src/react/activity/task-controls.tsx b/frontend/src/react/activity/task-controls.tsx
index 04ad02e97..c44f81cfa 100644
--- a/frontend/src/react/activity/task-controls.tsx
+++ b/frontend/src/react/activity/task-controls.tsx
@@ -9,7 +9,9 @@ import { Button } from '@/components/base/buttons/button';
import { errorMessage } from '../../api';
import { Note } from '../components/note';
import { busyProps } from '../settings/use-action';
-import { controlTask, isActive, TASKS_KEY, type TaskControlAction, type TaskRunPayload } from './tasks';
+import { ProcessingMode } from '../library-processing/processing-effort';
+import type { ProcessingSpeed } from '../library-processing/library-processing';
+import { controlTask, setTaskSpeed, isActive, TASKS_KEY, type TaskControlAction, type TaskRunPayload } from './tasks';
const CONTROL_KEY = ['task-control'] as const;
const ICONS = { pause: RiPauseLine, resume: RiPlayLine, cancel: RiStopLine };
@@ -74,10 +76,19 @@ export function TaskControls({ run, runs = [run] }: { run: TaskRunPayload; runs?
mutationFn: send,
onSettled: () => { pending.current.cancel = false; refresh() },
});
- const actions = run.control?.actions || [];
+ const speed = useMutation({
+ mutationFn: async (mode: ProcessingSpeed) => {
+ const results = await Promise.allSettled(runs.map((row) => setTaskSpeed(row.id, mode)));
+ const failure = results.find((result) => result.status === 'rejected');
+ if (failure?.status === 'rejected') throw failure.reason;
+ },
+ onSettled: refresh,
+ });
+ const actions = (run.control?.actions || []).filter((action): action is TaskControlAction => action !== 'set_speed');
+ const canSetSpeed = Boolean(run.control?.actions.includes('set_speed') && run.control.speed_mode);
const followups = !isActive(run);
const cancelling = cancellation.isPending || cancellation.isSuccess;
- if (!actions.length) return null;
+ if (!actions.length && !canSetSpeed) return null;
const submit = (action: TaskControlAction) => {
const command = { id: run.id, label: run.task_label, action, followups };
@@ -106,9 +117,12 @@ export function TaskControls({ run, runs = [run] }: { run: TaskRunPayload; runs?
};
return (
- <div className="ml-auto shrink-0" data-task-controls={run.id}>
+ <div className="ml-auto min-w-0" data-task-controls={run.id}>
<div role="group" aria-label={`${run.task_label}${followups ? '后续任务' : '任务'}控制`}
- className="flex items-center justify-end gap-2">
+ className="flex flex-wrap items-center justify-end gap-2">
+ {canSetSpeed ? <ProcessingMode value={run.control!.speed_mode!}
+ busy={speed.isPending || cancelling} animate={run.control?.state === 'running'}
+ onChange={(mode) => speed.mutate(mode)} /> : null}
{actions.map((action) => {
const label = (followups ? FOLLOWUP_LABELS : LABELS)[action];
const busy = action === 'cancel' ? cancellation.isPending : change.isPending && change.variables?.action === action;
@@ -120,6 +134,7 @@ export function TaskControls({ run, runs = [run] }: { run: TaskRunPayload; runs?
data-tooltip-copy-key={`tasks.control.action.${followups ? 'followups.' : ''}${action}`} />;
})}
</div>
+ {speed.error ? <Note tone="error">{errorMessage(speed.error)}</Note> : null}
</div>
);
}
diff --git a/frontend/src/react/activity/tasks.ts b/frontend/src/react/activity/tasks.ts
index da5778ec0..6e9249e95 100644
--- a/frontend/src/react/activity/tasks.ts
+++ b/frontend/src/react/activity/tasks.ts
@@ -6,6 +6,7 @@ import { apiGet, apiSend } from '../../api';
import { fmtSize } from '@peach/legacy/core';
import { requestErrorMessage } from '../../core/request-error';
import { queryClient } from '../query';
+import type { ProcessingSpeed } from '../library-processing/library-processing';
export const TASKS_URL = '/api/tasks';
/** 整页共用这一个键:三段是同一次响应的三个字段。 */
@@ -47,12 +48,14 @@ export interface TaskRunPayload {
followup_key: string;
followup_depth: number;
/** 服务端给出当前控制状态与可用动作,界面不按任务种类推断。 */
- control?: { state: TaskControlState; actions: TaskControlAction[] };
+ control?: { state: TaskControlState; actions: (TaskControlAction | 'set_speed')[]; speed_mode?: ProcessingSpeed };
/** 只投影可归属的实测读数;缺失字段代表该快照未提供资源采样。 */
resources?: TaskResourcesPayload;
}
export interface ActivityData {
+ finished_total?: number;
+ finished_page?: number;
available: boolean;
result_versions?: Record<string, string>;
message?: string;
@@ -73,13 +76,6 @@ export interface IngestNotice { id: number; kind: 'download' | 'discovered'; ass
export type FollowupCounts = Record<string, Record<string, number>>;
-/** 往前翻的一页:只有「最近完成」,在跑与被挡下的由轮询那一份负责。 */
-export interface FinishedPage {
- finished: TaskRunPayload[];
- finished_has_more: boolean;
- followup_counts?: FollowupCounts;
-}
-
/** 几轮派出的后继合在一起数:共几条、结束了几条、还有几条在排或在跑。 */
export function followupTally(counts: FollowupCounts | undefined, runs: TaskRunPayload[]) {
let total = 0, active = 0, failed = 0, cancelled = 0;
@@ -107,32 +103,14 @@ export function foldByKind(rows: TaskRunPayload[], split: (run: TaskRunPayload)
return [...folds.values()];
}
-/** 以 `oldest` 为游标取它之前的一页。游标是它的结束时刻加 id,与服务端的排序键一致。 */
-export const fetchEarlier = (oldest: TaskRunPayload, signal?: AbortSignal) => {
- const query = new URLSearchParams({
- before_finished_at: oldest.finished_at || '', before_id: String(oldest.id) });
- return apiGet<FinishedPage>(`${TASKS_URL}?${query}`, signal);
-};
-
-/** 几批终态行并成一列:同一轮只留一条,按结束时刻从新到旧、同一时刻按 id 从大到小,
- * 和服务端翻页的排序键同一个,拼接处才不会乱序。终态落地后不再变,重复的哪一份都一样。 */
-export function mergeFinished(...batches: TaskRunPayload[][]): TaskRunPayload[] {
- const byId = new Map<number, TaskRunPayload>();
- for (const batch of batches) for (const row of batch) if (!byId.has(row.id)) byId.set(row.id, row);
- return [...byId.values()].sort((a, b) => {
- const left = a.finished_at || '', right = b.finished_at || '';
- if (left !== right) return left < right ? 1 : -1;
- return b.id - a.id;
- });
-}
-
/** 有东西在跑就两秒一次(和进度写库的节流同一个数),全是终态时十秒一次。 */
export const RUNNING_POLL_MS = 2000;
export const SETTLED_POLL_MS = 10000;
export const pollInterval = (data: ActivityData | undefined): number =>
data?.running?.length ? RUNNING_POLL_MS : SETTLED_POLL_MS;
-export const fetchTasks = (signal?: AbortSignal) => apiGet<ActivityData>(TASKS_URL, signal);
+export const fetchTasks = (signal?: AbortSignal, page = 1, limit = 20) =>
+ apiGet<ActivityData>(page === 1 && limit === 20 ? TASKS_URL : `${TASKS_URL}?page=${page}&limit=${limit}`, signal);
/** 每个页面常驻轮询的那一小份:结果版本、入库通知与有没有任务在排或在跑。完整任务列表只给任务中心。 */
export const RESULT_UPDATES_KEY = ['result-updates'] as const;
@@ -143,6 +121,9 @@ export const fetchResultUpdates = (signal?: AbortSignal) =>
export const controlTask = (id: number, action: TaskControlAction, signal?: AbortSignal) =>
apiSend(`${TASKS_URL}/${id}/control`, { action }, 'POST', signal);
+export const setTaskSpeed = (id: number, speed: ProcessingSpeed) =>
+ apiSend(`${TASKS_URL}/${id}/control`, { action: 'set_speed', speed_mode: speed }, 'POST');
+
/** 首屏:取完数才画。中止时 `fetchQuery` 把 `AbortError` 抛回给挂载方,它据此放弃这一次。 */
export async function prefetchTasks(signal: AbortSignal): Promise<void> {
await queryClient.fetchQuery({ queryKey: TASKS_KEY, queryFn: () => fetchTasks(signal) });
diff --git a/frontend/src/react/bundle.d.ts b/frontend/src/react/bundle.d.ts
index 9aeeafc8c..ca19a7768 100644
--- a/frontend/src/react/bundle.d.ts
+++ b/frontend/src/react/bundle.d.ts
@@ -228,6 +228,8 @@ export interface DownloadTask {
}
export interface DownloadsSnapshot {
+ total?: number;
+ page?: number;
available: boolean;
providers: { key: DownloadProviderKey; label: string; configured: boolean; target: string }[];
tasks: DownloadTask[];
diff --git a/frontend/src/react/components/code-block.tsx b/frontend/src/react/components/code-block.tsx
index 336e2a69d..e42a444b0 100644
--- a/frontend/src/react/components/code-block.tsx
+++ b/frontend/src/react/components/code-block.tsx
@@ -1,4 +1,5 @@
import { useEffect, useState } from 'react';
+import { showToast } from '../toaster';
import { Button } from '@/components/base/buttons/button';
import { cx } from '@/utils/cx';
import { cardClass } from './card';
@@ -18,6 +19,7 @@ export function CodeBlock({ code, language, label, maxCharacters, bounded = true
try {
await navigator.clipboard.writeText(code);
setFailed(false); setStatus('已复制'); onCopy?.();
+ showToast('code-copy', { html: '已复制', alert: false, timeout: 4000, action: null });
} catch {
setFailed(true); setStatus('复制失败,请选中文本复制。');
}
diff --git a/frontend/src/react/follow-manage/source-list.tsx b/frontend/src/react/follow-manage/source-list.tsx
index 46a9de59b..1360a25b5 100644
--- a/frontend/src/react/follow-manage/source-list.tsx
+++ b/frontend/src/react/follow-manage/source-list.tsx
@@ -137,9 +137,6 @@ export interface SourceListProps {
onAdd(): void;
}
-/** 页码。上一页/下一页在两端,页码居中,页数多时两侧折成「…」。 */
-export { Pagination } from '../components/table-pagination';
-
/** 一条来源在创作者卡里的那一行:勾选、站标与名字、状态、上次检查、动作。 */
function SourceRow(
{ source, selected, onToggle, handlers }:
diff --git a/frontend/src/react/jav/jav-releases.tsx b/frontend/src/react/jav/jav-releases.tsx
index 30a5a5304..e4b1cfa30 100644
--- a/frontend/src/react/jav/jav-releases.tsx
+++ b/frontend/src/react/jav/jav-releases.tsx
@@ -18,7 +18,7 @@ import { Note } from '../components/note';
import { CoverQueue } from '../components/cover-queue';
import { TaskProgress } from '../components/task-progress';
import { EmptyState } from '../components/empty-state';
-import { Pagination } from '../components/table-pagination';
+import { DataTableFooter } from '../components/table-controls';
import { FilterGlassRows, FilterPill, GlassPill } from '../components/filter-glass';
import { Segments, Shuffle, SortKeys } from '../entity-filter/entity-filter-page';
import { Chip } from '@/components/base/badges/chip';
@@ -27,8 +27,8 @@ import { addWant, invalidateWants } from '../wants/wants';
import { useAction } from '../settings/use-action';
import { useEntityNames } from '../use-entity-names';
import { DiscoveryCard, resourcePrefill } from './discovery-card';
-import { coverArrived, fetchCoverNow, fetchReleases, releaseFilters, releaseKey, RELEASE_PAGE_SIZE, type Discovery, type ReleaseFacetPerformer, type ReleaseFacetStudio,
- type ReleaseFilters, writeJavQuery } from './jav';
+import { coverArrived, fetchCoverNow, fetchReleases, releaseFilters, releaseKey, RELEASE_PAGE_SIZE, RELEASE_PAGE_SIZES,
+ type Discovery, type ReleaseFacetPerformer, type ReleaseFacetStudio, type ReleaseFilters, writeJavQuery } from './jav';
import { ReleaseTable } from './jav-release-table';
import { CatalogViewToggle } from '../catalog-grid/catalog-view-toggle';
import { useCatalogView } from '../catalog-grid/catalog-view';
@@ -80,9 +80,10 @@ export function Releases({ readOnly, receipt, resource, query, navigate, clearTe
writeJavQuery({ [facet]: next, page: '' });
};
const section = useRef<HTMLElement>(null);
- const goPage = (page: number) => {
- setFilters(current => ({ ...current, page }));
- writeJavQuery({ page: page > 1 ? String(page) : '' });
+ const changePage = ({ pageIndex, pageSize }: { pageIndex: number; pageSize: number }) => {
+ const page = pageIndex + 1;
+ setFilters(current => ({ ...current, page, size: pageSize }));
+ writeJavQuery({ page: page > 1 ? String(page) : '', size: pageSize === RELEASE_PAGE_SIZE ? '' : String(pageSize) });
section.current?.scrollIntoView({ block: 'start' });
};
const clear = () => {
@@ -136,7 +137,12 @@ export function Releases({ readOnly, receipt, resource, query, navigate, clearTe
const data = releases.data;
const waiting = releases.isPending;
const filtered = !!(filters.performer || filters.studio || filters.tag || filters.q);
- const pages = Math.max(1, Math.ceil((data?.total || 0) / RELEASE_PAGE_SIZE));
+ const pages = Math.max(1, Math.ceil((data?.total || 0) / filters.size));
+ useEffect(() => {
+ if (!data || releases.isPlaceholderData || filters.page <= pages) return;
+ setFilters(current => ({ ...current, page: pages }));
+ writeJavQuery({ page: pages > 1 ? String(pages) : '' });
+ }, [data, releases.isPlaceholderData, filters.page, pages]);
return <section ref={section} aria-label="订阅新作" aria-busy={waiting || releases.isFetching} className="flex min-w-0 scroll-mt-24 flex-col gap-4">
{waiting ? <div data-catalog-tiers="" aria-busy="true" dangerouslySetInnerHTML={{ __html: TIER_PLACEHOLDERS }} /> : null}
{data && (data.facets.performers.length || data.facets.studios.length) ? <div data-catalog-tiers="" data-release-tiers="">
@@ -200,6 +206,8 @@ export function Releases({ readOnly, receipt, resource, query, navigate, clearTe
wanting={action.busy === String(item.id)} onWant={() => want(item)}
onResource={() => resource(resourcePrefill(item))} badge={filters.sort === 'taste' ? <TasteChip value={item.taste_score} /> : undefined} />)}
</div>}
- <div className="flex justify-center"><Pagination page={filters.page} pages={pages} onPage={goPage} label="新作分页" /></div>
+ {data ? <DataTableFooter label="新作" total={data.total}
+ pagination={{ pageIndex: filters.page - 1, pageSize: filters.size }} onChange={changePage}
+ unit="部作品" pageUnit="部" pageSizes={RELEASE_PAGE_SIZES} /> : null}
</section>;
}
diff --git a/frontend/src/react/jav/jav.ts b/frontend/src/react/jav/jav.ts
index 740d32cfb..d380d8a18 100644
--- a/frontend/src/react/jav/jav.ts
+++ b/frontend/src/react/jav/jav.ts
@@ -102,7 +102,7 @@ export function fetchDiscoveries(scope: DiscoveryScope, signal: AbortSignal, opt
/** 新作分区的筛选与排序:都写在地址栏里,刷新与返回原样恢复。`seed` 只在换一批时有值。 */
export interface ReleaseFilters {
- page: number; performer: string; studio: string; tag: string; q: string;
+ page: number; size: number; performer: string; studio: string; tag: string; q: string;
sort: ReleaseSort; dir: DiscoveryDirection; seed: string;
}
export interface ReleaseFacetPerformer extends FaceRef { name: string; count: number; source_actor_id?: string; source_avatar?: boolean }
@@ -114,19 +114,22 @@ export interface ReleaseResult {
metadata_job?: DiscoveryMetadataJob | null; poll_after_ms?: number;
}
export const RELEASE_PAGE_SIZE = 24;
+export const RELEASE_PAGE_SIZES = [10, 20, 24, 50, 100] as const;
export function releaseFilters(search: string): ReleaseFilters {
const params = new URLSearchParams(search);
const sort = params.get('sort');
const seed = params.get('seed') || '';
- return { page: Math.max(1, Math.floor(Number(params.get('page'))) || 1), performer: params.get('performer') || '',
+ const page = Number(params.get('page'));
+ const size = RELEASE_PAGE_SIZES.find(value => value === Number(params.get('size'))) || RELEASE_PAGE_SIZE;
+ return { page: Number.isFinite(page) ? Math.max(1, Math.floor(page)) : 1, size, performer: params.get('performer') || '',
studio: params.get('studio') || '', tag: params.get('tag') || '', q: (params.get('q') || '').trim(),
sort: sort === 'random' && seed ? 'random' : RELEASE_SORTS.find(([key]) => key === sort)?.[0] || 'release_date',
dir: params.get('dir') === 'asc' ? 'asc' : 'desc', seed };
}
export const releaseKey = (filters: ReleaseFilters) =>
- ['jav-releases', filters.page, filters.performer, filters.studio, filters.tag, filters.q, filters.sort, filters.dir, filters.seed] as const;
+ ['jav-releases', filters.page, filters.size, filters.performer, filters.studio, filters.tag, filters.q, filters.sort, filters.dir, filters.seed] as const;
export function fetchReleases(filters: ReleaseFilters, signal: AbortSignal, jobId = '') {
- const params = new URLSearchParams({ page: String(filters.page), size: String(RELEASE_PAGE_SIZE),
+ const params = new URLSearchParams({ page: String(filters.page), size: String(filters.size),
sort: filters.sort, direction: filters.dir });
for (const key of ['performer', 'studio', 'tag', 'q', 'seed'] as const) if (filters[key]) params.set(key, filters[key]);
if (jobId) params.set('metadata_job_id', jobId);
diff --git a/frontend/src/react/review/review-page.tsx b/frontend/src/react/review/review-page.tsx
index 1f6465406..e61f73db0 100644
--- a/frontend/src/react/review/review-page.tsx
+++ b/frontend/src/react/review/review-page.tsx
@@ -17,7 +17,7 @@ import { Tab, TabPanel, Tabs } from 'react-aria-components';
import { Button } from '@/components/base/buttons/button';
import type { ReviewProps } from '../bundle';
import { errorMessage } from '../../api';
-import { DOTS, paginationRange } from '../../pagination';
+import { DataTableFooter } from '../components/table-controls';
import { EmptyState } from '../components/empty-state';
import { Note } from '../components/note';
import { Page } from '../components/page';
@@ -39,32 +39,6 @@ import {
// 与配置页共用 BoardUI gray PillTab 样式;保留 tabpanel 与复核队列计数。
const TAB_CLASS = 'flex cursor-pointer items-center justify-between gap-2';
-/** 页码。上一页/下一页在两端,页码居中,页数多时两侧折成「…」。 */
-function Pagination(
- { page, pages, onPage }: { page: number; pages: number; onPage(page: number): void },
-) {
- if (pages <= 1) return null;
- return (
- <nav aria-label="复核分页" data-pagination-layout="" className="inline-grid w-full min-w-0 items-center gap-2">
- <Button variant="secondary" size="small" disabled={page <= 1}
- onClick={() => onPage(page - 1)}>上一页</Button>
- <ul className="flex min-w-0 flex-wrap items-center justify-center gap-1">
- {paginationRange(page, pages).map((item, at) => (
- <li key={item === DOTS ? `dots-${at}` : item}>
- {item === DOTS
- ? <span aria-hidden className="px-1 text-body-2-regular text-text-tertiary">{DOTS}</span>
- : <Button variant={item === page ? 'secondary' : 'ghost'} size="small"
- aria-label={`第 ${item} 页`} aria-current={item === page ? 'page' : undefined}
- onClick={() => onPage(Number(item))}>{item}</Button>}
- </li>
- ))}
- </ul>
- <Button variant="secondary" size="small" disabled={page >= pages}
- onClick={() => onPage(page + 1)}>下一页</Button>
- </nav>
- );
-}
-
export function ReviewPage(props: ReviewProps) {
const [narrow, setNarrow] = useState(() => matchMedia('(max-width:900px)').matches);
useEffect(() => {
@@ -84,6 +58,7 @@ export function ReviewPage(props: ReviewProps) {
const [filter, setFilter] = useState('');
const [fieldFilter, setFieldFilter] = useState('');
const [page, setPage] = useState(1);
+ const [pageSize, setPageSize] = useState(20);
/* 勾选、选中的来源值、勾上的作品样本、失败原因,身份都是 `item_key`:翻页、换分组
之后手里还是同一批东西。它们不进地址栏——那是这一刻手里的一批,不是这一页的身份。 */
const [selected, setSelected] = useState<ReadonlySet<string>>(new Set<string>());
@@ -134,8 +109,9 @@ export function ReviewPage(props: ReviewProps) {
groupOptions.some(([key]) => key === groupBy) ? groupBy : 'candidates';
const groups = useMemo(() => groupReviewRows(fieldQueue, activeGroupBy), [fieldQueue, activeGroupBy]);
const activeFilter = groups.some((group) => group.key === filter) ? filter : '';
- const win = useMemo(() => reviewWindow(filterReviewRows(fieldQueue, activeGroupBy, activeFilter), page),
- [fieldQueue, activeGroupBy, activeFilter, page]);
+ const filteredRows = useMemo(() => filterReviewRows(fieldQueue, activeGroupBy, activeFilter),
+ [fieldQueue, activeGroupBy, activeFilter]);
+ const win = useMemo(() => reviewWindow(filteredRows, page, pageSize), [filteredRows, page, pageSize]);
const pageKeys = win.rows.map((row) => row.item_key);
const onPage = new Set(pageKeys);
/* 这一页上一张都没有的组不画分组条:条子底下空着,读起来像加载坏了。 */
@@ -383,7 +359,9 @@ export function ReviewPage(props: ReviewProps) {
</EmptyState>
)}
- <Pagination page={win.page} pages={win.pages} onPage={setPage} />
+ {filteredRows.length ? <DataTableFooter label="复核" total={filteredRows.length}
+ pagination={{ pageIndex: win.page - 1, pageSize }}
+ onChange={(next) => { setPage(next.pageIndex + 1); setPageSize(next.pageSize) }} /> : null}
{metadata && queueView === 'pending'
? <AutoLandingsCard locked={locked} openItem={openItem} toast={toast} />
: null}
diff --git a/frontend/src/react/review/review.ts b/frontend/src/react/review/review.ts
index 86e9e549a..603fecfdd 100644
--- a/frontend/src/react/review/review.ts
+++ b/frontend/src/react/review/review.ts
@@ -50,7 +50,7 @@ export const ENTITY_REVIEW_KINDS: Partial<Record<ReviewCategory, string>> = {
creator_tags: 'creator', western_identity: 'creator',
};
-/** 一页 20 张。接口一次给整条队列,卡的是把几百张候选表单一次画进 DOM。 */
+/** 默认每页 20 张;接口读取整条队列,页面按所选数量挂载候选表单。 */
export const REVIEW_PAGE_SIZE = 20;
export interface CatalogEvidence { display_value?: string; warnings?: string[] }
@@ -222,14 +222,14 @@ export function filterReviewRows(
export interface ReviewWindow { page: number; pages: number; rows: ReviewRow[] }
-/** 当前这一页是哪二十行。页码越界时收回到最后一页,不画空列表。 */
-export function reviewWindow(rows: ReviewRow[], page: number): ReviewWindow {
- const pages = pageCount(rows.length, REVIEW_PAGE_SIZE);
+/** 按每页数量切片,页码越界时收回到最后一页。 */
+export function reviewWindow(rows: ReviewRow[], page: number, pageSize = REVIEW_PAGE_SIZE): ReviewWindow {
+ const pages = pageCount(rows.length, pageSize);
const current = clampPage(page, pages);
return {
page: current,
pages,
- rows: rows.slice((current - 1) * REVIEW_PAGE_SIZE, current * REVIEW_PAGE_SIZE),
+ rows: rows.slice((current - 1) * pageSize, current * pageSize),
};
}
diff --git a/frontend/src/react/settings-panel/settings-data.ts b/frontend/src/react/settings-panel/settings-data.ts
index 5daf6984c..b15a6c32b 100644
--- a/frontend/src/react/settings-panel/settings-data.ts
+++ b/frontend/src/react/settings-panel/settings-data.ts
@@ -38,6 +38,7 @@ export const fetchMediaProcessing = (signal?: AbortSignal) =>
/** `q_settings` 返回的整份;写入时只送改了的那几个键,回来的仍是整份。 */
export interface SyncedSettings {
+ taskSpeedMode?: 'low' | 'standard' | 'high';
performerNameLanguage?: 'zh-CN' | 'ja';
sidebarOrder?: string[];
followInitialDays?: number;
diff --git a/frontend/src/react/settings/configuration-page.tsx b/frontend/src/react/settings/configuration-page.tsx
index e782aabd6..58dc887f4 100644
--- a/frontend/src/react/settings/configuration-page.tsx
+++ b/frontend/src/react/settings/configuration-page.tsx
@@ -20,6 +20,7 @@ import { GeneralSettings } from './general-settings';
import { MaintenanceSettings } from './maintenance-settings';
import { MediaSettings } from './media-settings';
import { MediaProcessingSettings, PlaybackTranscodeSettings } from './media-processing-settings';
+import { TaskSpeedSettings } from './service-preferences';
import { CodePatternSettings } from './code-pattern-settings';
import { NetworkSettings } from './network-settings';
import { SourceSettings } from './source-settings';
@@ -116,6 +117,7 @@ function ConfigurationGroups(
{!data.section_errors?.media_sources && !data.section_errors?.library_count ? <MediaSettings {...group} /> : null}
<CodePatternSettings receipt={receipt} />
<MediaProcessingSettings receipt={receipt} />
+ <TaskSpeedSettings receipt={receipt} />
</div> },
{ title: '来源与订阅', body: (panel) => <SourceSettings {...group} panel={panel} issues={issues(['entry_links'])} /> },
...(downloads || data.section_errors?.downloads ? [{
diff --git a/frontend/src/react/settings/section.tsx b/frontend/src/react/settings/section.tsx
index d87eb05c0..a6e35be9b 100644
--- a/frontend/src/react/settings/section.tsx
+++ b/frontend/src/react/settings/section.tsx
@@ -152,8 +152,8 @@ export function Fact({ term, children }: { term: ReactNode; children: ReactNode
/** 展开正文。原生 `details` 给键盘与无障碍语义;开合交给共用 Collapse 的 `setCollapseOpen`,
* 它给正文外层挂上 `ui-kit/collapse.css` 的 `.ui-fcollapse` 让高度过渡。内边距放在里层,高度才能收到 0。 */
export function Disclosure(
- { summary, defaultOpen = false, isOpen, children, trailing = false, onOpenChange, contentClassName }:
- { summary: ReactNode; defaultOpen?: boolean; isOpen?: boolean; children: ReactNode; trailing?: boolean; onOpenChange?(open: boolean): void; contentClassName?: string },
+ { summary, defaultOpen = false, isOpen, children, trailing = false, row = false, onOpenChange, contentClassName }:
+ { summary: ReactNode; defaultOpen?: boolean; isOpen?: boolean; children: ReactNode; trailing?: boolean; row?: boolean; onOpenChange?(open: boolean): void; contentClassName?: string },
) {
const id = useId();
const details = useRef<HTMLDetailsElement>(null);
@@ -184,13 +184,13 @@ export function Disclosure(
return (
<details ref={attach}>
<summary aria-expanded={open} aria-controls={id} onClick={toggle}
- className={`${trailing ? 'w-full' : 'w-fit'} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`}>
+ className={cx('flex w-full cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring', row && 'px-5 py-2.5')}>
{!trailing ? <RiArrowRightSLine aria-hidden className={open ? 'size-(--icon-inline) shrink-0 rotate-90 transition-transform' : 'size-(--icon-inline) shrink-0 transition-transform'} /> : null}
{summary}
{trailing ? <RiArrowRightSLine aria-hidden className={open ? 'ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform' : 'ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform'} /> : null}
</summary>
<div ref={body} id={id} inert={!open}>
- <div className={cx('flex flex-col gap-2 pt-3', contentClassName)}>{children}</div>
+ <div className={cx('flex flex-col gap-2', row ? 'px-5 pt-0.5' : 'pt-3', contentClassName)}>{children}</div>
</div>
</details>
);
diff --git a/frontend/src/react/settings/service-preferences.tsx b/frontend/src/react/settings/service-preferences.tsx
index 405e432dc..fea6d9ad0 100644
--- a/frontend/src/react/settings/service-preferences.tsx
+++ b/frontend/src/react/settings/service-preferences.tsx
@@ -21,9 +21,23 @@ import {
} from '../settings-panel/settings-data';
import { ErrorText, Help, Rows, Section, Stack, TaskCenterLink } from './section';
import { busyProps } from './use-action';
+import { ProcessingMode } from '../library-processing/processing-effort';
const THUMBNAIL_OPTIONS = [['off', '关闭'], ['precise', '每 10 秒一张'], ['coarse', '每 30 秒一张']] as const;
+export function TaskSpeedSettings({ receipt }: { receipt(message: string): void }) {
+ const settings = useQuery({ queryKey: SETTINGS_KEY, queryFn: ({ signal }) => fetchSettings(signal) });
+ const save = useSaveSettings();
+ const error = save.error || settings.error;
+ return <Section title="后台任务">
+ <Rows><SettingsRow label="默认处理速度" description="新任务使用此档位。运行中的任务可在活动页单独调整。">
+ <ProcessingMode value={settings.data?.taskSpeedMode || 'standard'} busy={!settings.data || save.isPending}
+ onChange={(mode) => save.mutate({ taskSpeedMode: mode }, { onSuccess: () => receipt('已保存默认处理速度') })} />
+ </SettingsRow></Rows>
+ {error ? <Stack divided><ErrorText>{errorMessage(error)}</ErrorText></Stack> : null}
+ </Section>;
+}
+
export function VideoThumbnailRow({ epoch = 0 }: { epoch?: number }) {
return <Section guide="timeline" title="时间轴缩略图"><VideoThumbnailControls epoch={epoch} /></Section>;
}
diff --git a/frontend/src/react/wants/want-list.tsx b/frontend/src/react/wants/want-list.tsx
index 2cd1187e4..cde3bfc42 100644
--- a/frontend/src/react/wants/want-list.tsx
+++ b/frontend/src/react/wants/want-list.tsx
@@ -16,7 +16,7 @@ import { DOWNLOADS_KEY, DOWNLOADS_URL } from '../activity/downloads-panel';
import { cardClass } from '../components/card';
import { EmptyState, EmptyFocusButton } from '../components/empty-state';
import { Note } from '../components/note';
-import { Pagination } from '../follow-manage/source-list';
+import { DataTableFooter } from '../components/table-controls';
import { pageWindow } from '../follow-manage/follow-manage';
import { ErrorLine } from '../follow-manage/source-view';
import { Help } from '../settings/section';
@@ -95,18 +95,19 @@ function WantRow({ want, readOnly, busy, onReset, onRemove, onCloudDownload, dow
);
}
-/** 一段(待找、未发售……):标题带这一段的总数,多于一页时分页,页码各段各记各的。 */
+/** 一段(待找、未发售……):标题带总数,各段独立保存页码与每页数量。 */
function WantPhase({ phase, label, rows, row }: {
phase: string; label: string; rows: Want[]; row(want: Want): ReactNode;
}) {
const [page, setPage] = useState(1);
+ const [pageSize, setPageSize] = useState(WANT_PAGE_SIZE);
const [magnetFilter, setMagnetFilter] = useState('all');
const cached = cachedMagnetStates(rows);
const hasMagnet = (want: Want) => want.has_magnets ?? cached.get(want.code || '') ?? false;
const available = rows.filter(hasMagnet);
const filtered = phase !== 'searching' || magnetFilter === 'all' ? rows
: rows.filter(want => hasMagnet(want) === (magnetFilter === 'available'));
- const win = pageWindow(filtered.length, WANT_PAGE_SIZE, page);
+ const win = pageWindow(filtered.length, pageSize, page);
return (
<section aria-label={label} data-want-phase={phase} className="flex flex-col gap-4">
<div className="flex flex-wrap items-center justify-between gap-3">
@@ -126,14 +127,10 @@ function WantPhase({ phase, label, rows, row }: {
{!filtered.length ? <EmptyState size="compact" icon={RiStarLine} title="暂无符合条件的作品"
actions={<Button size="small" onClick={() => { setMagnetFilter('all'); setPage(1) }}>查看全部</Button>}>{null}</EmptyState> : null}
<ul className="flex flex-col gap-4">{filtered.slice(win.start, win.end).map(row)}</ul>
- {win.pages > 1 ? (
- <div data-want-pager="" className="flex flex-wrap items-center justify-between gap-3">
- <span className="text-body-2-regular tabular-nums text-text-secondary">
- {`${(win.start + 1).toLocaleString()}–${win.end.toLocaleString()} / ${win.total.toLocaleString()} 条`}
- </span>
- <Pagination label={`${label}分页`} page={win.page} pages={win.pages} onPage={setPage} />
- </div>
- ) : null}
+ <div data-want-pager="">
+ <DataTableFooter label={label} total={win.total} pagination={{ pageIndex: win.page - 1, pageSize }}
+ onChange={next => { setPageSize(next.pageSize); setPage(next.pageIndex + 1) }} unit="条" />
+ </div>
</section>
);
}
diff --git a/frontend/test/react/activity.test.tsx b/frontend/test/react/activity.test.tsx
index aad49558d..7ce79b99c 100644
--- a/frontend/test/react/activity.test.tsx
+++ b/frontend/test/react/activity.test.tsx
@@ -13,11 +13,11 @@ import { ErrorExcerpt } from '../../src/react/activity/error-excerpt';
import {
elapsedText, errorHeadline, followupDetail, hasResultProblems, isRoutine, prefetchTasks, progressText, summaryItems, summaryText, TASKS_URL,
} from '../../src/react/activity/tasks';
-import type { ActivityData, FinishedPage, TaskResourcesPayload, TaskRunPayload } from '../../src/react/activity/tasks';
+import type { ActivityData, TaskResourcesPayload, TaskRunPayload } from '../../src/react/activity/tasks';
import type { DownloadsSnapshot } from '../../src/react/bundle';
import { queryClient } from '../../src/react/query';
-import { buttonNamed, click, mount, mountRoot, pending, settle } from './render';
+import { buttonNamed, choose, click, mount, mountRoot, pending, settle } from './render';
vi.mock('@peach/legacy/ui', async (original) => ({
...await original<typeof import('@peach/legacy/ui')>(),
@@ -88,6 +88,16 @@ function stubFetch(tasks: (input: string, init?: RequestInit) => Promise<unknown
issues = issues.filter((issue) => issue.retry !== input);
return Promise.resolve({ ok: true, status: 200, json: async () => ({ running: true }) });
}
+ if (/^\/api\/tasks\/\d+$/.test(input)) {
+ return tasks(input, init).then(async (value) => {
+ const response = value as { ok: boolean; status: number; json(): Promise<ActivityData> };
+ const body = await response.json();
+ const parent = Number(input.split('/').at(-1));
+ return { ...response, json: async () => ({
+ followups: [...(body.running || []), ...(body.finished || [])].filter((row) => row.parent_run_id === parent),
+ }) };
+ });
+ }
return tasks(input, init);
});
}
@@ -650,6 +660,29 @@ it('服务端未给出控制能力时不按任务种类自行增加按钮', asyn
expect(host.querySelector('[data-task-controls]')).toBeNull();
});
+it('活动任务复用三档控件并将档位提交给当前任务', async () => {
+ const posts: unknown[] = [];
+ let current = run({ control: { state: 'running', actions: ['pause', 'cancel', 'set_speed'], speed_mode: 'standard' } });
+ stubFetch(async (_input, init) => {
+ if (init?.method === 'POST') {
+ const body = JSON.parse(String(init.body));
+ posts.push(body);
+ current = { ...current, control: { ...current.control!, speed_mode: body.speed_mode } };
+ }
+ return { ok: true, status: 200, json: async () => payload({ running: [current] }) };
+ });
+ await prefetchTasks(new AbortController().signal);
+ const host = await mount(page());
+ await click(controlButton('处理速度:标准', host));
+ const slider = document.querySelector('input[type="range"]')!;
+ await act(async () => {
+ slider.dispatchEvent(new KeyboardEvent('keydown', { key: 'Home', bubbles: true }));
+ slider.dispatchEvent(new KeyboardEvent('keyup', { key: 'Home', bubbles: true }));
+ });
+ await vi.waitFor(() => expect(controlButton('处理速度:低占用', host)).not.toBeNull());
+ expect(posts).toEqual([{ action: 'set_speed', speed_mode: 'low' }]);
+});
+
it('被挡下的那一轮单独成段,不在最近完成里再出现一次', async () => {
const blocked = run({
id: 7, status: 'cancelled', trigger: 'scheduled', progress_total: null,
@@ -923,97 +956,75 @@ const done = (minute: number, overrides: Partial<TaskRunPayload> = {}) => run({
finished_at: `2026-09-11T10:${String(minute).padStart(2, '0')}:00.000Z`, ...overrides,
});
-/** 轮询与往前翻各有一串回话:地址里带游标的走 `pages`,其余走 `polls`。`null` 那一份回 500。 */
-function route(polls: ActivityData[], pages: (FinishedPage | null)[]) {
- let polled = 0, paged = 0;
- const fetcher = vi.fn(async (input: string, _init?: RequestInit) => {
- if (!input.includes('before_id=')) {
- const body = polls[Math.min(polled, polls.length - 1)];
- polled += 1;
- return { ok: true, status: 200, json: async () => body };
- }
- const body = pages[Math.min(paged, pages.length - 1)] ?? null;
- paged += 1;
- return body
- ? { ok: true, status: 200, json: async () => body }
- : { ok: false, status: 500, json: async () => ({ message: '数据库当前只能浏览' }) };
- });
- stubFetch(fetcher);
- return fetcher;
-}
-
const shownIds = (host: HTMLElement) =>
[...host.querySelectorAll('[data-run-id]')].map((node) => Number(node.getAttribute('data-run-id')));
-const cursorOf = (fetcher: ReturnType<typeof route>, call: number) =>
- new URL(fetcher.mock.calls[call]![0], 'http://peach').searchParams;
-
-it('「加载更早」以最旧那一行为游标往后接一页,到头就不再给这个键', async () => {
- const fetcher = route(
- [payload({ finished: [done(9), done(8)], finished_has_more: true })],
- [{ finished: [done(7), done(6)], finished_has_more: true },
- { finished: [done(5)], finished_has_more: false }]);
+it('最近完成按页替换任务,支持返回上一页,轮询保留当前页', async () => {
+ const calls: string[] = [];
+ stubFetch(async (input) => {
+ calls.push(input);
+ const current = Number(new URL(input, 'http://peach').searchParams.get('page') || 1);
+ return { ok: true, status: 200, json: async () => payload({
+ finished: current === 1 ? [done(9), done(8)] : [done(7)],
+ finished_page: current, finished_total: 21,
+ }) };
+ });
await prefetchTasks(new AbortController().signal);
const host = await mount(page());
expect(shownIds(host)).toEqual([9, 8]);
-
- await click(buttonNamed('加载更早', host));
- await settle();
- expect(cursorOf(fetcher, 1).get('before_id')).toBe('8');
- expect(cursorOf(fetcher, 1).get('before_finished_at')).toBe('2026-09-11T10:08:00.000Z');
- expect(shownIds(host)).toEqual([9, 8, 7, 6]);
-
- await click(buttonNamed('加载更早', host));
- await settle();
- expect(cursorOf(fetcher, 2).get('before_id')).toBe('6');
- expect(shownIds(host)).toEqual([9, 8, 7, 6, 5]);
- expect(buttonNamed('加载更早', host), '已经到头还留着「加载更早」').toBeNull();
-});
-
-it('第一页之后没有更早的就不给「加载更早」', async () => {
- const { host } = await open(payload({ finished: [done(9)], finished_has_more: false }));
- expect(buttonNamed('加载更早', host)).toBeNull();
-});
-
-it('轮询刷新之后翻过的行还在,被新完成挤出第一页的那一轮也不丢、不重复', async () => {
- vi.useFakeTimers();
- route(
- [payload({ finished: [done(9), done(8)], finished_has_more: true }),
- // 10:10 又结束了一轮,第一页末尾的 8 被挤了出去。
- payload({ finished: [done(10), done(9)], finished_has_more: true }),
- payload({ finished: [done(11), done(10)], finished_has_more: true }),
- // 翻页之后才进第一页的 10 也要留住:它被挤出去时,哪一页的回话里都没有它。
- payload({ finished: [done(12), done(11)], finished_has_more: true })],
- [{ finished: [done(7), done(6)], finished_has_more: true }]);
+ await click(buttonNamed('下一页', host));
+ await vi.waitFor(() => expect(shownIds(host)).toEqual([7]));
+ await act(async () => { await queryClient.invalidateQueries({ queryKey: ['tasks'] }); });
+ expect(shownIds(host)).toEqual([7]);
+ expect(calls.at(-1)).toContain('page=2');
+ await click(buttonNamed('上一页', host));
+ await vi.waitFor(() => expect(shownIds(host)).toEqual([9, 8]));
+});
+
+it('最近完成只有一页时隐藏分页', async () => {
+ const { host } = await open(payload({ finished: [done(9)], finished_total: 1, finished_page: 1 }));
+ expect(host.querySelector('nav[aria-label="最近完成分页"]')).toBeNull();
+});
+
+it('最近完成切换每页数量后从第一页读取所选条数', async () => {
+ const calls: string[] = [];
+ const rows = Array.from({ length: 40 }, (_, index) => done(index + 1));
+ stubFetch(async (input) => {
+ calls.push(input);
+ const query = new URL(input, 'http://peach').searchParams;
+ const limit = Number(query.get('limit') || 20);
+ const current = Number(query.get('page') || 1);
+ return { ok: true, status: 200, json: async () => payload({
+ finished: rows.slice((current - 1) * limit, current * limit), finished_total: 40, finished_page: current,
+ }) };
+ });
await prefetchTasks(new AbortController().signal);
const host = await mount(page());
- await click(buttonNamed('加载更早', host));
- await settle();
- expect(shownIds(host)).toEqual([9, 8, 7, 6]);
-
- await tick(10_000);
- expect(shownIds(host)).toEqual([10, 9, 8, 7, 6]);
- await tick(10_000);
- await tick(10_000);
- expect(shownIds(host)).toEqual([12, 11, 10, 9, 8, 7, 6]);
- expect(buttonNamed('加载更早', host), '刷新一次就把往前翻的进度丢了').not.toBeNull();
-});
-
-it('往前翻失败时原位说原因,已有的行不动,再点一次照常接上', async () => {
- route([payload({ finished: [done(9)], finished_has_more: true })],
- [null, { finished: [done(7)], finished_has_more: false }]);
+ await click(buttonNamed('下一页', host));
+ await vi.waitFor(() => expect(shownIds(host)[0]).toBe(21));
+ await choose(host.querySelector('[data-table-pagination] button[aria-haspopup="listbox"]'), '每页 10 轮');
+ await vi.waitFor(() => expect(shownIds(host)).toEqual(Array.from({ length: 10 }, (_, index) => index + 1)));
+ expect(calls.at(-1)).toBe('/api/tasks?page=1&limit=10');
+});
+
+it('翻页失败保留上一页,重试成功后显示所选页', async () => {
+ let failed = true;
+ stubFetch(async (input) => {
+ const current = input.includes('page=2') ? 2 : 1;
+ if (current === 2 && failed) return { ok: false, status: 500,
+ json: async () => ({ message: '数据库当前只能浏览' }) };
+ return { ok: true, status: 200, json: async () => payload({
+ finished: [done(current === 1 ? 9 : 7)], finished_page: current, finished_total: 21,
+ }) };
+ });
await prefetchTasks(new AbortController().signal);
const host = await mount(page());
-
- await click(buttonNamed('加载更早', host));
- await settle();
- expect(host.querySelector('[role=alert]')?.textContent).toContain('数据库当前只能浏览');
+ await click(buttonNamed('下一页', host));
+ await vi.waitFor(() => expect(host.textContent).toContain('数据库当前只能浏览'));
expect(shownIds(host)).toEqual([9]);
-
- await click(buttonNamed('加载更早', host));
- await settle();
- expect(host.querySelector('[role=alert]')).toBeNull();
- expect(shownIds(host)).toEqual([9, 7]);
+ failed = false;
+ await click(buttonNamed('下一页', host));
+ await vi.waitFor(() => expect(shownIds(host)).toEqual([7]));
});
it('时长与摘要的折算各自成立', () => {
diff --git a/frontend/test/react/downloads-panel.test.tsx b/frontend/test/react/downloads-panel.test.tsx
index 0eddf5f7e..64ba19998 100644
--- a/frontend/test/react/downloads-panel.test.tsx
+++ b/frontend/test/react/downloads-panel.test.tsx
@@ -8,6 +8,9 @@ import { DownloadsPanel, downloadPollInterval } from '../../src/react/activity/d
import type { DownloadsSnapshot, DownloadTask } from '../../src/react/bundle';
import { queryClient } from '../../src/react/query';
import { buttonNamed, click, mount, settle } from './render';
+import { showToast } from '../../src/react/toaster';
+
+vi.mock('../../src/react/toaster', () => ({ showToast: vi.fn() }));
afterEach(() => queryClient.clear());
beforeEach(() => { registerNameWritings([]); setNameLanguage('zh-CN') });
@@ -208,26 +211,36 @@ it('有任务还在跟进时五秒查一次,全是终态三十秒一次', () =
expect(downloadPollInterval(undefined)).toBe(30_000);
});
-it('加载更多接上较早任务,失败保留列表并允许重试,刷新不丢已加载的任务', async () => {
+it('云下载分页失败保留列表,重试替换当前页并支持返回', async () => {
let fail = true;
vi.stubGlobal('fetch', vi.fn(async (input: string) => {
- const earlier = input.includes('before_id=2');
- if (earlier && fail) return { ok: false, status: 500, json: async () => ({ message: '读取失败' }) };
+ const current = input.includes('page=2') ? 2 : 1;
+ if (current === 2 && fail) return { ok: false, status: 500, json: async () => ({ message: '读取失败' }) };
return { ok: true, status: 200, json: async () => snapshot({
- tasks: earlier ? [task({ id: 1 })] : [task({ id: 3 }), task({ id: 2 })],
- has_more: !earlier, next_before_id: earlier ? null : 2,
+ tasks: current === 2 ? [task({ id: 1 })] : [task({ id: 3 }), task({ id: 2 })],
+ page: current, total: 21,
}) };
}));
const host = await show();
- await click(buttonNamed('加载更多', host));
+ await click(buttonNamed('下一页', host));
await vi.waitFor(() => expect(host.textContent).toContain('读取失败'));
expect(host.querySelectorAll('[data-download-id]')).toHaveLength(2);
fail = false;
- await click(buttonNamed('加载更多', host));
- await vi.waitFor(() => expect(host.querySelectorAll('[data-download-id]')).toHaveLength(3));
- await queryClient.invalidateQueries({ queryKey: ['downloads'] });
- await settle();
- expect([...host.querySelectorAll('[data-download-id]')].map((node) => node.getAttribute('data-download-id')))
- .toEqual(['3', '2', '1']);
- expect(buttonNamed('加载更多', host)).toBeNull();
+ await click(buttonNamed('下一页', host));
+ await vi.waitFor(() => expect(host.querySelectorAll('[data-download-id]')).toHaveLength(1));
+ await act(async () => { await queryClient.invalidateQueries({ queryKey: ['downloads'] }); });
+ expect(host.querySelector('[data-download-id]')?.getAttribute('data-download-id')).toBe('1');
+ await click(buttonNamed('上一页', host));
+ await vi.waitFor(() => expect(host.querySelectorAll('[data-download-id]')).toHaveLength(2));
+});
+
+it('复制磁力成功显示 toast,按钮保留操作名称', async () => {
+ const writeText = vi.fn(async () => {});
+ vi.stubGlobal('navigator', { clipboard: { writeText } });
+ serve(snapshot({ tasks: [task()] }));
+ const host = await show();
+ await click(buttonNamed('复制磁力', host));
+ expect(writeText).toHaveBeenCalledWith(task().source_uri);
+ expect(showToast).toHaveBeenCalledWith('download-copy-1', expect.objectContaining({ html: '已复制磁力', alert: false }));
+ expect(buttonNamed('复制磁力', host)).not.toBeNull();
});
diff --git a/frontend/test/react/jav-page.test.tsx b/frontend/test/react/jav-page.test.tsx
index c76e215e0..4ae1b58fe 100644
--- a/frontend/test/react/jav-page.test.tsx
+++ b/frontend/test/react/jav-page.test.tsx
@@ -6,7 +6,7 @@ import { JavPage } from '../../src/react/jav/jav-page';
import { JavHeader } from '../../src/react/jav/jav-header';
import { discoveryKey, prefetchJav } from '../../src/react/jav/jav';
import { WANTS_KEY } from '../../src/react/wants/wants';
-import { actionOrder, buttonNamed, click, mount, settle, type } from './render';
+import { actionOrder, buttonNamed, choose, click, mount, settle, type } from './render';
notifyManager.setScheduler(notify => notify());
afterEach(() => queryClient.clear());
@@ -133,6 +133,56 @@ it('新作分区的女优、厂牌、标签只列接口给的订阅新作筛选
history.replaceState(null, '', before);
});
+it('新作分页按地址每页数量取数,切换数量回到首屏并保留筛选', async () => {
+ const before = location.pathname + location.search;
+ history.replaceState(null, '', '/jav?tab=releases&page=2&size=10&tag=剧情');
+ const items = Array.from({ length: 55 }, (_, index) => ({ id: index + 1, code: `ABC-${index + 1}`,
+ title: '示例作品', performers: '', studio: '', has_cover: false, release_date: '2026-11-10', wanted: false }));
+ const fetcher = vi.fn(async (url: string) => {
+ const params = new URL(url, location.origin).searchParams;
+ const page = Number(params.get('page')), size = Number(params.get('size'));
+ return { ok: true, status: 200, json: async () => ({ items: items.slice((page - 1) * size, page * size),
+ total: items.length, candidate_total: items.length, page, size,
+ facets: { performers: [], studios: [], tags: [] } }) };
+ });
+ vi.stubGlobal('fetch', fetcher);
+ try {
+ const host = await mount(<QueryClientProvider client={queryClient}><JavPage tab="releases" readOnly navigate={vi.fn()} receipt={vi.fn()} /></QueryClientProvider>);
+ host.querySelector<HTMLElement>('section[aria-label="订阅新作"]')!.scrollIntoView = vi.fn();
+ await settle();
+ expect(host.querySelectorAll('[data-jav-card]')).toHaveLength(10);
+ expect(host.querySelector('[data-table-pagination]')?.textContent).toContain('11–20 / 55 部作品');
+ await choose(host.querySelector('button[aria-label="每页显示数量"]'), '每页 50 部');
+ await settle();
+ expect(host.querySelectorAll('[data-jav-card]')).toHaveLength(50);
+ const asked = new URL(String(fetcher.mock.calls.at(-1)?.[0]), location.origin).searchParams;
+ expect([asked.get('page'), asked.get('size'), asked.get('tag')]).toEqual(['1', '50', '剧情']);
+ expect(new URLSearchParams(location.search).get('size')).toBe('50');
+ expect(new URLSearchParams(location.search).has('page')).toBe(false);
+ } finally { history.replaceState(null, '', before) }
+});
+
+it('空新作列表保留每页数量控件,越界页自动返回首页', async () => {
+ const before = location.pathname + location.search;
+ history.replaceState(null, '', '/jav?tab=releases&page=99');
+ const fetcher = vi.fn(async (_url: string) => ({ ok: true, status: 200, json: async () => ({
+ items: [], total: 0, candidate_total: 0, page: 1, size: 24, facets: { performers: [], studios: [], tags: [] },
+ }) }));
+ vi.stubGlobal('fetch', fetcher);
+ try {
+ const host = await mount(<QueryClientProvider client={queryClient}><JavPage tab="releases" readOnly navigate={vi.fn()} receipt={vi.fn()} /></QueryClientProvider>);
+ host.querySelector<HTMLElement>('section[aria-label="订阅新作"]')!.scrollIntoView = vi.fn();
+ await settle();
+ expect(host.textContent).toContain('暂无未入库的新作');
+ expect(host.querySelector('[data-table-pagination]')?.textContent).toContain('0–0 / 0 部作品');
+ expect(new URLSearchParams(location.search).has('page')).toBe(false);
+ await choose(host.querySelector('button[aria-label="每页显示数量"]'), '每页 20 部');
+ await settle();
+ const asked = new URL(String(fetcher.mock.calls.at(-1)?.[0]), location.origin).searchParams;
+ expect([asked.get('page'), asked.get('size')]).toEqual(['1', '20']);
+ } finally { history.replaceState(null, '', before) }
+});
+
it('新作分区切到列表:作品、艺人、厂牌各占一列,表头点时长按时长排序', async () => {
const before = location.pathname + location.search;
history.replaceState(null, '', '/jav?tab=releases');
diff --git a/frontend/test/react/jav.test.ts b/frontend/test/react/jav.test.ts
index 019968b17..094a45446 100644
--- a/frontend/test/react/jav.test.ts
+++ b/frontend/test/react/jav.test.ts
@@ -1,6 +1,6 @@
import { expect, it } from 'vitest';
import { discoveryArtwork, javLibraryPath, javPath, javTab, type Discovery } from '../../src/react/jav/jav';
-import { discoveryKey, fetchDiscoveries } from '../../src/react/jav/jav';
+import { discoveryKey, fetchDiscoveries, fetchReleases, releaseFilters, releaseKey } from '../../src/react/jav/jav';
import { discoveryScore, recommendationScore } from '../../src/react/jav/discovery-sorts';
import { vi } from 'vitest';
import { advanceImageFallback } from '../../src/card-art/image-fallback';
@@ -53,6 +53,22 @@ it('发现封面优先本机缓存,远程封面经 Peach 代理并保留原地
it('JAV 分区从深链恢复,未知分区落在馆藏', () => {
expect(javTab('discover')).toBe('discover'); expect(javTab('wants')).toBe('wants'); expect(javTab('other')).toBe('library');
});
+it('新作页大小从地址恢复,查询参数与缓存按页大小隔离', async () => {
+ const filters = releaseFilters('?page=3&size=50&tag=剧情&sort=duration&dir=asc');
+ expect(filters).toMatchObject({ page: 3, size: 50, tag: '剧情', sort: 'duration', dir: 'asc' });
+ expect(releaseKey(filters)).not.toEqual(releaseKey({ ...filters, size: 20 }));
+ for (const size of ['0', '-1', '2.5', '101', 'Infinity', 'unknown']) {
+ expect(releaseFilters(`?size=${size}`).size).toBe(24);
+ }
+ expect(releaseFilters('?page=Infinity').page).toBe(1);
+ const fetcher = vi.fn(async (_input: string) => ({ ok: true, status: 200, json: async () => ({ items: [], total: 0 }) }));
+ vi.stubGlobal('fetch', fetcher);
+ try {
+ await fetchReleases(filters, new AbortController().signal);
+ const params = new URL(String(fetcher.mock.calls[0]?.[0]), 'https://peach.test').searchParams;
+ expect(Object.fromEntries(params)).toEqual({ page: '3', size: '50', sort: 'duration', direction: 'asc', tag: '剧情' });
+ } finally { vi.unstubAllGlobals() }
+});
it('JAV 馆藏深链保留搜索和筛选条件,使用目录入口', () => {
const url = new URL(javLibraryPath('?tab=library&q=ABC-123&studio=演示厂牌&loc=cloud&sort=new&jav=0'), 'https://peach.test');
expect(url.pathname).toBe('/');
diff --git a/frontend/test/react/review.test.tsx b/frontend/test/react/review.test.tsx
index b5bd3a508..76bc21b3d 100644
--- a/frontend/test/react/review.test.tsx
+++ b/frontend/test/react/review.test.tsx
@@ -226,6 +226,19 @@ it('筛掉一个分组之后回到第一页', async () => {
expect(buttonIn(host, '下一页')).toBeNull();
});
+it('切换每页数量回到第一页并保留已选候选', async () => {
+ const { host } = await open();
+ await click(boxOf(host, 0));
+ await click(buttonIn(host, '下一页'));
+ await choose(host.querySelector('[data-table-pagination] button[aria-haspopup="listbox"]'), '每页 10 条');
+ expect(cards(host)).toHaveLength(10);
+ expect(keys(host)[0]).toBe('row-0');
+ expect(statusText(host)).toContain('已选 1 项');
+ await choose(host.querySelector('[data-table-pagination] button[aria-haspopup="listbox"]'), '每页 50 条');
+ expect(cards(host)).toHaveLength(QUEUE.length);
+ expect(buttonIn(host, '下一页')).toBeNull();
+});
+
it('分类进地址栏,换一条队列就把手里的选择放下', async () => {
const { host, props } = await open();
expect(host.querySelector('[data-selection-dock]')).toBeNull();
diff --git a/frontend/test/react/service-preferences.test.tsx b/frontend/test/react/service-preferences.test.tsx
index f690d9b70..433898b3f 100644
--- a/frontend/test/react/service-preferences.test.tsx
+++ b/frontend/test/react/service-preferences.test.tsx
@@ -4,7 +4,7 @@ import { afterEach, expect, it, vi } from 'vitest';
import { appSettingsStore } from '../../src/appearance/settings';
import { queryClient } from '../../src/react/query';
-import { FollowPreferenceRows, VideoThumbnailRow } from '../../src/react/settings/service-preferences';
+import { FollowPreferenceRows, VideoThumbnailRow, TaskSpeedSettings } from '../../src/react/settings/service-preferences';
import { configurationContentSkeleton } from '../../src/configuration-skeleton';
import { buttonNamed, choose, click, mount, mountRoot, pending, settle, type } from './render';
@@ -43,6 +43,22 @@ const mountFollowRows = async () => {
return host;
};
+it('默认任务档位通过共享设置保存,并显示保存回执', async () => {
+ const { posts } = server();
+ const receipt = vi.fn();
+ const host = await mount(<QueryClientProvider client={queryClient}><TaskSpeedSettings receipt={receipt} /></QueryClientProvider>);
+ await settle();
+ await click(buttonNamed('标准', host));
+ const slider = document.querySelector('input[type="range"]')!;
+ await act(async () => {
+ slider.dispatchEvent(new KeyboardEvent('keydown', { key: 'Home', bubbles: true }));
+ slider.dispatchEvent(new KeyboardEvent('keyup', { key: 'Home', bubbles: true }));
+ });
+ await vi.waitFor(() => expect(buttonNamed('低占用', host)).not.toBeNull());
+ expect(posts).toEqual([{ url: '/api/settings', body: { taskSpeedMode: 'low' } }]);
+ expect(receipt).toHaveBeenCalledWith('已保存默认处理速度');
+});
+
it('订阅源拉取读出间隔,没有失败时两个调度都不出提示', async () => {
server();
const host = await mountFollowRows();
diff --git a/frontend/test/react/want-list.test.tsx b/frontend/test/react/want-list.test.tsx
index 107893860..ef3a52b6f 100644
--- a/frontend/test/react/want-list.test.tsx
+++ b/frontend/test/react/want-list.test.tsx
@@ -8,7 +8,7 @@ import { afterEach, expect, it, vi } from 'vitest';
import { queryClient } from '../../src/react/query';
import { WANT_PAGE_SIZE, WantList } from '../../src/react/wants/want-list';
import type { Want, WantsData } from '../../src/react/wants/wants';
-import { actionOrder, buttonNamed, click, mount, settle, type } from './render';
+import { actionOrder, buttonNamed, choose, click, mount, settle, type } from './render';
afterEach(() => { queryClient.clear(); localStorage.clear() });
notifyManager.setScheduler((notify) => notify());
@@ -182,5 +182,23 @@ it(`一段多于 ${WANT_PAGE_SIZE} 条时分页,页码各段各记各的;报
expect([...unreleased.querySelectorAll<HTMLElement>('li[data-want-id]')].map((row) => row.dataset.wantId)).toEqual(['41', '42']);
const acquired = host.querySelector('[data-want-phase="acquired"]')!;
expect(acquired.querySelectorAll('li[data-want-id]')).toHaveLength(3);
- expect(acquired.querySelector('[data-want-pager]')).toBeNull();
+ expect(acquired.querySelector('[data-want-pager]')?.textContent).toContain('1–3 / 3 条');
+ await choose(unreleased.querySelector('button[aria-label="每页显示数量"]'), '每页 10 条');
+ expect(unreleased.querySelectorAll('li[data-want-id]')).toHaveLength(10);
+ expect(unreleased.querySelector('li[data-want-id]')?.getAttribute('data-want-id')).toBe('1');
+ expect(acquired.querySelector('button[aria-label="每页显示数量"]')?.textContent).toContain('每页 20 条');
+});
+
+it('想要筛选为空时仍可选择每页数量,清除筛选后使用所选数量', async () => {
+ vi.stubGlobal('IntersectionObserver', class { observe() {} disconnect() {} });
+ serve(listed(Array.from({ length: 25 }, (_, index) => want(index + 1, { has_magnets: false }))));
+ const { host } = await open();
+ await click(host.querySelector('input[value="available"]'));
+ await settle();
+ expect(host.querySelectorAll('[data-want-id]')).toHaveLength(0);
+ expect(host.querySelector('[data-want-pager]')?.textContent).toContain('0–0 / 0 条');
+ await choose(host.querySelector('button[aria-label="每页显示数量"]'), '每页 10 条');
+ await click(buttonNamed('查看全部', host));
+ await settle();
+ expect(host.querySelectorAll('[data-want-id]')).toHaveLength(10);
});
diff --git a/src/peach/downloads.py b/src/peach/downloads.py
index 5182931bd..3440fd382 100644
--- a/src/peach/downloads.py
+++ b/src/peach/downloads.py
@@ -439,13 +439,17 @@ class DownloadStore:
(max(1, min(int(limit), 500)),)).fetchall()
return [DownloadTask.from_row(row) for row in rows]
- def page(self, limit: int, before_id: int | None = None) -> list[DownloadTask]:
+ def count(self) -> int:
+ with self.database.read_connection() as connection:
+ return connection.execute("SELECT count(*) FROM download_task").fetchone()[0]
+
+ def page(self, limit: int, before_id: int | None = None, *, offset: int = 0) -> list[DownloadTask]:
"""按提交顺序读取一页;状态更新时间不影响分页位置。"""
where = " WHERE id<?" if before_id is not None else ""
args = (before_id, limit) if before_id is not None else (limit,)
with self.database.read_connection() as connection:
rows = connection.execute(
- f"SELECT * FROM download_task{where} ORDER BY id DESC LIMIT ?", args).fetchall()
+ f"SELECT * FROM download_task{where} ORDER BY id DESC LIMIT ? OFFSET ?", (*args, offset)).fetchall()
return [DownloadTask.from_row(row) for row in rows]
def display_assets(self, tasks: list[DownloadTask]) -> dict[int, dict]:
@@ -859,9 +863,11 @@ class DownloadService:
self.store.save(task)
return task
- def snapshot(self, limit: int = 100, *, before_id: int | None = None) -> dict:
+ def snapshot(self, limit: int = 100, *, before_id: int | None = None, page: int = 1) -> dict:
limit = max(1, min(int(limit), 500))
- rows = self.store.page(limit + 1, before_id)
+ total = self.store.count()
+ page = min(page, max(1, (total + limit - 1) // limit))
+ rows = self.store.page(limit + 1, before_id, offset=(page - 1) * limit)
tasks = rows[:limit]
has_more = len(rows) > limit
assets = self.store.display_assets(tasks)
@@ -878,6 +884,8 @@ class DownloadService:
**catalog,
"tasks": payloads,
"has_more": has_more,
+ "total": total,
+ "page": page,
"next_before_id": tasks[-1].id if has_more else None,
}
diff --git a/src/peach/http.py b/src/peach/http.py
index 1d3d7ec1f..4c783e5f2 100644
--- a/src/peach/http.py
+++ b/src/peach/http.py
@@ -220,6 +220,8 @@ class HttpxTransport:
timeout: float,
max_bytes: int,
) -> HttpResponse:
+ from .processing_control import checkpoint as processing_checkpoint
+ processing_checkpoint('network')
method = request.method
url = httpx.URL(request.url)
headers = dict(request.headers)
@@ -324,6 +326,8 @@ class CurlCffiTransport:
timeout: float,
max_bytes: int,
) -> HttpResponse:
+ from .processing_control import checkpoint as processing_checkpoint
+ processing_checkpoint('network')
from .processing_traffic import unobserved
unobserved('浏览器指纹传输流量未观测')
chunks: list[bytes] = []
diff --git a/src/peach/jobs.py b/src/peach/jobs.py
index 170a1b717..70aad1bcf 100644
--- a/src/peach/jobs.py
+++ b/src/peach/jobs.py
@@ -574,6 +574,15 @@ class BackgroundJob:
if run is None:
return
self._run_ids[job_id] = run.id
+ if state.get('speed_mode') is not None:
+ from .job_recovery import current_run
+ from .task_control import request, speed_mode
+ stored_mode = speed_mode(self.runs.database.db_path, run.id,
+ (run.parent_run_id, run.root_run_id), default=None)
+ if current_run.get() != run.id or stored_mode is None:
+ request(self.runs, run.id, 'set_speed', mode=state['speed_mode'])
+ stored_mode = state['speed_mode']
+ self.update(job_id, speed_mode=stored_mode)
self.update(job_id, run_id=run.id)
def _close_run(self, job_id: str, status: str, *, error: str = "",
diff --git a/src/peach/library_processing.py b/src/peach/library_processing.py
index 1468267fa..ce6d7a391 100644
--- a/src/peach/library_processing.py
+++ b/src/peach/library_processing.py
@@ -2920,6 +2920,13 @@ def process_library(config, db_path, candidate_root, cover_root, *, location='co
path.parent.mkdir(parents=True, exist_ok=True)
retrying = retry_ids is not None
scope_ids, initial_ids = _initial_processing_scope(db_path, selected_ids, retry_ids, incremental, resume_state)
+ from .task_control import CURRENT as TASK_CONTROL
+ task = TASK_CONTROL.get()
+ if task is not None:
+ speed_mode = task.mode
+ elif speed_mode is None:
+ from .web_settings import task_speed_mode
+ speed_mode = task_speed_mode(judgement_database)
control = task_control(config, state_file)
identity = job_id or uuid.uuid4().hex
from .processing_inventory import recent_rows
diff --git a/src/peach/media_probe.py b/src/peach/media_probe.py
index 5a60ac2cc..534578391 100644
--- a/src/peach/media_probe.py
+++ b/src/peach/media_probe.py
@@ -26,7 +26,7 @@ from .jobs import ACTIVE_ASSET_SQL
from .media_io import resolve_case_insensitive
from .media_sources import cost_for
from .strm import skip_background_read
-from .processing_control import CURRENT, checkpoint
+from .processing_control import current_control, checkpoint
from .catalog_rules import is_local_extra
from . import junk, record_rehome
@@ -192,7 +192,7 @@ def _measure_batches(ffprobe, rows):
with ThreadPoolExecutor(max_workers=WORKERS, thread_name_prefix='PeachProbe') as executor:
while start < len(rows) or futures:
checkpoint('probe')
- control = CURRENT.get()
+ control = current_control()
workers = {'low': 1, 'standard': 2, 'high': WORKERS}[control.mode] if control else WORKERS
while start < len(rows) and len(futures) < workers:
row = rows[start]
diff --git a/src/peach/mp4recover.py b/src/peach/mp4recover.py
index 3ac7ed920..1fe91b6a7 100644
--- a/src/peach/mp4recover.py
+++ b/src/peach/mp4recover.py
@@ -108,7 +108,9 @@ def _stream_durations(ffprobe: Path, path: Path) -> dict[str, float]:
def _decode_errors(ffmpeg: Path, path: Path) -> int:
- completed = _run([str(ffmpeg), "-v", "error", "-threads", "0", "-i", str(path), "-f", "null", "-"],
+ from .processing_control import ffmpeg_options
+ completed = _run([str(ffmpeg), "-v", "error", *(ffmpeg_options() or ['-threads', '0']),
+ "-i", str(path), "-f", "null", "-"],
RUN_TIMEOUT_SECONDS)
lines = completed.stderr.decode("utf-8", "replace").splitlines()
return sum(1 for line in lines if "error while decoding" in line or "corrupt" in line)
diff --git a/src/peach/mp4repair.py b/src/peach/mp4repair.py
index 18f2c3da6..a9137b503 100644
--- a/src/peach/mp4repair.py
+++ b/src/peach/mp4repair.py
@@ -147,13 +147,13 @@ def _display_order(ffprobe: Path, source: Path, decode_times: list[int]) -> list
对不上就抛 `RepairUnavailable`:宁可不修,也不能写一张错的表。
- `-threads 0` 不是调参,是补上 ffprobe 默认没开的解码线程:6297 上实测 300 秒内容
- 从 27 秒降到 4 秒,整片从十几分钟降到一两分钟。
+ 解码线程沿用任务档位,高强度和独立调用交给 FFmpeg 自动分配。
"""
from .task_resources import media_input
+ from .processing_control import ffmpeg_options
media_input(source)
command = (
- str(ffprobe), "-v", "error", "-threads", "0",
+ str(ffprobe), "-v", "error", *(ffmpeg_options() or ['-threads', '0']),
"-ignore_editlist", "1", "-select_streams", "v:0",
"-show_entries", "frame=pts", "-of", "csv=p=0", input_url(source),
)
diff --git a/src/peach/processing_control.py b/src/peach/processing_control.py
index 360b321d0..b713258d7 100644
--- a/src/peach/processing_control.py
+++ b/src/peach/processing_control.py
@@ -103,14 +103,19 @@ def resume_fields(state, values):
def checkpoint(kind='work'):
from .task_control import checkpoint as task_checkpoint
- task_checkpoint()
control = CURRENT.get()
+ task_checkpoint(None if control is not None else kind)
if control is not None:
control.checkpoint(kind)
+def current_control():
+ from .task_control import CURRENT as TASK_CONTROL
+ return CURRENT.get() or TASK_CONTROL.get()
+
+
def low_mode():
- control = CURRENT.get()
+ control = current_control()
return control is not None and control.mode == 'low'
@@ -119,8 +124,8 @@ def mode_ratio(target, previous='standard'):
def ffmpeg_options(*, filter_option=None):
- """当前馆藏任务的 FFmpeg 线程选项;高强度与独立调用使用工具默认值。"""
- control = CURRENT.get()
+ """当前任务的 FFmpeg 线程选项;高强度与独立调用使用工具默认值。"""
+ control = current_control()
threads = {'low': 1, 'standard': 2}.get(control.mode) if control is not None else None
if threads is None:
return []
@@ -171,6 +176,16 @@ def deadline_after(seconds):
class ProcessingControl:
+ @property
+ def mode(self):
+ from .task_control import CURRENT as TASK_CONTROL
+ control = TASK_CONTROL.get() if CURRENT.get() is self else None
+ return control.mode if control is not None else self._mode
+
+ @mode.setter
+ def mode(self, value):
+ self._mode = value
+
@property
def paused_seconds(self):
from .task_control import CURRENT as TASK_CONTROL
@@ -186,6 +201,7 @@ class ProcessingControl:
self.lock = threading.RLock()
data = _read(path)
self.mode = data.get('speed_mode') if data.get('speed_mode') in MODES else 'standard'
+ self.next_mode = data.get('next_speed_mode')
self.job_id = data.get('job_id')
self.paused = data.get('paused') is True
self.cancelled = data.get('cancelled') is True
@@ -195,6 +211,7 @@ class ProcessingControl:
self.active = lambda: True
self.db_path = None
self.next_work = {}
+ self._paced_mode = None
self.paused_seconds = 0.0
self.reloaded_at = 0.0
self.current_asset_id = None
@@ -212,15 +229,22 @@ class ProcessingControl:
self.paused = data.get('paused', self.paused)
self.cancelled = data.get('cancelled', self.cancelled)
self.skip_asset_id = data.get('skip_asset_id')
+ self.next_mode = data.get('next_speed_mode')
mode = data.get('speed_mode', self.mode)
- if mode in MODES and self.mode != mode:
+ if mode in MODES and self._mode != mode:
self.mode = mode
self.next_work.clear()
def _save(self):
atomic_write_text(self.path, json.dumps(dict(
speed_mode=self.mode, job_id=self.job_id, paused=self.paused, cancelled=self.cancelled,
- skip_asset_id=self.skip_asset_id)) + '\n')
+ skip_asset_id=self.skip_asset_id, next_speed_mode=self.next_mode)) + '\n')
+
+ def select_next_mode(self, mode):
+ with self.lock:
+ self.refresh(force=True)
+ self.next_mode = valid_mode(mode) if mode is not None else None
+ self._save()
def skip_current(self, job_id, asset_id):
with self.lock:
@@ -286,7 +310,7 @@ class ProcessingControl:
generic_started = 0.0
while True:
from .task_control import checkpoint as task_checkpoint
- task_checkpoint()
+ task_checkpoint(None)
check_pause(self.db_path)
self.refresh()
self.check_item()
@@ -294,6 +318,9 @@ class ProcessingControl:
raise InterruptedError('处理任务已停止')
with self.lock:
paused, mode = self.paused, self.mode
+ if mode != self._paced_mode:
+ self.next_work.clear()
+ self._paced_mode = mode
self.event.clear()
if paused:
if started is None:
@@ -332,7 +359,12 @@ def user_cancelled(db_path, job_id):
def initial_estimate(config, db_path, stage, asset_ids=None, mode=None):
"""仅使用账本统计,不在启动 HTTP 请求里遍历媒体目录。"""
- mode = mode or control_for(config).mode
+ if mode is None and current_control() is not None:
+ mode = current_control().mode
+ if mode is None:
+ from .repository import LedgerDatabase
+ from .web_settings import task_speed_mode
+ mode = task_speed_mode(LedgerDatabase(db_path))
query = "SELECT COUNT(*), COALESCE(SUM(size),0) FROM asset WHERE medium='video' AND disposal IS NULL"
parameters = []
if asset_ids is not None:
@@ -370,6 +402,7 @@ def initial_estimate(config, db_path, stage, asset_ids=None, mode=None):
class ProcessingEstimate:
def __init__(self, config, state, control):
+ control = control or current_control()
self.config, self.control = config, control
self.started = time.monotonic()
self.phase = None
diff --git a/src/peach/routes_api.py b/src/peach/routes_api.py
index 3756249cd..a562c5385 100644
--- a/src/peach/routes_api.py
+++ b/src/peach/routes_api.py
@@ -256,16 +256,19 @@ def task_run_control(request: Request, run_id: int, body: dict = Body(default_fa
contract = request.app.state.web_contract
try:
run = contract.task_runs.get(run_id)
- if run is not None and run.active and run.task_key == 'library-processing':
- from .web_library_processing import _current, w_library_processing
+ if (run is not None and run.active and run.task_key == 'library-processing'
+ and body.get('action') != 'set_speed'):
+ from .web_library_processing import _active_run, _current, w_library_processing
current = _current(contract)
- if current.get('run_id') != run_id:
+ active = _active_run(contract, current)
+ if active is None or active.id != run_id:
raise ValueError('任务已变化,请刷新后重试')
if not contract.task_runs.enabled or run.host != contract.task_runs.host:
raise PermissionError('请在执行这轮任务的写入端操作')
- w_library_processing(contract, {'action': body.get('action'), 'job_id': current.get('job_id')})
+ w_library_processing(contract, {'action': body.get('action'), 'job_id': current.get('job_id'),
+ 'speed_mode': body.get('speed_mode')})
else:
- task_control.request(contract.task_runs, run_id, body.get('action'))
+ task_control.request(contract.task_runs, run_id, body.get('action'), mode=body.get('speed_mode'))
contract.followups.wake()
return web_tasks.q_task(contract, run_id)
except KeyError as exc:
diff --git a/src/peach/source_preflight.py b/src/peach/source_preflight.py
index 2a4f85fad..a21f7dab6 100644
--- a/src/peach/source_preflight.py
+++ b/src/peach/source_preflight.py
@@ -52,7 +52,8 @@ def check_sources(secrets_root: Path, sources: list[str] | None = None, *,
finished: dict[str, dict] = {}
pool = ThreadPoolExecutor(max_workers=4, thread_name_prefix="source-check")
try:
- futures = {pool.submit(check, source): source for source in selected}
+ from contextvars import copy_context
+ futures = {pool.submit(copy_context().run, check, source): source for source in selected}
for future in as_completed(futures):
row = finished[futures[future]] = future.result()
if on_result is not None:
diff --git a/src/peach/task_control.py b/src/peach/task_control.py
index 0bb95d45c..ec681d627 100644
--- a/src/peach/task_control.py
+++ b/src/peach/task_control.py
@@ -2,6 +2,7 @@
from __future__ import annotations
import json
+import logging
import os
import signal
import subprocess
@@ -61,6 +62,38 @@ def requested(db, run_id, ancestors=()):
return intent(db, run_id, ancestors).get('action', 'resume')
+def speed_mode(db, run_id, ancestors=(), *, default='standard'):
+ commands = [_read(_root(db) / f'{identity}.speed.json')
+ for identity in dict.fromkeys((run_id, *ancestors)) if identity is not None]
+ command = max(commands, key=lambda value: value.get('at', 0), default={})
+ return command.get('speed_mode', default)
+
+
+def initialize_speed(store, run_id, parent=None):
+ from .web_settings import task_speed_mode
+ from .update_tasks import _mutex
+ db = store.database.db_path
+ with _mutex(state_for(db)):
+ path = _root(db) / f'{run_id}.speed.json'
+ mode = (speed_mode(db, parent.id, (parent.parent_run_id, parent.root_run_id))
+ if parent is not None else task_speed_mode(store.database))
+ atomic_write_text(path, json.dumps({'speed_mode': mode, 'at': time.time_ns()}))
+
+
+def prune_speeds(store):
+ from .update_tasks import _mutex
+ db = store.database.db_path
+ with _mutex(state_for(db)):
+ with store.database.read_connection() as connection:
+ retained = {str(row[0]) for row in connection.execute('SELECT id FROM task_run')}
+ for path in _root(db).glob('*.speed.json'):
+ if path.name.removesuffix('.speed.json') not in retained:
+ try:
+ path.unlink(missing_ok=True)
+ except OSError:
+ logging.getLogger(__name__).warning('任务速度文件清退失败:%s', path, exc_info=True)
+
+
def projection(store, run):
if not store.enabled or run.host != store.host:
return None
@@ -83,18 +116,22 @@ def projection(store, run):
actions = ['resume', 'cancel']
else:
state, actions = 'running', ['pause', 'cancel']
- return {'state': state, 'actions': actions}
+ return {'state': state, 'actions': [*actions, *(['set_speed'] if action != 'cancel' else [])],
+ 'speed_mode': speed_mode(store.database.db_path, run.id, (run.parent_run_id, run.root_run_id))}
-def request(store, run_id, action):
+def request(store, run_id, action, *, mode=None):
from .update_tasks import _mutex
with _mutex(state_for(store.database.db_path)):
- return _request(store, run_id, action)
+ return _request(store, run_id, action, mode=mode)
-def _request(store, run_id, action):
- if action not in ('pause', 'resume', 'cancel'):
- raise ValueError('请选择暂停、继续或取消')
+def _request(store, run_id, action, *, mode=None):
+ if action not in ('pause', 'resume', 'cancel', 'set_speed'):
+ raise ValueError('请选择暂停、继续、取消或调整速度')
+ if action == 'set_speed':
+ from .processing_control import valid_mode
+ mode = valid_mode(mode)
run = store.get(run_id)
if run is None:
raise KeyError('任务未取得,请刷新后重试')
@@ -110,6 +147,12 @@ def _request(store, run_id, action):
return run
if current == action:
return run
+ if action == 'set_speed':
+ command = json.dumps({'speed_mode': mode, 'at': time.time_ns()})
+ for child in (run, *store.active_descendants(run.id)):
+ if child.host == store.host:
+ atomic_write_text(_root(db) / f'{child.id}.speed.json', command)
+ return run
# 父任务的控制覆盖已经派出的后继;尚未派出的工作在父任务结算前经过停点。
with store.database.read_connection() as connection:
descendants = connection.execute(
@@ -166,12 +209,33 @@ class Control:
self.owners = {}
self._paused_seconds = 0.0
self._paused_at = None
+ self.next_work = {}
+ self._speed_mode = None
run = store.get(run_id)
self.ancestors = (run.parent_run_id, run.root_run_id)
self._observed = None
from .task_resources import Usage
self.usage = Usage(self.db, run_id)
+ @property
+ def mode(self):
+ return speed_mode(self.db, self.run_id, self.ancestors)
+
+ def pace(self, kind):
+ from .processing_control import IO_INTERVALS
+ while True:
+ self.checkpoint()
+ mode = self.mode
+ with self.lock:
+ if mode != self._speed_mode:
+ self.next_work.clear()
+ self._speed_mode = mode
+ remaining = self.next_work.get(kind, 0) - time.monotonic()
+ if remaining <= 0:
+ self.next_work[kind] = time.monotonic() + IO_INTERVALS[mode].get(kind, 0)
+ return
+ self.stopping.wait(min(.1, remaining))
+
@property
def paused_seconds(self):
with self.lock:
@@ -274,10 +338,13 @@ def shutdown(db, run_id):
control.stopping.set()
-def checkpoint():
+def checkpoint(kind='work'):
control = CURRENT.get()
if control is not None:
- control.checkpoint()
+ if kind is None:
+ control.checkpoint()
+ else:
+ control.pace(kind)
def controlled(function):
diff --git a/src/peach/task_runs.py b/src/peach/task_runs.py
index 1731ab77d..5e6349556 100644
--- a/src/peach/task_runs.py
+++ b/src/peach/task_runs.py
@@ -341,6 +341,8 @@ class TaskRunStore:
(task_key, trigger, mutex_key, pid if pid is not None else os.getpid(),
self.host, moment, moment, total, label, json.dumps(summary or {}, ensure_ascii=False)))
run_id = int(cursor.lastrowid)
+ from .task_control import initialize_speed
+ initialize_speed(self, run_id)
except sqlite3.IntegrityError:
if mutex_key is None:
# 没声明互斥还撞上约束,说明坏的是别的东西(CHECK、列约束),
@@ -493,7 +495,9 @@ class TaskRunStore:
planned = planned[:MAX_FOLLOWUPS]
root = parent.root_run_id or parent.id
moment = stamp()
- with self.database.write_transaction(notify=False) as connection:
+ from .task_control import initialize_speed
+ from .update_tasks import _mutex, state_for
+ with _mutex(state_for(self.database.db_path)), self.database.write_transaction(notify=False) as connection:
# 父任务是裸任务时它就是这条链的根。补在这里而不是 `start`:开工那一刻还
# 不知道这一轮会不会派后继,给每一行都填一个指向自己的 root 是无意义的噪声。
connection.execute(
@@ -512,7 +516,9 @@ class TaskRunStore:
# 活跃互斥索引拦下的:同一件事已经在排队或在跑,这一条不必再排。
result["duplicates"] += 1
continue
- result["queued"].append(int(cursor.lastrowid))
+ run_id = int(cursor.lastrowid)
+ initialize_speed(self, run_id, parent)
+ result["queued"].append(run_id)
return result
def continue_followup(self, run: TaskRun, label: str = "") -> int | None:
@@ -524,7 +530,9 @@ class TaskRunStore:
"""
if not self.enabled or not run.followup_key:
return None
- with self.database.write_transaction(notify=False) as connection:
+ from .task_control import initialize_speed
+ from .update_tasks import _mutex, state_for
+ with _mutex(state_for(self.database.db_path)), self.database.write_transaction(notify=False) as connection:
try:
cursor = connection.execute(
"INSERT INTO task_run(task_key,trigger,status,mutex_key,pid,host,"
@@ -536,7 +544,9 @@ class TaskRunStore:
run.followup_depth))
except sqlite3.IntegrityError:
return None
- return int(cursor.lastrowid)
+ run_id = int(cursor.lastrowid)
+ initialize_speed(self, run_id, run)
+ return run_id
def claim_followup(self, task_keys, first=()) -> TaskRun | None:
from .update_tasks import admission, UpdateBusy
@@ -688,16 +698,19 @@ class TaskRunStore:
if not self.enabled or keep < 0:
return 0
marks = ",".join(f"'{name}'" for name in TERMINAL_STATUSES)
+ removed = 0
with self.database.write_transaction(notify=False) as connection:
threshold = connection.execute(
f"SELECT id FROM task_run WHERE task_key=? AND status IN ({marks}) "
"ORDER BY id DESC LIMIT 1 OFFSET ?", (task_key, keep)).fetchone()
- if threshold is None:
- return 0
- cursor = connection.execute(
- f"DELETE FROM task_run WHERE task_key=? AND status IN ({marks}) "
- "AND id<=?", (task_key, threshold["id"]))
- return cursor.rowcount
+ if threshold is not None:
+ cursor = connection.execute(
+ f"DELETE FROM task_run WHERE task_key=? AND status IN ({marks}) "
+ "AND id<=?", (task_key, threshold["id"]))
+ removed = cursor.rowcount
+ from .task_control import prune_speeds
+ prune_speeds(self)
+ return removed
# -- 查询 --------------------------------------------------------------
@@ -770,8 +783,21 @@ class TaskRunStore:
[*values, max(1, min(int(limit), 500))]).fetchall()
return [_row(row) for row in rows]
+ @staticmethod
+ def _finished_condition() -> str:
+ marks = ",".join(f"'{name}'" for name in TERMINAL_STATUSES)
+ active = ",".join(f"'{name}'" for name in ACTIVE_STATUSES)
+ return (f"t.status IN ({marks}) AND (t.parent_run_id IS NULL OR NOT EXISTS "
+ "(SELECT 1 FROM task_run p WHERE p.id=t.parent_run_id)) AND NOT EXISTS "
+ f"(SELECT 1 FROM task_run c WHERE c.parent_run_id=t.id AND c.status IN ({active}))")
+
+ def finished_count(self) -> int:
+ with self.database.read_connection() as connection:
+ return connection.execute(
+ f"SELECT count(*) FROM task_run t WHERE {self._finished_condition()}").fetchone()[0]
+
def finished_page(self, *, before: tuple[str, int] | None = None,
- limit: int = 50) -> tuple[list[TaskRun], bool]:
+ limit: int = 50, offset: int = 0) -> tuple[list[TaskRun], bool]:
"""终态行按结束时刻从新到旧取一页,返回这一页和它后面还有没有更早的。
排序键是 `(finished_at, id)` 而不是 `id`:开跑早、结束晚的长任务按 id 会落进
@@ -787,11 +813,7 @@ class TaskRunStore:
自动修复每分钟派一批,它们留在这里会占满第一页,「最近完成」就只剩一个「加载更早」。
"""
size = max(1, min(int(limit), 500))
- marks = ",".join(f"'{name}'" for name in TERMINAL_STATUSES)
- active = ",".join(f"'{name}'" for name in ACTIVE_STATUSES)
- where = (f"t.status IN ({marks}) AND (t.parent_run_id IS NULL OR NOT EXISTS "
- "(SELECT 1 FROM task_run p WHERE p.id=t.parent_run_id)) AND NOT EXISTS "
- f"(SELECT 1 FROM task_run c WHERE c.parent_run_id=t.id AND c.status IN ({active}))")
+ where = self._finished_condition()
values: list[object] = []
if before is not None:
where += " AND (t.finished_at<? OR (t.finished_at=? AND t.id<?))"
@@ -800,7 +822,8 @@ class TaskRunStore:
with self.database.read_connection() as connection:
rows = connection.execute(
f"SELECT {columns} FROM task_run t WHERE {where} "
- "ORDER BY t.finished_at DESC, t.id DESC LIMIT ?", [*values, size + 1]).fetchall()
+ "ORDER BY t.finished_at DESC, t.id DESC LIMIT ? OFFSET ?",
+ [*values, size + 1, max(0, int(offset))]).fetchall()
page = [_row(row) for row in rows[:size]]
return page + self.settled_followups([run.id for run in page]), len(rows) > size
diff --git a/src/peach/web_downloads.py b/src/peach/web_downloads.py
index 512726ce8..2d0bab17d 100644
--- a/src/peach/web_downloads.py
+++ b/src/peach/web_downloads.py
@@ -83,7 +83,10 @@ def q_downloads(contract, args) -> dict:
raise ValueError("下载任务分页位置无效") from None
if before_id is not None and before_id < 1:
raise ValueError("下载任务分页位置无效")
- snapshot = _service(contract).snapshot(limit, before_id=before_id)
+ page = int(args.get('page') or 1)
+ if page < 1 or (before_id is not None and page != 1):
+ raise ValueError('下载任务页码无效')
+ snapshot = _service(contract).snapshot(limit, before_id=before_id, page=page)
_attach_library_artwork(contract, snapshot["tasks"])
return snapshot
diff --git a/src/peach/web_library_processing.py b/src/peach/web_library_processing.py
index 710c13868..aec9b2778 100644
--- a/src/peach/web_library_processing.py
+++ b/src/peach/web_library_processing.py
@@ -94,7 +94,23 @@ def q_library_processing(contract, _args):
state = decorate(state)
control = control_for(settings_file.active())
control.refresh(force=True)
- state['speed_mode'] = control.mode
+ previous_mode = state.get('speed_mode')
+ if run is not None:
+ from .task_control import speed_mode
+ state['speed_mode'] = speed_mode(contract.db_path, run.id, (run.parent_run_id, run.root_run_id),
+ default=previous_mode or control.mode)
+ elif state.get('status') in ACTIVE:
+ state['speed_mode'] = control.mode
+ else:
+ from .web_settings import task_speed_mode
+ from .repository import LedgerDatabase
+ state['speed_mode'] = control.next_mode or task_speed_mode(LedgerDatabase(contract.db_path))
+ if state.get('status') in ACTIVE and previous_mode and previous_mode != state['speed_mode']:
+ ratio = mode_ratio(state['speed_mode'], previous_mode)
+ for key in ('eta_seconds_min', 'eta_seconds_max'):
+ if isinstance(state.get(key), (int, float)):
+ state[key] = max(0, int(state[key] * ratio))
+ state['eta_initial'] = True
state['skip_requested'] = (state.get('status') == 'running' and state.get('current_asset_id') is not None
and control.skip_asset_id == state.get('current_asset_id'))
from .media_processing_policy import metadata_only
@@ -164,6 +180,13 @@ def _cancel_processing(contract, config, control, previous, job_id):
def _set_processing_speed(contract, control, previous, body):
mode = valid_mode(body.get('speed_mode'))
+ run = _active_run(contract, previous) if previous.get('status') in ACTIVE else None
+ if run is not None:
+ from .task_control import request
+ request(contract.task_runs, run.id, 'set_speed', mode=mode)
+ elif previous.get('status') not in ACTIVE:
+ control.select_next_mode(mode)
+ return q_library_processing(contract, {})
control.request('set_speed', mode=mode)
if previous.get('status') in ACTIVE:
ratio = mode_ratio(mode, previous.get('speed_mode') or 'standard')
@@ -397,8 +420,19 @@ def w_library_processing(contract, body, *, resume=False):
remember(contract.db_path, asset_ids)
if retry_ids is not None and not retry_ids:
return public_state(previous)
- mode = valid_mode(control_for(config).mode if resume else
- (body or {}).get('speed_mode') or control_for(config).mode)
+ from .web_settings import task_speed_mode
+ from .repository import LedgerDatabase
+ control = control_for(config)
+ control.refresh(force=True)
+ run = _active_run(contract, previous) if resume else None
+ if run is not None:
+ from .task_control import speed_mode
+ mode = speed_mode(contract.db_path, run.id, (run.parent_run_id, run.root_run_id),
+ default=previous.get('speed_mode') or (body or {}).get('speed_mode') or control.mode)
+ else:
+ mode = valid_mode(control.mode if resume else
+ (body or {}).get('speed_mode') or control.next_mode
+ or task_speed_mode(LedgerDatabase(contract.db_path)))
control_for(config).request('set_speed', mode=mode)
def work(job_id):
try:
@@ -424,9 +458,12 @@ def w_library_processing(contract, body, *, resume=False):
if incremental:
from .library_new_assets import pending
estimate_ids = pending(contract.db_path)
- return public_state(contract.library_processing_job.start(
+ result = contract.library_processing_job.start(
work, restart=True, initial={'stage': labels[stage], 'requested_stage': stage,
**initial_estimate(config, contract.db_path, stage, estimate_ids, mode)},
recovery={'stage': stage, 'speed_mode': mode, 'incremental': incremental,
**({'asset_ids': asset_ids or retry_ids}
- if asset_ids is not None or retry_ids is not None else {})}))
+ if asset_ids is not None or retry_ids is not None else {})})
+ if not resume:
+ control.select_next_mode(None)
+ return public_state(result)
diff --git a/src/peach/web_settings.py b/src/peach/web_settings.py
index f4ab8e9fe..0f9a1c619 100644
--- a/src/peach/web_settings.py
+++ b/src/peach/web_settings.py
@@ -55,7 +55,7 @@ SEARCH_HISTORY_LIMIT_MAX = 50
SYNCED_SETTING_KEYS = frozenset({
"sidebarOrder", "followInitialDays", "postSetupTutorialDone",
"organizeTemplates", "feedHideGroupCompilations", "feedHideSoloCompilations",
- "feedHideExcerpts", "searchHistoryLimit", "codePatterns", "performerNameLanguage",
+ "feedHideExcerpts", "searchHistoryLimit", "codePatterns", "performerNameLanguage", "taskSpeedMode",
})
#: 三个收起开关的键与各自对应的那一类,缺省值取 `feeds.DEFAULT_HIDDEN_COMPILATIONS`。
FEED_COMPILATION_SWITCHES = (
@@ -209,9 +209,14 @@ def q_settings(contract: SettingsContract, _args=None) -> dict:
**_feed_switches(payload),
"searchHistoryLimit": normalise_search_history_limit(payload.get("searchHistoryLimit")),
"performerNameLanguage": "ja" if payload.get("performerNameLanguage") == "ja" else "zh-CN",
+ "taskSpeedMode": payload.get("taskSpeedMode", "standard"),
}
+def task_speed_mode(contract: SettingsContract) -> str:
+ return _stored(contract).get("taskSpeedMode", "standard")
+
+
def w_settings(contract: SettingsContract, body) -> dict:
"""写入跟人走的设置;只认白名单里的键。
@@ -227,6 +232,9 @@ def w_settings(contract: SettingsContract, body) -> dict:
raise ValueError("没有要写入的设置")
merged = _stored(contract)
+ if "taskSpeedMode" in body:
+ from .processing_control import valid_mode
+ merged["taskSpeedMode"] = valid_mode(body["taskSpeedMode"])
if "performerNameLanguage" in body:
language = body["performerNameLanguage"]
if language not in ("zh-CN", "ja"):
diff --git a/src/peach/web_tasks.py b/src/peach/web_tasks.py
index 0b12ec70b..254870b5a 100644
--- a/src/peach/web_tasks.py
+++ b/src/peach/web_tasks.py
@@ -6,10 +6,9 @@
普通的筛选列表,留给排查用。
「最近完成」按结束时刻从新到旧排,一页数的是顶层那几轮,后继随父任务一起下发;
-`finished_has_more` 说它后面还有没有更早的。往前翻
-带上当前最旧那一行的 `before_finished_at` 与 `before_id`,只回 `finished` 与
-`finished_has_more` 这一页:在跑那段和被挡下那段由轮询那一份负责,翻页时再下发一遍
-只会让两份快照互相打架。
+活动页通过 `page` 与 `limit` 读取当前页和总数,轮询刷新同一页。
+原游标调用通过 `before_finished_at` 与 `before_id` 读取更早的终态任务,
+响应仅包含该页及后继计数。
"""
from __future__ import annotations
@@ -67,7 +66,12 @@ def _tasks(contract, args):
rows = contract.task_runs.query(status=status, task_key=task_key, limit=limit)
return {"ok": True, "filtered": True, "available": True,
"runs": [payload(row) for row in rows]}
- finished, has_more = contract.task_runs.finished_page(before=before, limit=limit)
+ page = int((args or {}).get('page') or 1)
+ if page < 1 or (before is not None and page != 1):
+ raise ValueError('任务页码无效')
+ total = contract.task_runs.finished_count()
+ page = min(page, max(1, (total + limit - 1) // limit))
+ finished, has_more = contract.task_runs.finished_page(before=before, limit=limit, offset=(page - 1) * limit)
if before is not None:
return {"ok": True, "filtered": False, "available": True,
"finished": [payload(row) for row in finished],
@@ -95,6 +99,8 @@ def _tasks(contract, args):
if row.status == "cancelled" and "blocked_by" in row.result_summary],
"finished": [payload(row) for row in finished],
"finished_has_more": has_more,
+ "finished_total": total,
+ "finished_page": page,
"working_parents": [payload(row) for row in working],
"followup_counts": _parent_counts(contract, (*running, *finished, *working)),
"statuses": {"active": list(ACTIVE_STATUSES), "finished": list(TERMINAL_STATUSES)},
diff --git a/tests/test_processing_control.py b/tests/test_processing_control.py
index 5b914d9c0..e45b00525 100644
--- a/tests/test_processing_control.py
+++ b/tests/test_processing_control.py
@@ -668,6 +668,8 @@ class ProcessingControlTests(unittest.TestCase):
w_library_processing(contract, {'action': 'pause', 'job_id': initial['job_id']})
advance.set()
self.assert_processing_status(contract, 'paused')
+ from peach import task_control
+ task_control.request(runs, initial['run_id'], 'set_speed', mode='low')
first.stop()
self.assertEqual(runs.get(initial['run_id']).status, 'pending')
self.assertEqual(runs.get(initial['run_id']).progress_label, '已暂停,等待继续')
@@ -680,9 +682,64 @@ class ProcessingControlTests(unittest.TestCase):
self.assertEqual(resumes[1]['completed_metadata'], ['1:R:\\a.mp4'])
self.assertEqual(second.snapshot()['status'], 'complete')
self.assertEqual(second.snapshot()['run_id'], initial['run_id'])
- self.assertEqual(control_for(self.config).mode, 'high')
+ self.assertEqual(control_for(self.config).mode, 'low')
+ self.assertEqual(task_control.speed_mode(db, initial['run_id']), 'low')
self.assertEqual(runs.get(initial['run_id']).status, 'succeeded')
+ def test_legacy_library_recovery_preserves_speed_without_a_task_speed_file(self):
+ from peach import task_control, update_tasks
+ from peach.jobs import BackgroundJob
+ from peach.library_processing import _save, state_path
+ from peach.task_runs import TaskRunStore
+ from peach.web_job_recovery import restore
+ from peach.web_library_processing import q_library_processing
+ from peach.web_settings import task_speed_mode
+ database_root = self.config.directory('database')
+ database_root.mkdir(parents=True)
+ db = fresh_ledger(database_root)
+ runs = TaskRunStore(db)
+ for mode, source in (('low', 'state'), ('high', 'state'), ('high', 'control')):
+ with self.subTest(mode=mode, source=source):
+ identity = f'legacy-{mode}-{source}'
+ run = runs.start('library-processing', trigger='manual')
+ runs.suspend(run.id)
+ speed_file = update_tasks.state_for(db).parent / 'task-controls' / f'{run.id}.speed.json'
+ speed_file.unlink()
+ control = control_for(self.config)
+ control.select_job(identity)
+ control.request('set_speed', mode=mode if source == 'control' else 'standard')
+ previous = dict(job_id=identity, requested_stage='metadata', status='paused',
+ completed_metadata=['1:R:\\a.mp4'])
+ if source == 'state':
+ previous['speed_mode'] = mode
+ _save(state_path(self.config), previous)
+ job_recovery.save(db, 'library-processing', identity, {'stage': 'metadata', 'speed_mode': mode},
+ run_id=run.id, waiting=True)
+ job_recovery.checkpoint(db, 'library-processing', identity, previous)
+ job = BackgroundJob('library-processing', runs=runs)
+ self.addCleanup(job.stop, timeout=None)
+ contract = SimpleNamespace(db_path=db, library_processing_job=job, task_runs=runs,
+ database=runs.database, candidate_root=self.root / 'candidates',
+ cover_root=self.root / 'covers', cache_bust=lambda: None)
+ observed = []
+ def process(*_args, **kwargs):
+ observed.append((kwargs['speed_mode'], task_control.CURRENT.get().mode,
+ kwargs['resume_state']['completed_metadata']))
+ return {'status': 'complete'}
+ with patch('peach.web_library_processing.settings_file.active', return_value=self.config), \
+ patch('peach.web_library_processing.process_library', side_effect=process):
+ self.assertEqual(q_library_processing(contract, {})['speed_mode'], mode)
+ self.assertEqual(restore(contract), ['library-processing'])
+ job.thread.join(5)
+ self.assertFalse(job.thread.is_alive())
+ self.assertEqual(observed, [(mode, mode, ['1:R:\\a.mp4'])])
+ self.assertEqual(job.snapshot()['run_id'], run.id)
+ self.assertEqual(job.snapshot()['speed_mode'], mode)
+ self.assertEqual(runs.get(run.id).status, 'succeeded')
+ self.assertTrue(speed_file.exists())
+ self.assertEqual(task_control.speed_mode(db, run.id), mode)
+ self.assertEqual(task_speed_mode(runs.database), 'standard')
+
def test_three_intensities_set_distinct_io_start_intervals(self):
control = control_for(self.config)
intervals = {}
@@ -803,6 +860,60 @@ class ProcessingControlTests(unittest.TestCase):
self.assertEqual((low['eta_seconds_min'], low['eta_seconds_max']), (180, 360))
self.assertTrue(control.paused)
+ def test_library_and_task_controls_share_runtime_speed_without_changing_the_default(self):
+ from peach import task_control
+ from peach.jobs import BackgroundJob
+ from peach.task_runs import TaskRunStore
+ from peach.web_library_processing import q_library_processing
+ from peach.web_settings import task_speed_mode
+ runs = TaskRunStore(self.db)
+ run = runs.start('library-processing', trigger='manual')
+ job = BackgroundJob('library-processing')
+ job.state = dict(job_id='one', run_id=run.id, status='running', speed_mode='standard',
+ eta_seconds_min=100, eta_seconds_max=200)
+ contract = SimpleNamespace(db_path=self.db, library_processing_job=job, task_runs=runs)
+ control = control_for(self.config)
+ with patch('peach.web_library_processing.settings_file.active', return_value=self.config):
+ task_control.request(runs, run.id, 'set_speed', mode='high')
+ state = q_library_processing(contract, {})
+ self.assertEqual((state['speed_mode'], state['eta_seconds_min']), ('high', 75))
+ state = w_library_processing(contract, {'action': 'set_speed', 'job_id': 'one', 'speed_mode': 'low'})
+ self.assertEqual(state['speed_mode'], 'low')
+ self.assertEqual(task_control.projection(runs, run)['speed_mode'], 'low')
+ self.assertEqual(task_speed_mode(runs.database), 'standard')
+ with task_control.bind(runs, run.id), control.bind(
+ 'one', publish=lambda **_: None, active=lambda: True, db_path=self.db):
+ self.assertEqual(control.mode, 'low')
+ task_control.request(runs, run.id, 'set_speed', mode='high')
+ self.assertEqual(control.mode, 'high')
+
+ def test_new_library_run_uses_settings_instead_of_the_previous_processing_mode(self):
+ from peach.jobs import BackgroundJob
+ from peach.task_runs import TaskRunStore
+ from peach.web_settings import w_settings
+ root = self.config.directory('database')
+ root.mkdir(parents=True)
+ db = fresh_ledger(root)
+ runs = TaskRunStore(db)
+ w_settings(runs.database, {'taskSpeedMode': 'low'})
+ control_for(self.config).request('set_speed', mode='high')
+ job = BackgroundJob('library-processing', runs=runs)
+ contract = SimpleNamespace(db_path=db, database=runs.database, task_runs=runs,
+ library_processing_job=job)
+ with patch('peach.web_library_processing.settings_file.active', return_value=self.config), \
+ patch.object(job, 'start', side_effect=lambda _work, **kwargs: kwargs['initial']) as start:
+ result = w_library_processing(contract, {'stage': 'metadata'})
+ self.assertEqual(result['speed_mode'], 'low')
+ self.assertEqual(start.call_args.kwargs['recovery']['speed_mode'], 'low')
+ chosen = w_library_processing(contract, {'action': 'set_speed', 'speed_mode': 'high'})
+ self.assertEqual(chosen['speed_mode'], 'high')
+ from peach.web_settings import task_speed_mode
+ self.assertEqual(task_speed_mode(runs.database), 'low')
+ selected = w_library_processing(contract, {'stage': 'metadata'})
+ self.assertEqual(selected['speed_mode'], 'high')
+ from peach.web_library_processing import q_library_processing
+ self.assertEqual(q_library_processing(contract, {})['speed_mode'], 'low')
+
def test_scan_progress_accumulates_discovered_counts_across_roots(self):
from peach.library_processing import _scan_sources
reports = []
diff --git a/tests/test_task_center_integration.py b/tests/test_task_center_integration.py
index 8d7dabbb9..fde187da5 100644
--- a/tests/test_task_center_integration.py
+++ b/tests/test_task_center_integration.py
@@ -462,6 +462,19 @@ class TasksEndpointTests(unittest.TestCase):
seen += [row["id"] for row in page["finished"]]
self.assertEqual(seen, [slow.id, late, *reversed(early)])
+ def test_recent_page_numbers_support_totals_and_clamp_to_the_last_page(self):
+ ids = [self._settled(f"2026-09-11T10:0{minute}:00.000Z") for minute in range(5)]
+ page = web_tasks.q_tasks(self.contract, {"limit": "2", "page": "2"})
+ self.assertEqual([row['id'] for row in page['finished']], [ids[2], ids[1]])
+ self.assertEqual(page['finished_total'], 5)
+ self.assertEqual(page['finished_page'], 2)
+ last = web_tasks.q_tasks(self.contract, {"limit": "2", "page": "99"})
+ self.assertEqual([row['id'] for row in last['finished']], [ids[0]])
+ self.assertEqual(last['finished_page'], 3)
+ for value in ('0', '-1', 'invalid'):
+ with self.assertRaises(ValueError):
+ web_tasks.q_tasks(self.contract, {'page': value})
+
def test_a_page_counts_top_level_runs_and_brings_their_followups_along(self):
"""一轮派出二十条后继时,按行数翻页会让后继把派出它们的那一轮挤出第一页。"""
parent = self.store.start("feed-check", trigger="manual")
@@ -617,12 +630,26 @@ class ConflictStatusTests(unittest.TestCase):
self.contract.task_runs.finish(parent.id, 'succeeded')
with unittest.mock.patch.object(self.contract.followups, 'wake') as wake:
paused = task_run_control(self.request, child, {'action': 'pause'}, {})
- self.assertEqual(paused['run']['control'], {'state': 'paused', 'actions': ['resume', 'cancel']})
+ self.assertEqual(paused['run']['control'], {'state': 'paused',
+ 'actions': ['resume', 'cancel', 'set_speed'], 'speed_mode': 'standard'})
continued = task_run_control(self.request, child, {'action': 'resume'}, {})
self.assertEqual(continued['run']['id'], child)
self.assertEqual(continued['run']['control']['state'], 'running')
self.assertEqual(wake.call_count, 2)
+ def test_task_speed_endpoint_changes_only_the_selected_run(self):
+ from peach.web_settings import q_settings
+ run = self.contract.task_runs.start('scan', trigger='manual')
+ other = self.contract.task_runs.start('probe', trigger='manual')
+ with unittest.mock.patch.object(self.contract.followups, 'wake'):
+ response = task_run_control(self.request, run.id,
+ {'action': 'set_speed', 'speed_mode': 'low'}, {})
+ self.assertEqual(response['run']['control']['speed_mode'], 'low')
+ self.assertEqual(task_run_detail(self.request, other.id, {})['run']['control']['speed_mode'], 'standard')
+ self.assertEqual(q_settings(self.contract)['taskSpeedMode'], 'standard')
+ invalid = task_run_control(self.request, run.id, {'action': 'set_speed', 'speed_mode': 'fast'}, {})
+ self.assertEqual(invalid.status_code, 409)
+
def test_control_endpoint_rejects_unknown_finished_foreign_and_read_only_runs(self):
run = self.contract.task_runs.start('control-test', trigger='manual')
self.assertEqual(task_run_control(self.request, run.id + 1000, {'action': 'pause'}, {}).status_code, 404)
diff --git a/tests/test_task_control.py b/tests/test_task_control.py
index da1b501b0..4dffd0c42 100644
--- a/tests/test_task_control.py
+++ b/tests/test_task_control.py
@@ -99,6 +99,91 @@ class TaskControlTests(unittest.TestCase):
def child_command(path, count):
return [sys.executable, '-u', '-c', HEARTBEAT_CHILD, str(path), str(count)]
+ def test_new_tasks_snapshot_the_default_and_runtime_speed_stays_local(self):
+ from peach.web_settings import task_speed_mode, w_settings
+ w_settings(self.store.database, {'taskSpeedMode': 'low'})
+ first = self.store.start('scan', trigger='manual')
+ w_settings(self.store.database, {'taskSpeedMode': 'high'})
+ second = self.store.start('probe', trigger='manual')
+ self.assertEqual(self.state(first.id)['speed_mode'], 'low')
+ self.assertEqual(self.state(second.id)['speed_mode'], 'high')
+ task_control.request(self.store, first.id, 'set_speed', mode='standard')
+ self.assertEqual(self.state(first.id)['speed_mode'], 'standard')
+ self.assertEqual(self.state(second.id)['speed_mode'], 'high')
+ self.assertEqual(task_speed_mode(self.store.database), 'high')
+ with self.assertRaises(ValueError):
+ task_control.request(self.store, first.id, 'set_speed', mode='fast')
+ self.assertEqual(self.state(first.id)['speed_mode'], 'standard')
+
+ def test_parent_speed_reaches_existing_and_future_followups_and_preserves_pause(self):
+ parent = self.store.start('parent', trigger='manual')
+ child_id = self.store.enqueue_followups(parent.id, [('leaf:1', 'leaf', '')])['queued'][0]
+ task_control.request(self.store, parent.id, 'pause')
+ task_control.request(self.store, parent.id, 'set_speed', mode='low')
+ self.assertEqual(self.state(child_id)['state'], 'paused')
+ self.assertEqual(self.state(child_id)['speed_mode'], 'low')
+ task_control.request(self.store, child_id, 'set_speed', mode='high')
+ self.assertEqual(self.state(parent.id)['speed_mode'], 'low')
+ child = self.store.get(child_id)
+ self.store.finish(child_id, 'succeeded')
+ continued = self.store.continue_followup(child)
+ self.assertEqual(self.state(continued)['speed_mode'], 'high')
+ task_control.request(self.store, parent.id, 'set_speed', mode='standard')
+ self.assertEqual(self.state(continued)['speed_mode'], 'standard')
+ later = self.store.enqueue_followups(parent.id, [('leaf:2', 'leaf', '')])['queued'][0]
+ self.assertEqual(self.state(later)['speed_mode'], 'standard')
+ reopened = task_control.Control(TaskRunStore(self.db), later)
+ self.assertEqual(reopened.mode, 'standard')
+
+ def test_generic_tasks_share_io_intervals_and_ffmpeg_thread_options(self):
+ from peach.processing_control import checkpoint, ffmpeg_options, low_mode
+ run = self.store.start('probe', trigger='manual')
+ with task_control.bind(self.store, run.id) as control:
+ for mode, interval, threads in (('low', 1.5, ['-threads', '1']),
+ ('standard', .25, ['-threads', '2']),
+ ('high', 0, [])):
+ task_control.request(self.store, run.id, 'set_speed', mode=mode)
+ with patch.object(control, 'checkpoint'), patch('peach.task_control.time.monotonic', return_value=100):
+ checkpoint('network')
+ self.assertEqual(control.next_work['network'], 100 + interval)
+ self.assertEqual(ffmpeg_options(), threads)
+ self.assertEqual(low_mode(), mode == 'low')
+
+ def test_speed_initialization_failure_rolls_back_the_task_and_its_mutex(self):
+ with patch('peach.task_control.atomic_write_text', side_effect=PermissionError('speed file denied')):
+ with self.assertRaises(PermissionError):
+ self.store.start('probe', trigger='manual', mutex_key='probe')
+ self.assertEqual(self.store.query(), [])
+ parent = self.store.start('probe', trigger='manual', mutex_key='probe')
+ with patch('peach.task_control.atomic_write_text', side_effect=OSError('disk full')):
+ with self.assertRaises(OSError):
+ self.store.enqueue_followups(parent.id, [('leaf:1', 'leaf', '')])
+ self.assertEqual(self.store.children(parent.id), [])
+ child = self.store.get(self.store.enqueue_followups(parent.id, [('leaf:1', 'leaf', '')])['queued'][0])
+ self.store.finish(child.id, 'succeeded')
+ with patch('peach.task_control.atomic_write_text', side_effect=OSError('disk full')):
+ with self.assertRaises(OSError):
+ self.store.continue_followup(child)
+ self.assertEqual([row.id for row in self.store.children(parent.id)], [child.id])
+
+ def test_prune_removes_expired_speed_files_and_preserves_active_and_recent_runs(self):
+ old = self.store.start('probe', trigger='manual')
+ self.store.finish(old.id, 'succeeded')
+ recent = self.store.start('probe', trigger='manual')
+ self.store.finish(recent.id, 'succeeded')
+ active = self.store.start('probe', trigger='manual')
+ root = update_tasks.state_for(self.db).parent / 'task-controls'
+ orphan = root / '999999.speed.json'
+ orphan.write_text('{"speed_mode":"high"}', encoding='utf-8')
+ self.assertEqual(self.store.prune('probe', keep=1), 1)
+ self.assertFalse((root / f'{old.id}.speed.json').exists())
+ self.assertFalse(orphan.exists())
+ self.assertTrue((root / f'{recent.id}.speed.json').exists())
+ self.assertTrue((root / f'{active.id}.speed.json').exists())
+ (root / f'{active.id}.speed.json').unlink()
+ self.assertEqual(self.state(active.id)['speed_mode'], 'standard')
+ self.assertIsNone(task_control.speed_mode(self.db, active.id, default=None))
+
def test_pause_and_resume_keep_the_same_job_and_run_without_progress_while_paused(self):
finish = self.event()
progress = []
@@ -147,7 +232,7 @@ class TaskControlTests(unittest.TestCase):
run_id = original['run_id']
task_control.request(self.store, run_id, 'cancel')
self.assertEqual(self.store.get(run_id).status, 'running')
- self.assertEqual(self.state(run_id), {'state': 'cancelling', 'actions': []})
+ self.assertEqual(self.state(run_id), {'state': 'cancelling', 'actions': [], 'speed_mode': 'standard'})
with self.assertRaises(ValueError):
task_control.request(self.store, run_id, 'resume')
reach_checkpoint.set()
diff --git a/tests/test_web_downloads.py b/tests/test_web_downloads.py
index 82591fc3c..5d5093a56 100644
--- a/tests/test_web_downloads.py
+++ b/tests/test_web_downloads.py
@@ -163,6 +163,14 @@ class RouteTests(_App):
last = self.client.get(f"/api/downloads?limit=2&before_id={first['next_before_id']}").json()
self.assertEqual(len(last["tasks"]), 1)
self.assertFalse(last["has_more"])
+ numbered = self.client.get('/api/downloads?limit=2&page=2').json()
+ self.assertEqual([row['id'] for row in numbered['tasks']], [row['id'] for row in last['tasks']])
+ self.assertEqual(numbered['total'], 3)
+ self.assertEqual(numbered['page'], 2)
+ beyond = self.client.get('/api/downloads?limit=2&page=99').json()
+ self.assertEqual(beyond['page'], 2)
+ for page in ('0', '-1', 'invalid'):
+ self.assertEqual(self.client.get(f'/api/downloads?page={page}').status_code, 400)
for position in ("nope", "0", "-1"):
self.assertEqual(self.client.get(f"/api/downloads?before_id={position}").status_code, 400)
diff --git a/tests/test_web_settings.py b/tests/test_web_settings.py
index 184fa2d84..bc1763ea1 100644
--- a/tests/test_web_settings.py
+++ b/tests/test_web_settings.py
@@ -98,7 +98,7 @@ class SettingsRoundTripTests(unittest.TestCase):
"organizeTemplates": {}, "codePatterns": [],
"feedHideGroupCompilations": True,
"feedHideSoloCompilations": False, "feedHideExcerpts": True,
- "searchHistoryLimit": None, "performerNameLanguage": "zh-CN"})
+ "searchHistoryLimit": None, "performerNameLanguage": "zh-CN", "taskSpeedMode": "standard"})
def test_code_patterns_are_checked_when_saved(self):
"""写错的规则在保存那一刻报出来;存下的规则去掉空行,读回来是同一份。"""
@@ -111,6 +111,17 @@ class SettingsRoundTripTests(unittest.TestCase):
w_settings(self.contract, {"codePatterns": broken})
self.assertEqual(self._stored_json()["codePatterns"], saved)
+ def test_default_task_speed_accepts_each_mode_and_rejects_unknown_values(self):
+ for mode in ('low', 'standard', 'high'):
+ with self.subTest(mode=mode):
+ saved = w_settings(self.contract, {'taskSpeedMode': mode})
+ self.assertEqual(saved['taskSpeedMode'], mode)
+ self.assertEqual(web_settings.task_speed_mode(self.contract), mode)
+ for value in (None, '', 'fast', 1, ['low']):
+ with self.subTest(value=value), self.assertRaises(ValueError):
+ w_settings(self.contract, {'taskSpeedMode': value})
+ self.assertEqual(q_settings(self.contract)['taskSpeedMode'], 'high')
+
def test_name_language_is_shared_and_preserves_other_profile_settings(self):
self.assertEqual(q_settings(self.contract)['performerNameLanguage'], 'zh-CN')
self.assertEqual(self._stored_json(), {})
@@ -175,7 +186,7 @@ class SettingsRoundTripTests(unittest.TestCase):
"organizeTemplates": {}, "codePatterns": [],
"feedHideGroupCompilations": True,
"feedHideSoloCompilations": False, "feedHideExcerpts": True,
- "searchHistoryLimit": None, "performerNameLanguage": "zh-CN"})
+ "searchHistoryLimit": None, "performerNameLanguage": "zh-CN", "taskSpeedMode": "standard"})
self.assertEqual(q_settings(self.contract)["sidebarOrder"], order)
self.assertEqual(self._stored_json()["sidebarOrder"], order)
diff --git a/web/dist/peach-app.activity-page-BakH9pKt.js b/web/dist/peach-app.activity-page-B1BhVjNb.js
similarity index 55%
rename from web/dist/peach-app.activity-page-BakH9pKt.js
rename to web/dist/peach-app.activity-page-B1BhVjNb.js
index 9f71b5ea3..6ac62c59d 100644
--- a/web/dist/peach-app.activity-page-BakH9pKt.js
+++ b/web/dist/peach-app.activity-page-B1BhVjNb.js
@@ -1,35 +1,35 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "c340d080-bcb7-491e-ad8c-d22bae151d9c", e._sentryDebugIdIdentifier = "sentry-dbid-c340d080-bcb7-491e-ad8c-d22bae151d9c");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7f5924bc-8f65-4867-aeae-0a9f0a35759f", e._sentryDebugIdIdentifier = "sentry-dbid-7f5924bc-8f65-4867-aeae-0a9f0a35759f");
} catch {}
})();
-import { Button as e, Bx as t, Chip as n, Disclosure as r, DownloadsPanel as i, EmptyState as a, Gg as o, HN as s, IssueRow as c, LinkButton as l, Lo as u, LoadingDots as d, Ma as f, NameLink as p, Note as m, OV as h, Pf as g, Progress as _, RB as v, Rk as y, Su as b, TASKS_KEY as x, TRIGGER_LABELS as S, Xl as C, __toESM as w, apiGet as T, apiSend as E, busyProps as D, cardClass as O, confirmModal as k, controlTask as A, cx as j, elapsedText as M, errorMessage as N, f1 as ee, fetchEarlier as te, fetchTasks as ne, fmtSize as P, foldByKind as re, foldRoutine as ie, followupDetail as F, followupTally as I, groupFollowups as ae, hasResultProblems as L, i2 as R, isActive as z, isRoutine as oe, latestOfKind as se, mergeFinished as B, momentText as V, notifyManager as H, oe as U, pollInterval as ce, problemDestination as W, progressText as le, readableErrorHeadline as ue, replaceEqualDeep as de, require_jsx_runtime as fe, require_react as pe, statusLabel as me, summaryItems as he, taskIssues as ge, taskSubject as _e, um as ve, uo as ye, useMutation as G, useQuery as be, useQueryClient as K, vl as xe } from "./peach-app.js";
-import { CodeBlock as Se } from "./peach-app.code-block-CyDva4Ms.js";
-import { Page as Ce } from "./peach-app.page-QAncjzM1.js";
-import { ErrorDetails as we, ErrorExcerpt as Te } from "./peach-app.error-excerpt-B8v2xEIP.js";
+import { Button as e, Bx as t, Chip as n, DataTableFooter as r, Disclosure as i, DownloadsPanel as a, EmptyState as o, Gg as s, HN as c, IssueRow as l, LinkButton as u, Lo as d, LoadingDots as f, Ma as p, NameLink as m, Note as h, OV as g, Pf as _, ProcessingMode as v, Progress as y, RB as b, Rk as x, Su as S, TASKS_KEY as C, TRIGGER_LABELS as w, Xl as T, __toESM as E, apiGet as D, apiSend as ee, busyProps as O, cardClass as k, confirmModal as A, controlTask as te, cx as ne, elapsedText as j, errorMessage as M, fetchTasks as re, fmtSize as ie, foldByKind as ae, foldRoutine as oe, followupDetail as se, followupTally as N, groupFollowups as ce, hasResultProblems as P, i2 as F, isActive as I, isRoutine as le, latestOfKind as ue, momentText as L, notifyManager as de, oe as fe, pollInterval as pe, problemDestination as me, progressText as R, readableErrorHeadline as z, replaceEqualDeep as he, require_jsx_runtime as ge, require_react as _e, setTaskSpeed as ve, statusLabel as ye, summaryItems as be, taskIssues as xe, taskSubject as B, um as Se, uo as Ce, useMutation as V, useQuery as H, useQueryClient as U, vl as we } from "./peach-app.js";
+import { CodeBlock as W } from "./peach-app.code-block-5D8eSV-F.js";
+import { Page as G } from "./peach-app.page-QAncjzM1.js";
+import { ErrorDetails as K, ErrorExcerpt as Te } from "./peach-app.error-excerpt-B8v2xEIP.js";
// node_modules/@tanstack/react-query/build/modern/useMutationState.js
-var q = /* @__PURE__ */ w(pe(), 1);
+var q = /* @__PURE__ */ E(_e(), 1);
function Ee() {
let e;
return (t, n) => {
let r = [], i;
return () => {
let a = t.findAll(n.filters), o = a.flatMap((e) => [e, e.state]);
- return (!i || o.length !== r.length || o.some((e, t) => !Object.is(e, r[t]))) && (r = o, i = de(e, a.map((e) => n.select ? n.select(e) : e.state)), e = i), i;
+ return (!i || o.length !== r.length || o.some((e, t) => !Object.is(e, r[t]))) && (r = o, i = he(e, a.map((e) => n.select ? n.select(e) : e.state)), e = i), i;
};
};
}
function De(e = {}, t) {
- let n = K(t).getMutationCache(), [r] = q.useState(() => Ee()), i = r(n, e);
- return q.useSyncExternalStore(q.useCallback((e) => n.subscribe(H.batchCalls(e)), [n]), i, i);
+ let n = U(t).getMutationCache(), [r] = q.useState(() => Ee()), i = r(n, e);
+ return q.useSyncExternalStore(q.useCallback((e) => n.subscribe(de.batchCalls(e)), [n]), i, i);
}
// src/react/activity/background-issues.tsx
-var J = fe(), Oe = ["background-issues"];
+var J = ge(), Oe = ["background-issues"];
function ke() {
- let e = (0, q.useId)(), t = be({
+ let e = (0, q.useId)(), t = H({
queryKey: Oe,
- queryFn: ({ signal: e }) => T("/api/background-issues", e),
+ queryFn: ({ signal: e }) => D("/api/background-issues", e),
refetchInterval: 3e4
}).data?.issues || [];
return t.length ? /* @__PURE__ */ (0, J.jsxs)("section", {
@@ -46,39 +46,39 @@ function ke() {
}) : null;
}
function Ae({ issue: t }) {
- let n = K(), r = G({
- mutationFn: () => E(t.retry, {}),
+ let n = U(), r = V({
+ mutationFn: () => ee(t.retry, {}),
onSuccess: () => {
n.invalidateQueries({ queryKey: Oe });
}
- }), i = t.since ? `自 ${V(t.since)} 起` : `发现于 ${V(t.noticed_at)}`;
- return /* @__PURE__ */ (0, J.jsx)(m, {
+ }), i = t.since ? `自 ${L(t.since)} 起` : `发现于 ${L(t.noticed_at)}`;
+ return /* @__PURE__ */ (0, J.jsx)(h, {
tone: "error",
title: t.title,
action: /* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, J.jsx)(l, {
+ children: [/* @__PURE__ */ (0, J.jsx)(u, {
href: t.href,
size: "small",
- trailingIcon: R,
+ trailingIcon: F,
children: t.link_label
}), t.retry ? /* @__PURE__ */ (0, J.jsx)(e, {
variant: "secondary",
size: "small",
disabled: !t.retry_available,
- ...D(r.isPending),
+ ...O(r.isPending),
onClick: () => r.mutate(),
children: "立即重试"
}) : null]
}),
- children: r.error ? `${i}\n没有重试:${N(r.error)}` : i
+ children: r.error ? `${i}\n没有重试:${M(r.error)}` : i
});
}
// src/react/activity/task-controls.tsx
var Y = ["task-control"], je = {
- pause: h,
- resume: o,
- cancel: s
+ pause: g,
+ resume: s,
+ cancel: c
}, Me = {
pause: "暂停",
resume: "继续",
@@ -111,29 +111,29 @@ function Pe() {
return n.length ? /* @__PURE__ */ (0, J.jsx)("div", {
"data-task-control-feedback": "",
className: "flex min-w-0 flex-col gap-2",
- children: n.map(({ command: e, error: t }) => /* @__PURE__ */ (0, J.jsx)(m, {
+ children: n.map(({ command: e, error: t }) => /* @__PURE__ */ (0, J.jsx)(h, {
tone: "error",
title: `${e.label}:${(e.followups ? Ne : Me)[e.action]}未完成`,
- children: N(t)
+ children: M(t)
}, e.id))
}) : null;
}
function Fe({ run: t, runs: n = [t] }) {
- let r = K(), i = (0, q.useRef)({
+ let r = U(), i = (0, q.useRef)({
change: !1,
cancel: !1,
confirmation: !1
}), a = () => {
- r.invalidateQueries({ queryKey: x });
+ r.invalidateQueries({ queryKey: C });
}, o = async (e) => {
let t = null;
for (let r of n) try {
- await A(r.id, e.action);
+ await te(r.id, e.action);
} catch (e) {
t ??= e;
}
if (t !== null) throw t;
- }, s = n.length > 1 ? `这 ${n.length} 批` : "这轮", c = G({
+ }, s = n.length > 1 ? `这 ${n.length} 批` : "这轮", c = V({
mutationKey: [
...Y,
t.id,
@@ -143,7 +143,7 @@ function Fe({ run: t, runs: n = [t] }) {
onSettled: () => {
i.current.change = !1, a();
}
- }), l = G({
+ }), l = V({
mutationKey: [
...Y,
t.id,
@@ -153,40 +153,51 @@ function Fe({ run: t, runs: n = [t] }) {
onSettled: () => {
i.current.cancel = !1, a();
}
- }), u = t.control?.actions || [], d = !z(t), f = l.isPending || l.isSuccess;
- if (!u.length) return null;
- let p = (e) => {
+ }), u = V({
+ mutationFn: async (e) => {
+ let t = (await Promise.allSettled(n.map((t) => ve(t.id, e)))).find((e) => e.status === "rejected");
+ if (t?.status === "rejected") throw t.reason;
+ },
+ onSettled: a
+ }), d = (t.control?.actions || []).filter((e) => e !== "set_speed"), f = !!(t.control?.actions.includes("set_speed") && t.control.speed_mode), p = !I(t), m = l.isPending || l.isSuccess;
+ if (!d.length && !f) return null;
+ let g = (e) => {
let n = {
id: t.id,
label: t.task_label,
action: e,
- followups: d
+ followups: p
};
if (e === "cancel") {
if (i.current.cancel || i.current.confirmation || l.isSuccess) return;
- i.current.confirmation = !0, k({
- title: d ? `取消「${t.task_label}」的全部后续任务` : `取消任务「${t.task_label}」`,
- body: d ? `将停止${s}已派出的全部后续任务,包括正在处理和排队的项目。已保存的资料和结果会保留。这些后续任务取消后不能继续,需要时重新发起。` : "将停止这轮剩余的处理及其后续任务。已保存的资料和结果会保留。这轮任务取消后不能继续,需要时重新发起。",
- confirmLabel: d ? "取消后续任务" : "取消任务",
+ i.current.confirmation = !0, A({
+ title: p ? `取消「${t.task_label}」的全部后续任务` : `取消任务「${t.task_label}」`,
+ body: p ? `将停止${s}已派出的全部后续任务,包括正在处理和排队的项目。已保存的资料和结果会保留。这些后续任务取消后不能继续,需要时重新发起。` : "将停止这轮剩余的处理及其后续任务。已保存的资料和结果会保留。这轮任务取消后不能继续,需要时重新发起。",
+ confirmLabel: p ? "取消后续任务" : "取消任务",
danger: !0,
onConfirm: async () => (i.current.cancel = !0, await l.mutateAsync(n))
}).finally(() => {
i.current.confirmation = !1;
});
} else {
- if (i.current.change || i.current.cancel || f) return;
+ if (i.current.change || i.current.cancel || m) return;
i.current.change = !0, c.mutate(n);
}
};
- return /* @__PURE__ */ (0, J.jsx)("div", {
- className: "ml-auto shrink-0",
+ return /* @__PURE__ */ (0, J.jsxs)("div", {
+ className: "ml-auto min-w-0",
"data-task-controls": t.id,
- children: /* @__PURE__ */ (0, J.jsx)("div", {
+ children: [/* @__PURE__ */ (0, J.jsxs)("div", {
role: "group",
- "aria-label": `${t.task_label}${d ? "后续任务" : "任务"}控制`,
- className: "flex items-center justify-end gap-2",
- children: u.map((t) => {
- let n = (d ? Ne : Me)[t], r = t === "cancel" ? l.isPending : c.isPending && c.variables?.action === t, i = t === "cancel" ? f : c.isPending || f;
+ "aria-label": `${t.task_label}${p ? "后续任务" : "任务"}控制`,
+ className: "flex flex-wrap items-center justify-end gap-2",
+ children: [f ? /* @__PURE__ */ (0, J.jsx)(v, {
+ value: t.control.speed_mode,
+ busy: u.isPending || m,
+ animate: t.control?.state === "running",
+ onChange: (e) => u.mutate(e)
+ }) : null, d.map((t) => {
+ let n = (p ? Ne : Me)[t], r = t === "cancel" ? l.isPending : c.isPending && c.variables?.action === t, i = t === "cancel" ? m : c.isPending || m;
return /* @__PURE__ */ (0, J.jsx)(e, {
type: "button",
variant: "secondary",
@@ -195,13 +206,16 @@ function Fe({ run: t, runs: n = [t] }) {
leadingIcon: je[t],
"aria-label": n,
title: n,
- ...D(r),
+ ...O(r),
"aria-disabled": i || void 0,
- onClick: () => p(t),
- "data-tooltip-copy-key": `tasks.control.action.${d ? "followups." : ""}${t}`
+ onClick: () => g(t),
+ "data-tooltip-copy-key": `tasks.control.action.${p ? "followups." : ""}${t}`
}, t);
- })
- })
+ })]
+ }), u.error ? /* @__PURE__ */ (0, J.jsx)(h, {
+ tone: "error",
+ children: M(u.error)
+ }) : null]
});
}
// src/react/activity/task-icon.tsx
@@ -214,7 +228,7 @@ var Ie = new Map([
"feed-scrape",
"feed-cover"
]],
- [y, [
+ [x, [
"library-processing",
"organize",
"batch",
@@ -222,34 +236,34 @@ var Ie = new Map([
"resource-apply",
"seed-import"
]],
- [xe, [
+ [we, [
"scrape-codes",
"jav-discovery-metadata",
"want-scrape",
"upgrade-library"
]],
- [f, [
+ [p, [
"scraping-cover",
"jav-covers",
"code-samples",
"timeline-thumbnails",
"entity-avatar"
]],
- [g, [
+ [_, [
"performer-profile",
"performer-alias",
"creator-identity",
"studio-mark"
]],
- [C, ["media-repair", "mp4-header-repair"]],
- [ve, [
+ [T, ["media-repair", "mp4-header-repair"]],
+ [Se, [
"link-check",
"link-prune",
"source-check"
]],
- [U, ["download-postprocess"]],
- [u, ["taste-refresh"]],
- [v, [
+ [fe, ["download-postprocess"]],
+ [d, ["taste-refresh"]],
+ [b, [
"upgrade-repairs",
"diagnostic-export",
"amane-bridge",
@@ -259,7 +273,7 @@ var Ie = new Map([
]]
].flatMap(([e, t]) => t.map((t) => [t, e])));
function Le({ taskKey: e, className: t }) {
- let n = Ie.get(e) ?? b;
+ let n = Ie.get(e) ?? S;
return /* @__PURE__ */ (0, J.jsx)(n, {
className: t,
"aria-hidden": !0
@@ -274,7 +288,7 @@ var Re = {
function ze({ color: e, high: t, ...r }) {
return t ? /* @__PURE__ */ (0, J.jsx)("span", {
...r,
- className: j("inline-flex items-center justify-center rounded-md px-1.5 py-1 whitespace-nowrap text-caption-1-medium", Re[e])
+ className: ne("inline-flex items-center justify-center rounded-md px-1.5 py-1 whitespace-nowrap text-caption-1-medium", Re[e])
}) : /* @__PURE__ */ (0, J.jsx)(n, {
variant: "caption",
color: e,
@@ -303,9 +317,9 @@ function Ve(e) {
return e.state === "sampling" ? "采样中" : e.via === "cloud" ? "网盘读取" : "未取得";
}
function He(e, t) {
- return t === 0 ? "未使用" : e === "network" ? `${P(t)}/s` : `${t.toLocaleString(void 0, { maximumFractionDigits: 1 })}%`;
+ return t === 0 ? "未使用" : e === "network" ? `${ie(t)}/s` : `${t.toLocaleString(void 0, { maximumFractionDigits: 1 })}%`;
}
-function Ue({ run: e, active: t = z(e) || !!e.control }) {
+function Ue({ run: e, active: t = I(e) || !!e.control }) {
if (!t || !e.resources) return null;
let n = e.resources;
return /* @__PURE__ */ (0, J.jsx)("div", {
@@ -344,14 +358,14 @@ function Ue({ run: e, active: t = z(e) || !!e.control }) {
});
}
// src/react/activity/activity-page.tsx
-var We = 50, Ge = /* @__PURE__ */ new Set(["upgrade-repairs"]), Ke = /* @__PURE__ */ new Set(["asset_id", "name"]), qe = {
+var We = /* @__PURE__ */ new Set(["upgrade-repairs"]), Ge = /* @__PURE__ */ new Set(["asset_id", "name"]), Ke = {
succeeded: "lime",
failed: "rose",
cancelled: "rose",
interrupted: "yellow",
running: "blue",
pending: "neutral"
-}, Je = {
+}, qe = {
running: "进行中",
pausing: "正在暂停",
paused: "已暂停",
@@ -359,33 +373,37 @@ var We = 50, Ge = /* @__PURE__ */ new Set(["upgrade-repairs"]), Ke = /* @__PURE_
};
function X({ run: e }) {
let t = e.control?.state;
- if (t && (t !== "running" || !z(e))) return /* @__PURE__ */ (0, J.jsx)(n, {
+ if (t && (t !== "running" || !I(e))) return /* @__PURE__ */ (0, J.jsx)(n, {
color: t === "running" ? "blue" : "neutral",
children: /* @__PURE__ */ (0, J.jsx)("span", {
"data-copy-key": `tasks.control.state.${t}`,
- children: Je[t]
+ children: qe[t]
})
});
- let r = e.status === "failed" && e.task_key === "library-processing" && e.result_summary?.outcome === "partial", i = r || e.status === "succeeded" && L(e);
+ let r = e.status === "failed" && e.task_key === "library-processing" && e.result_summary?.outcome === "partial", i = r || e.status === "succeeded" && P(e);
return /* @__PURE__ */ (0, J.jsx)(n, {
- color: i ? "yellow" : qe[e.status] ?? "neutral",
- children: r ? "部分项目需处理" : i ? "发现问题" : me(e.status)
+ color: i ? "yellow" : Ke[e.status] ?? "neutral",
+ children: r ? "部分项目需处理" : i ? "发现问题" : ye(e.status)
});
}
-function Ye({ rows: e }) {
- return /* @__PURE__ */ (0, J.jsx)("ul", {
+function Je({ rows: e }) {
+ let [t, n] = (0, q.useState)({
+ pageIndex: 0,
+ pageSize: 20
+ }), { pageSize: a } = t, o = Math.min(t.pageIndex, Math.max(0, Math.ceil(e.length / a) - 1));
+ return /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)("ul", {
className: "-mr-5 flex min-w-0 flex-col",
- children: e.map((e) => {
- let t = F(e);
+ children: e.slice(o * a, (o + 1) * a).map((e) => {
+ let t = se(e);
return /* @__PURE__ */ (0, J.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
className: "flex min-w-0 flex-col gap-1 border-t border-separator-border py-2.5 pr-10 pl-5",
children: [
/* @__PURE__ */ (0, J.jsxs)("div", {
- className: "flex min-w-0 items-start justify-between gap-3",
+ className: "flex min-w-0 flex-wrap items-start justify-between gap-3",
children: [/* @__PURE__ */ (0, J.jsxs)("div", {
- className: "flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1",
+ className: "flex min-w-0 flex-1 basis-40 flex-wrap items-center gap-x-2 gap-y-1",
children: [
/* @__PURE__ */ (0, J.jsx)(Le, {
taskKey: e.task_key,
@@ -406,10 +424,10 @@ function Ye({ rows: e }) {
/* @__PURE__ */ (0, J.jsx)(Ue, { run: e }),
Object.keys(e.result_summary || {}).length ? /* @__PURE__ */ (0, J.jsx)("div", {
className: "w-full min-w-0",
- children: /* @__PURE__ */ (0, J.jsx)(r, {
+ children: /* @__PURE__ */ (0, J.jsx)(i, {
summary: "技术详情",
contentClassName: "pb-2.5",
- children: /* @__PURE__ */ (0, J.jsx)(Se, {
+ children: /* @__PURE__ */ (0, J.jsx)(W, {
code: JSON.stringify(e.result_summary, null, 2),
language: "json",
label: `${e.task_label}技术详情`
@@ -419,16 +437,33 @@ function Ye({ rows: e }) {
]
}, e.id);
})
- });
+ }), /* @__PURE__ */ (0, J.jsx)(r, {
+ label: "任务明细",
+ total: e.length,
+ pagination: {
+ ...t,
+ pageIndex: o
+ },
+ onChange: n
+ })] });
}
-function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, followupTotal: s = 0, badge: c, resourceActive: l, controlled: u }) {
- let d = (e) => e.status === "running" ? 3 : e.status === "pending" ? 2 : +(e.status === "failed" || e.status === "interrupted"), f = o ? [...o].sort((e, t) => d(t) - d(e) || t.id - e.id).slice(0, We) : [], m = f.length, h = Math.max(o?.length || 0, s), g = _e(e), _ = String(i || "").trim(), v = ue(_);
+function Z({ run: e, meta: t, children: n, error: r, issues: a, followups: o, followupTotal: s = 0, badge: c, resourceActive: l, controlled: u }) {
+ let [d, f] = (0, q.useState)(!!o?.some(I)), p = (u || [e]).map((e) => e.id), g = s > (o?.length || 0), _ = H({
+ queryKey: [
+ ...C,
+ "followups",
+ p
+ ],
+ enabled: d && g,
+ queryFn: async ({ signal: e }) => (await Promise.all(p.map((t) => D(`/api/tasks/${t}`, e)))).flatMap((e) => e.followups),
+ refetchInterval: l ? 2e3 : !1
+ }), v = (e) => e.status === "running" ? 3 : e.status === "pending" ? 2 : +(e.status === "failed" || e.status === "interrupted"), y = [...(g ? _.data : void 0) || o || []].sort((e, t) => v(t) - v(e) || t.id - e.id), b = y.length, x = Math.max(o?.length || 0, s), S = B(e), w = String(r || "").trim(), T = z(w);
return /* @__PURE__ */ (0, J.jsxs)("li", {
id: `run-${e.id}`,
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: O({
+ className: k({
padding: "none",
bordered: e.status === "failed" ? "error" : void 0,
className: "flex flex-col"
@@ -438,9 +473,9 @@ function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, fo
className: "flex flex-col gap-2 px-5 py-4",
children: [
/* @__PURE__ */ (0, J.jsxs)("div", {
- className: "flex min-w-0 items-start justify-between gap-3",
+ className: "flex min-w-0 flex-wrap items-start justify-between gap-3",
children: [/* @__PURE__ */ (0, J.jsxs)("div", {
- className: "flex min-w-0 flex-wrap items-center gap-2",
+ className: "flex min-w-0 flex-1 basis-48 flex-wrap items-center gap-2",
children: [
/* @__PURE__ */ (0, J.jsx)(Le, {
taskKey: e.task_key,
@@ -465,58 +500,69 @@ function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, fo
run: e,
active: l
}),
- g ? /* @__PURE__ */ (0, J.jsx)(p, {
- href: g.href,
+ S ? /* @__PURE__ */ (0, J.jsx)(m, {
+ href: S.href,
"data-task-subject": e.id,
- title: g.label,
+ title: S.label,
className: "min-w-0 max-w-full self-start truncate text-text-primary",
- children: g.label
+ children: S.label
}) : null,
- v ? /* @__PURE__ */ (0, J.jsx)("p", {
+ T ? /* @__PURE__ */ (0, J.jsx)("p", {
"data-task-error": "",
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
- children: v
+ children: T
}) : null,
n
]
}),
a ? /* @__PURE__ */ (0, J.jsx)("div", {
- className: "border-t border-separator-border px-5 py-2.5",
+ className: "border-t border-separator-border",
children: a
}) : null,
- v && _ !== v ? /* @__PURE__ */ (0, J.jsx)("div", {
- className: "border-t border-separator-border px-5 py-2.5",
- children: /* @__PURE__ */ (0, J.jsx)(r, {
+ T && w !== T ? /* @__PURE__ */ (0, J.jsx)("div", {
+ className: "border-t border-separator-border",
+ children: /* @__PURE__ */ (0, J.jsx)(i, {
+ row: !0,
summary: "错误详情",
- contentClassName: "pb-2.5",
- children: /* @__PURE__ */ (0, J.jsx)(we, {
+ contentClassName: "pb-5",
+ children: /* @__PURE__ */ (0, J.jsx)(K, {
label: `${e.task_label}错误详情`,
- children: _
+ children: w
})
})
}) : null,
- m ? /* @__PURE__ */ (0, J.jsx)("div", {
- className: "border-t border-separator-border px-5 py-2.5",
- children: /* @__PURE__ */ (0, J.jsxs)(r, {
- summary: `任务明细 · ${h.toLocaleString()} 项`,
- contentClassName: "pb-2.5",
- defaultOpen: f.some((e) => z(e)),
- children: [m < h ? /* @__PURE__ */ (0, J.jsxs)("p", {
- className: "text-caption-1-regular text-text-secondary",
- children: [
- "列出其中 ",
- m.toLocaleString(),
- " 项,正在处理的排在前面"
- ]
- }) : null, /* @__PURE__ */ (0, J.jsx)(Ye, { rows: f })]
+ x ? /* @__PURE__ */ (0, J.jsx)("div", {
+ className: "border-t border-separator-border",
+ children: /* @__PURE__ */ (0, J.jsxs)(i, {
+ row: !0,
+ summary: `任务明细 · ${x.toLocaleString()} 项`,
+ contentClassName: "pb-5",
+ isOpen: d,
+ onOpenChange: f,
+ children: [
+ _.error ? /* @__PURE__ */ (0, J.jsx)(h, {
+ tone: "error",
+ children: M(_.error)
+ }) : null,
+ b < x ? /* @__PURE__ */ (0, J.jsxs)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: [
+ "列出其中 ",
+ b.toLocaleString(),
+ " 项,正在处理的排在前面"
+ ]
+ }) : null,
+ /* @__PURE__ */ (0, J.jsx)(Je, { rows: y })
+ ]
})
}) : null,
- Object.keys(e.result_summary || {}).some((e) => !(g && Ke.has(e))) ? /* @__PURE__ */ (0, J.jsx)("div", {
- className: "border-t border-separator-border px-5 py-2.5",
- children: /* @__PURE__ */ (0, J.jsx)(r, {
+ Object.keys(e.result_summary || {}).some((e) => !(S && Ge.has(e))) ? /* @__PURE__ */ (0, J.jsx)("div", {
+ className: "border-t border-separator-border",
+ children: /* @__PURE__ */ (0, J.jsx)(i, {
+ row: !0,
summary: "技术详情",
- contentClassName: "pb-2.5",
- children: /* @__PURE__ */ (0, J.jsx)(Se, {
+ contentClassName: "pb-5",
+ children: /* @__PURE__ */ (0, J.jsx)(W, {
code: JSON.stringify(e.result_summary, null, 2),
language: "json",
label: `${e.task_label}技术详情`
@@ -526,15 +572,15 @@ function Z({ run: e, meta: t, children: n, error: i, issues: a, followups: o, fo
]
});
}
-function Xe({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.control?.state, a = i && i !== "running", o = a ? Je[i] : e.progress_label || "正在进行", s = M(e.elapsed_seconds), c = [S[e.trigger] || e.trigger, s && `已跑 ${s}`].filter(Boolean).join(" · ");
+function Ye({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.control?.state, a = i && i !== "running", o = a ? qe[i] : e.progress_label || "正在进行", s = j(e.elapsed_seconds), c = [w[e.trigger] || e.trigger, s && `已跑 ${s}`].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, J.jsx)(Z, {
run: e,
meta: c,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, J.jsx)(_, {
+ children: [/* @__PURE__ */ (0, J.jsx)(y, {
label: o,
value: Math.min(r, n),
max: n
@@ -543,7 +589,7 @@ function Xe({ run: e, followups: t }) {
children: [
o,
" · ",
- le(r, n),
+ R(r, n),
" 项"
]
})]
@@ -551,20 +597,20 @@ function Xe({ run: e, followups: t }) {
"data-copy-key": `tasks.control.state.${i}`,
className: "text-caption-1-regular text-text-secondary",
children: o
- }) : /* @__PURE__ */ (0, J.jsx)(d, { label: o })
+ }) : /* @__PURE__ */ (0, J.jsx)(f, { label: o })
});
}
-function Ze({ run: e, followups: t, runs: i, latest: a, followupTotal: o, followupFailed: s = 0, followupCancelled: u = 0 }) {
- let d = !!(i && i.length > 1 && o), f = d ? [`共处理 ${o.toLocaleString()} 项`, s ? `其中 ${s.toLocaleString()} 项失败` : ""].filter(Boolean) : he(_e(e) ? {
+function Xe({ run: e, followups: t, runs: r, latest: a, followupTotal: o, followupFailed: s = 0, followupCancelled: c = 0 }) {
+ let d = !!(r && r.length > 1 && o), f = d ? [`共处理 ${o.toLocaleString()} 项`, s ? `其中 ${s.toLocaleString()} 项失败` : ""].filter(Boolean) : be(B(e) ? {
...e.result_summary,
name: ""
- } : e.result_summary).filter((t) => t !== e.error && t !== ue(e.error)), p = ge(e), m = W(e, a), h = M(e.elapsed_seconds), g = i && i.length > 1 ? i[i.length - 1] : void 0, _ = (g ? [
- S[e.trigger] || e.trigger,
- `近 ${i.length} 轮`,
- `${V(g.finished_at)} – ${V(e.finished_at)}`
+ } : e.result_summary).filter((t) => t !== e.error && t !== z(e.error)), p = xe(e), m = me(e, a), h = j(e.elapsed_seconds), g = r && r.length > 1 ? r[r.length - 1] : void 0, _ = (g ? [
+ w[e.trigger] || e.trigger,
+ `近 ${r.length} 轮`,
+ `${L(g.finished_at)} – ${L(e.finished_at)}`
] : [
- S[e.trigger] || e.trigger,
- V(e.finished_at),
+ w[e.trigger] || e.trigger,
+ L(e.finished_at),
h && `用时 ${h}`
]).filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, J.jsxs)(Z, {
@@ -573,15 +619,17 @@ function Ze({ run: e, followups: t, runs: i, latest: a, followupTotal: o, follow
error: e.error,
followups: t,
followupTotal: o,
- issues: p.length ? /* @__PURE__ */ (0, J.jsx)(r, {
+ controlled: r,
+ issues: p.length ? /* @__PURE__ */ (0, J.jsx)(i, {
+ row: !0,
summary: `问题详情 · ${p.length} 项`,
- contentClassName: "pb-2.5",
- children: /* @__PURE__ */ (0, J.jsx)(we, {
+ contentClassName: "pb-5",
+ children: /* @__PURE__ */ (0, J.jsx)(K, {
label: "任务问题详情",
children: /* @__PURE__ */ (0, J.jsx)("ul", {
className: "flex min-w-0 flex-col whitespace-normal",
"data-task-issues": "",
- children: p.map((e, t) => /* @__PURE__ */ (0, J.jsx)(c, {
+ children: p.map((e, t) => /* @__PURE__ */ (0, J.jsx)(l, {
title: /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [e.label, e.provider || e.kind ? /* @__PURE__ */ (0, J.jsxs)("span", {
className: "text-body-2-regular text-text-secondary",
children: [" · ", [e.provider, e.kind].filter(Boolean).join(" · ")]
@@ -594,22 +642,22 @@ function Ze({ run: e, followups: t, runs: i, latest: a, followupTotal: o, follow
})
})
}) : void 0,
- badge: u && e.status === "succeeded" ? /* @__PURE__ */ (0, J.jsx)(n, {
+ badge: c && e.status === "succeeded" ? /* @__PURE__ */ (0, J.jsx)(n, {
color: "rose",
children: /* @__PURE__ */ (0, J.jsx)("span", {
- "data-copy-key": `tasks.followups.cancelled.${u === o ? "all" : "partial"}`,
- children: u === o ? "后续任务已取消" : "部分后续任务已取消"
+ "data-copy-key": `tasks.followups.cancelled.${c === o ? "all" : "partial"}`,
+ children: c === o ? "后续任务已取消" : "部分后续任务已取消"
})
}) : d && s ? /* @__PURE__ */ (0, J.jsx)(n, {
color: "yellow",
children: "发现问题"
}) : void 0,
children: [
- u ? /* @__PURE__ */ (0, J.jsxs)("p", {
+ c ? /* @__PURE__ */ (0, J.jsxs)("p", {
className: "text-caption-1-regular text-text-secondary",
children: [
"后续任务已取消 ",
- u.toLocaleString(),
+ c.toLocaleString(),
" 项"
]
}) : null,
@@ -620,25 +668,25 @@ function Ze({ run: e, followups: t, runs: i, latest: a, followupTotal: o, follow
className: "flex list-disc flex-col gap-1 pl-5 text-caption-1-regular text-text-secondary wrap-anywhere",
children: f.map((e, t) => /* @__PURE__ */ (0, J.jsx)("li", { children: e }, t))
}) : null,
- !p.length && L(e) && ["follow-check", "feed-check"].includes(e.task_key) ? /* @__PURE__ */ (0, J.jsx)("p", {
+ !p.length && P(e) && ["follow-check", "feed-check"].includes(e.task_key) ? /* @__PURE__ */ (0, J.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "未取得本轮逐项详情,可到来源列表查看检查结果。"
}) : null,
- m ? /* @__PURE__ */ (0, J.jsx)(l, {
+ m ? /* @__PURE__ */ (0, J.jsx)(u, {
href: m.href,
size: "small",
- trailingIcon: R,
+ trailingIcon: F,
className: "self-start",
children: m.label
}) : null
]
});
}
-function Qe({ runs: e, followups: t, counts: r }) {
- let i = e[0], a = e[e.length - 1], o = I(r, e), s = Math.max(o.total, t.length), c = o.total ? o.settled : t.filter((e) => !z(e)).length, l = o.total ? o.failed : t.filter((e) => e.status === "failed" || e.status === "interrupted").length, u = [
- S[i.trigger] || i.trigger,
+function Ze({ runs: e, followups: t, counts: r }) {
+ let i = e[0], a = e[e.length - 1], o = N(r, e), s = Math.max(o.total, t.length), c = o.total ? o.settled : t.filter((e) => !I(e)).length, l = o.total ? o.failed : t.filter((e) => e.status === "failed" || e.status === "interrupted").length, u = [
+ w[i.trigger] || i.trigger,
e.length > 1 ? `${e.length} 批` : "",
- `${V(a.started_at || a.finished_at)} 开始`
+ `${L(a.started_at || a.finished_at)} 开始`
].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, J.jsx)(Z, {
run: i,
@@ -653,7 +701,7 @@ function Qe({ runs: e, followups: t, counts: r }) {
}),
children: /* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, J.jsx)(_, {
+ children: [/* @__PURE__ */ (0, J.jsx)(y, {
label: `${i.task_label}进度`,
value: c,
max: s
@@ -661,7 +709,7 @@ function Qe({ runs: e, followups: t, counts: r }) {
className: "text-caption-1-regular text-text-secondary",
children: [
"已处理 ",
- le(c, s),
+ R(c, s),
" 项",
l ? ` · 其中 ${l.toLocaleString()} 项失败` : ""
]
@@ -681,122 +729,124 @@ function Q({ title: e, children: t }) {
}), t]
});
}
-function $({ live: e = !1, children: t }) {
- return /* @__PURE__ */ (0, J.jsx)("ul", {
+function $({ live: e = !1, paginate: t = !0, children: n }) {
+ let [i, a] = (0, q.useState)({
+ pageIndex: 0,
+ pageSize: 20
+ }), o = q.Children.toArray(n), { pageSize: s } = i, c = Math.min(i.pageIndex, Math.max(0, Math.ceil(o.length / s) - 1));
+ return /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
- children: t
- });
+ children: t ? o.slice(c * s, (c + 1) * s) : o
+ }), t ? /* @__PURE__ */ (0, J.jsx)(r, {
+ label: "任务列表",
+ total: o.length,
+ pagination: {
+ ...i,
+ pageIndex: c
+ },
+ onChange: a
+ }) : null] });
}
-function $e() {
- let t = be({
- queryKey: x,
- queryFn: ({ signal: e }) => ne(e),
- refetchInterval: (e) => ce(e.state.data)
- }), n = t.data, r = n?.finished, [o, s] = (0, q.useState)([]), [c, l] = (0, q.useState)(!1), [u, d] = (0, q.useState)({}), [f, p] = (0, q.useState)(r);
- r !== f && (p(r), o.length && f && s(B(o, f)));
- let h = G({
- mutationFn: ({ oldest: e }) => te(e),
- onSuccess: (e, { shown: t }) => {
- s((n) => B(n, t, e.finished || [])), l(!!e.finished_has_more), d((t) => ({
- ...t,
- ...e.followup_counts
- }));
- }
- }), g = t.error ? N(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, J.jsx)(Ce, { children: /* @__PURE__ */ (0, J.jsx)(m, {
+function Qe() {
+ let [e, t] = (0, q.useState)(1), [n, i] = (0, q.useState)(20), s = H({
+ queryKey: e === 1 && n === 20 ? C : [
+ ...C,
+ "page",
+ e,
+ n
+ ],
+ queryFn: ({ signal: t }) => re(t, e, n),
+ refetchInterval: (e) => pe(e.state.data),
+ placeholderData: (e) => e
+ }), [c, l] = (0, q.useState)(s.data);
+ s.data && s.data !== c && l(s.data);
+ let u = s.data || c, d = s.error ? M(s.error) : "";
+ if (!u) return /* @__PURE__ */ (0, J.jsx)(G, { children: /* @__PURE__ */ (0, J.jsx)(h, {
tone: "error",
- children: g || "读取任务中心失败"
+ children: d || "读取任务中心失败"
}) });
- let _ = B(n.finished || [], o), v = n.working_parents || [], y = [
- ...n.running || [],
- ...n.skipped || [],
- ..._,
- ...v
- ], b = ae(y), S = new Set(y.map((e) => e.id)), C = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && S.has(e.parent_run_id))), w = C(_), T = w[w.length - 1], E = !!T && (o.length ? c : !!n.finished_has_more), O = () => {
- !h.isPending && T && h.mutate({
- oldest: T,
- shown: _
- });
- }, k = {
- ...u,
- ...n.followup_counts
- }, A = (e) => e.flatMap((e) => b.get(e.id) || []), j = [...w, ...C(v)].filter((e) => I(k, [e]).active > 0 || b.get(e.id)?.some(z)).sort((e, t) => t.id - e.id), M = C(n.running || []), P = C(n.skipped || []), F = w.filter((e) => !j.includes(e) && !P.some((t) => t.id === e.id)), R = (e) => (b.get(e.id) || []).every((e) => e.status === "succeeded" && !L(e)) && I(k, [e]).failed === 0, V = ie(F, (e) => oe(e) && (R(e) || Ge.has(e.task_key))), H = re(j, (e) => e.control?.state || "").sort((e, t) => t.run.id - e.run.id), U = se(y), W = !M.length && !j.length && !P.length && !F.length;
- return /* @__PURE__ */ (0, J.jsxs)(Ce, { children: [
- g ? /* @__PURE__ */ (0, J.jsx)(m, {
+ let f = u.finished || [], p = u.working_parents || [], m = [
+ ...u.running || [],
+ ...u.skipped || [],
+ ...f,
+ ...p
+ ], g = ce(m), _ = new Set(m.map((e) => e.id)), v = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && _.has(e.parent_run_id))), y = v(f), b = u.followup_counts || {}, x = (e) => e.flatMap((e) => g.get(e.id) || []), S = [...y, ...v(p)].filter((e) => N(b, [e]).active > 0 || g.get(e.id)?.some(I)).sort((e, t) => t.id - e.id), w = v(u.running || []), T = v(u.skipped || []), E = y.filter((e) => !S.includes(e) && !T.some((t) => t.id === e.id)), D = (e) => (g.get(e.id) || []).every((e) => e.status === "succeeded" && !P(e)) && N(b, [e]).failed === 0, ee = oe(E, (e) => le(e) && (D(e) || We.has(e.task_key))), O = ae(S, (e) => e.control?.state || "").sort((e, t) => t.run.id - e.run.id), k = ue(m), A = !w.length && !S.length && !T.length && !E.length;
+ return /* @__PURE__ */ (0, J.jsxs)(G, { children: [
+ d ? /* @__PURE__ */ (0, J.jsx)(h, {
tone: "error",
- children: g
+ children: d
}) : null,
/* @__PURE__ */ (0, J.jsx)(Pe, {}),
- n.available === !1 ? /* @__PURE__ */ (0, J.jsx)(m, {
+ u.available === !1 ? /* @__PURE__ */ (0, J.jsx)(h, {
tone: "warning",
- children: n.message || "数据库尚未准备好任务记录表"
+ children: u.message || "数据库尚未准备好任务记录表"
}) : null,
/* @__PURE__ */ (0, J.jsx)(ke, {}),
- W ? /* @__PURE__ */ (0, J.jsx)(a, {
- icon: ye,
+ A ? /* @__PURE__ */ (0, J.jsx)(o, {
+ icon: Ce,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [
/* @__PURE__ */ (0, J.jsx)(Q, {
title: "正在进行",
- children: M.length || j.length ? /* @__PURE__ */ (0, J.jsxs)($, {
+ children: w.length || S.length ? /* @__PURE__ */ (0, J.jsxs)($, {
live: !0,
- children: [M.map((e) => /* @__PURE__ */ (0, J.jsx)(Xe, {
+ children: [w.map((e) => /* @__PURE__ */ (0, J.jsx)(Ye, {
run: e,
- followups: b.get(e.id)
- }, e.id)), H.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, J.jsx)(Qe, {
+ followups: g.get(e.id)
+ }, e.id)), O.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, J.jsx)(Ze, {
runs: t,
- followups: A(t),
- counts: k
+ followups: x(t),
+ counts: b
}, e.id))]
- }) : /* @__PURE__ */ (0, J.jsx)(m, {
+ }) : /* @__PURE__ */ (0, J.jsx)(h, {
tone: "neutral",
children: "没有任务在跑。"
})
}),
- P.length ? /* @__PURE__ */ (0, J.jsx)(Q, {
+ T.length ? /* @__PURE__ */ (0, J.jsx)(Q, {
title: "本次未执行",
- children: /* @__PURE__ */ (0, J.jsx)($, { children: P.map((e) => /* @__PURE__ */ (0, J.jsx)(Ze, {
+ children: /* @__PURE__ */ (0, J.jsx)($, { children: T.map((e) => /* @__PURE__ */ (0, J.jsx)(Xe, {
run: e,
- latest: U.has(e.id),
- followups: b.get(e.id)
+ latest: k.has(e.id),
+ followups: g.get(e.id)
}, e.id)) })
}) : null,
- F.length || E ? /* @__PURE__ */ (0, J.jsxs)(Q, {
+ E.length || u.finished_total ? /* @__PURE__ */ (0, J.jsxs)(Q, {
title: "最近完成",
- children: [
- F.length ? /* @__PURE__ */ (0, J.jsx)($, { children: V.map(({ run: e, runs: t }) => {
- let n = I(k, t);
- return /* @__PURE__ */ (0, J.jsx)(Ze, {
+ children: [E.length ? /* @__PURE__ */ (0, J.jsx)($, {
+ paginate: !1,
+ children: ee.map(({ run: e, runs: t }) => {
+ let n = N(b, t);
+ return /* @__PURE__ */ (0, J.jsx)(Xe, {
run: e,
runs: t,
- latest: U.has(e.id),
- followups: A(t),
+ latest: k.has(e.id),
+ followups: x(t),
followupTotal: n.total,
followupFailed: n.failed,
followupCancelled: n.cancelled
}, e.id);
- }) }) : null,
- h.error ? /* @__PURE__ */ (0, J.jsx)(m, {
- tone: "error",
- children: N(h.error)
- }) : null,
- E ? /* @__PURE__ */ (0, J.jsx)(e, {
- variant: "secondary",
- size: "small",
- leadingIcon: ee,
- className: "self-start",
- ...D(h.isPending),
- onClick: O,
- children: "加载更早"
- }) : null
- ]
+ })
+ }) : null, /* @__PURE__ */ (0, J.jsx)(r, {
+ label: "最近完成",
+ total: u.finished_total ?? y.length,
+ unit: "轮任务",
+ pageUnit: "轮",
+ pagination: {
+ pageIndex: (u.finished_page || e) - 1,
+ pageSize: n
+ },
+ onChange: (r) => {
+ r.pageIndex + 1 === e && r.pageSize === n ? s.refetch() : (t(r.pageIndex + 1), i(r.pageSize));
+ }
+ })]
}) : null
] }),
- /* @__PURE__ */ (0, J.jsx)(i, {})
+ /* @__PURE__ */ (0, J.jsx)(a, {})
] });
}
-export { $e as ActivityPage };
+export { Qe as ActivityPage };
-//# debugId=c340d080-bcb7-491e-ad8c-d22bae151d9c
\ No newline at end of file
+//# debugId=7f5924bc-8f65-4867-aeae-0a9f0a35759f
\ No newline at end of file
diff --git a/web/dist/peach-app.code-block-5D8eSV-F.js b/web/dist/peach-app.code-block-5D8eSV-F.js
new file mode 100644
index 000000000..e3fa06193
--- /dev/null
+++ b/web/dist/peach-app.code-block-5D8eSV-F.js
@@ -0,0 +1,67 @@
+(function() {
+ try {
+ var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "11ae844c-eb83-4e62-ab86-aca9f1df9dc5", e._sentryDebugIdIdentifier = "sentry-dbid-11ae844c-eb83-4e62-ab86-aca9f1df9dc5");
+ } catch {}
+})();
+import { Button as e, __toESM as t, cardClass as n, cx as r, require_jsx_runtime as i, require_react as a, showToast$1 as o, useOverlayScrollbar as s } from "./peach-app.js";
+// src/react/components/code-block.tsx
+var c = /* @__PURE__ */ t(a(), 1), l = i();
+function u({ code: t, language: i, label: a, maxCharacters: u, bounded: d = !0, copyLabel: f, onCopy: p }) {
+ let m = s(), [h, g] = (0, c.useState)(""), [_, v] = (0, c.useState)(!1);
+ (0, c.useEffect)(() => {
+ g(""), v(!1);
+ }, [t]);
+ let y = u !== void 0 && t.length > u, b = async () => {
+ try {
+ await navigator.clipboard.writeText(t), v(!1), g("已复制"), p?.(), o("code-copy", {
+ html: "已复制",
+ alert: !1,
+ timeout: 4e3,
+ action: null
+ });
+ } catch {
+ v(!0), g("复制失败,请选中文本复制。");
+ }
+ };
+ return /* @__PURE__ */ (0, l.jsxs)("div", {
+ className: r(n({
+ bordered: "soft",
+ radius: "plain",
+ padding: "none"
+ }), "overflow-hidden bg-background-tertiary-default"),
+ "data-code-block": !0,
+ children: [
+ /* @__PURE__ */ (0, l.jsxs)("div", {
+ className: "flex min-w-0 items-center justify-between gap-3 border-b border-separator-border px-3 py-2",
+ children: [/* @__PURE__ */ (0, l.jsx)("span", {
+ className: "text-caption-1-medium text-text-secondary",
+ children: i.toUpperCase()
+ }), /* @__PURE__ */ (0, l.jsx)(e, {
+ variant: "secondary",
+ size: "small",
+ onClick: () => void b(),
+ children: f || (y ? "复制完整内容" : "复制代码")
+ })]
+ }),
+ /* @__PURE__ */ (0, l.jsx)("div", {
+ className: "relative min-w-0",
+ children: /* @__PURE__ */ (0, l.jsx)("pre", {
+ ref: m,
+ tabIndex: 0,
+ "aria-label": a,
+ className: r("m-0 overflow-auto overscroll-contain p-3 font-mono text-caption-1-regular whitespace-pre text-text-primary", d && "max-h-80"),
+ children: /* @__PURE__ */ (0, l.jsx)("code", { children: u === void 0 ? t : t.slice(0, u) })
+ })
+ }),
+ h ? /* @__PURE__ */ (0, l.jsx)("p", {
+ role: _ ? "alert" : "status",
+ className: "m-0 px-3 pb-2 text-caption-1-regular text-text-secondary",
+ children: h
+ }) : null
+ ]
+ });
+}
+export { u as CodeBlock };
+
+//# debugId=11ae844c-eb83-4e62-ab86-aca9f1df9dc5
\ No newline at end of file
diff --git a/web/dist/peach-app.code-block-CyDva4Ms.js b/web/dist/peach-app.code-block-CyDva4Ms.js
deleted file mode 100644
index ae518a71a..000000000
--- a/web/dist/peach-app.code-block-CyDva4Ms.js
+++ /dev/null
@@ -1,62 +0,0 @@
-(function() {
- try {
- var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "41e202a0-1aa4-46b4-a38d-149b68ebacdd", e._sentryDebugIdIdentifier = "sentry-dbid-41e202a0-1aa4-46b4-a38d-149b68ebacdd");
- } catch {}
-})();
-import { Button as e, __toESM as t, cardClass as n, cx as r, require_jsx_runtime as i, require_react as a, useOverlayScrollbar as o } from "./peach-app.js";
-// src/react/components/code-block.tsx
-var s = /* @__PURE__ */ t(a(), 1), c = i();
-function l({ code: t, language: i, label: a, maxCharacters: l, bounded: u = !0, copyLabel: d, onCopy: f }) {
- let p = o(), [m, h] = (0, s.useState)(""), [g, _] = (0, s.useState)(!1);
- (0, s.useEffect)(() => {
- h(""), _(!1);
- }, [t]);
- let v = l !== void 0 && t.length > l, y = async () => {
- try {
- await navigator.clipboard.writeText(t), _(!1), h("已复制"), f?.();
- } catch {
- _(!0), h("复制失败,请选中文本复制。");
- }
- };
- return /* @__PURE__ */ (0, c.jsxs)("div", {
- className: r(n({
- bordered: "soft",
- radius: "plain",
- padding: "none"
- }), "overflow-hidden bg-background-tertiary-default"),
- "data-code-block": !0,
- children: [
- /* @__PURE__ */ (0, c.jsxs)("div", {
- className: "flex min-w-0 items-center justify-between gap-3 border-b border-separator-border px-3 py-2",
- children: [/* @__PURE__ */ (0, c.jsx)("span", {
- className: "text-caption-1-medium text-text-secondary",
- children: i.toUpperCase()
- }), /* @__PURE__ */ (0, c.jsx)(e, {
- variant: "secondary",
- size: "small",
- onClick: () => void y(),
- children: d || (v ? "复制完整内容" : "复制代码")
- })]
- }),
- /* @__PURE__ */ (0, c.jsx)("div", {
- className: "relative min-w-0",
- children: /* @__PURE__ */ (0, c.jsx)("pre", {
- ref: p,
- tabIndex: 0,
- "aria-label": a,
- className: r("m-0 overflow-auto overscroll-contain p-3 font-mono text-caption-1-regular whitespace-pre text-text-primary", u && "max-h-80"),
- children: /* @__PURE__ */ (0, c.jsx)("code", { children: l === void 0 ? t : t.slice(0, l) })
- })
- }),
- m ? /* @__PURE__ */ (0, c.jsx)("p", {
- role: g ? "alert" : "status",
- className: "m-0 px-3 pb-2 text-caption-1-regular text-text-secondary",
- children: m
- }) : null
- ]
- });
-}
-export { l as CodeBlock };
-
-//# debugId=41e202a0-1aa4-46b4-a38d-149b68ebacdd
\ No newline at end of file
diff --git a/web/dist/peach-app.configuration-page-C6CCxz0L.js b/web/dist/peach-app.configuration-page-C5gjsAZP.js
similarity index 85%
rename from web/dist/peach-app.configuration-page-C6CCxz0L.js
rename to web/dist/peach-app.configuration-page-C5gjsAZP.js
index f4bde92cb..2885e61ef 100644
--- a/web/dist/peach-app.configuration-page-C6CCxz0L.js
+++ b/web/dist/peach-app.configuration-page-C5gjsAZP.js
@@ -1,32 +1,32 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "234366c5-1b3d-4a1b-9bb5-c8c710e75836", e._sentryDebugIdIdentifier = "sentry-dbid-234366c5-1b3d-4a1b-9bb5-c8c710e75836");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e9a5daf2-ab4e-4ef7-bd9f-ed04a3964db8", e._sentryDebugIdIdentifier = "sentry-dbid-e9a5daf2-ab4e-4ef7-bd9f-ed04a3964db8");
} catch {}
})();
import { AnimatedItems as e, Cell as t, ChartBackground as n, ChartContainer as r, ChartLegend as i, ChartLegendContent as a, ChartTip as o, ChartTooltip as s, ChartTooltipContent as c, Curve as l, DATA_ITEM_GRAPHICAL_ITEM_ID_ATTRIBUTE_NAME as u, DATA_ITEM_INDEX_ATTRIBUTE_NAME as d, DefaultZIndexes as f, EvilBarChart as p, LabelList as m, LabelListFromLabelProp as h, Layer as g, LoadingIndicator as _, PolarChart as v, PolarLabelContextProvider as y, PolarLabelListContextProvider as b, RegisterGraphicalItemId as x, Sector as S, SetPolarGraphicalItem as C, SetPolarLegendPayload as w, SetTooltipEntrySettings as T, Shape as ee, TIP_SWATCH as te, Text as ne, ZIndexLayer as re, adaptEventsOfChild as ie, arrayTooltipSearcher as ae, createSelector as oe, defaultPolarChartProps as se, findAllByType as ce, get as le, getClassNameFromUnknown as ue, getColorsCount as de, getMaxRadius as fe, getPercentValue as pe, getTooltipNameProp as me, getValueByDataKey as he, interpolate as ge, isNumber as _e, matchAppend as ve, mathSign as ye, polarToCartesian as be, resolveDefaultProps as xe, selectActiveTooltipDataKey as Se, selectActiveTooltipGraphicalItemId as Ce, selectActiveTooltipIndex as we, selectChartDataAndAlwaysIgnoreIndexes as Te, selectChartOffsetInternal as Ee, selectUnfilteredPolarItems as De, svgPropertiesNoEvents as Oe, svgPropertiesNoEventsFromUnknown as ke, tone as Ae, useAnimationCallbacks as je, useAppSelector as Me, useMouseClickItemDispatch as Ne, useMouseEnterItemDispatch as Pe, useMouseLeaveItemDispatch as Fe, usePolarChartLayout as Ie } from "./peach-app.chart-tip-CRxYp6KT.js";
-import { $2ec61d1d4f780267$export$a8a3e93435678ff9 as Le, $3a442827418ebe87$export$eb2fcfdbd7ba97d4 as Re, $542a13ca2fa5b484$export$5b6b19405a83ff9d as ze, $72abaeab4d80592f$export$78efe591171d7d45 as Be, $bd263d78e9bf3c56$export$f5c9f3c2c4054eec as Ve, $ea3928288112382f$export$439d29a4e110a164 as He, $f2ff30fde7b014be$export$3ddf2d174ce01153 as Ue, $fe21c36db05242bb$export$a98f0dcb43a68a25 as We, $fe21c36db05242bb$export$d7b12c4107be0d61 as Ge, ACCENTS as Ke, ApiError as qe, Button as E, ButtonLink as Je, CLOUD_LOCATIONS as Ye, CLOUD_PROXY_HELP as Xe, CONFIGURATION_KEY as Ze, CONFIGURATION_URL as Qe, CREDENTIAL_STATE as $e, Checkbox as D, Chip as et, CommandSteps as tt, Disclosure as O, ENTRY_LINKS_HELP as nt, ENTRY_LINKS_HINT as rt, EmptyState as it, ErrorText as k, Eu as at, ExternalLink as A, FEED_SCHEDULE_KEY as ot, FOLLOW_CREDENTIALS_KEY as st, FOLLOW_INITIAL_RANGE_OPTIONS as ct, FOLLOW_SCHEDULE_KEY as lt, Fact as j, FactList as ut, FieldLabel as dt, Footer as M, Help as N, HintText as ft, Input as P, L1 as pt, LIBRARY_FOLDER_HELP as mt, LIBRARY_PROCESSING_KEY as ht, Label as gt, LinkButton as _t, LoadingDots as vt, M6 as yt, MEDIA_PROCESSING_KEY as bt, MEDIA_PROCESSING_URL as xt, MEDIA_SOURCE_ICONS as St, MENU_POPOVER_SURFACE as Ct, Note as F, PICK_FOLDER_URL as wt, POLICY_COLUMNS as Tt, POLICY_COVER_NOTE as Et, POLICY_MATRIX as Dt, POLICY_SUMMARY as Ot, PathLine as kt, PillTabList as At, Progress as jt, Rows as I, SEGMENT as Mt, SEGMENTED_TRACK as Nt, SETTINGS_KEY as Pt, SETTINGS_URL as Ft, Section as L, SectionSkeleton as It, SegmentedRadioGroup as Lt, Select as Rt, Select$1 as R, SelectItem as z, SettingsCard as zt, SettingsRow as B, SiteLabel as Bt, SourceLabel as Vt, SourceMark as Ht, Stack as V, StatusLabel as H, Switch as U, THUMBNAIL_JOBS_KEY as Ut, TaskCenterLink as Wt, TextField as Gt, TextFieldContext as Kt, Uz as qt, __toESM as Jt, _p as Yt, animate as Xt, apiGet as W, apiSend as G, appSettingsStore as Zt, boundedPreference as Qt, busyProps as K, cardClass as $t, cloudProxySkeleton as en, clsx as tn, cn as nn, confirmModal as rn, credentialDone as an, credentialsSkeleton as on, cx as sn, d6 as cn, devicesSkeleton as ln, errorMessage as q, fetchConfiguration as un, fetchCredentials as dn, fetchFeedSchedule as fn, fetchFollowSchedule as pn, fetchLibraryProcessing as mn, fetchMediaProcessing as hn, fetchSettings as gn, fetchThumbnailJobs as _n, fmtSize as J, indexersSkeleton as vn, javBrowserSkeleton as yn, l1 as bn, momentText as xn, motion as Sn, overlayHost as Cn, peachHistory$1 as wn, previewLibraryColor as Tn, processingActive as En, providerIcon as Dn, queryClient as On, randomId as kn, rememberShape as An, require_jsx_runtime as jn, require_react as Mn, restartEffectText as Nn, saveCredential as Pn, schedulePollInterval as Fn, settingsPath as In, shellNavigate as Ln, sortCx as Rn, sourceDefaultCost as zn, useAction as Y, useClientUpdates as Bn, useLibraryTints as Vn, useMutation as Hn, useQuery as X, useQueryClient as Un, useReducedMotion as Wn, useRunSchedule as Gn, useSaveFollowSchedule as Kn, useSaveSettings as qn, useSaveThumbnailMode as Jn, we as Yn, z3 as Xn } from "./peach-app.js";
-import { CodeBlock as Zn } from "./peach-app.code-block-CyDva4Ms.js";
-import { FolderField as Qn, FolderFieldLine as $n, FolderRow as er, MEDIA_SOURCES as tr, MediaReadPolicy as nr, MediaReadPolicyHelp as rr, SourceSelect as ir, isCloudSource as ar, sourceMark as or, useFolderRows as sr } from "./peach-app.folder-rows-BWBfTyUD.js";
-import { ConnectionStatus as cr } from "./peach-app.connection-status-DI6kgn3i.js";
-import { SourceIcon as lr } from "./peach-app.source-view-DalWfDkm.js";
-import { BrowserIcon as ur, browserIconId as dr } from "./peach-app.browser-icon-N9Od-bAf.js";
+import { $2ec61d1d4f780267$export$a8a3e93435678ff9 as Le, $3a442827418ebe87$export$eb2fcfdbd7ba97d4 as Re, $542a13ca2fa5b484$export$5b6b19405a83ff9d as ze, $72abaeab4d80592f$export$78efe591171d7d45 as Be, $bd263d78e9bf3c56$export$f5c9f3c2c4054eec as Ve, $ea3928288112382f$export$439d29a4e110a164 as He, $f2ff30fde7b014be$export$3ddf2d174ce01153 as Ue, $fe21c36db05242bb$export$a98f0dcb43a68a25 as We, $fe21c36db05242bb$export$d7b12c4107be0d61 as Ge, ACCENTS as Ke, ApiError as qe, Button as E, ButtonLink as Je, CLOUD_LOCATIONS as Ye, CLOUD_PROXY_HELP as Xe, CONFIGURATION_KEY as Ze, CONFIGURATION_URL as Qe, CREDENTIAL_STATE as $e, Checkbox as D, Chip as et, CommandSteps as tt, Disclosure as O, ENTRY_LINKS_HELP as nt, ENTRY_LINKS_HINT as rt, EmptyState as it, ErrorText as k, Eu as at, ExternalLink as A, FEED_SCHEDULE_KEY as ot, FOLLOW_CREDENTIALS_KEY as st, FOLLOW_INITIAL_RANGE_OPTIONS as ct, FOLLOW_SCHEDULE_KEY as lt, Fact as j, FactList as ut, FieldLabel as dt, Footer as M, Help as N, HintText as ft, Input as P, L1 as pt, LIBRARY_FOLDER_HELP as mt, LIBRARY_PROCESSING_KEY as ht, Label as gt, LinkButton as _t, LoadingDots as vt, M6 as yt, MEDIA_PROCESSING_KEY as bt, MEDIA_PROCESSING_URL as xt, MEDIA_SOURCE_ICONS as St, MENU_POPOVER_SURFACE as Ct, Note as F, PICK_FOLDER_URL as wt, POLICY_COLUMNS as Tt, POLICY_COVER_NOTE as Et, POLICY_MATRIX as Dt, POLICY_SUMMARY as Ot, PathLine as kt, PillTabList as At, ProcessingMode as jt, Progress as Mt, Rows as I, SEGMENT as Nt, SEGMENTED_TRACK as Pt, SETTINGS_KEY as Ft, SETTINGS_URL as It, Section as L, SectionSkeleton as Lt, SegmentedRadioGroup as Rt, Select as zt, Select$1 as R, SelectItem as z, SettingsCard as Bt, SettingsRow as B, SiteLabel as Vt, SourceLabel as Ht, SourceMark as Ut, Stack as V, StatusLabel as H, Switch as U, THUMBNAIL_JOBS_KEY as Wt, TaskCenterLink as Gt, TextField as Kt, TextFieldContext as qt, Uz as Jt, __toESM as Yt, _p as Xt, animate as Zt, apiGet as W, apiSend as G, appSettingsStore as Qt, boundedPreference as $t, busyProps as K, cardClass as en, cloudProxySkeleton as tn, clsx as nn, cn as rn, confirmModal as an, credentialDone as on, credentialsSkeleton as sn, cx as cn, d6 as ln, devicesSkeleton as un, errorMessage as q, fetchConfiguration as dn, fetchCredentials as fn, fetchFeedSchedule as pn, fetchFollowSchedule as mn, fetchLibraryProcessing as hn, fetchMediaProcessing as gn, fetchSettings as _n, fetchThumbnailJobs as vn, fmtSize as J, indexersSkeleton as yn, javBrowserSkeleton as bn, l1 as xn, momentText as Sn, motion as Cn, overlayHost as wn, peachHistory$1 as Tn, previewLibraryColor as En, processingActive as Dn, providerIcon as On, queryClient as kn, randomId as An, rememberShape as jn, require_jsx_runtime as Mn, require_react as Nn, restartEffectText as Pn, saveCredential as Fn, schedulePollInterval as In, settingsPath as Ln, shellNavigate as Rn, sortCx as zn, sourceDefaultCost as Bn, useAction as Y, useClientUpdates as Vn, useLibraryTints as Hn, useMutation as Un, useQuery as X, useQueryClient as Wn, useReducedMotion as Gn, useRunSchedule as Kn, useSaveFollowSchedule as qn, useSaveSettings as Jn, useSaveThumbnailMode as Yn, we as Xn, z3 as Zn } from "./peach-app.js";
+import { CodeBlock as Qn } from "./peach-app.code-block-5D8eSV-F.js";
+import { FolderField as $n, FolderFieldLine as er, FolderRow as tr, MEDIA_SOURCES as nr, MediaReadPolicy as rr, MediaReadPolicyHelp as ir, SourceSelect as ar, isCloudSource as or, sourceMark as sr, useFolderRows as cr } from "./peach-app.folder-rows-BWBfTyUD.js";
+import { ConnectionStatus as lr } from "./peach-app.connection-status-DI6kgn3i.js";
+import { SourceIcon as ur } from "./peach-app.source-view-DalWfDkm.js";
+import { BrowserIcon as dr, browserIconId as fr } from "./peach-app.browser-icon-N9Od-bAf.js";
// src/react/settings/configuration-panel.ts
-var Z = /* @__PURE__ */ Jt(Mn(), 1), fr = "flex flex-col gap-6";
-function pr(e) {
+var Z = /* @__PURE__ */ Yt(Nn(), 1), pr = "flex flex-col gap-6";
+function mr(e) {
return e ? {
- className: e.active ? `${fr} ui-board-group-active` : fr,
+ className: e.active ? `${pr} ui-board-group-active` : pr,
"data-board-group": String(e.index),
id: e.id,
role: "tabpanel",
"aria-labelledby": e.labelledBy
- } : { className: fr };
+ } : { className: pr };
}
// src/react/settings/userscript-probe.ts
-function mr() {
+function hr() {
let e = (0, Z.useRef)(null), [t, n] = (0, Z.useState)(0), [r, i] = (0, Z.useState)("checking");
return (0, Z.useEffect)(() => {
- let t = kn(), n = !1, r = e.current, a, o = () => {
+ let t = An(), n = !1, r = e.current, a, o = () => {
n = !0, clearInterval(u), i("missing");
}, s = () => {
n || (clearTimeout(a), a = setTimeout(o, 3e3), c());
@@ -54,14 +54,14 @@ function mr() {
};
}
// src/react/settings/userscript-status.tsx
-var Q = jn();
-function hr(e, t) {
+var Q = Mn();
+function gr(e, t) {
let n = e.split(".").map(Number), r = t.split(".").map(Number);
for (let e = 0; e < 3; e++) if (n[e] !== r[e]) return n[e] > r[e];
return !0;
}
-function gr({ enabled: e, release: t }) {
- let { frame: n, attempt: r, status: i, retry: a } = mr(), o = typeof i == "object", s = o && !hr(i.version, t.minimum_version), c = o && !hr(i.version, t.version), l = i === "checking" ? "progress" : i === "missing" ? "neutral" : s || c || !i.paired ? "warning" : "success", u = i === "checking" ? "检测中" : i === "missing" ? "未检测到" : s ? "需更新" : c ? "可更新" : i.paired ? "已连接" : "待配对", d = i === "checking" ? "checking" : i === "missing" ? "missing" : s ? "required" : c ? "available" : i.paired ? e ? "enabled" : "disabled" : "unpaired";
+function _r({ enabled: e, release: t }) {
+ let { frame: n, attempt: r, status: i, retry: a } = hr(), o = typeof i == "object", s = o && !gr(i.version, t.minimum_version), c = o && !gr(i.version, t.version), l = i === "checking" ? "progress" : i === "missing" ? "neutral" : s || c || !i.paired ? "warning" : "success", u = i === "checking" ? "检测中" : i === "missing" ? "未检测到" : s ? "需更新" : c ? "可更新" : i.paired ? "已连接" : "待配对", d = i === "checking" ? "checking" : i === "missing" ? "missing" : s ? "required" : c ? "available" : i.paired ? e ? "enabled" : "disabled" : "unpaired";
return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)("iframe", {
ref: n,
title: "Peach 用户脚本检测",
@@ -70,7 +70,7 @@ function gr({ enabled: e, release: t }) {
}, r), /* @__PURE__ */ (0, Q.jsxs)("div", {
"aria-live": "polite",
"data-userscript-status": "",
- className: $t({
+ className: en({
variant: "raised",
bordered: "line",
className: "flex flex-col gap-3"
@@ -81,7 +81,7 @@ function gr({ enabled: e, release: t }) {
children: [/* @__PURE__ */ (0, Q.jsx)("span", {
className: "text-body-medium text-text-primary",
children: "Peach 用户脚本"
- }), /* @__PURE__ */ (0, Q.jsx)(cr, {
+ }), /* @__PURE__ */ (0, Q.jsx)(lr, {
tone: l,
children: /* @__PURE__ */ (0, Q.jsx)("span", {
"data-copy-key": `userscript.${d}.status`,
@@ -139,32 +139,32 @@ function gr({ enabled: e, release: t }) {
})] });
}
// src/react/settings/jav-browser-settings.tsx
-var _r = "/api/configuration/jav-browser";
-function vr({ receipt: e, refreshKey: t }) {
+var vr = "/api/configuration/jav-browser";
+function yr({ receipt: e, refreshKey: t }) {
let n = X({
queryKey: ["jav-browser-settings", t],
- queryFn: ({ signal: e }) => W(_r, e),
+ queryFn: ({ signal: e }) => W(vr, e),
refetchOnMount: "always",
refetchOnWindowFocus: "always"
});
- return n.error && !n.data ? /* @__PURE__ */ (0, Q.jsx)(k, { children: q(n.error) }) : n.isFetching && !n.data ? /* @__PURE__ */ (0, Q.jsx)(It, {
+ return n.error && !n.data ? /* @__PURE__ */ (0, Q.jsx)(k, { children: q(n.error) }) : n.isFetching && !n.data ? /* @__PURE__ */ (0, Q.jsx)(Lt, {
label: "正在读取浏览器添加设置",
- html: yn
- }) : n.data ? /* @__PURE__ */ (0, Q.jsx)(yr, {
+ html: bn
+ }) : n.data ? /* @__PURE__ */ (0, Q.jsx)(br, {
initial: n.data,
receipt: e
}) : null;
}
-function yr({ initial: e, receipt: t }) {
+function br({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(e.provider), [o, s] = (0, Z.useState)(""), c = Y();
(0, Z.useEffect)(() => {
- An("javBrowser", {
+ jn("javBrowser", {
enabled: e.enabled,
ready: e.providers.some((t) => t.key === e.provider && t.configured && t.target)
}), r(e), a((t) => e.providers.some((e) => e.key === t) ? t : e.provider), e.enabled || s("");
}, [e]);
let l = (e) => {
- c.run(e, (t) => G(_r, {
+ c.run(e, (t) => G(vr, {
action: e,
provider: i
}, "POST", t), (n) => {
@@ -178,7 +178,7 @@ function yr({ initial: e, receipt: t }) {
children: [/* @__PURE__ */ (0, Q.jsxs)(V, { children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex min-w-0 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, Q.jsx)(gr, {
+ /* @__PURE__ */ (0, Q.jsx)(_r, {
enabled: n.enabled,
release: n.userscript
}),
@@ -195,7 +195,7 @@ function yr({ initial: e, receipt: t }) {
children: n.providers.map((e) => /* @__PURE__ */ (0, Q.jsx)(z, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, Q.jsx)(Vt, {
+ children: /* @__PURE__ */ (0, Q.jsx)(Ht, {
source: e.key,
label: e.label
})
@@ -251,17 +251,17 @@ function yr({ initial: e, receipt: t }) {
});
}
// src/react/settings/download-settings.tsx
-var br = "/api/configuration/downloads", xr = "/api/configuration/downloads/check", Sr = "/api/configuration/downloads/folder", Cr = "/api/configuration/downloads/pikpak/login", wr = "/api/configuration/downloads/pikpak/logout", Tr = "/api/configuration/downloads/pikpak/browser-login", Er = 2e3, Dr = Dn("pikpak");
-function Or({ initial: e, receipt: t, panel: n, issues: r }) {
+var xr = "/api/configuration/downloads", Sr = "/api/configuration/downloads/check", Cr = "/api/configuration/downloads/folder", wr = "/api/configuration/downloads/pikpak/login", Tr = "/api/configuration/downloads/pikpak/logout", Er = "/api/configuration/downloads/pikpak/browser-login", Dr = 2e3, Or = On("pikpak");
+function kr({ initial: e, receipt: t, panel: n, issues: r }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
- ...pr(n),
- children: [r, e ? /* @__PURE__ */ (0, Q.jsx)(kr, {
+ ...mr(n),
+ children: [r, e ? /* @__PURE__ */ (0, Q.jsx)(Ar, {
initial: e,
receipt: t
}) : null]
});
}
-function kr({ initial: e, receipt: t }) {
+function Ar({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)("");
(0, Z.useEffect)(() => {
r((t) => ({
@@ -272,20 +272,20 @@ function kr({ initial: e, receipt: t }) {
}, [e.media_sources, e.pikpak_roots]);
let o = n.media_sources ?? [], s = o.includes("pikpak"), c = o.some((e) => Ye.includes(e)), l = s && (n.pikpak.logged_in || !!i.trim());
return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
- c ? /* @__PURE__ */ (0, Q.jsx)(Ar, {
+ c ? /* @__PURE__ */ (0, Q.jsx)(jr, {
state: n,
settle: r,
receipt: t,
pikpakAccount: l
}) : null,
- s ? /* @__PURE__ */ (0, Q.jsx)(Nr, {
+ s ? /* @__PURE__ */ (0, Q.jsx)(Pr, {
state: n,
settle: r,
receipt: t,
username: i,
setUsername: a
}) : null,
- /* @__PURE__ */ (0, Q.jsx)(vr, {
+ /* @__PURE__ */ (0, Q.jsx)(yr, {
receipt: t,
refreshKey: JSON.stringify([
n.media_sources,
@@ -296,8 +296,8 @@ function kr({ initial: e, receipt: t }) {
})
] });
}
-function Ar({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
- let [i, a] = (0, Z.useState)(e.config), [o, s] = (0, Z.useState)(""), [c, l] = (0, Z.useState)(String(e.config.wait_hours)), [u, d] = (0, Z.useState)(null), [f, p] = (0, Z.useState)(""), [m, h] = (0, Z.useState)(jr), [g, _] = (0, Z.useState)(""), [v, y] = (0, Z.useState)(!1), b = Y(), x = e.media_sources ?? [], S = x.includes("115"), C = x.includes("pikpak"), w = (e) => i.targets[e] ?? "", T = (e, t) => a({
+function jr({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
+ let [i, a] = (0, Z.useState)(e.config), [o, s] = (0, Z.useState)(""), [c, l] = (0, Z.useState)(String(e.config.wait_hours)), [u, d] = (0, Z.useState)(null), [f, p] = (0, Z.useState)(""), [m, h] = (0, Z.useState)(Mr), [g, _] = (0, Z.useState)(""), [v, y] = (0, Z.useState)(!1), b = Y(), x = e.media_sources ?? [], S = x.includes("115"), C = x.includes("pikpak"), w = (e) => i.targets[e] ?? "", T = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -326,7 +326,7 @@ function Ar({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- b.run("auto", (e) => W(xr, e), (e) => te(e, t), (e) => _(q(e)));
+ b.run("auto", (e) => W(Sr, e), (e) => te(e, t), (e) => _(q(e)));
}, []), /* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "download",
title: "云下载",
@@ -341,13 +341,13 @@ function Ar({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
token: o,
pikpak_account: r
};
- b.run("save", (e) => G(br, f, "POST", e), (e) => {
+ b.run("save", (e) => G(xr, f, "POST", e), (e) => {
let { report: r, ...i } = e;
t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? te(r, {
address: !i.config.clouddrive_address,
target: u,
root: !i.config.pikpak_root
- }, i.config.targets[115] ?? "") : (d(null), p(""), h(jr), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(Mr), y(!1), _("")), n("已保存配置");
}, (e) => _(q(e)));
},
children: [
@@ -381,7 +381,7 @@ function Ar({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: s
}),
S ? /* @__PURE__ */ (0, Q.jsx)(P, {
- label: /* @__PURE__ */ (0, Q.jsx)(Vt, {
+ label: /* @__PURE__ */ (0, Q.jsx)(Ht, {
source: "115",
label: "115 目标目录"
}),
@@ -396,7 +396,7 @@ function Ar({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: (e) => T("115", e)
}) : null,
C ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(P, {
- label: /* @__PURE__ */ (0, Q.jsx)(Vt, {
+ label: /* @__PURE__ */ (0, Q.jsx)(Ht, {
source: "pikpak",
label: "PikPak 目标目录"
}),
@@ -409,7 +409,7 @@ function Ar({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: (e) => T("pikpak", e)
}), /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, Q.jsx)(dt, { children: /* @__PURE__ */ (0, Q.jsx)(Vt, {
+ children: [/* @__PURE__ */ (0, Q.jsx)(dt, { children: /* @__PURE__ */ (0, Q.jsx)(Ht, {
source: "pikpak",
label: "PikPak 根目录对应的媒体目录"
}) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, Q.jsx)(R, {
@@ -442,7 +442,7 @@ function Ar({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
divided: !0,
children: /* @__PURE__ */ (0, Q.jsx)(vt, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, Q.jsx)(Mr, {
+ u ? /* @__PURE__ */ (0, Q.jsx)(Nr, {
report: u,
detected: f,
suggested: m,
@@ -454,7 +454,7 @@ function Ar({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("folder", (e) => G(Sr, t, "POST", e), (t) => {
+ b.run("folder", (e) => G(Cr, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -486,7 +486,7 @@ function Ar({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("check", (e) => G(xr, t, "POST", e), (t) => te(t, e), (e) => _(q(e)));
+ b.run("check", (e) => G(Sr, t, "POST", e), (t) => te(t, e), (e) => _(q(e)));
},
disabled: !e.available,
...K(b.busy === "check"),
@@ -501,12 +501,12 @@ function Ar({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var jr = {
+var Mr = {
target: null,
root: "",
saved: !1
};
-function Mr({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function Nr({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target, o = !!(t || a || n.root || e.permissions.length || e.folder || e.quota);
return !o && !e.problems.length ? null : /* @__PURE__ */ (0, Q.jsxs)(V, {
divided: !0,
@@ -516,14 +516,14 @@ function Mr({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: `探测到 ${t},保存配置后生效`
}) : null,
a?.exists ? /* @__PURE__ */ (0, Q.jsx)(j, {
- term: /* @__PURE__ */ (0, Q.jsx)(Vt, {
+ term: /* @__PURE__ */ (0, Q.jsx)(Ht, {
source: "115",
label: "115 目标目录"
}),
children: n.saved ? `已根据媒体库目录填入 ${a.path}` : `根据媒体库目录填入 ${a.path},保存配置后生效`
}) : null,
a && !a.exists ? /* @__PURE__ */ (0, Q.jsxs)(j, {
- term: /* @__PURE__ */ (0, Q.jsx)(Vt, {
+ term: /* @__PURE__ */ (0, Q.jsx)(Ht, {
source: "115",
label: "115 目标目录"
}),
@@ -536,7 +536,7 @@ function Mr({ report: e, detected: t, suggested: n, create: r, creating: i }) {
}) : null]
}) : null,
n.root ? /* @__PURE__ */ (0, Q.jsx)(j, {
- term: /* @__PURE__ */ (0, Q.jsx)(Vt, {
+ term: /* @__PURE__ */ (0, Q.jsx)(Ht, {
source: "pikpak",
label: "PikPak 根目录"
}),
@@ -559,7 +559,7 @@ function Mr({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`
}) : null,
e.quota ? /* @__PURE__ */ (0, Q.jsx)(j, {
- term: /* @__PURE__ */ (0, Q.jsx)(Vt, {
+ term: /* @__PURE__ */ (0, Q.jsx)(Ht, {
source: "115",
label: "115 离线配额"
}),
@@ -568,30 +568,30 @@ function Mr({ report: e, detected: t, suggested: n, create: r, creating: i }) {
] }) : null, e.problems.map((e) => /* @__PURE__ */ (0, Q.jsx)(k, { children: e }, e))]
});
}
-function Nr({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
+function Pr({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
let [a, o] = (0, Z.useState)(""), [s, c] = (0, Z.useState)(!1), [l, u] = (0, Z.useState)(""), [d, f] = (0, Z.useState)(""), [p, m] = (0, Z.useState)(""), h = Y(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
(0, Z.useEffect)(() => {
if (!v) return;
let e = new AbortController(), r, i = async () => {
try {
- let r = await W(Tr, e.signal);
+ let r = await W(Er, e.signal);
if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;
} catch (t) {
if (e.signal.aborted) return;
f(q(t));
}
- r = setTimeout(i, Er);
+ r = setTimeout(i, Dr);
};
- return r = setTimeout(i, Er), () => {
+ return r = setTimeout(i, Dr), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => G(Tr, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => G(Er, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(q(e)));
}, b = () => {
- h.run("cancel", (e) => G(`${Tr}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => G(`${Er}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(q(e)));
}, x = (e) => {
@@ -601,11 +601,11 @@ function Nr({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- h.run("login", (e) => G(Cr, i, "POST", e), (e) => {
+ h.run("login", (e) => G(wr, i, "POST", e), (e) => {
t(e.settings), f(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");
}, (e) => f(q(e)));
}, S = () => {
- h.run("logout", (e) => G(wr, {}, "POST", e), (e) => {
+ h.run("logout", (e) => G(Tr, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(q(e)));
}, C = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
@@ -655,7 +655,7 @@ function Nr({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
return /* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "pikpak",
title: "PikPak 账号",
- icon: /* @__PURE__ */ (0, Q.jsx)(Dr, {}),
+ icon: /* @__PURE__ */ (0, Q.jsx)(Or, {}),
onSubmit: x,
aside: /* @__PURE__ */ (0, Q.jsx)(H, {
tone: g.logged_in ? "success" : v ? "progress" : T ? "error" : "neutral",
@@ -706,42 +706,42 @@ function Nr({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
});
}
// src/react/settings/ledger-backup-settings.tsx
-var Pr = "/api/configuration/ledger-backups", Fr = 1500, Ir = (e) => (/* @__PURE__ */ new Date(e.modified_at * 1e3)).toLocaleString();
-function Lr(e) {
+var Fr = "/api/configuration/ledger-backups", Ir = 1500, Lr = (e) => (/* @__PURE__ */ new Date(e.modified_at * 1e3)).toLocaleString();
+function Rr(e) {
return [e.source === "manual" ? "手动" : `自动 · ${e.purpose}`, J(e.bytes)].join(" · ");
}
-function Rr({ job: e, label: t }) {
+function zr({ job: e, label: t }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- e.total ? /* @__PURE__ */ (0, Q.jsx)(jt, {
+ e.total ? /* @__PURE__ */ (0, Q.jsx)(Mt, {
label: t,
value: e.done || 0,
max: e.total
}) : /* @__PURE__ */ (0, Q.jsx)(vt, { label: t }),
/* @__PURE__ */ (0, Q.jsx)(N, { children: e.stage || t }),
- /* @__PURE__ */ (0, Q.jsx)(Wt, {})
+ /* @__PURE__ */ (0, Q.jsx)(Gt, {})
]
});
}
-function zr({ receipt: e }) {
+function Br({ receipt: e }) {
let [t, n] = (0, Z.useState)(null), [r, i] = (0, Z.useState)(""), a = Y(), o = t?.backup.status === "running", s = t?.restore.status === "running", c = o || s, l = (0, Z.useRef)({
backup: !1,
restore: !1
});
if ((0, Z.useEffect)(() => {
let e = new AbortController();
- return W(Pr, e.signal).then(n, (t) => {
+ return W(Fr, e.signal).then(n, (t) => {
e.signal.aborted || i(String(t?.message || t));
}), () => e.abort();
}, []), (0, Z.useEffect)(() => {
if (!c) return;
let e = new AbortController(), t = setTimeout(() => {
- W(Pr, e.signal).then(n, () => {
+ W(Fr, e.signal).then(n, () => {
e.signal.aborted || n((e) => e && { ...e });
});
- }, Fr);
+ }, Ir);
return () => {
e.abort(), clearTimeout(t);
};
@@ -756,13 +756,13 @@ function zr({ receipt: e }) {
title: "账本备份",
children: /* @__PURE__ */ (0, Q.jsx)(V, { children: r ? /* @__PURE__ */ (0, Q.jsx)(k, { children: r }) : /* @__PURE__ */ (0, Q.jsx)(vt, { label: "正在读取备份列表" }) })
});
- let u = () => void a.run("backup", (e) => G(`${Pr}/backup`, {}, "POST", e), n), d = (e) => void rn({
+ let u = () => void a.run("backup", (e) => G(`${Fr}/backup`, {}, "POST", e), n), d = (e) => void an({
title: "从备份恢复账本",
danger: !0,
- body: `将用 ${Ir(e)} 的备份(${Lr(e)})替换当前账本,此后的资料、观看记录与复核结论回到备份时的状态。替换前先把当前账本另存为一份备份;恢复期间不能启动新任务。`,
+ body: `将用 ${Lr(e)} 的备份(${Rr(e)})替换当前账本,此后的资料、观看记录与复核结论回到备份时的状态。替换前先把当前账本另存为一份备份;恢复期间不能启动新任务。`,
confirmLabel: "替换当前账本",
onConfirm: async () => {
- l.current.restore = !0, n(await G(`${Pr}/restore`, {
+ l.current.restore = !0, n(await G(`${Fr}/restore`, {
id: e.id,
confirm: !0
}));
@@ -776,11 +776,11 @@ function zr({ receipt: e }) {
/* @__PURE__ */ (0, Q.jsxs)(V, { children: [
/* @__PURE__ */ (0, Q.jsx)(N, { children: "账本保存全部资料、观看记录与复核结论。手动备份与写入前的自动备份放在一起,保留最近 5 份和 24 小时内的备份。" }),
t.writer ? null : /* @__PURE__ */ (0, Q.jsxs)(N, { children: ["这台电脑不是账本写入端,只能在写入端恢复:", t.writer_reason] }),
- o ? /* @__PURE__ */ (0, Q.jsx)(Rr, {
+ o ? /* @__PURE__ */ (0, Q.jsx)(zr, {
job: t.backup,
label: "备份进度"
}) : null,
- s ? /* @__PURE__ */ (0, Q.jsx)(Rr, {
+ s ? /* @__PURE__ */ (0, Q.jsx)(zr, {
job: t.restore,
label: "恢复进度"
}) : null,
@@ -792,8 +792,8 @@ function zr({ receipt: e }) {
className: "border-t border-separator-border",
"data-ledger-backups": "",
children: /* @__PURE__ */ (0, Q.jsx)(I, { children: t.backups.map((e) => /* @__PURE__ */ (0, Q.jsx)(B, {
- label: Ir(e),
- description: Lr(e),
+ label: Lr(e),
+ description: Rr(e),
children: /* @__PURE__ */ (0, Q.jsx)(E, {
variant: "secondary",
disabled: !t.writer || c,
@@ -815,7 +815,7 @@ function zr({ receipt: e }) {
});
}
// src/react/settings/library-sharing-settings.tsx
-function Br({ initial: e, receipt: t }) {
+function Vr({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(null), [o, s] = (0, Z.useState)(!1), [c, l] = (0, Z.useState)(!1), u = (0, Z.useMemo)(() => i ? JSON.stringify(i.data, null, 2) : "", [i]), d = Y(), f = (e) => void d.run("save", (t) => G("/api/configuration/library-sharing", {
enabled: e,
schema: n.schema,
@@ -892,7 +892,7 @@ function Br({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, Q.jsx)(O, {
summary: "上传数据预览",
defaultOpen: !0,
- children: /* @__PURE__ */ (0, Q.jsx)(Zn, {
+ children: /* @__PURE__ */ (0, Q.jsx)(Qn, {
code: u,
language: "json",
label: "馆藏与口味上传预览",
@@ -945,7 +945,7 @@ function Br({ initial: e, receipt: t }) {
] });
}
// src/react/settings/remote-reporting-settings.tsx
-function Vr({ value: e, onChange: t, busy: n = !1 }) {
+function Hr({ value: e, onChange: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(I, { children: /* @__PURE__ */ (0, Q.jsx)(B, {
label: "发送版本统计与错误诊断(推荐)",
description: "上传版本、系统信息、故障类型、代码位置与发生次数。",
@@ -967,9 +967,9 @@ function Vr({ value: e, onChange: t, busy: n = !1 }) {
})
})] });
}
-function Hr({ initial: e, receipt: t }) {
+function Ur({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), i = Y();
- return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Vr, {
+ return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Hr, {
value: n,
busy: i.busy === "save",
onChange: (e) => {
@@ -986,16 +986,16 @@ function Hr({ initial: e, receipt: t }) {
}) : null] });
}
// src/react/components/animated-number.tsx
-var Ur = .6;
-function Wr({ value: e, format: t = (e) => Math.round(e).toLocaleString(), className: n }) {
- let r = Wn(), [i, a] = (0, Z.useState)(e), o = (0, Z.useRef)(e);
+var Wr = .6;
+function Gr({ value: e, format: t = (e) => Math.round(e).toLocaleString(), className: n }) {
+ let r = Gn(), [i, a] = (0, Z.useState)(e), o = (0, Z.useRef)(e);
return (0, Z.useEffect)(() => {
if (r || o.current === e) {
o.current = e, a(e);
return;
}
- let t = Xt(o.current, e, {
- duration: Ur,
+ let t = Zt(o.current, e, {
+ duration: Wr,
ease: "easeOut",
onUpdate: (e) => {
o.current = e, a(e);
@@ -1008,7 +1008,7 @@ function Wr({ value: e, format: t = (e) => Math.round(e).toLocaleString(), class
});
}
// node_modules/recharts/es6/state/selectors/pieSelectors.js
-function Gr(e, t) {
+function Kr(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -1018,30 +1018,30 @@ function Gr(e, t) {
}
return n;
}
-function Kr(e) {
+function qr(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Gr(Object(n), !0).forEach(function(t) {
- qr(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Gr(Object(n)).forEach(function(t) {
+ t % 2 ? Kr(Object(n), !0).forEach(function(t) {
+ Jr(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Kr(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qr(e, t, n) {
- return (t = Jr(t)) in e ? Object.defineProperty(e, t, {
+function Jr(e, t, n) {
+ return (t = Yr(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Jr(e) {
- var t = Yr(e, "string");
+function Yr(e) {
+ var t = Xr(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Yr(e, t) {
+function Xr(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -1051,20 +1051,20 @@ function Yr(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Xr = oe([De, (e, t) => t], (e, t) => e.filter((e) => e.type === "pie").find((e) => e.id === t)), Zr = [], Qr = (e, t, n) => n?.length === 0 ? Zr : n, $r = oe([
+var Zr = oe([De, (e, t) => t], (e, t) => e.filter((e) => e.type === "pie").find((e) => e.id === t)), Qr = [], $r = (e, t, n) => n?.length === 0 ? Qr : n, ei = oe([
Te,
- Xr,
- Qr
+ Zr,
+ $r
], (e, t, n) => {
var r = e.chartData;
if (t != null) {
var i = t?.data != null && t.data.length > 0 ? t.data : r;
- if (i && i.length || n == null || (i = n.map((e) => Kr(Kr({}, t.presentationProps), e.props))), i != null) return i;
+ if (i && i.length || n == null || (i = n.map((e) => qr(qr({}, t.presentationProps), e.props))), i != null) return i;
}
-}), ei = oe([
- $r,
- Xr,
- Qr
+}), ti = oe([
+ ei,
+ Zr,
+ $r
], (e, t, n) => {
if (e != null && t != null) return e.map((e, r) => {
var i, a = he(e, t.nameKey, t.name), o = n != null && (i = n[r]) != null && (i = i.props) != null && i.fill ? n[r].props.fill : typeof e == "object" && e && "fill" in e ? e.fill : t.fill;
@@ -1076,42 +1076,42 @@ var Xr = oe([De, (e, t) => t], (e, t) => e.filter((e) => e.type === "pie").find(
type: t.legendType
};
});
-}), ti = oe([
+}), ni = oe([
+ ei,
+ Zr,
$r,
- Xr,
- Qr,
Ee
], (e, t, n, r) => {
- if (t != null && e != null) return Ei({
+ if (t != null && e != null) return Di({
offset: r,
pieSettings: t,
displayedData: e,
cells: n
});
-}), ni = ["key"], ri = [
+}), ri = ["key"], ii = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], ii = ["id"], ai = ["id"];
-function oi() {
- return oi = Object.assign ? Object.assign.bind() : function(e) {
+], ai = ["id"], oi = ["id"];
+function si() {
+ return si = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, oi.apply(null, arguments);
+ }, si.apply(null, arguments);
}
-function si(e, t) {
+function ci(e, t) {
if (e == null) return {};
- var n, r, i = ci(e, t);
+ var n, r, i = li(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ci(e, t) {
+function li(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -1120,7 +1120,7 @@ function ci(e, t) {
}
return n;
}
-function li(e, t) {
+function ui(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -1133,27 +1133,27 @@ function li(e, t) {
function $(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? li(Object(n), !0).forEach(function(t) {
- ui(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : li(Object(n)).forEach(function(t) {
+ t % 2 ? ui(Object(n), !0).forEach(function(t) {
+ di(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ui(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ui(e, t, n) {
- return (t = di(t)) in e ? Object.defineProperty(e, t, {
+function di(e, t, n) {
+ return (t = fi(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function di(e) {
- var t = fi(e, "string");
+function fi(e) {
+ var t = pi(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fi(e, t) {
+function pi(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -1163,12 +1163,12 @@ function fi(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var pi = S;
-function mi(e) {
- var n = (0, Z.useMemo)(() => ce(e.children, t), [e.children]), r = Me((t) => ei(t, e.id, n));
+var mi = S;
+function hi(e) {
+ var n = (0, Z.useMemo)(() => ce(e.children, t), [e.children]), r = Me((t) => ti(t, e.id, n));
return r == null ? null : /*#__PURE__*/ Z.createElement(w, { legendPayload: r });
}
-function hi(e) {
+function gi(e) {
if (e != null && typeof e != "boolean" && typeof e != "function") {
if (/*#__PURE__*/ Z.isValidElement(e)) {
var t = e.props?.fill;
@@ -1178,8 +1178,8 @@ function hi(e) {
return typeof n == "string" ? n : void 0;
}
}
-var gi = /*#__PURE__*/ Z.memo((e) => {
- var t = e.dataKey, n = e.nameKey, r = e.sectors, i = e.stroke, a = e.strokeWidth, o = e.fill, s = e.name, c = e.hide, l = e.tooltipType, u = e.formatter, d = e.id, f = e.activeShape, p = hi(f), m = {
+var _i = /*#__PURE__*/ Z.memo((e) => {
+ var t = e.dataKey, n = e.nameKey, r = e.sectors, i = e.stroke, a = e.strokeWidth, o = e.fill, s = e.name, c = e.hide, l = e.tooltipType, u = e.formatter, d = e.id, f = e.activeShape, p = gi(f), m = {
dataDefinedOnItem: r.map((e) => {
var t = e.tooltipPayload;
return p == null || t == null ? t : t.map((e) => $($({}, e), {}, {
@@ -1204,42 +1204,42 @@ var gi = /*#__PURE__*/ Z.memo((e) => {
}
};
return /*#__PURE__*/ Z.createElement(T, { tooltipEntrySettings: m });
-}), _i = (e, t) => e > t ? "start" : e < t ? "end" : "middle", vi = (e, t, n) => pe(typeof t == "function" ? t(e) : t, n, n * .8), yi = (e, t, n) => {
+}), vi = (e, t) => e > t ? "start" : e < t ? "end" : "middle", yi = (e, t, n) => pe(typeof t == "function" ? t(e) : t, n, n * .8), bi = (e, t, n) => {
var r = t.top, i = t.left, a = t.width, o = t.height, s = fe(a, o);
return {
cx: i + pe(e.cx, a, a / 2),
cy: r + pe(e.cy, o, o / 2),
innerRadius: pe(e.innerRadius, s, 0),
- outerRadius: vi(n, e.outerRadius, s),
+ outerRadius: yi(n, e.outerRadius, s),
maxRadius: e.maxRadius || Math.sqrt(a * a + o * o) / 2
};
-}, bi = (e, t) => ye(t - e) * Math.min(Math.abs(t - e), 360), xi = (e, t) => {
+}, xi = (e, t) => ye(t - e) * Math.min(Math.abs(t - e), 360), Si = (e, t) => {
if (/*#__PURE__*/ Z.isValidElement(e)) return /*#__PURE__*/ Z.cloneElement(e, t);
if (typeof e == "function") return e(t);
- var n = tn("recharts-pie-label-line", typeof e == "boolean" ? "" : e.className);
+ var n = nn("recharts-pie-label-line", typeof e == "boolean" ? "" : e.className);
t.key;
- var r = si(t, ni);
- return /*#__PURE__*/ Z.createElement(l, oi({}, r, {
+ var r = ci(t, ri);
+ return /*#__PURE__*/ Z.createElement(l, si({}, r, {
type: "linear",
className: n
}));
-}, Si = (e, t, n) => {
+}, Ci = (e, t, n) => {
if (/*#__PURE__*/ Z.isValidElement(e)) return /*#__PURE__*/ Z.cloneElement(e, t);
var r = n;
if (typeof e == "function" && (r = e(t), /*#__PURE__*/ Z.isValidElement(r))) return r;
- var i = tn("recharts-pie-label-text", ue(e));
- return /*#__PURE__*/ Z.createElement(ne, oi({}, t, {
+ var i = nn("recharts-pie-label-text", ue(e));
+ return /*#__PURE__*/ Z.createElement(ne, si({}, t, {
alignmentBaseline: "middle",
className: i
}), r);
};
-function Ci(e) {
+function wi(e) {
var t = e.sectors, n = e.props, r = e.showLabels, i = n.label, a = n.labelLine, o = n.dataKey;
if (!r || !i || !t) return null;
var s = Oe(n), c = ke(i), l = ke(a), u = typeof i == "object" && "offsetRadius" in i && typeof i.offsetRadius == "number" && i.offsetRadius || 20, d = t.map((e, t) => {
var n = (e.startAngle + e.endAngle) / 2, r = be(e.cx, e.cy, e.outerRadius + u, n), d = $($($($({}, s), e), {}, { stroke: "none" }, c), {}, {
index: t,
- textAnchor: _i(r.x, e.cx)
+ textAnchor: vi(r.x, e.cx)
}, r), p = $($($($({}, s), e), {}, {
fill: "none",
stroke: e.fill
@@ -1251,20 +1251,20 @@ function Ci(e) {
return /*#__PURE__*/ Z.createElement(re, {
zIndex: f.label,
key: `label-${e.startAngle}-${e.endAngle}-${e.midAngle}-${t}`
- }, /*#__PURE__*/ Z.createElement(g, null, a && xi(a, p), Si(i, d, he(e, o))));
+ }, /*#__PURE__*/ Z.createElement(g, null, a && Si(a, p), Ci(i, d, he(e, o))));
});
return /*#__PURE__*/ Z.createElement(g, { className: "recharts-pie-labels" }, d);
}
-function wi(e) {
+function Ti(e) {
var t = e.sectors, n = e.props, r = e.showLabels, i = n.label;
- return typeof i == "object" && i && "position" in i ? /*#__PURE__*/ Z.createElement(h, { label: i }) : /*#__PURE__*/ Z.createElement(Ci, {
+ return typeof i == "object" && i && "position" in i ? /*#__PURE__*/ Z.createElement(h, { label: i }) : /*#__PURE__*/ Z.createElement(wi, {
sectors: t,
props: n,
showLabels: r
});
}
-function Ti(e) {
- var t = e.sectors, n = e.activeShape, r = e.inactiveShape, i = e.allOtherPieProps, a = e.shape, o = e.id, s = e.animationElapsedTime, c = e.isAnimating, l = e.isEntrance, f = Me(we), p = Me(Se), m = Me(Ce), h = i.onMouseEnter, _ = i.onClick, v = i.onMouseLeave, y = si(i, ri), b = Pe(h, i.dataKey, o), x = Fe(v), S = Ne(_, i.dataKey, o);
+function Ei(e) {
+ var t = e.sectors, n = e.activeShape, r = e.inactiveShape, i = e.allOtherPieProps, a = e.shape, o = e.id, s = e.animationElapsedTime, c = e.isAnimating, l = e.isEntrance, f = Me(we), p = Me(Se), m = Me(Ce), h = i.onMouseEnter, _ = i.onClick, v = i.onMouseLeave, y = ci(i, ii), b = Pe(h, i.dataKey, o), x = Fe(v), S = Ne(_, i.dataKey, o);
return t == null || t.length === 0 ? null : /*#__PURE__*/ Z.createElement(Z.Fragment, null, t.map((e, h) => {
if (e?.startAngle === 0 && e?.endAngle === 0 && t.length !== 1) return null;
var _ = m == null || m === o, v = String(h) === f && (p == null || i.dataKey === p) && _, C = n && v ? n : f ? r : null, w = $($({}, e), {}, {
@@ -1278,7 +1278,7 @@ function Ti(e) {
[d]: h,
[u]: o
});
- return /*#__PURE__*/ Z.createElement(g, oi({
+ return /*#__PURE__*/ Z.createElement(g, si({
key: `sector-${e?.startAngle}-${e?.endAngle}-${e.midAngle}-${h}`,
tabIndex: -1,
className: "recharts-pie-sector"
@@ -1288,13 +1288,13 @@ function Ti(e) {
onClick: S(e, h)
}), /*#__PURE__*/ Z.createElement(ee, {
option: C ?? a,
- DefaultShape: pi,
+ DefaultShape: mi,
shapeProps: w
}));
}));
}
-function Ei(e) {
- var t = e.pieSettings, n = e.displayedData, r = e.cells, i = e.offset, a = t.cornerRadius, o = t.startAngle, s = t.endAngle, c = t.dataKey, l = t.nameKey, u = t.tooltipType, d = Math.abs(t.minAngle), f = bi(o, s), p = Math.abs(f), m = n.length <= 1 ? 0 : t.paddingAngle ?? 0, h = n.filter((e) => he(e, c, 0) !== 0).length, g = (p >= 360 ? h : h - 1) * m, _ = n.reduce((e, t) => {
+function Di(e) {
+ var t = e.pieSettings, n = e.displayedData, r = e.cells, i = e.offset, a = t.cornerRadius, o = t.startAngle, s = t.endAngle, c = t.dataKey, l = t.nameKey, u = t.tooltipType, d = Math.abs(t.minAngle), f = xi(o, s), p = Math.abs(f), m = n.length <= 1 ? 0 : t.paddingAngle ?? 0, h = n.filter((e) => he(e, c, 0) !== 0).length, g = (p >= 360 ? h : h - 1) * m, _ = n.reduce((e, t) => {
var n = he(t, c, 0);
return e + (_e(n) ? n : 0);
}, 0), v = d > 0 && _ > 0 && n.some((e) => {
@@ -1304,7 +1304,7 @@ function Ei(e) {
if (_ > 0) {
var x;
b = n.map((e, n) => {
- var s = he(e, c, 0), d = he(e, l, n), p = yi(t, i, e), h = (_e(s) ? s : 0) / _, g, b = $($({}, e), r && r[n] && r[n].props), S = b != null && "fill" in b && typeof b.fill == "string" ? b.fill : t.fill;
+ var s = he(e, c, 0), d = he(e, l, n), p = bi(t, i, e), h = (_e(s) ? s : 0) / _, g, b = $($({}, e), r && r[n] && r[n].props), S = b != null && "fill" in b && typeof b.fill == "string" ? b.fill : t.fill;
g = n ? x.endAngle + ye(f) * m * (s === 0 ? 0 : 1) : o;
var C = g + ye(f) * ((s === 0 ? 0 : v) + h * y), w = (g + C) / 2, T = (p.innerRadius + p.outerRadius) / 2, ee = [{
name: d,
@@ -1336,7 +1336,7 @@ function Ei(e) {
}
return b;
}
-function Di(e) {
+function Oi(e) {
var t = e.showLabels, n = e.sectors, r = e.children, i = (0, Z.useMemo)(() => !t || !n ? [] : n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -1355,7 +1355,7 @@ function Di(e) {
})), [n, t]);
return /*#__PURE__*/ Z.createElement(b, { value: t ? i : void 0 }, r);
}
-var Oi = (e, t) => {
+var ki = (e, t) => {
if (e == null) return [];
var n = [], r = e.find((e) => e.status !== "removed"), i = r ? r.next.startAngle : 0;
return e.forEach((e, r) => {
@@ -1377,11 +1377,11 @@ var Oi = (e, t) => {
}
}), n;
};
-function ki(t) {
+function Ai(t) {
var n = t.props, r = t.previousSectorsRef, i = t.id, a = n.sectors, o = n.activeShape, s = n.inactiveShape, c = n.animationInterpolateFn, l = je(n.onAnimationStart, n.onAnimationEnd), u = l.isAnimating, d = l.handleAnimationStart, f = l.handleAnimationEnd, p = Ie();
if (p == null) return null;
var m = a[0];
- return /*#__PURE__*/ Z.createElement(Di, {
+ return /*#__PURE__*/ Z.createElement(Oi, {
showLabels: !u,
sectors: a
}, /*#__PURE__*/ Z.createElement(e, {
@@ -1398,7 +1398,7 @@ function ki(t) {
animationInterpolateFn: c,
animationMatchBy: n.animationMatchBy,
layout: p
- }, (e, t, r) => /*#__PURE__*/ Z.createElement(g, null, /*#__PURE__*/ Z.createElement(Ti, {
+ }, (e, t, r) => /*#__PURE__*/ Z.createElement(g, null, /*#__PURE__*/ Z.createElement(Ei, {
sectors: e,
activeShape: o,
inactiveShape: s,
@@ -1408,7 +1408,7 @@ function ki(t) {
animationElapsedTime: t,
isAnimating: u || t < 1,
isEntrance: r
- }))), /*#__PURE__*/ Z.createElement(wi, {
+ }))), /*#__PURE__*/ Z.createElement(Ti, {
showLabels: !u,
sectors: a,
props: n
@@ -1422,11 +1422,11 @@ function ki(t) {
clockWise: !1
}, n.children));
}
-var Ai = {
+var ji = {
animationBegin: 400,
animationDuration: 1500,
animationEasing: "ease",
- animationInterpolateFn: Oi,
+ animationInterpolateFn: ki,
animationMatchBy: ve,
cx: "50%",
cy: "50%",
@@ -1444,17 +1444,17 @@ var Ai = {
outerRadius: "80%",
paddingAngle: 0,
rootTabIndex: 0,
- shape: pi,
+ shape: mi,
startAngle: 0,
stroke: "#fff",
zIndex: f.area
};
-function ji(e) {
- var n = e.id, r = si(e, ii), i = e.hide, a = e.className, o = e.rootTabIndex, s = (0, Z.useMemo)(() => ce(e.children, t), [e.children]), c = Me((e) => ti(e, n, s)), l = (0, Z.useRef)(null), u = tn("recharts-pie", a);
+function Mi(e) {
+ var n = e.id, r = ci(e, ai), i = e.hide, a = e.className, o = e.rootTabIndex, s = (0, Z.useMemo)(() => ce(e.children, t), [e.children]), c = Me((e) => ni(e, n, s)), l = (0, Z.useRef)(null), u = nn("recharts-pie", a);
return i || c == null ? (l.current = null, /*#__PURE__*/ Z.createElement(g, {
tabIndex: o,
className: u
- })) : /*#__PURE__*/ Z.createElement(re, { zIndex: e.zIndex }, /*#__PURE__*/ Z.createElement(gi, {
+ })) : /*#__PURE__*/ Z.createElement(re, { zIndex: e.zIndex }, /*#__PURE__*/ Z.createElement(_i, {
dataKey: e.dataKey,
nameKey: e.nameKey,
sectors: c,
@@ -1470,14 +1470,14 @@ function ji(e) {
}), /*#__PURE__*/ Z.createElement(g, {
tabIndex: o,
className: u
- }, /*#__PURE__*/ Z.createElement(ki, {
+ }, /*#__PURE__*/ Z.createElement(Ai, {
props: $($({}, r), {}, { sectors: c }),
previousSectorsRef: l,
id: n
})));
}
-function Mi(e) {
- var t = xe(e, Ai), n = t.id, r = si(t, ai), i = Oe(r);
+function Ni(e) {
+ var t = xe(e, ji), n = t.id, r = ci(t, oi), i = Oe(r);
return /*#__PURE__*/ Z.createElement(x, {
id: n,
type: "pie"
@@ -1505,12 +1505,12 @@ function Mi(e) {
cornerRadius: r.cornerRadius,
presentationProps: i,
maxRadius: t.maxRadius
- }), /*#__PURE__*/ Z.createElement(mi, oi({}, r, { id: e })), /*#__PURE__*/ Z.createElement(ji, oi({}, r, { id: e }))));
+ }), /*#__PURE__*/ Z.createElement(hi, si({}, r, { id: e })), /*#__PURE__*/ Z.createElement(Mi, si({}, r, { id: e }))));
}
-var Ni = Mi;
-Ni.displayName = "Pie";
+var Pi = Ni;
+Pi.displayName = "Pie";
// node_modules/recharts/es6/chart/PieChart.js
-function Pi(e, t) {
+function Fi(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -1520,30 +1520,30 @@ function Pi(e, t) {
}
return n;
}
-function Fi(e) {
+function Ii(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Pi(Object(n), !0).forEach(function(t) {
- Ii(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Pi(Object(n)).forEach(function(t) {
+ t % 2 ? Fi(Object(n), !0).forEach(function(t) {
+ Li(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Fi(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ii(e, t, n) {
- return (t = Li(t)) in e ? Object.defineProperty(e, t, {
+function Li(e, t, n) {
+ return (t = Ri(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Li(e) {
- var t = Ri(e, "string");
+function Ri(e) {
+ var t = zi(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ri(e, t) {
+function zi(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -1553,27 +1553,27 @@ function Ri(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var zi = ["item"], Bi = Fi(Fi({}, se), {}, {
+var Bi = ["item"], Vi = Ii(Ii({}, se), {}, {
layout: "centric",
startAngle: 0,
endAngle: 360
-}), Vi = /*#__PURE__*/ (0, Z.forwardRef)((e, t) => {
- var n = xe(e, Bi);
+}), Hi = /*#__PURE__*/ (0, Z.forwardRef)((e, t) => {
+ var n = xe(e, Vi);
return /*#__PURE__*/ Z.createElement(v, {
chartName: "PieChart",
defaultTooltipEventType: "item",
- validateTooltipEventTypes: zi,
+ validateTooltipEventTypes: Bi,
tooltipPayloadSearcher: ae,
categoricalChartProps: n,
ref: t
});
-}), Hi = 5, Ui = 2e3, Wi = 0, Gi = "80%", Ki = 0, qi = 0, Ji = 0, Yi = 360, Xi = [], Zi = (0, Z.createContext)(null);
-function Qi() {
- let e = (0, Z.use)(Zi);
+}), Ui = 5, Wi = 2e3, Gi = 0, Ki = "80%", qi = 0, Ji = 0, Yi = 0, Xi = 360, Zi = [], Qi = (0, Z.createContext)(null);
+function $i() {
+ let e = (0, Z.use)(Qi);
if (!e) throw Error("Pie chart parts (<Pie />, <Tooltip />, …) must be used within <EvilPieChart />");
return e;
}
-function $i({ config: e, data: t, dataKey: n, nameKey: i, children: a, className: o, chartProps: s, defaultSelectedSector: c = null, onSelectionChange: l, isLoading: u = !1 }) {
+function ea({ config: e, data: t, dataKey: n, nameKey: i, children: a, className: o, chartProps: s, defaultSelectedSector: c = null, onSelectionChange: l, isLoading: u = !1 }) {
let [d, f] = (0, Z.useState)(c), p = (0, Z.useCallback)((e) => {
if (f(e), e === null) {
l?.(null);
@@ -1606,12 +1606,12 @@ function $i({ config: e, data: t, dataKey: n, nameKey: i, children: a, className
d,
p
]);
- return /* @__PURE__ */ (0, Q.jsx)(Zi, {
+ return /* @__PURE__ */ (0, Q.jsx)(Qi, {
value: m,
children: /* @__PURE__ */ (0, Q.jsxs)(r, {
className: o,
config: e,
- children: [/* @__PURE__ */ (0, Q.jsx)(_, { isLoading: u }), /* @__PURE__ */ (0, Q.jsx)(Vi, {
+ children: [/* @__PURE__ */ (0, Q.jsx)(_, { isLoading: u }), /* @__PURE__ */ (0, Q.jsx)(Hi, {
id: "evil-charts-pie-chart",
accessibilityLayer: !0,
...s,
@@ -1620,10 +1620,10 @@ function $i({ config: e, data: t, dataKey: n, nameKey: i, children: a, className
})
});
}
-function ea({ variant: e = "gradient", innerRadius: t = Wi, outerRadius: n = Gi, cornerRadius: r = Ki, paddingAngle: i = qi, startAngle: a = Ji, endAngle: o = Yi, isClickable: s = !1, glowingSectors: c = Xi, children: l, pieProps: u }) {
- let { config: d, data: f, dataKey: p, nameKey: m, isLoading: h, selectedSector: g, selectSector: _ } = Qi(), v = (0, Z.useId)().replace(/:/g, "");
- if (h) return /* @__PURE__ */ (0, Q.jsx)(Ni, {
- data: ca,
+function ta({ variant: e = "gradient", innerRadius: t = Gi, outerRadius: n = Ki, cornerRadius: r = qi, paddingAngle: i = Ji, startAngle: a = Yi, endAngle: o = Xi, isClickable: s = !1, glowingSectors: c = Zi, children: l, pieProps: u }) {
+ let { config: d, data: f, dataKey: p, nameKey: m, isLoading: h, selectedSector: g, selectSector: _ } = $i(), v = (0, Z.useId)().replace(/:/g, "");
+ if (h) return /* @__PURE__ */ (0, Q.jsx)(Pi, {
+ data: la,
dataKey: "value",
nameKey: "name",
innerRadius: t,
@@ -1634,13 +1634,13 @@ function ea({ variant: e = "gradient", innerRadius: t = Wi, outerRadius: n = Gi,
endAngle: o,
strokeWidth: 0,
isAnimationActive: !1,
- shape: (e) => /* @__PURE__ */ (0, Q.jsx)(la, { ...e })
+ shape: (e) => /* @__PURE__ */ (0, Q.jsx)(ua, { ...e })
});
- let y = aa(l, p), b = f.map((e) => ({
+ let y = oa(l, p), b = f.map((e) => ({
...e,
fill: `url(#${v}-colors-${e[m]})`
}));
- return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Ni, {
+ return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Pi, {
data: b,
dataKey: p,
nameKey: m,
@@ -1672,18 +1672,18 @@ function ea({ variant: e = "gradient", innerRadius: t = Wi, outerRadius: n = Gi,
},
...u,
children: y
- }), /* @__PURE__ */ (0, Q.jsxs)("defs", { children: [/* @__PURE__ */ (0, Q.jsx)(oa, {
+ }), /* @__PURE__ */ (0, Q.jsxs)("defs", { children: [/* @__PURE__ */ (0, Q.jsx)(sa, {
id: v,
config: d,
variant: e
- }), c.length > 0 && /* @__PURE__ */ (0, Q.jsx)(sa, {
+ }), c.length > 0 && /* @__PURE__ */ (0, Q.jsx)(ca, {
id: v,
glowingSectors: c
})] })] });
}
-var ta = () => null;
-function na({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, nameKey: i } = Qi();
+var na = () => null;
+function ra({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, nameKey: i } = $i();
return r ? null : /* @__PURE__ */ (0, Q.jsx)(s, {
defaultIndex: n,
content: /* @__PURE__ */ (0, Q.jsx)(c, {
@@ -1694,8 +1694,8 @@ function na({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function ra({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { nameKey: o, selectedSector: s, selectSector: c } = Qi();
+function ia({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { nameKey: o, selectedSector: s, selectSector: c } = $i();
return /* @__PURE__ */ (0, Q.jsx)(i, {
verticalAlign: n,
align: t,
@@ -1708,13 +1708,13 @@ function ra({ variant: e, align: t = "center", verticalAlign: n = "bottom", isCl
})
});
}
-function ia({ variant: e = "dots" }) {
+function aa({ variant: e = "dots" }) {
return /* @__PURE__ */ (0, Q.jsx)(n, { variant: e });
}
-var aa = (e, t) => {
+var oa = (e, t) => {
let n = null;
return Z.Children.forEach(e, (e) => {
- if (!(0, Z.isValidElement)(e) || e.type !== ta) return;
+ if (!(0, Z.isValidElement)(e) || e.type !== na) return;
let { dataKey: r, labelListProps: i } = e.props;
n = /* @__PURE__ */ (0, Q.jsx)(m, {
dataKey: r ?? t,
@@ -1726,7 +1726,7 @@ var aa = (e, t) => {
...i
});
}), n;
-}, oa = ({ id: e, config: t }) => /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: Object.entries(t).map(([t, n]) => {
+}, sa = ({ id: e, config: t }) => /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: Object.entries(t).map(([t, n]) => {
let r = de(n);
return /* @__PURE__ */ (0, Q.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -1748,7 +1748,7 @@ var aa = (e, t) => {
}, i);
})
}, `${e}-colors-${t}`);
-}) }), sa = ({ id: e, glowingSectors: t }) => /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: t.map((t) => /* @__PURE__ */ (0, Q.jsxs)("filter", {
+}) }), ca = ({ id: e, glowingSectors: t }) => /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: t.map((t) => /* @__PURE__ */ (0, Q.jsxs)("filter", {
id: `${e}-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -1768,12 +1768,12 @@ var aa = (e, t) => {
}),
/* @__PURE__ */ (0, Q.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, Q.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, Q.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}, `${e}-glow-${t}`)) }), ca = Array.from({ length: Hi }, (e, t) => ({
+}, `${e}-glow-${t}`)) }), la = Array.from({ length: Ui }, (e, t) => ({
name: `loading${t}`,
- value: 100 / Hi
-})), la = (e) => {
- let { index: t = 0, ...n } = e, r = t / Hi * (Ui / 1e3);
- return /* @__PURE__ */ (0, Q.jsx)(Sn.g, {
+ value: 100 / Ui
+})), ua = (e) => {
+ let { index: t = 0, ...n } = e, r = t / Ui * (Wi / 1e3);
+ return /* @__PURE__ */ (0, Q.jsx)(Cn.g, {
initial: { opacity: .15 },
animate: { opacity: [
.15,
@@ -1781,7 +1781,7 @@ var aa = (e, t) => {
.15
] },
transition: {
- duration: Ui / 1e3,
+ duration: Wi / 1e3,
delay: r,
repeat: Infinity,
ease: "easeInOut"
@@ -1792,9 +1792,9 @@ var aa = (e, t) => {
})
});
};
-$i.Pie = ea, $i.Label = ta, $i.Tooltip = na, $i.Legend = ra, $i.Background = ia;
+ea.Pie = ta, ea.Label = na, ea.Tooltip = ra, ea.Legend = ia, ea.Background = aa;
// src/react/settings/storage-charts.tsx
-var ua = {
+var da = {
database: "var(--color-chart-1)",
backups: "var(--color-chart-2)",
playback: "var(--color-chart-3)",
@@ -1804,7 +1804,7 @@ var ua = {
sources: "var(--color-chart-7)",
records: "var(--color-chart-8)",
tools: "var(--color-chart-9)"
-}, da = "var(--color-text-tertiary)", fa = {
+}, fa = "var(--color-text-tertiary)", pa = {
database: "bg-chart-1",
backups: "bg-chart-2",
playback: "bg-chart-3",
@@ -1814,23 +1814,23 @@ var ua = {
sources: "bg-chart-7",
records: "bg-chart-8",
tools: "bg-chart-9"
-}, pa = (e) => J(e);
-function ma(e) {
- let t = e.filter((e) => ua[e.key] && e.bytes > 0).map((e) => ({
+}, ma = (e) => J(e);
+function ha(e) {
+ let t = e.filter((e) => da[e.key] && e.bytes > 0).map((e) => ({
key: e.key,
label: e.label,
bytes: e.bytes,
- color: ua[e.key]
- })), n = e.filter((e) => !ua[e.key]).reduce((e, t) => e + t.bytes, 0);
+ color: da[e.key]
+ })), n = e.filter((e) => !da[e.key]).reduce((e, t) => e + t.bytes, 0);
return n > 0 ? [...t, {
key: "rest",
label: "其余",
bytes: n,
- color: da
+ color: fa
}] : t;
}
-function ha({ storage: e }) {
- let t = e.usage, n = ma(t.categories), r = Object.fromEntries(n.map((e) => [e.key, {
+function ga({ storage: e }) {
+ let t = e.usage, n = ha(t.categories), r = Object.fromEntries(n.map((e) => [e.key, {
label: e.label,
colors: Ae(e.color)
}])), i = n.map((e) => ({
@@ -1842,14 +1842,14 @@ function ha({ storage: e }) {
children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
className: "relative mx-auto size-48 flex-none",
role: "img",
- "aria-label": `数据目录共 ${pa(t.total_bytes)},各类占比`,
- children: [/* @__PURE__ */ (0, Q.jsxs)($i, {
+ "aria-label": `数据目录共 ${ma(t.total_bytes)},各类占比`,
+ children: [/* @__PURE__ */ (0, Q.jsxs)(ea, {
data: i,
dataKey: "value",
nameKey: "slice",
config: r,
className: "aspect-square size-48 flex-none",
- children: [/* @__PURE__ */ (0, Q.jsx)($i.Pie, {
+ children: [/* @__PURE__ */ (0, Q.jsx)(ea.Pie, {
innerRadius: "68%",
outerRadius: "100%",
paddingAngle: 1,
@@ -1857,13 +1857,13 @@ function ha({ storage: e }) {
}), /* @__PURE__ */ (0, Q.jsx)(o, {
nameKey: "slice",
hideLabel: !0,
- format: pa
+ format: ma
})]
}), /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "pointer-events-none absolute inset-0 flex flex-col items-center justify-center",
children: [/* @__PURE__ */ (0, Q.jsx)("b", {
className: "text-title-2-medium tabular-nums text-text-primary",
- children: pa(t.total_bytes)
+ children: ma(t.total_bytes)
}), /* @__PURE__ */ (0, Q.jsxs)("small", {
className: "text-caption-1-regular tabular-nums text-text-secondary",
children: [t.total_files.toLocaleString(), " 个文件"]
@@ -1879,20 +1879,20 @@ function ha({ storage: e }) {
children: [
/* @__PURE__ */ (0, Q.jsx)("i", {
"aria-hidden": !0,
- className: `${te} ${fa[e.key] || "bg-text-tertiary"}`
+ className: `${te} ${pa[e.key] || "bg-text-tertiary"}`
}),
e.label,
/* @__PURE__ */ (0, Q.jsx)("span", {
className: "tabular-nums text-text-primary",
- children: pa(e.bytes)
+ children: ma(e.bytes)
})
]
}, e.key))
- }), /* @__PURE__ */ (0, Q.jsx)(ga, { storage: e })]
+ }), /* @__PURE__ */ (0, Q.jsx)(_a, { storage: e })]
})]
});
}
-function ga({ storage: e }) {
+function _a({ storage: e }) {
if (e.total_bytes === null || e.free_bytes === null || !e.usage) return null;
let t = Math.min(e.usage.total_bytes, e.total_bytes), n = e.free_bytes, r = Math.max(0, e.total_bytes - n - t), i = {
peach: {
@@ -1901,7 +1901,7 @@ function ga({ storage: e }) {
},
others: {
label: "其他文件",
- colors: Ae(da)
+ colors: Ae(fa)
},
free: {
label: "可用",
@@ -1914,7 +1914,7 @@ function ga({ storage: e }) {
className: "text-caption-1-regular text-text-secondary",
children: [
"所在磁盘共 ",
- pa(e.total_bytes),
+ ma(e.total_bytes),
e.system_drive ? "(系统盘)" : "",
",Peach 占 ",
((t) => {
@@ -1922,7 +1922,7 @@ function ga({ storage: e }) {
return n < .1 ? "不到 0.1%" : `${n.toFixed(+(n < 10))}%`;
})(t),
", 可用 ",
- pa(n)
+ ma(n)
]
}), /* @__PURE__ */ (0, Q.jsxs)(p, {
data: [{
@@ -1953,26 +1953,26 @@ function ga({ storage: e }) {
/* @__PURE__ */ (0, Q.jsx)(p.Bar, { dataKey: "free" }),
/* @__PURE__ */ (0, Q.jsx)(o, {
hideLabel: !0,
- format: pa
+ format: ma
})
]
})]
});
}
// src/react/settings/storage-settings.tsx
-var _a = "/api/configuration/storage", va = 1500, ya = 864e5, ba = (e) => e instanceof qe && e.body?.errors?.target || q(e);
-function xa(e) {
+var va = "/api/configuration/storage", ya = 1500, ba = 864e5, xa = (e) => e instanceof qe && e.body?.errors?.target || q(e);
+function Sa(e) {
if (e.free_bytes === null || e.total_bytes === null) return "未取得";
let t = `${J(e.free_bytes)} 可用,共 ${J(e.total_bytes)}`;
return e.system_drive ? `${t}(系统盘)` : t;
}
-var Sa = (e) => e.cleanable && e.reclaimable > 0;
-function Ca({ job: e }) {
+var Ca = (e) => e.cleanable && e.reclaimable > 0;
+function wa({ job: e }) {
let t = e.files || 0, n = e.expected_files || 0, r = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
"已统计 ",
- /* @__PURE__ */ (0, Q.jsx)(Wr, { value: t }),
+ /* @__PURE__ */ (0, Q.jsx)(Gr, { value: t }),
" 个文件 · ",
- /* @__PURE__ */ (0, Q.jsx)(Wr, {
+ /* @__PURE__ */ (0, Q.jsx)(Gr, {
value: e.bytes || 0,
format: J
})
@@ -1980,7 +1980,7 @@ function Ca({ job: e }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
- children: [n ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(jt, {
+ children: [n ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Mt, {
label: "统计进度",
value: Math.min(t, n * .99),
max: n
@@ -1992,8 +1992,8 @@ function Ca({ job: e }) {
] })] }) : /* @__PURE__ */ (0, Q.jsx)(vt, { label: "正在统计占用空间" }), n ? null : /* @__PURE__ */ (0, Q.jsx)(N, { children: r })]
});
}
-function wa({ category: e, selected: t, disabled: n, onToggle: r }) {
- let i = Sa(e), a = e.cleanable ? e.reclaimable > 0 ? `清理后${e.note}` : "没有可以清理的文件" : `不能清理:${e.note}`;
+function Ta({ category: e, selected: t, disabled: n, onToggle: r }) {
+ let i = Ca(e), a = e.cleanable ? e.reclaimable > 0 ? `清理后${e.note}` : "没有可以清理的文件" : `不能清理:${e.note}`;
return /* @__PURE__ */ (0, Q.jsxs)("div", {
"data-category": e.key,
className: "flex min-h-13 w-full items-start gap-3 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
@@ -2012,7 +2012,7 @@ function wa({ category: e, selected: t, disabled: n, onToggle: r }) {
className: "flex items-center gap-2 text-body-regular text-text-primary",
children: [/* @__PURE__ */ (0, Q.jsx)("i", {
"aria-hidden": !0,
- className: `size-2.5 shrink-0 rounded-xs ${fa[e.key] || "bg-text-tertiary"}`
+ className: `size-2.5 shrink-0 rounded-xs ${pa[e.key] || "bg-text-tertiary"}`
}), e.label]
}),
/* @__PURE__ */ (0, Q.jsx)("p", {
@@ -2027,7 +2027,7 @@ function wa({ category: e, selected: t, disabled: n, onToggle: r }) {
}),
/* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex shrink-0 flex-col items-end gap-0.5 text-right",
- children: [/* @__PURE__ */ (0, Q.jsx)(Wr, {
+ children: [/* @__PURE__ */ (0, Q.jsx)(Gr, {
value: e.bytes,
format: J,
className: "text-body-regular text-text-primary"
@@ -2039,48 +2039,48 @@ function wa({ category: e, selected: t, disabled: n, onToggle: r }) {
]
});
}
-function Ta({ initial: e, receipt: t }) {
+function Ea({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(""), [o, s] = (0, Z.useState)(/* @__PURE__ */ new Set()), c = Y(), l = n.job.state !== "idle", u = (0, Z.useRef)(l);
(0, Z.useEffect)(() => {
if (!l) return;
let e = new AbortController(), t = setTimeout(() => {
- W(_a, e.signal).then(r, () => {
+ W(va, e.signal).then(r, () => {
e.signal.aborted || r((e) => ({ ...e }));
});
- }, va);
+ }, ya);
return () => {
e.abort(), clearTimeout(t);
};
}, [n]), (0, Z.useEffect)(() => {
l ? u.current = !0 : u.current && (u.current = !1, s(/* @__PURE__ */ new Set()), n.job.error || t(n.job.message || "已统计占用空间"));
}, [l]);
- let d = () => void c.run("measure", (e) => G(`${_a}/measure`, {}, "POST", e), r), f = n.usage, p = f?.categories.filter(Sa) ?? [], m = p.filter((e) => o.has(e.key)), h = (e, t) => {
+ let d = () => void c.run("measure", (e) => G(`${va}/measure`, {}, "POST", e), r), f = n.usage, p = f?.categories.filter(Ca) ?? [], m = p.filter((e) => o.has(e.key)), h = (e, t) => {
if (!e.length) return;
let n = e.reduce((e, t) => e + t.reclaimable, 0);
- rn({
+ an({
title: t,
body: `将删除 ${J(n)}:${e.map((e) => `${e.label} ${J(e.reclaimable)}(清理后${e.note})`).join(";")}。`,
confirmLabel: `清理 ${J(n)}`,
danger: e.some((e) => e.key === "backups"),
- onConfirm: async () => r(await G(`${_a}/clean`, { categories: e.map((e) => e.key) }))
+ onConfirm: async () => r(await G(`${va}/clean`, { categories: e.map((e) => e.key) }))
});
}, g = () => void c.run("relocate", async (e) => {
let t = (await G(wt, { initial: n.data_root }, "POST", e)).path;
if (!t) return;
let r = n.usage ? J(n.usage.total_bytes) : "";
- await rn({
+ await an({
title: "迁移数据目录",
body: `将 ${r} 数据从 ${n.data_root} 移到 ${t}。迁移期间 Peach 会退出,完成后自动重新打开;原位置的数据在新位置核对无误后删除。`,
confirmLabel: "迁移数据目录",
onConfirm: async () => {
try {
- a((await G(`${_a}/relocate`, { target: t })).message);
+ a((await G(`${va}/relocate`, { target: t })).message);
} catch (e) {
- throw Error(ba(e));
+ throw Error(xa(e));
}
}
});
- }, () => void 0), _ = n.relocation.last, v = _ && (_.state === "error" || (_.notes?.length ?? 0) > 0 || Date.now() - _.finished_at * 1e3 < ya), y = f?.categories.find((e) => e.key === n.job.category)?.label, b = i || (n.job.state === "cleaning" ? `正在清理${y || ""}…` : n.job.state === "measuring" ? "正在统计占用空间…" : m.length ? `已选 ${m.length} 类,可释放 ${J(m.reduce((e, t) => e + t.reclaimable, 0))}` : f ? `统计于 ${(/* @__PURE__ */ new Date(f.measured_at * 1e3)).toLocaleString()}` : ""), x = l || !!i, S = (e) => (t) => s((n) => {
+ }, () => void 0), _ = n.relocation.last, v = _ && (_.state === "error" || (_.notes?.length ?? 0) > 0 || Date.now() - _.finished_at * 1e3 < ba), y = f?.categories.find((e) => e.key === n.job.category)?.label, b = i || (n.job.state === "cleaning" ? `正在清理${y || ""}…` : n.job.state === "measuring" ? "正在统计占用空间…" : m.length ? `已选 ${m.length} 类,可释放 ${J(m.reduce((e, t) => e + t.reclaimable, 0))}` : f ? `统计于 ${(/* @__PURE__ */ new Date(f.measured_at * 1e3)).toLocaleString()}` : ""), x = l || !!i, S = (e) => (t) => s((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
});
@@ -2098,25 +2098,25 @@ function Ta({ initial: e, receipt: t }) {
})
}), /* @__PURE__ */ (0, Q.jsx)(j, {
term: "所在磁盘",
- children: xa(n)
+ children: Sa(n)
})] }),
/* @__PURE__ */ (0, Q.jsxs)(V, {
divided: !0,
children: [
- n.job.state === "measuring" ? /* @__PURE__ */ (0, Q.jsx)(Ca, { job: n.job }) : null,
+ n.job.state === "measuring" ? /* @__PURE__ */ (0, Q.jsx)(wa, { job: n.job }) : null,
f ? /* @__PURE__ */ (0, Q.jsxs)("div", {
"data-storage-result": "",
- className: $t({
+ className: en({
variant: "outlined",
padding: "none",
className: "flex flex-col"
}),
children: [/* @__PURE__ */ (0, Q.jsx)("div", {
className: "border-b border-separator-border p-4",
- children: /* @__PURE__ */ (0, Q.jsx)(ha, { storage: n })
+ children: /* @__PURE__ */ (0, Q.jsx)(ga, { storage: n })
}), /* @__PURE__ */ (0, Q.jsx)("div", {
className: "flex flex-col pl-4",
- children: f.categories.map((e) => /* @__PURE__ */ (0, Q.jsx)(wa, {
+ children: f.categories.map((e) => /* @__PURE__ */ (0, Q.jsx)(Ta, {
category: e,
selected: o.has(e.key),
disabled: x,
@@ -2171,55 +2171,55 @@ function Ta({ initial: e, receipt: t }) {
});
}
// src/react/settings/maintenance-settings.tsx
-var Ea = [
+var Da = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function Da({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
+function Oa({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
- ...pr(r),
+ ...mr(r),
children: [
- e.storage ? /* @__PURE__ */ (0, Q.jsx)(Ta, {
+ e.storage ? /* @__PURE__ */ (0, Q.jsx)(Ea, {
initial: e.storage,
receipt: t
}) : null,
- e.storage ? /* @__PURE__ */ (0, Q.jsx)(zr, { receipt: t }) : null,
+ e.storage ? /* @__PURE__ */ (0, Q.jsx)(Br, { receipt: t }) : null,
e.remote_reporting || e.library_sharing ? /* @__PURE__ */ (0, Q.jsxs)(L, {
id: "librarySharing",
guide: "reporting",
title: "数据上传",
- children: [e.remote_reporting ? /* @__PURE__ */ (0, Q.jsx)(Hr, {
+ children: [e.remote_reporting ? /* @__PURE__ */ (0, Q.jsx)(Ur, {
initial: e.remote_reporting,
receipt: t
}) : null, e.library_sharing ? /* @__PURE__ */ (0, Q.jsx)("div", {
className: "border-t border-separator-border",
- children: /* @__PURE__ */ (0, Q.jsx)(Br, {
+ children: /* @__PURE__ */ (0, Q.jsx)(Vr, {
initial: e.library_sharing,
receipt: t
})
}) : null]
}) : null,
- /* @__PURE__ */ (0, Q.jsx)(Aa, {
+ /* @__PURE__ */ (0, Q.jsx)(ja, {
facts: e.facts,
receipt: t
}),
- /* @__PURE__ */ (0, Q.jsx)(Oa, {
+ /* @__PURE__ */ (0, Q.jsx)(ka, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, Q.jsx)(ja, {
+ e.uninstall ? /* @__PURE__ */ (0, Q.jsx)(Ma, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function Oa({ reopenTutorial: e }) {
+function ka({ reopenTutorial: e }) {
return /* @__PURE__ */ (0, Q.jsx)("section", {
"aria-label": "新手教程",
className: "w-full",
- children: /* @__PURE__ */ (0, Q.jsx)(zt, { children: /* @__PURE__ */ (0, Q.jsx)(I, { children: /* @__PURE__ */ (0, Q.jsx)(B, {
+ children: /* @__PURE__ */ (0, Q.jsx)(Bt, { children: /* @__PURE__ */ (0, Q.jsx)(I, { children: /* @__PURE__ */ (0, Q.jsx)(B, {
label: "新手教程",
description: "在所有设备上恢复右上角教程入口,保留已读进度",
children: /* @__PURE__ */ (0, Q.jsx)(E, {
@@ -2230,7 +2230,7 @@ function Oa({ reopenTutorial: e }) {
}) }) })
});
}
-function ka({ initial: e, receipt: t }) {
+function Aa({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e.mode), [i, a] = (0, Z.useState)(e.interval_hours), o = Y(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => G("/api/configuration/automatic-updates", {
mode: n,
@@ -2273,7 +2273,7 @@ function ka({ initial: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: Ea.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
+ children: Da.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
id: e,
children: t
}, e))
@@ -2293,7 +2293,7 @@ function ka({ initial: e, receipt: t }) {
]
});
}
-function Aa({ facts: e, receipt: t }) {
+function ja({ facts: e, receipt: t }) {
let [n, r] = (0, Z.useState)(null), i = n ?? e, a = Y(), o = (e) => void a.run(e, (t) => G("/api/configuration/media-tools", { tool: e }, "POST", t), (e) => {
r(e.facts), t(e.message);
});
@@ -2321,8 +2321,8 @@ function Aa({ facts: e, receipt: t }) {
}, e)) }), a.error ? /* @__PURE__ */ (0, Q.jsx)(k, { children: a.error }) : null]
});
}
-function ja({ uninstall: e, receipt: t }) {
- let [n, r] = (0, Z.useState)(!1), [i, a] = (0, Z.useState)(""), o = () => void rn({
+function Ma({ uninstall: e, receipt: t }) {
+ let [n, r] = (0, Z.useState)(!1), [i, a] = (0, Z.useState)(""), o = () => void an({
title: "卸载 Peach",
danger: !0,
body: n ? "将退出 Peach,移除程序、开机自启、桌面图标、设置、本地数据库、观看记录、凭据和缓存。原始媒体文件保留。" : "将退出 Peach 并移除程序、开机自启和桌面图标。设置、本地数据库、观看记录与缓存保留。",
@@ -2378,8 +2378,8 @@ function ja({ uninstall: e, receipt: t }) {
});
}
// src/react/settings/docker-update.tsx
-var Ma = 3e3, Na = 9e5;
-function Pa(e) {
+var Na = 3e3, Pa = 9e5;
+function Fa(e) {
let [t, n] = (0, Z.useState)({ state: "idle" }), r = Y(), i = (0, Z.useRef)(0);
return (0, Z.useEffect)(() => {
if (t.state !== "updating") return;
@@ -2394,9 +2394,9 @@ function Pa(e) {
return;
}
} catch {}
- r.signal.aborted || (Date.now() - i.current > Na ? n({ state: "timeout" }) : a = setTimeout(o, Ma));
+ r.signal.aborted || (Date.now() - i.current > Pa ? n({ state: "timeout" }) : a = setTimeout(o, Na));
};
- return a = setTimeout(o, Ma), () => {
+ return a = setTimeout(o, Na), () => {
r.abort(), clearTimeout(a);
};
}, [t.state, e]), {
@@ -2408,7 +2408,7 @@ function Pa(e) {
error: r.error
};
}
-function Fa({ job: e }) {
+function Ia({ job: e }) {
return e.state === "updating" ? /* @__PURE__ */ (0, Q.jsx)(N, {
role: "status",
children: "Watchtower 正在拉取新镜像并重建容器。期间 Peach 会断开一会儿,新版本启动后这里会提示刷新。"
@@ -2431,23 +2431,23 @@ function Fa({ job: e }) {
})] }) : null;
}
// src/react/settings/release-updates.tsx
-var Ia = /* @__PURE__ */ new Set([
+var La = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), La = [
+]), Ra = [
65,
75,
90
-], Ra = 120, za = "https://github.com/peach-mitao/peach/releases";
-function Ba({ initial: e, initialJob: t }) {
+], za = 120, Ba = "https://github.com/peach-mitao/peach/releases";
+function Va({ initial: e, initialJob: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, Z.useState)(""), c = Y(), l = (0, Z.useRef)(!1), u = (0, Z.useRef)(!0), d = Ia.has(i.state), f = Pa(e.current_version), p = n.state === "available" && !!n.one_click?.available, m = f.job.state === "updating", h = () => void rn({
+ }), [o, s] = (0, Z.useState)(""), c = Y(), l = (0, Z.useRef)(!1), u = (0, Z.useRef)(!0), d = La.has(i.state), f = Fa(e.current_version), p = n.state === "available" && !!n.one_click?.available, m = f.job.state === "updating", h = () => void an({
title: "一键更新",
body: `Watchtower 会拉取 Peach ${n.latest_version || ""} 的镜像并重建容器,/data 数据卷保留。重建期间 Peach 暂时断开,进行中的任务在启动后续跑;有待执行的数据库迁移时,启动前先备份再迁移。`,
confirmLabel: "开始更新",
@@ -2460,7 +2460,7 @@ function Ba({ initial: e, initialJob: t }) {
let g = async () => {
let e = await G("/api/configuration/update-restart", {});
u.current && a(e);
- }, _ = () => void rn({
+ }, _ = () => void an({
title: "更新已准备好",
body: `Peach ${i.version || ""} 将在重启后安装。`,
confirmLabel: "立即重启",
@@ -2470,7 +2470,7 @@ function Ba({ initial: e, initialJob: t }) {
(0, Z.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, _());
}, [i.state]), (0, Z.useEffect)(() => {
- let e = new AbortController(), t = Ia.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = La.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await W("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -2483,9 +2483,9 @@ function Ba({ initial: e, initialJob: t }) {
let n = await W("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= Ra && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= za && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < Ra && (n = setTimeout(c, t));
+ !e.signal.aborted && o < za && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -2547,16 +2547,16 @@ function Ba({ initial: e, initialJob: t }) {
label: "在宿主机上更新",
steps: n.steps
}), /* @__PURE__ */ (0, Q.jsx)(N, { children: n.one_click?.reason || "用 compose 的 watchtower profile 启动 Watchtower 后,可以在这里一键更新,启用前先读 Docker 部署说明。" })] }) : null,
- /* @__PURE__ */ (0, Q.jsx)(Fa, { job: f.job }),
+ /* @__PURE__ */ (0, Q.jsx)(Ia, { job: f.job }),
i.state === "error" ? /* @__PURE__ */ (0, Q.jsx)(k, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, Q.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, Q.jsx)(jt, {
+ /* @__PURE__ */ (0, Q.jsx)(Mt, {
label: "更新准备进度",
value: i.progress,
- stops: La
+ stops: Ra
}),
/* @__PURE__ */ (0, Q.jsxs)(N, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
/* @__PURE__ */ (0, Q.jsx)(N, { children: x })
@@ -2577,7 +2577,7 @@ function Ba({ initial: e, initialJob: t }) {
children: "GitHub"
}),
/* @__PURE__ */ (0, Q.jsx)(A, {
- href: n.release_url || za,
+ href: n.release_url || Ba,
children: "查看发布页"
})
]
@@ -2621,7 +2621,7 @@ function Ba({ initial: e, initialJob: t }) {
});
}
// src/react/settings/upgrade-repairs.tsx
-var Va = {
+var Ha = {
pending: "等待修复",
running: "正在修复",
failed: "需要重试",
@@ -2629,8 +2629,8 @@ var Va = {
complete: "已完成",
unavailable: "当前部署未启用"
};
-function Ha() {
- let { snapshot: e } = Bn(), [t, n] = (0, Z.useState)(null), r = Y();
+function Ua() {
+ let { snapshot: e } = Vn(), [t, n] = (0, Z.useState)(null), r = Y();
(0, Z.useEffect)(() => n(null), [e]);
let i = t ?? e?.repairs, a = i?.state || "pending", o = i?.items.reduce((e, t) => e + (t.pending || 0), 0) || 0, s = i?.items.reduce((e, t) => e + (t.failed || 0), 0) || 0, c = i?.items.reduce((e, t) => e + (t.review_count || 0), 0) || 0;
return /* @__PURE__ */ (0, Q.jsxs)(L, {
@@ -2640,7 +2640,7 @@ function Ha() {
tone: a === "failed" ? "error" : a === "running" ? "progress" : a === "review" ? "warning" : a === "complete" ? "success" : "neutral",
children: /* @__PURE__ */ (0, Q.jsx)("span", {
"data-copy-key": `upgradeRepairs.${a}.status`,
- children: Va[a] || "未取得"
+ children: Ha[a] || "未取得"
}, a)
}),
children: [
@@ -2648,19 +2648,19 @@ function Ha() {
/* @__PURE__ */ (0, Q.jsxs)(ut, { children: [
/* @__PURE__ */ (0, Q.jsx)(j, {
term: "待完成",
- children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(Wr, { value: o }), " 项"] })
+ children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(Gr, { value: o }), " 项"] })
}),
/* @__PURE__ */ (0, Q.jsx)(j, {
term: "失败",
- children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(Wr, { value: s }), " 项"] })
+ children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(Gr, { value: s }), " 项"] })
}),
/* @__PURE__ */ (0, Q.jsx)(j, {
term: "待复核",
- children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(Wr, { value: c }), " 项"] })
+ children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(Gr, { value: c }), " 项"] })
})
] }),
i?.message || r.error ? /* @__PURE__ */ (0, Q.jsx)(V, { children: /* @__PURE__ */ (0, Q.jsx)(k, { children: r.error || i?.message }) }) : null,
- a === "running" ? /* @__PURE__ */ (0, Q.jsxs)(V, { children: [/* @__PURE__ */ (0, Q.jsx)(N, { children: "资料与预览正在后台补全。" }), /* @__PURE__ */ (0, Q.jsx)(Wt, {})] }) : null,
+ a === "running" ? /* @__PURE__ */ (0, Q.jsxs)(V, { children: [/* @__PURE__ */ (0, Q.jsx)(N, { children: "资料与预览正在后台补全。" }), /* @__PURE__ */ (0, Q.jsx)(Gt, {})] }) : null,
/* @__PURE__ */ (0, Q.jsx)(M, {
status: c ? /* @__PURE__ */ (0, Q.jsx)(A, {
href: "/api/configuration/upgrade-repairs/review",
@@ -2680,27 +2680,27 @@ function Ha() {
});
}
// src/react/settings/general-settings.tsx
-function Ua({ data: e, receipt: t, panel: n }) {
+function Wa({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
- ...pr(n),
+ ...mr(n),
children: [
- e.updates ? /* @__PURE__ */ (0, Q.jsx)(Ba, {
+ e.updates ? /* @__PURE__ */ (0, Q.jsx)(Va, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, Q.jsx)(Ha, {}),
- e.automatic_updates ? /* @__PURE__ */ (0, Q.jsx)(ka, {
+ /* @__PURE__ */ (0, Q.jsx)(Ua, {}),
+ e.automatic_updates ? /* @__PURE__ */ (0, Q.jsx)(Aa, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.startup ? /* @__PURE__ */ (0, Q.jsx)(Wa, {
+ e.startup ? /* @__PURE__ */ (0, Q.jsx)(Ga, {
startup: e.startup,
receipt: t
}) : null
]
});
}
-function Wa({ startup: e, receipt: t }) {
+function Ga({ startup: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e.enabled), [i, a] = (0, Z.useState)(e.silent), [o, s] = (0, Z.useState)(e.desktop), c = Y(), l = e.available && !e.desktop_message;
return /* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "startup",
@@ -2758,7 +2758,7 @@ function Wa({ startup: e, receipt: t }) {
});
}
// src/react/restart-redirect.ts
-var Ga = 8e3, Ka = [
+var Ka = 8e3, qa = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -2777,12 +2777,12 @@ var Ga = 8e3, Ka = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], qa = [
+], Ja = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function Ja() {
+function Ya() {
return /* @__PURE__ */ (0, Q.jsx)("div", {
className: "@container flex flex-col gap-3",
children: /* @__PURE__ */ (0, Q.jsxs)(O, {
@@ -2797,14 +2797,14 @@ function Ja() {
/* @__PURE__ */ (0, Q.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: Ka.map((e) => /* @__PURE__ */ (0, Q.jsxs)("li", {
+ children: qa.map((e) => /* @__PURE__ */ (0, Q.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, Q.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, Q.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: qa.map(([t, n]) => /* @__PURE__ */ (0, Q.jsxs)("div", {
+ children: Ja.map(([t, n]) => /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, Q.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -2834,15 +2834,15 @@ function Ja() {
});
}
// src/react/settings/cloud-proxy-settings.tsx
-var Ya = "/api/configuration/cloud-proxies", Xa = [
+var Xa = "/api/configuration/cloud-proxies", Za = [
["direct", "直连"],
["system", "跟随系统"],
["http", "HTTP 代理"],
["socks5", "SOCKS5 代理"]
];
-function Za({ receipt: e }) {
+function Qa({ receipt: e }) {
let [t, n] = (0, Z.useState)(null), [r, i] = (0, Z.useState)(!0), a = (0, Z.useRef)(/* @__PURE__ */ new Set()), o = (0, Z.useRef)(/* @__PURE__ */ new Set()), [s, c] = (0, Z.useState)(!1), l = (0, Z.useRef)(() => void 0), u = Y(), d = () => {
- o.current.size || u.run("refresh", (e) => W(Ya, e), (e) => {
+ o.current.size || u.run("refresh", (e) => W(Xa, e), (e) => {
a.current.clear(), n(e), i(!1);
}, (e) => {
i(!1), u.setError(e instanceof Error ? e.message : "无法读取网盘代理");
@@ -2857,14 +2857,14 @@ function Za({ receipt: e }) {
}, []), (0, Z.useEffect)(() => {
if (!t) return;
let e = (e) => e.mode === "http" || e.mode === "socks5";
- An("cloudProxy", {
+ jn("cloudProxy", {
configured: t.configured !== !1,
unlinked: t.unlinked?.length ?? 0,
accounts: t.accounts.map((t) => [e(t.data), e(t.api)])
});
- }, [t]), r ? /* @__PURE__ */ (0, Q.jsx)(It, {
+ }, [t]), r ? /* @__PURE__ */ (0, Q.jsx)(Lt, {
label: "正在读取网盘代理",
- html: en
+ html: tn
}) : /* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "cloud-proxy",
title: "CloudDrive 代理",
@@ -2893,10 +2893,10 @@ function Za({ receipt: e }) {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, Q.jsx)(dt, { children: /* @__PURE__ */ (0, Q.jsxs)("span", {
className: "inline-flex items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(Ht, { mark: or(e.location) }), e.name]
+ children: [/* @__PURE__ */ (0, Q.jsx)(Ut, { mark: sr(e.location) }), e.name]
}) }), /* @__PURE__ */ (0, Q.jsx)(N, { children: "尚未匹配 CloudDrive 账号" })]
}, e.root)),
- t?.accounts.map((t) => /* @__PURE__ */ (0, Q.jsx)(Qa, {
+ t?.accounts.map((t) => /* @__PURE__ */ (0, Q.jsx)($a, {
initial: t,
receipt: e,
onDirty: () => a.current.add(t.id),
@@ -2920,7 +2920,7 @@ function Za({ receipt: e }) {
}) })]
});
}
-function Qa({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
+function $a({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
let [a, o] = (0, Z.useState)(e), [s, c] = (0, Z.useState)([]), l = a.libraries?.map((e) => e.name).join("、") || a.name, u = Y(), d = (e, t) => {
o((n) => ({
...n,
@@ -2930,7 +2930,7 @@ function Qa({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
return /* @__PURE__ */ (0, Q.jsxs)("form", {
"aria-label": `${l} 代理`,
onSubmit: (e) => {
- e.preventDefault(), i(!0), u.run("save", (e) => G(Ya, {
+ e.preventDefault(), i(!0), u.run("save", (e) => G(Xa, {
id: a.id,
revision: a.revision,
...s.includes("api") ? { api: a.api } : {},
@@ -2943,20 +2943,20 @@ function Qa({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
children: [
/* @__PURE__ */ (0, Q.jsx)(dt, { children: /* @__PURE__ */ (0, Q.jsxs)("span", {
className: "inline-flex items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(Ht, { mark: or(a.libraries?.[0]?.location || (a.cloud === "115open" ? "115" : a.cloud.toLowerCase())) }), l]
+ children: [/* @__PURE__ */ (0, Q.jsx)(Ut, { mark: sr(a.libraries?.[0]?.location || (a.cloud === "115open" ? "115" : a.cloud.toLowerCase())) }), l]
}) }),
/* @__PURE__ */ (0, Q.jsxs)(N, { children: [
a.name,
" · ",
a.path
] }),
- /* @__PURE__ */ (0, Q.jsx)($a, {
+ /* @__PURE__ */ (0, Q.jsx)(eo, {
label: "数据代理",
value: a.data,
disabled: !a.writable || !!u.busy,
onChange: (e) => d("data", e)
}),
- /* @__PURE__ */ (0, Q.jsx)($a, {
+ /* @__PURE__ */ (0, Q.jsx)(eo, {
label: "API 代理",
value: a.api,
disabled: !a.writable || !!u.busy,
@@ -2980,7 +2980,7 @@ function Qa({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
]
});
}
-function $a({ label: e, value: t, disabled: n, onChange: r }) {
+function eo({ label: e, value: t, disabled: n, onChange: r }) {
let i = t.mode === "http" || t.mode === "socks5";
return /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex min-w-0 flex-col gap-3",
@@ -2999,7 +2999,7 @@ function $a({ label: e, value: t, disabled: n, onChange: r }) {
children: [t.mode === "unknown" ? /* @__PURE__ */ (0, Q.jsx)(z, {
id: "unknown",
children: "无法识别的代理类型"
- }) : null, Xa.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
+ }) : null, Za.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
id: e,
children: t
}, e))]
@@ -3067,7 +3067,7 @@ function $a({ label: e, value: t, disabled: n, onChange: r }) {
});
}
// src/react/settings/library-icon-picker.tsx
-var eo = [
+var to = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -3111,13 +3111,13 @@ var eo = [
["star", "收藏"],
["tags", "主题"]
];
-function to(e) {
+function no(e) {
let t = e === "local" ? "" : St[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var no = "auto";
-function ro({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, Z.useRef)(null), [a, o] = (0, Z.useState)(!1), [s, c] = (0, Z.useState)(e), [l, u] = to(n);
+var ro = "auto";
+function io({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, Z.useRef)(null), [a, o] = (0, Z.useState)(!1), [s, c] = (0, Z.useState)(e), [l, u] = no(n);
return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(E, {
ref: i,
variant: "secondary",
@@ -3131,7 +3131,7 @@ function ro({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, Q.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(Ht, { mark: e || l }), ((e) => e && eo.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, Q.jsx)(Ut, { mark: e || l }), ((e) => e && to.find(([t]) => t === e)?.[1] || u)(e)]
})
}), /* @__PURE__ */ (0, Q.jsx)(ze, {
triggerRef: i,
@@ -3151,15 +3151,15 @@ function ro({ value: e, label: t, kind: n = "local", onChange: r }) {
}),
/* @__PURE__ */ (0, Q.jsx)(We, {
"aria-label": "可选图标",
- value: s || no,
- onChange: (e) => c(e === no ? "" : e),
+ value: s || ro,
+ onChange: (e) => c(e === ro ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: eo.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(Ge, {
- value: e || no,
+ children: to.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(Ge, {
+ value: e || ro,
"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, Q.jsx)(Ht, { mark: e || l })
- }, e || no))
+ children: /* @__PURE__ */ (0, Q.jsx)(Ut, { mark: e || l })
+ }, e || ro))
}),
/* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -3180,19 +3180,19 @@ function ro({ value: e, label: t, kind: n = "local", onChange: r }) {
})] });
}
// src/react/settings/library-policy-settings.tsx
-var io = [
+var ao = [
["probe", "读取视频信息"],
["metadata", "联网补资料"],
["cover", "联网补封面"],
["people", "联网补人物图片"],
["preview", "生成九宫格预览"]
-], ao = [
+], oo = [
"probe",
"metadata",
"cover",
"people",
"preview"
-], oo = [
+], so = [
[
"auto",
"自动补全",
@@ -3209,7 +3209,7 @@ var io = [
"逐项选择要做的步骤"
]
];
-function so() {
+function co() {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
"data-policy-legend": "",
className: "flex flex-col gap-1",
@@ -3241,8 +3241,8 @@ function so() {
})]
});
}
-function co({ name: e, value: t, onChange: n }) {
- return /* @__PURE__ */ (0, Q.jsx)(Rt, {
+function lo({ name: e, value: t, onChange: n }) {
+ return /* @__PURE__ */ (0, Q.jsx)(zt, {
"data-guide-target": "library-policy",
className: "w-full",
"aria-label": `${e} 处理方式`,
@@ -3250,10 +3250,10 @@ function co({ name: e, value: t, onChange: n }) {
prefix: "处理方式",
renderValue: /* @__PURE__ */ (0, Q.jsx)("span", {
className: "truncate",
- children: oo.find(([e]) => e === t)?.[1]
+ children: so.find(([e]) => e === t)?.[1]
}),
onSelectionChange: (e) => n(String(e)),
- children: oo.map(([e, t, n]) => /* @__PURE__ */ (0, Q.jsx)(z, {
+ children: so.map(([e, t, n]) => /* @__PURE__ */ (0, Q.jsx)(z, {
id: e,
textValue: t,
children: /* @__PURE__ */ (0, Q.jsxs)("span", {
@@ -3266,15 +3266,15 @@ function co({ name: e, value: t, onChange: n }) {
}, e))
});
}
-function lo({ name: e, value: t, onChange: n }) {
+function uo({ name: e, value: t, onChange: n }) {
return /* @__PURE__ */ (0, Q.jsx)(O, {
defaultOpen: !0,
- summary: `${e} 的处理步骤(${t.length}/${io.length})`,
+ summary: `${e} 的处理步骤(${t.length}/${ao.length})`,
children: /* @__PURE__ */ (0, Q.jsx)("div", {
className: "flex flex-wrap gap-x-6 gap-y-2",
role: "group",
"aria-label": `${e} 处理步骤`,
- children: io.map(([e, r]) => /* @__PURE__ */ (0, Q.jsx)(D, {
+ children: ao.map(([e, r]) => /* @__PURE__ */ (0, Q.jsx)(D, {
isSelected: t.includes(e),
onChange: (r) => n(r ? [...t, e] : t.filter((t) => t !== e)),
children: r
@@ -3282,9 +3282,9 @@ function lo({ name: e, value: t, onChange: n }) {
})
});
}
-function uo({ id: e, name: t, value: n, onChange: r }) {
+function fo({ id: e, name: t, value: n, onChange: r }) {
let i = (0, Z.useRef)(null), [a, o] = (0, Z.useState)(!1), s = Ke.find(([e]) => e === n)?.[1] || "无颜色", c = (t) => {
- r(t), Tn(e, t), o(!1);
+ r(t), En(e, t), o(!1);
};
return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsxs)("button", {
ref: i,
@@ -3315,7 +3315,7 @@ function uo({ id: e, name: t, value: n, onChange: r }) {
/* @__PURE__ */ (0, Q.jsx)("span", { children: s })
]
}), /* @__PURE__ */ (0, Q.jsx)(Be, {
- getContainer: () => Cn(i.current),
+ getContainer: () => wn(i.current),
children: /* @__PURE__ */ (0, Q.jsx)(ze, {
triggerRef: i,
isOpen: a,
@@ -3365,8 +3365,8 @@ function uo({ id: e, name: t, value: n, onChange: r }) {
})] });
}
// src/react/settings/push-discovery-settings.tsx
-var fo = "/api/configuration/push-discovery", po = "/api/configuration/push-discovery/secret";
-function mo({ initial: e, receipt: t }) {
+var po = "/api/configuration/push-discovery", mo = "/api/configuration/push-discovery/secret";
+function ho({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(e.prefixes), [o, s] = (0, Z.useState)(""), c = Y(), l = n.media_roots, [u, d] = (0, Z.useState)(e), f = (e, n) => {
r(e), d(e), a(e.prefixes), s(""), t(n);
}, p = (e, t) => a((n) => n.map((n, r) => r === e ? {
@@ -3380,9 +3380,9 @@ function mo({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => G(fo, t, "POST", e), (e) => f(e, "已保存配置"), (e) => s(q(e)));
+ c.run("save", (e) => G(po, t, "POST", e), (e) => f(e, "已保存配置"), (e) => s(q(e)));
}, h = () => {
- c.run("secret", (e) => G(po, {}, "POST", e), (e) => f(e, "已更换共享密钥"), (e) => s(q(e)));
+ c.run("secret", (e) => G(mo, {}, "POST", e), (e) => f(e, "已更换共享密钥"), (e) => s(q(e)));
}, g = `已入库 ${u.queue.ingested} 个文件` + (u.queue.failed ? `,${u.queue.failed} 个入库失败` : "") + (u.queue.pending ? `,队列里还有 ${u.queue.pending} 条` : ""), _ = u.local_running ? `正在监视 ${u.local_roots.join("、")}` : u.local_message || "没有运行";
return /* @__PURE__ */ (0, Q.jsxs)(L, {
id: "pushDiscovery",
@@ -3459,7 +3459,7 @@ function mo({ initial: e, receipt: t }) {
className: "flex flex-col gap-3",
children: /* @__PURE__ */ (0, Q.jsxs)(O, {
summary: "查看配置",
- children: [/* @__PURE__ */ (0, Q.jsx)(Zn, {
+ children: [/* @__PURE__ */ (0, Q.jsx)(Qn, {
code: u.config_toml,
language: "toml",
label: "CloudDrive2 配置",
@@ -3492,7 +3492,7 @@ function mo({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => p(t, { prefix: e })
}),
- /* @__PURE__ */ (0, Q.jsx)(Rt, {
+ /* @__PURE__ */ (0, Q.jsx)(zt, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
prefix: "对应目录",
selectedKey: e.root,
@@ -3545,34 +3545,34 @@ function mo({ initial: e, receipt: t }) {
});
}
// src/react/settings/media-settings.tsx
-async function ho(e) {
+async function go(e) {
let t;
try {
- t = await mn();
+ t = await hn();
} catch {
return !0;
}
- if (!En(t)) return !0;
- let { confirmed: n } = await rn({
+ if (!Dn(t)) return !0;
+ let { confirmed: n } = await an({
title: "扫描与采集正在进行",
- body: Nn(t, e),
+ body: Pn(t, e),
confirmLabel: "仍然保存"
});
return n;
}
-var go = (e) => tr.find(([t]) => t === e)?.[1] ?? e, _o = [...tr, ["smb", "SMB 共享"]], vo = (e) => e.library_icon || to(e.transport === "smb" ? "smb" : e.location)[0], yo = async (e) => (await G(wt, { initial: e })).path, bo = (e) => ({
+var _o = (e) => nr.find(([t]) => t === e)?.[1] ?? e, vo = [...nr, ["smb", "SMB 共享"]], yo = (e) => e.library_icon || no(e.transport === "smb" ? "smb" : e.location)[0], bo = async (e) => (await G(wt, { initial: e })).path, xo = (e) => ({
library_id: e.library_id,
library: e.library,
library_icon: e.library_icon,
library_color: e.library_color,
library_policy: e.library_policy,
library_stages: e.library_stages
-}), xo = (e) => e.library_stages ? ao.filter((t) => e.library_stages.split(",").includes(t)) : [], So = (e = "") => ({
+}), So = (e) => e.library_stages ? oo.filter((t) => e.library_stages.split(",").includes(t)) : [], Co = (e = "") => ({
path: e,
transport: e.startsWith("smb://") ? "smb" : "filesystem",
location: "local",
root: "",
- library_id: kn(),
+ library_id: An(),
library: "",
library_icon: "",
library_color: "",
@@ -3580,8 +3580,8 @@ var go = (e) => tr.find(([t]) => t === e)?.[1] ?? e, _o = [...tr, ["smb", "SMB
library_stages: "",
cost: "free"
});
-function Co(e) {
- let t = e.media_sources?.filter((e) => tr.some(([t]) => t === e.location));
+function wo(e) {
+ let t = e.media_sources?.filter((e) => nr.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
transport: e.transport === "smb" || e.path.startsWith("smb://") ? "smb" : "filesystem",
smb_username: e.smb_username,
@@ -3597,24 +3597,24 @@ function Co(e) {
library_policy: e.library_policy || "auto",
library_stages: e.library_stages || "",
root_id: e.root_id,
- library_id: e.library_id || kn(),
- cost: e.cost ?? zn(e.location)
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => So(e));
+ library_id: e.library_id || An(),
+ cost: e.cost ?? Bn(e.location)
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => Co(e));
}
-var wo = (e) => !(e instanceof qe) || e.status !== 400 ? null : e.body?.errors ?? null;
-function To({ data: e, receipt: t, panel: n }) {
- let r = !!e.media_sources?.some((e) => ar(e.location));
+var To = (e) => !(e instanceof qe) || e.status !== 400 ? null : e.body?.errors ?? null;
+function Eo({ data: e, receipt: t, panel: n }) {
+ let r = !!e.media_sources?.some((e) => or(e.location));
return (0, Z.useEffect)(() => {
if (e.editable) {
let t = /* @__PURE__ */ new Map();
- for (let n of Co(e)) t.set(n.library_id, (t.get(n.library_id) ?? 0) + 1);
- An("media", {
+ for (let n of wo(e)) t.set(n.library_id, (t.get(n.library_id) ?? 0) + 1);
+ jn("media", {
folders: [...t.values()],
cloud: r
});
}
let t = e.push_discovery;
- t && An("discovery", {
+ t && jn("discovery", {
enabled: t.enabled,
watchLocal: t.watch_local,
cloud: t.cloud,
@@ -3622,9 +3622,9 @@ function To({ data: e, receipt: t, panel: n }) {
prefixes: t.prefixes.length
});
}, [e, r]), /* @__PURE__ */ (0, Q.jsxs)("div", {
- ...pr(n),
+ ...mr(n),
children: [
- e.editable ? /* @__PURE__ */ (0, Q.jsx)(Eo, {
+ e.editable ? /* @__PURE__ */ (0, Q.jsx)(Do, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, Q.jsx)(F, {
@@ -3632,23 +3632,23 @@ function To({ data: e, receipt: t, panel: n }) {
title: "只读",
children: e.notice
}),
- e.editable ? null : /* @__PURE__ */ (0, Q.jsx)(Oo, { data: e }),
- r ? /* @__PURE__ */ (0, Q.jsx)(Za, { receipt: t }) : null,
- e.push_discovery ? /* @__PURE__ */ (0, Q.jsx)(mo, {
+ e.editable ? null : /* @__PURE__ */ (0, Q.jsx)(ko, { data: e }),
+ r ? /* @__PURE__ */ (0, Q.jsx)(Qa, { receipt: t }) : null,
+ e.push_discovery ? /* @__PURE__ */ (0, Q.jsx)(ho, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function Eo({ data: e, receipt: t }) {
- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = sr({
- initial: () => Co(e),
- blank: () => So(),
- pickFolder: yo,
+function Do({ data: e, receipt: t }) {
+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = cr({
+ initial: () => wo(e),
+ blank: () => Co(),
+ pickFolder: bo,
describe: q
}), [d, f] = (0, Z.useState)(!1), [p, m] = (0, Z.useState)(!1), [h, g] = (0, Z.useState)(""), [_, v] = (0, Z.useState)({}), [y, b] = (0, Z.useState)(null), x = (0, Z.useRef)(e.revision), S = (0, Z.useRef)(!1), C = Y();
- Vn();
+ Hn();
let w = (e, t) => {
n.forEach((i, a) => {
i.library_id === n[e].library_id && r(a, t);
@@ -3662,10 +3662,10 @@ function Eo({ data: e, receipt: t }) {
let ne = (e, t) => {
let i = n.find((e) => e.library_id === t);
if (i) {
- r(e, bo(i));
+ r(e, xo(i));
return;
}
- let a = kn();
+ let a = An();
r(e, {
library_id: a,
library: "",
@@ -3677,7 +3677,7 @@ function Eo({ data: e, receipt: t }) {
};
(0, Z.useEffect)(() => {
if (!y) return;
- let e = setTimeout(() => location.assign(y.url), Ga);
+ let e = setTimeout(() => location.assign(y.url), Ka);
return () => clearTimeout(e);
}, [y]);
let re = (e) => {
@@ -3687,7 +3687,7 @@ function Eo({ data: e, receipt: t }) {
m(!0);
let n = e.currentTarget;
requestAnimationFrame(() => n.querySelector(`[data-media-read-policy="${t}"] button`)?.focus());
- } else C.busy || S.current || (g(""), S.current = !0, ho(d).then((e) => {
+ } else C.busy || S.current || (g(""), S.current = !0, go(d).then((e) => {
S.current = !1, e && ie();
}));
}, ie = () => {
@@ -3700,7 +3700,7 @@ function Eo({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, s([]), t("已保存配置"), b(e);
}, (e) => {
- let t = wo(e);
+ let t = To(e);
s(t?.media_dirs ?? []), (!t || t.port) && g(t?.port || q(e));
});
};
@@ -3721,13 +3721,13 @@ function Eo({ data: e, receipt: t }) {
]
}) })
});
- let ae = (t) => e.media_sources?.find((e) => e.root_id === t.root_id && e.path === t.path), oe = n.some((e) => ar(e.location)), se = oe ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
+ let ae = (t) => e.media_sources?.find((e) => e.root_id === t.root_id && e.path === t.path), oe = n.some((e) => or(e.location)), se = oe ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
return /* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "media",
title: "媒体库与目录",
onSubmit: re,
children: [/* @__PURE__ */ (0, Q.jsxs)(V, { children: [
- /* @__PURE__ */ (0, Q.jsx)(so, {}),
+ /* @__PURE__ */ (0, Q.jsx)(co, {}),
/* @__PURE__ */ (0, Q.jsx)("div", {
role: "group",
"aria-label": "媒体库与目录",
@@ -3740,7 +3740,7 @@ function Eo({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
"data-library-block": "",
"data-library-key": e.library_id,
- className: $t({
+ className: en({
variant: "raised",
padding: "none",
className: "flex flex-col p-2"
@@ -3750,7 +3750,7 @@ function Eo({ data: e, receipt: t }) {
/* @__PURE__ */ (0, Q.jsxs)("div", {
"data-library-head": "",
children: [
- /* @__PURE__ */ (0, Q.jsx)(ro, {
+ /* @__PURE__ */ (0, Q.jsx)(io, {
label: `${f} 图标`,
value: e.library_icon,
kind: e.transport === "smb" ? "smb" : e.location,
@@ -3764,32 +3764,32 @@ function Eo({ data: e, receipt: t }) {
value: e.library,
onChange: (e) => w(t, { library: e })
}),
- /* @__PURE__ */ (0, Q.jsx)(uo, {
+ /* @__PURE__ */ (0, Q.jsx)(fo, {
id: e.library_id,
name: e.library,
value: e.library_color,
onChange: (e) => w(t, { library_color: e })
}),
- /* @__PURE__ */ (0, Q.jsx)(co, {
+ /* @__PURE__ */ (0, Q.jsx)(lo, {
name: f,
value: d,
onChange: (n) => w(t, {
library_policy: n,
- library_stages: n === "custom" ? e.library_stages || ao.join(",") : ""
+ library_stages: n === "custom" ? e.library_stages || oo.join(",") : ""
})
})
]
}),
- d === "custom" ? /* @__PURE__ */ (0, Q.jsx)(lo, {
+ d === "custom" ? /* @__PURE__ */ (0, Q.jsx)(uo, {
name: f,
- value: xo(e),
- onChange: (e) => w(t, { library_stages: ao.filter((t) => e.includes(t)).join(",") })
+ value: So(e),
+ onChange: (e) => w(t, { library_stages: oo.filter((t) => e.includes(t)).join(",") })
}) : null,
/* @__PURE__ */ (0, Q.jsxs)("div", {
"data-library-folders": "",
role: "group",
"aria-label": `${f} 的文件夹`,
- children: [s.map(({ row: t, index: i }) => /* @__PURE__ */ (0, Q.jsxs)(er, {
+ children: [s.map(({ row: t, index: i }) => /* @__PURE__ */ (0, Q.jsxs)(tr, {
label: `媒体目录 ${i + 1}`,
path: t.path,
onPath: (e) => r(i, {
@@ -3801,12 +3801,12 @@ function Eo({ data: e, receipt: t }) {
picking: c === i,
onPick: () => void l(i),
onRemove: n.length > 1 ? () => a(i) : void 0,
- status: ae(t) ? /* @__PURE__ */ (0, Q.jsx)(Do, { online: ae(t)?.online }) : null,
- children: [/* @__PURE__ */ (0, Q.jsxs)($n, { children: [
- /* @__PURE__ */ (0, Q.jsx)(ir, {
+ status: ae(t) ? /* @__PURE__ */ (0, Q.jsx)(Oo, { online: ae(t)?.online }) : null,
+ children: [/* @__PURE__ */ (0, Q.jsxs)(er, { children: [
+ /* @__PURE__ */ (0, Q.jsx)(ar, {
index: i,
value: t.transport === "smb" ? "smb" : t.location,
- options: _o,
+ options: vo,
onChange: (e) => {
let n = e === "smb";
r(i, {
@@ -3820,13 +3820,13 @@ function Eo({ data: e, receipt: t }) {
});
}
}),
- /* @__PURE__ */ (0, Q.jsx)(nr, {
+ /* @__PURE__ */ (0, Q.jsx)(rr, {
index: i,
cost: t.cost,
onChange: (e) => r(i, { cost: e }),
error: p && !t.cost ? "请选择媒体读取策略" : void 0
}),
- t.root_id && !ae(t) ? /* @__PURE__ */ (0, Q.jsx)(Qn, {
+ t.root_id && !ae(t) ? /* @__PURE__ */ (0, Q.jsx)($n, {
label: "变更方式",
className: "w-full @lg:w-auto @lg:flex-1",
children: /* @__PURE__ */ (0, Q.jsxs)(R, {
@@ -3850,7 +3850,7 @@ function Eo({ data: e, receipt: t }) {
})]
})
}) : null,
- T.length > 1 ? /* @__PURE__ */ (0, Q.jsx)(Qn, {
+ T.length > 1 ? /* @__PURE__ */ (0, Q.jsx)($n, {
label: "移到媒体库",
className: "w-full @lg:w-48",
children: /* @__PURE__ */ (0, Q.jsxs)(R, {
@@ -3859,7 +3859,7 @@ function Eo({ data: e, receipt: t }) {
selectedKey: t.library_id,
renderValue: /* @__PURE__ */ (0, Q.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(Ht, { mark: vo(e) }), /* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [/* @__PURE__ */ (0, Q.jsx)(Ut, { mark: yo(e) }), /* @__PURE__ */ (0, Q.jsx)("span", {
className: "truncate",
children: f
})]
@@ -3872,7 +3872,7 @@ function Eo({ data: e, receipt: t }) {
textValue: e.library || "未命名媒体库",
children: /* @__PURE__ */ (0, Q.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(Ht, { mark: vo(e) }), /* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [/* @__PURE__ */ (0, Q.jsx)(Ut, { mark: yo(e) }), /* @__PURE__ */ (0, Q.jsx)("span", {
className: "truncate",
children: e.library || "未命名媒体库"
})]
@@ -3882,7 +3882,7 @@ function Eo({ data: e, receipt: t }) {
textValue: "新建媒体库",
children: /* @__PURE__ */ (0, Q.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(Ht, { mark: "plus" }), /* @__PURE__ */ (0, Q.jsx)("span", { children: "新建媒体库" })]
+ children: [/* @__PURE__ */ (0, Q.jsx)(Ut, { mark: "plus" }), /* @__PURE__ */ (0, Q.jsx)("span", { children: "新建媒体库" })]
})
}) : null]
})
@@ -3890,7 +3890,7 @@ function Eo({ data: e, receipt: t }) {
] }), t.transport === "smb" ? /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex w-full flex-col gap-2",
children: [
- /* @__PURE__ */ (0, Q.jsxs)($n, { children: [/* @__PURE__ */ (0, Q.jsx)(Qn, {
+ /* @__PURE__ */ (0, Q.jsxs)(er, { children: [/* @__PURE__ */ (0, Q.jsx)($n, {
label: "SMB 账号",
className: "w-full @lg:flex-1",
children: /* @__PURE__ */ (0, Q.jsx)(P, {
@@ -3899,7 +3899,7 @@ function Eo({ data: e, receipt: t }) {
autoComplete: "off",
onChange: (e) => r(i, { smb_username: e })
})
- }), /* @__PURE__ */ (0, Q.jsx)(Qn, {
+ }), /* @__PURE__ */ (0, Q.jsx)($n, {
label: "SMB 密码",
className: "w-full @lg:flex-1",
children: /* @__PURE__ */ (0, Q.jsx)(P, {
@@ -3969,7 +3969,7 @@ function Eo({ data: e, receipt: t }) {
"aria-label": `给 ${f} 添加文件夹`,
onClick: () => {
i(), r(n.length, {
- ...bo(e),
+ ...xo(e),
location: e.location,
cost: e.cost
});
@@ -3989,7 +3989,7 @@ function Eo({ data: e, receipt: t }) {
children: "添加媒体库"
}),
/* @__PURE__ */ (0, Q.jsx)(N, { children: mt }),
- oe ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(rr, {}), /* @__PURE__ */ (0, Q.jsx)(Ja, {})] }) : null,
+ oe ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(ir, {}), /* @__PURE__ */ (0, Q.jsx)(Ya, {})] }) : null,
se.map((e) => /* @__PURE__ */ (0, Q.jsxs)(N, { children: [
"未检测到 ",
e.name,
@@ -4019,18 +4019,18 @@ function Eo({ data: e, receipt: t }) {
})]
});
}
-function Do({ online: e }) {
- return /* @__PURE__ */ (0, Q.jsx)(cr, { online: e });
+function Oo({ online: e }) {
+ return /* @__PURE__ */ (0, Q.jsx)(lr, { online: e });
}
-function Oo({ data: e }) {
+function ko({ data: e }) {
let t = e.media_sources, n = Y();
return t ? /* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "mounts",
title: "挂载状态",
children: [
/* @__PURE__ */ (0, Q.jsx)(ut, { children: t.map((e, t) => /* @__PURE__ */ (0, Q.jsxs)(j, {
- term: /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Ht, { mark: or(e.location) }), go(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, Q.jsx)(Do, { online: e.online })]
+ term: /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Ut, { mark: sr(e.location) }), _o(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, Q.jsx)(Oo, { online: e.online })]
}, t)) }),
n.error ? /* @__PURE__ */ (0, Q.jsx)(V, {
divided: !0,
@@ -4038,7 +4038,7 @@ function Oo({ data: e }) {
}) : null,
/* @__PURE__ */ (0, Q.jsx)(M, { children: /* @__PURE__ */ (0, Q.jsx)(E, {
variant: "secondary",
- onClick: () => void n.run("refresh", (e) => un(e), (e) => On.setQueryData(Ze, e)),
+ onClick: () => void n.run("refresh", (e) => dn(e), (e) => kn.setQueryData(Ze, e)),
...K(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -4046,17 +4046,38 @@ function Oo({ data: e }) {
}) : null;
}
// src/react/settings/service-preferences.tsx
-var ko = [
+var Ao = [
["off", "关闭"],
["precise", "每 10 秒一张"],
["coarse", "每 30 秒一张"]
];
-function Ao({ epoch: e = 0, disabled: t = !1 }) {
+function jo({ receipt: e }) {
+ let t = X({
+ queryKey: Ft,
+ queryFn: ({ signal: e }) => _n(e)
+ }), n = Jn(), r = n.error || t.error;
+ return /* @__PURE__ */ (0, Q.jsxs)(L, {
+ title: "后台任务",
+ children: [/* @__PURE__ */ (0, Q.jsx)(I, { children: /* @__PURE__ */ (0, Q.jsx)(B, {
+ label: "默认处理速度",
+ description: "新任务使用此档位。运行中的任务可在活动页单独调整。",
+ children: /* @__PURE__ */ (0, Q.jsx)(jt, {
+ value: t.data?.taskSpeedMode || "standard",
+ busy: !t.data || n.isPending,
+ onChange: (t) => n.mutate({ taskSpeedMode: t }, { onSuccess: () => e("已保存默认处理速度") })
+ })
+ }) }), r ? /* @__PURE__ */ (0, Q.jsx)(V, {
+ divided: !0,
+ children: /* @__PURE__ */ (0, Q.jsx)(k, { children: q(r) })
+ }) : null]
+ });
+}
+function Mo({ epoch: e = 0, disabled: t = !1 }) {
let n = X({
- queryKey: Ut,
- queryFn: ({ signal: e }) => _n(e),
+ queryKey: Wt,
+ queryFn: ({ signal: e }) => vn(e),
refetchOnMount: "always"
- }), r = Jn(), i = r.reset;
+ }), r = Yn(), i = r.reset;
(0, Z.useEffect)(() => {
i();
}, [e, i]);
@@ -4074,7 +4095,7 @@ function Ao({ epoch: e = 0, disabled: t = !1 }) {
onSelectionChange: (e) => {
e !== null && r.mutate(String(e));
},
- children: ko.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
+ children: Ao.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
id: e,
children: t
}, e))
@@ -4086,7 +4107,7 @@ function Ao({ epoch: e = 0, disabled: t = !1 }) {
children: [/* @__PURE__ */ (0, Q.jsx)(N, {
role: "status",
children: r.isPending ? "正在保存…" : "正在采集。"
- }), r.isPending ? null : /* @__PURE__ */ (0, Q.jsx)(Wt, {})]
+ }), r.isPending ? null : /* @__PURE__ */ (0, Q.jsx)(Gt, {})]
}) : null,
o ? /* @__PURE__ */ (0, Q.jsx)(V, {
divided: !0,
@@ -4094,20 +4115,20 @@ function Ao({ epoch: e = 0, disabled: t = !1 }) {
}) : null
] });
}
-function jo({ receipt: e }) {
- let t = Zt();
+function No({ receipt: e }) {
+ let t = Qt();
(0, Z.useSyncExternalStore)(t.subscribe, t.version);
let n = X({
- queryKey: Pt,
- queryFn: ({ signal: e }) => gn(e),
+ queryKey: Ft,
+ queryFn: ({ signal: e }) => _n(e),
refetchOnMount: "always"
- }), r = qn(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
+ }), r = Jn(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
return /* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "follow-options",
title: "关注采集",
children: [/* @__PURE__ */ (0, Q.jsxs)(I, { children: [
- /* @__PURE__ */ (0, Q.jsx)(Mo, {}),
- /* @__PURE__ */ (0, Q.jsx)(No, {}),
+ /* @__PURE__ */ (0, Q.jsx)(Po, {}),
+ /* @__PURE__ */ (0, Q.jsx)(Fo, {}),
/* @__PURE__ */ (0, Q.jsx)(B, {
label: "首次采集范围",
description: "新关注的来源第一次回看多久以前的内容。",
@@ -4152,13 +4173,13 @@ function jo({ receipt: e }) {
}) : null]
});
}
-function Mo() {
+function Po() {
let e = X({
queryKey: lt,
- queryFn: ({ signal: e }) => pn(e),
+ queryFn: ({ signal: e }) => mn(e),
refetchOnMount: "always",
- refetchInterval: (e) => Fn(e.state.data)
- }), t = Kn(), n = e.data, r = (0, Z.useRef)(Qt(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, Z.useState)("60"), [o, s] = (0, Z.useState)(!1);
+ refetchInterval: (e) => In(e.state.data)
+ }), t = qn(), n = e.data, r = (0, Z.useRef)($t(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, Z.useState)("60"), [o, s] = (0, Z.useState)(!1);
(0, Z.useEffect)(() => {
n?.enabled && (r.current = n.interval_minutes, a(String(n.interval_minutes)));
}, [n]);
@@ -4211,7 +4232,7 @@ function Mo() {
role: "status",
children: t.isPending ? "正在保存…" : "正在检查来源更新…"
}) }) : null,
- /* @__PURE__ */ (0, Q.jsx)(Po, {
+ /* @__PURE__ */ (0, Q.jsx)(Io, {
kind: "follow",
status: n,
title: "上次自动检查失败"
@@ -4219,12 +4240,12 @@ function Mo() {
u ? /* @__PURE__ */ (0, Q.jsx)(V, { children: /* @__PURE__ */ (0, Q.jsx)(k, { children: q(u) }) }) : null
] });
}
-function No() {
+function Fo() {
let e = X({
queryKey: ot,
- queryFn: ({ signal: e }) => fn(e),
+ queryFn: ({ signal: e }) => pn(e),
refetchOnMount: "always",
- refetchInterval: (e) => Fn(e.state.data)
+ refetchInterval: (e) => In(e.state.data)
}), t = e.data;
if (!t) return e.isPending ? /* @__PURE__ */ (0, Q.jsx)(B, {
label: "订阅源拉取",
@@ -4248,17 +4269,17 @@ function No() {
role: "status",
children: "正在拉取订阅源…"
}) }) : null,
- /* @__PURE__ */ (0, Q.jsx)(Po, {
+ /* @__PURE__ */ (0, Q.jsx)(Io, {
kind: "feed",
status: t,
title: "上次自动拉取失败"
})
] });
}
-function Po({ kind: e, status: t, title: n }) {
- let r = Gn(e);
+function Io({ kind: e, status: t, title: n }) {
+ let r = Kn(e);
if (!t?.enabled || t.running || !t.last_error) return null;
- let i = t.consecutive_failures ?? 0, a = xn(t.next_run_at), o = [i > 1 ? `已连续失败 ${i} 次` : "", a ? `下一轮 ${a}` : ""].filter(Boolean).join(","), s = [
+ let i = t.consecutive_failures ?? 0, a = Sn(t.next_run_at), o = [i > 1 ? `已连续失败 ${i} 次` : "", a ? `下一轮 ${a}` : ""].filter(Boolean).join(","), s = [
t.last_error,
o,
r.error ? `没有重试:${q(r.error)}` : ""
@@ -4278,10 +4299,10 @@ function Po({ kind: e, status: t, title: n }) {
}) });
}
// src/react/settings/media-processing-settings.tsx
-function Fo({ receipt: e }) {
+function Lo({ receipt: e }) {
let t = X({
queryKey: bt,
- queryFn: ({ signal: e }) => hn(e)
+ queryFn: ({ signal: e }) => gn(e)
}), n = Y(), r = n.error || (t.error ? q(t.error) : ""), i = !t.data || t.isFetching || !!n.busy;
return /* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "preview",
@@ -4295,11 +4316,11 @@ function Fo({ receipt: e }) {
isSelected: !!t.data && !t.data.metadata_only,
isDisabled: i,
onChange: (t) => void n.run("save", (e) => G(xt, { metadata_only: !t }, "POST", e), (t) => {
- On.setQueryData(bt, t), On.invalidateQueries({ queryKey: Ut }), On.invalidateQueries({ queryKey: ht }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");
+ kn.setQueryData(bt, t), kn.invalidateQueries({ queryKey: Wt }), kn.invalidateQueries({ queryKey: ht }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");
})
})
}) }),
- /* @__PURE__ */ (0, Q.jsx)(Ao, { disabled: !t.data || t.data.metadata_only || !!n.busy }),
+ /* @__PURE__ */ (0, Q.jsx)(Mo, { disabled: !t.data || t.data.metadata_only || !!n.busy }),
/* @__PURE__ */ (0, Q.jsx)(I, { children: /* @__PURE__ */ (0, Q.jsx)(B, {
label: "抽帧解码方式",
description: "用于生成封面、九宫格和时间轴。",
@@ -4311,7 +4332,7 @@ function Fo({ receipt: e }) {
isDisabled: i,
onSelectionChange: (t) => {
t !== null && n.run("preview_acceleration", (e) => G(xt, { preview_acceleration: String(t) }, "POST", e), (t) => {
- On.setQueryData(bt, t), e("已保存抽帧解码方式");
+ kn.setQueryData(bt, t), e("已保存抽帧解码方式");
});
},
children: [/* @__PURE__ */ (0, Q.jsx)(z, {
@@ -4338,10 +4359,10 @@ function Fo({ receipt: e }) {
]
});
}
-function Io({ receipt: e }) {
+function Ro({ receipt: e }) {
let t = X({
queryKey: bt,
- queryFn: ({ signal: e }) => hn(e)
+ queryFn: ({ signal: e }) => gn(e)
}), n = Y(), r = n.error || (t.error ? q(t.error) : "");
return /* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "transcode",
@@ -4358,7 +4379,7 @@ function Io({ receipt: e }) {
isDisabled: !t.data || t.isFetching || !!n.busy,
onSelectionChange: (t) => {
t !== null && n.run("playback_acceleration", (e) => G(xt, { playback_acceleration: String(t) }, "POST", e), (t) => {
- On.setQueryData(bt, t), e("已保存转码方式");
+ kn.setQueryData(bt, t), e("已保存转码方式");
});
},
children: [/* @__PURE__ */ (0, Q.jsx)(z, {
@@ -4386,7 +4407,7 @@ function Io({ receipt: e }) {
});
}
// src/react/boardui/components/base/textarea/textarea.tsx
-var Lo = Rn({
+var zo = zn({
field: "relative flex w-full flex-col rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease",
fieldSize: {
medium: "p-2",
@@ -4399,9 +4420,9 @@ var Lo = Rn({
},
footer: "flex w-full items-start justify-between gap-3",
count: "ms-auto shrink-0 pt-px text-caption-1-medium text-text-tertiary tabular-nums"
-}), Ro = 20;
-function zo({ size: e, rows: t = 3, autoResize: n = !1, maxRows: r, resize: i = "vertical", fieldClassName: a, className: o, ref: s, groupRef: c, onInput: l, ...u }) {
- let d = (0, Z.useContext)(Kt), f = e ?? d.size ?? "medium", p = (0, Z.useRef)(null), m = (e) => {
+}), Bo = 20;
+function Vo({ size: e, rows: t = 3, autoResize: n = !1, maxRows: r, resize: i = "vertical", fieldClassName: a, className: o, ref: s, groupRef: c, onInput: l, ...u }) {
+ let d = (0, Z.useContext)(qt), f = e ?? d.size ?? "medium", p = (0, Z.useRef)(null), m = (e) => {
p.current = e, typeof s == "function" ? s(e) : s && (s.current = e);
}, h = () => {
let e = p.current;
@@ -4410,14 +4431,14 @@ function zo({ size: e, rows: t = 3, autoResize: n = !1, maxRows: r, resize: i =
e.style.height = "", e.style.maxHeight = "", e.style.overflowY = "";
return;
}
- let i = parseFloat(window.getComputedStyle(e).lineHeight) || Ro, a = r ? r * i : Infinity;
+ let i = parseFloat(window.getComputedStyle(e).lineHeight) || Bo, a = r ? r * i : Infinity;
e.style.height = "0px";
let o = Math.max(e.scrollHeight, t * i);
e.style.height = `${Math.min(o, a)}px`, e.style.maxHeight = r ? `${a}px` : "", e.style.overflowY = o > a ? "auto" : "hidden";
};
return (0, Z.useLayoutEffect)(h), /* @__PURE__ */ (0, Q.jsx)(Re, {
ref: c,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => sn(Lo.field, Lo.fieldSize[f], 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", d.fieldClassName, a),
+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => cn(zo.field, zo.fieldSize[f], 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", d.fieldClassName, a),
children: /* @__PURE__ */ (0, Q.jsx)(Ve, {
ref: m,
rows: t,
@@ -4425,14 +4446,14 @@ function zo({ size: e, rows: t = 3, autoResize: n = !1, maxRows: r, resize: i =
onInput: (e) => {
h(), l?.(e);
},
- className: sn(Lo.textarea, Lo.resize[n ? "none" : i], d.inputClassName, o)
+ className: cn(zo.textarea, zo.resize[n ? "none" : i], d.inputClassName, o)
})
});
}
-zo.displayName = "TextareaBase";
-function Bo({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResize: a, maxRows: o, resize: s, maxLength: c, showCount: l = !1, fieldClassName: u, ref: d, groupRef: f, className: p, value: m, defaultValue: h, onChange: g, ..._ }) {
+Vo.displayName = "TextareaBase";
+function Ho({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResize: a, maxRows: o, resize: s, maxLength: c, showCount: l = !1, fieldClassName: u, ref: d, groupRef: f, className: p, value: m, defaultValue: h, onChange: g, ..._ }) {
let [v, y] = (0, Z.useState)(() => (h ?? "").length), b = m === void 0 ? v : m.length;
- return /* @__PURE__ */ (0, Q.jsx)(Gt, {
+ return /* @__PURE__ */ (0, Q.jsx)(Kt, {
..._,
value: m,
defaultValue: h,
@@ -4448,7 +4469,7 @@ function Bo({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResize
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, Q.jsx)(zo, {
+ /* @__PURE__ */ (0, Q.jsx)(Vo, {
ref: d,
groupRef: f,
placeholder: r,
@@ -4460,25 +4481,25 @@ function Bo({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResize
fieldClassName: u
}),
(t || l) && /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: Lo.footer,
+ className: zo.footer,
children: [t && /* @__PURE__ */ (0, Q.jsx)(ft, {
isInvalid: m,
children: t
}), l && /* @__PURE__ */ (0, Q.jsx)("span", {
- className: sn(Lo.count, m && "text-text-error-primary"),
+ className: cn(zo.count, m && "text-text-error-primary"),
children: c ? `${b}/${c}` : b
})]
})
] })
});
}
-Bo.displayName = "Textarea";
+Ho.displayName = "Textarea";
// src/react/settings/code-pattern-settings.tsx
-var Vo = "^\\+{3}\\s*(?<code>FC2-PPV-\\d+)\n\\[(?<code>[A-Z]+-\\d+)\\]";
-function Ho({ receipt: e }) {
+var Uo = "^\\+{3}\\s*(?<code>FC2-PPV-\\d+)\n\\[(?<code>[A-Z]+-\\d+)\\]";
+function Wo({ receipt: e }) {
let t = X({
- queryKey: Pt,
- queryFn: ({ signal: e }) => gn(e)
+ queryKey: Ft,
+ queryFn: ({ signal: e }) => _n(e)
}), [n, r] = (0, Z.useState)(null), i = Y(), a = n ?? (t.data?.codePatterns ?? []).join("\n"), o = i.error || (t.error ? q(t.error) : "");
return /* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "codes",
@@ -4486,11 +4507,11 @@ function Ho({ receipt: e }) {
onSubmit: (t) => {
t.preventDefault();
let n = a.split("\n").map((e) => e.trim()).filter(Boolean);
- i.run("save", (e) => G(Ft, { codePatterns: n }, "POST", e), (t) => {
- On.setQueryData(Pt, t), r(null), e("已保存配置");
+ i.run("save", (e) => G(It, { codePatterns: n }, "POST", e), (t) => {
+ kn.setQueryData(Ft, t), r(null), e("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, Q.jsxs)(V, { children: [/* @__PURE__ */ (0, Q.jsx)(N, { children: "内置规则认不出番号时,按这里的规则从文件名里取。每行一条正则表达式,番号写在 (?<code>…) 里,没有命名组就取第一个括号。规则在下一次处理时对还没有番号的视频生效。" }), /* @__PURE__ */ (0, Q.jsx)(Bo, {
+ children: [/* @__PURE__ */ (0, Q.jsxs)(V, { children: [/* @__PURE__ */ (0, Q.jsx)(N, { children: "内置规则认不出番号时,按这里的规则从文件名里取。每行一条正则表达式,番号写在 (?<code>…) 里,没有命名组就取第一个括号。规则在下一次处理时对还没有番号的视频生效。" }), /* @__PURE__ */ (0, Q.jsx)(Ho, {
id: "codePatternSetting",
"aria-label": "番号识别规则",
rows: 3,
@@ -4498,7 +4519,7 @@ function Ho({ receipt: e }) {
maxRows: 12,
spellCheck: "false",
autoComplete: "off",
- placeholder: Vo,
+ placeholder: Uo,
value: a,
isDisabled: !t.data,
isInvalid: !!o,
@@ -4512,7 +4533,7 @@ function Ho({ receipt: e }) {
});
}
// src/react/settings/password-pair.tsx
-function Uo({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
+function Go({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(P, {
id: "access-password",
type: "password",
@@ -4542,12 +4563,12 @@ function Uo({ label: e, password: t, confirmation: n, onPassword: r, onConfirmat
})] });
}
// src/react/settings/access-settings.tsx
-var Wo = {
+var Ko = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function Go({ initial: e, receipt: t, devices: n, after: r }) {
+function qo({ initial: e, receipt: t, devices: n, after: r }) {
let [i, a] = (0, Z.useState)(e), [o, s] = (0, Z.useState)(""), [c, l] = (0, Z.useState)(""), [u, d] = (0, Z.useState)(""), [f, p] = (0, Z.useState)(!1), [m, h] = (0, Z.useState)({}), g = (0, Z.useRef)(null), _ = Y(), v = (e) => {
e.preventDefault();
let n = {};
@@ -4564,7 +4585,7 @@ function Go({ initial: e, receipt: t, devices: n, after: r }) {
let t = e instanceof qe ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? h(n) : _.setError(q(e));
});
- }, y = Wo[i.mode], b = i.mode !== "locked";
+ }, y = Ko[i.mode], b = i.mode !== "locked";
return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
/* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "access",
@@ -4597,7 +4618,7 @@ function Go({ initial: e, receipt: t, devices: n, after: r }) {
isInvalid: !!m.current_password,
hint: m.current_password
}) : null,
- b && !f ? /* @__PURE__ */ (0, Q.jsx)(Uo, {
+ b && !f ? /* @__PURE__ */ (0, Q.jsx)(Go, {
label: i.mode === "password" ? "新访问密码" : "设置访问密码",
password: c,
confirmation: u,
@@ -4625,13 +4646,13 @@ function Go({ initial: e, receipt: t, devices: n, after: r }) {
] });
}
// src/react/settings/api-token-settings.tsx
-var Ko = "/api/configuration/access/token/rotate";
-function qo(e, t) {
+var Jo = "/api/configuration/access/token/rotate";
+function Yo(e, t) {
let n = "用旧口令的脚本和 API 调用会立即失效。", r = e === "legacy" ? `其他浏览器现在用这串口令登录,会全部退出,需要输入新口令重新登录;本机保持登录。${n}` : e === "open" ? `浏览器不需要登录,不受影响。${n}` : `用访问密码登录的浏览器不受影响。${n}`;
return t ? `${r}另一台电脑要换成同一份口令文件,两台之间才能继续互取复核结果。` : r;
}
-function Jo({ initial: e, mode: t, receipt: n }) {
- let [r, i] = (0, Z.useState)(e), [a, o] = (0, Z.useState)(null), s = Y(), c = Un();
+function Xo({ initial: e, mode: t, receipt: n }) {
+ let [r, i] = (0, Z.useState)(e), [a, o] = (0, Z.useState)(null), s = Y(), c = Wn();
return /* @__PURE__ */ (0, Q.jsxs)(L, {
title: "访问口令",
children: [/* @__PURE__ */ (0, Q.jsxs)(V, { children: [
@@ -4675,12 +4696,12 @@ function Jo({ initial: e, mode: t, receipt: n }) {
status: "更换后立即生效。",
children: /* @__PURE__ */ (0, Q.jsx)(E, {
variant: "secondary",
- onClick: () => void rn({
+ onClick: () => void an({
title: "更换访问口令",
- body: qo(t, r.paired),
+ body: Yo(t, r.paired),
confirmLabel: "更换口令",
onConfirm: async () => {
- let e = await G(Ko, {});
+ let e = await G(Jo, {});
i(e), o(e), e.mode === "legacy" && c.invalidateQueries({ queryKey: ["access-sessions"] }), n(e.signed_out ? `已更换访问口令,${e.signed_out} 台设备需要重新登录` : "已更换访问口令");
}
}),
@@ -4690,7 +4711,7 @@ function Jo({ initial: e, mode: t, receipt: n }) {
});
}
// src/react/settings/certificate-trust.tsx
-function Yo({ rows: e, label: t }) {
+function Zo({ rows: e, label: t }) {
let n = e.length + 8, r = e.flatMap((e, t) => [...e].flatMap((e, n) => e === "1" ? [`M${n + 4} ${t + 4}h1v1h-1z`] : [])).join("");
return /* @__PURE__ */ (0, Q.jsx)("svg", {
role: "img",
@@ -4704,12 +4725,12 @@ function Yo({ rows: e, label: t }) {
})
});
}
-var Xo = [
+var Qo = [
["iPhone/iPad", "用相机扫码,在 Safari 中允许下载描述文件;到「设置 → 通用 → VPN 与设备管理」安装它,再到「设置 → 通用 → 关于本机 → 证书信任设置」打开这张证书的完全信任。"],
["Android", "扫码下载后,到「设置 → 安全 → 加密与凭据 → 安装证书 → CA 证书」选择下载的文件。菜单名称因厂商而异。"],
["电脑", "点「下载证书」。Windows 双击文件,安装到「受信任的根证书颁发机构」;macOS 在「钥匙串访问」里把它设为「始终信任」。"]
];
-function Zo({ initial: e }) {
+function $o({ initial: e }) {
let t = X({
queryKey: ["ca-certificate"],
initialData: e,
@@ -4727,7 +4748,7 @@ function Zo({ initial: e }) {
children: [
/* @__PURE__ */ (0, Q.jsxs)(V, { children: [/* @__PURE__ */ (0, Q.jsx)(N, { children: "手机、平板和其他电脑第一次打开 HTTPS 地址时会提示证书不受信任。在那台设备上安装并信任本机 CA 证书后不再提示。证书只含公开部分,不含私钥。" }), /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-start gap-4",
- children: [/* @__PURE__ */ (0, Q.jsx)(Yo, {
+ children: [/* @__PURE__ */ (0, Q.jsx)(Zo, {
rows: t.qr,
label: "手机扫码下载本机 CA 证书"
}), /* @__PURE__ */ (0, Q.jsxs)("div", {
@@ -4747,7 +4768,7 @@ function Zo({ initial: e }) {
})] }), /* @__PURE__ */ (0, Q.jsx)(N, { children: "二维码 10 分钟内有效,页面开着时会自动更新。Android 打不开 .local 地址时,在这台电脑上改用局域网 IP 打开本页再扫码。" })]
})]
})] }),
- /* @__PURE__ */ (0, Q.jsx)(I, { children: Xo.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(B, {
+ /* @__PURE__ */ (0, Q.jsx)(I, { children: Qo.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(B, {
label: e,
description: t
}, e)) }),
@@ -4758,143 +4779,143 @@ function Zo({ initial: e }) {
/* @__PURE__ */ (0, Q.jsx)(M, { children: /* @__PURE__ */ (0, Q.jsx)(Je, {
href: t.download,
download: "peach-local-ca.crt",
- leadingIcon: Yn,
+ leadingIcon: Xn,
children: "下载证书"
}) })
]
});
}
// src/react/settings/device-sessions.tsx
-var Qo = "/api/configuration/access/sessions", $o = (e) => e.device || "未识别的浏览器", es = {
+var es = "/api/configuration/access/sessions", ts = (e) => e.device || "未识别的浏览器", ns = {
glyph: pt,
brand: "apple"
-}, ts = {
- glyph: bn,
+}, rs = {
+ glyph: xn,
brand: "android"
-}, ns = {
+}, is = {
iPhone: {
- platform: es,
- terminal: Yt
+ platform: ns,
+ terminal: Xt
},
iPad: {
- platform: es,
+ platform: ns,
terminal: at
},
Android: {
- platform: ts,
- terminal: Yt
+ platform: rs,
+ terminal: Xt
},
"Android 平板": {
- platform: ts,
+ platform: rs,
terminal: at
},
ChromeOS: {
platform: { browser: "chrome" },
- terminal: Xn
+ terminal: Zn
},
Windows: {
platform: {
- glyph: qt,
+ glyph: Jt,
brand: "windows"
},
- terminal: Xn
+ terminal: Zn
},
macOS: {
- platform: es,
- terminal: Xn
+ platform: ns,
+ terminal: Zn
},
- Linux: { terminal: Xn }
-}, rs = "inline size-4 -mt-0.5 mr-1 align-middle";
-function is({ platform: e }) {
- if ("browser" in e) return /* @__PURE__ */ (0, Q.jsx)(ur, {
+ Linux: { terminal: Zn }
+}, as = "inline size-4 -mt-0.5 mr-1 align-middle";
+function os({ platform: e }) {
+ if ("browser" in e) return /* @__PURE__ */ (0, Q.jsx)(dr, {
name: e.browser,
- className: rs
+ className: as
});
let { glyph: t, brand: n } = e;
return /* @__PURE__ */ (0, Q.jsx)(t, {
"aria-hidden": !0,
"data-platform-mark": n,
- className: rs
+ className: as
});
}
-function as({ row: e }) {
- if (!e.device) return $o(e);
- let t = e.device.split(" · "), n = ns[t.at(-1) ?? ""] ? t.pop() : "", r = t.join(" · "), i = n ? ns[n].platform : void 0;
+function ss({ row: e }) {
+ if (!e.device) return ts(e);
+ let t = e.device.split(" · "), n = is[t.at(-1) ?? ""] ? t.pop() : "", r = t.join(" · "), i = n ? is[n].platform : void 0;
return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
- r ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [dr(r) ? /* @__PURE__ */ (0, Q.jsx)(ur, {
+ r ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [fr(r) ? /* @__PURE__ */ (0, Q.jsx)(dr, {
name: r,
- className: rs
+ className: as
}) : null, r] }) : null,
r && n ? " · " : null,
- n ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [i ? /* @__PURE__ */ (0, Q.jsx)(is, { platform: i }) : null, n] }) : null
+ n ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [i ? /* @__PURE__ */ (0, Q.jsx)(os, { platform: i }) : null, n] }) : null
] });
}
-function os({ row: e }) {
- let t = ns[e.device.split(" · ").at(-1) ?? ""]?.terminal ?? cn;
+function cs({ row: e }) {
+ let t = is[e.device.split(" · ").at(-1) ?? ""]?.terminal ?? ln;
return /* @__PURE__ */ (0, Q.jsx)(t, {
"aria-hidden": !0,
className: "size-5 shrink-0 text-foreground-icon-secondary"
});
}
-function ss({ row: e, children: t }) {
+function ls({ row: e, children: t }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex min-h-13 w-full items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-2.5 last:border-b-0",
children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [/* @__PURE__ */ (0, Q.jsx)(os, { row: e }), /* @__PURE__ */ (0, Q.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, Q.jsx)(cs, { row: e }), /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, Q.jsx)("p", {
className: "text-body-regular text-text-primary",
- children: /* @__PURE__ */ (0, Q.jsx)(as, { row: e })
+ children: /* @__PURE__ */ (0, Q.jsx)(ss, { row: e })
}), /* @__PURE__ */ (0, Q.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: us(e)
+ children: fs(e)
})]
})]
}), t]
});
}
-function cs(e, t = Date.now() / 1e3) {
+function us(e, t = Date.now() / 1e3) {
let n = Math.max(0, t - e);
return n < 60 ? "刚刚" : n < 3600 ? `${Math.floor(n / 60)} 分钟前` : n < 86400 ? `${Math.floor(n / 3600)} 小时前` : n < 2592e3 ? `${Math.floor(n / 86400)} 天前` : (/* @__PURE__ */ new Date(e * 1e3)).toLocaleDateString("zh-CN");
}
-function ls(e) {
+function ds(e) {
return e.network === "loopback" ? "运行 Peach 的电脑" : e.network ? e.remote ? `公网入口 · ${e.network}` : e.network : "";
}
-var us = (e) => [`最近活动 ${cs(e.last_seen)}`, ls(e)].filter(Boolean).join(" · ");
-function ds({ revision: e, receipt: t }) {
+var fs = (e) => [`最近活动 ${us(e.last_seen)}`, ds(e)].filter(Boolean).join(" · ");
+function ps({ revision: e, receipt: t }) {
let n = X({
queryKey: ["access-sessions", e],
refetchOnMount: "always",
- queryFn: ({ signal: e }) => W(Qo, e)
+ queryFn: ({ signal: e }) => W(es, e)
});
return n.error ? /* @__PURE__ */ (0, Q.jsx)(L, {
title: "已登录的设备",
children: /* @__PURE__ */ (0, Q.jsx)(V, { children: /* @__PURE__ */ (0, Q.jsx)(k, { children: q(n.error) }) })
- }) : n.isFetching || !n.data ? /* @__PURE__ */ (0, Q.jsx)(It, {
+ }) : n.isFetching || !n.data ? /* @__PURE__ */ (0, Q.jsx)(Lt, {
label: "正在读取已登录的设备",
- html: ln
- }) : /* @__PURE__ */ (0, Q.jsx)(fs, {
+ html: un
+ }) : /* @__PURE__ */ (0, Q.jsx)(ms, {
initial: n.data,
receipt: t
});
}
-function fs({ initial: e, receipt: t }) {
+function ms({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e);
(0, Z.useEffect)(() => r(e), [e]);
let i = n.sessions.filter((e) => !e.current);
(0, Z.useEffect)(() => {
- An("devices", {
+ jn("devices", {
rows: Math.min(n.sessions.length, 8),
manageable: n.manageable && i.length > 0
});
}, [n, i.length]);
- let a = (e) => void rn({
+ let a = (e) => void an({
title: "撤销这台设备的登录",
- body: `${$o(e)}(${us(e)})下次打开 Peach 需要重新输入访问密码。`,
+ body: `${ts(e)}(${fs(e)})下次打开 Peach 需要重新输入访问密码。`,
confirmLabel: "撤销登录",
onConfirm: async () => {
- r(await G(`${Qo}/revoke`, {
+ r(await G(`${es}/revoke`, {
revision: n.revision,
id: e.id
})), t("已撤销登录");
@@ -4903,7 +4924,7 @@ function fs({ initial: e, receipt: t }) {
return /* @__PURE__ */ (0, Q.jsxs)(L, {
title: "已登录的设备",
children: [
- n.sessions.length ? /* @__PURE__ */ (0, Q.jsx)(I, { children: n.sessions.map((e) => /* @__PURE__ */ (0, Q.jsx)(ss, {
+ n.sessions.length ? /* @__PURE__ */ (0, Q.jsx)(I, { children: n.sessions.map((e) => /* @__PURE__ */ (0, Q.jsx)(ls, {
row: e,
children: e.current ? /* @__PURE__ */ (0, Q.jsx)(et, {
color: "blue",
@@ -4912,7 +4933,7 @@ function fs({ initial: e, receipt: t }) {
}) : n.manageable ? /* @__PURE__ */ (0, Q.jsx)(E, {
size: "small",
variant: "secondary",
- "aria-label": `撤销 ${$o(e)} 的登录`,
+ "aria-label": `撤销 ${ts(e)} 的登录`,
onClick: () => a(e),
children: "撤销"
}) : null
@@ -4925,12 +4946,12 @@ function fs({ initial: e, receipt: t }) {
status: "修改访问密码会让全部设备退出。",
children: /* @__PURE__ */ (0, Q.jsx)(E, {
variant: "secondary",
- onClick: () => void rn({
+ onClick: () => void an({
title: "撤销其他设备的登录",
body: `除本机以外的 ${i.length} 台设备下次打开 Peach 需要重新输入访问密码。`,
confirmLabel: "撤销登录",
onConfirm: async () => {
- let e = await G(`${Qo}/revoke`, {
+ let e = await G(`${es}/revoke`, {
revision: n.revision,
scope: "others"
});
@@ -4944,7 +4965,7 @@ function fs({ initial: e, receipt: t }) {
});
}
// src/react/components/configuration-fields.tsx
-function ps({ id: e, label: t, value: n, onChange: r, options: i, isDisabled: a, isInvalid: o, children: s }) {
+function hs({ id: e, label: t, value: n, onChange: r, options: i, isDisabled: a, isInvalid: o, children: s }) {
let c = `${e}-label`;
return /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-col gap-1.5",
@@ -4954,18 +4975,18 @@ function ps({ id: e, label: t, value: n, onChange: r, options: i, isDisabled: a,
elementType: "span",
children: t
}),
- /* @__PURE__ */ (0, Q.jsx)(Lt, {
+ /* @__PURE__ */ (0, Q.jsx)(Rt, {
id: e,
"aria-labelledby": c,
orientation: "horizontal",
- className: Nt,
+ className: Pt,
value: n,
onChange: r,
isDisabled: a,
isInvalid: o,
children: i.map((e) => /* @__PURE__ */ (0, Q.jsx)(Ge, {
value: e.value,
- className: Mt,
+ className: Nt,
children: e.label
}, e.value))
}),
@@ -4973,7 +4994,7 @@ function ps({ id: e, label: t, value: n, onChange: r, options: i, isDisabled: a,
]
});
}
-function ms({ prefix: e, suffix: t, ...n }) {
+function gs({ prefix: e, suffix: t, ...n }) {
let r = () => /* @__PURE__ */ (0, Q.jsx)("span", {
className: "shrink-0 pr-1 text-body-regular text-text-secondary",
children: t
@@ -4988,18 +5009,18 @@ function ms({ prefix: e, suffix: t, ...n }) {
});
}
// src/react/settings/port-settings.tsx
-var hs = [{
+var _s = [{
value: "0.0.0.0",
label: "同一局域网的设备"
}, {
value: "127.0.0.1",
label: "只有这台电脑"
}];
-function gs({ data: e, receipt: t }) {
+function vs({ data: e, receipt: t }) {
let n = e.network, r = n ? n.editable : e.editable && e.port_editable !== !1, [i, a] = (0, Z.useState)(n?.host ?? "127.0.0.1"), [o, s] = (0, Z.useState)(n?.mdns_name ?? "peach"), [c, l] = (0, Z.useState)(String(e.port)), [u, d] = (0, Z.useState)({}), [f, p] = (0, Z.useState)(null), m = Y();
return (0, Z.useEffect)(() => {
if (!f) return;
- let e = setTimeout(() => location.assign(f.url), Ga);
+ let e = setTimeout(() => location.assign(f.url), Ka);
return () => clearTimeout(e);
}, [f]), f ? /* @__PURE__ */ (0, Q.jsx)(L, {
guide: "port",
@@ -5035,33 +5056,33 @@ function gs({ data: e, receipt: t }) {
});
} : void 0,
children: [/* @__PURE__ */ (0, Q.jsxs)(V, { children: [
- n ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(_s, {
+ n ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(ys, {
label: "本机地址",
value: n.local_url,
receipt: t
}), n.lan_url || n.ip_url ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
- /* @__PURE__ */ (0, Q.jsx)(_s, {
+ /* @__PURE__ */ (0, Q.jsx)(ys, {
label: "手机连接地址",
value: n.lan_url || n.ip_url,
receipt: t
}),
- n.lan_url && n.ip_url ? /* @__PURE__ */ (0, Q.jsx)(_s, {
+ n.lan_url && n.ip_url ? /* @__PURE__ */ (0, Q.jsx)(ys, {
label: "备用 IP 地址",
value: n.ip_url,
receipt: t
}) : null,
/* @__PURE__ */ (0, Q.jsxs)(N, { children: ["手机与电脑连接同一 Wi-Fi。", n.ip_url && n.lan_url ? "名称地址打不开时,可尝试备用 IP 地址。" : ""] })
] }) : /* @__PURE__ */ (0, Q.jsx)(N, { children: n.scope === "local" ? "当前只允许这台电脑访问,手机无法连接。" : "局域网连接地址未取得,请检查电脑的网络连接和服务启动配置。" })] }) : null,
- r ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [n?.editable ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(ps, {
+ r ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [n?.editable ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(hs, {
id: "configHost",
label: "谁可以访问",
value: i,
onChange: a,
- options: hs,
+ options: _s,
isDisabled: !!m.busy,
isInvalid: !!u.host,
children: u.host ? /* @__PURE__ */ (0, Q.jsx)(k, { children: u.host }) : null
- }), i === "0.0.0.0" ? /* @__PURE__ */ (0, Q.jsx)(ms, {
+ }), i === "0.0.0.0" ? /* @__PURE__ */ (0, Q.jsx)(gs, {
id: "configMdnsName",
label: "局域网访问地址",
value: o,
@@ -5075,7 +5096,7 @@ function gs({ data: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !!u.mdns_name,
hint: u.mdns_name || void 0
- }) : null] }) : null, /* @__PURE__ */ (0, Q.jsx)(ms, {
+ }) : null] }) : null, /* @__PURE__ */ (0, Q.jsx)(gs, {
id: "configPort",
label: "端口",
prefix: "localhost:",
@@ -5103,7 +5124,7 @@ function gs({ data: e, receipt: t }) {
}) : null]
});
}
-function _s({ label: e, value: t, receipt: n }) {
+function ys({ label: e, value: t, receipt: n }) {
let r = Y();
return /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex min-w-0 flex-col gap-2",
@@ -5128,12 +5149,12 @@ function _s({ label: e, value: t, receipt: n }) {
});
}
// src/react/settings/peach-proxy-fields.tsx
-var vs = [
+var bs = [
["environment", "跟随环境"],
["direct", "直连"],
["proxy", "自定义"]
];
-function ys({ mode: e, onChange: t, labelledBy: n }) {
+function xs({ mode: e, onChange: t, labelledBy: n }) {
return /* @__PURE__ */ (0, Q.jsx)(R, {
"aria-label": n ? void 0 : "连接方式",
"aria-labelledby": n,
@@ -5141,13 +5162,13 @@ function ys({ mode: e, onChange: t, labelledBy: n }) {
onSelectionChange: (e) => {
e !== null && t(String(e));
},
- children: vs.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
+ children: bs.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
id: e,
children: t
}, e))
});
}
-function bs({ id: e, value: t, onChange: n, saved: r = !1, error: i }) {
+function Ss({ id: e, value: t, onChange: n, saved: r = !1, error: i }) {
return /* @__PURE__ */ (0, Q.jsx)(P, {
id: e,
type: "password",
@@ -5163,19 +5184,19 @@ function bs({ id: e, value: t, onChange: n, saved: r = !1, error: i }) {
});
}
// src/react/settings/tunnel-settings.tsx
-var xs = 2e3, Ss = [["quick", "临时链接"], ["named", "命名隧道"]], Cs = {
+var Cs = 2e3, ws = [["quick", "临时链接"], ["named", "命名隧道"]], Ts = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function ws({ revision: e, initial: t, receipt: n }) {
+function Es({ revision: e, initial: t, receipt: n }) {
let [r, i] = (0, Z.useState)(t), [a, o] = (0, Z.useState)(e), [s, c] = (0, Z.useState)(t.mode), [l, u] = (0, Z.useState)(t.hostname), [d, f] = (0, Z.useState)(""), [p, m] = (0, Z.useState)({}), h = Y(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, Z.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- un(e.signal).then((t) => {
- !e.signal.aborted && t.tunnel && (On.setQueryData(Ze, t), i(t.tunnel), o(t.revision));
+ dn(e.signal).then((t) => {
+ !e.signal.aborted && t.tunnel && (kn.setQueryData(Ze, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, xs);
+ }, Cs);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -5206,19 +5227,19 @@ function ws({ revision: e, initial: t, receipt: n }) {
children: r.error ? "连接失败" : r.state === "running" ? "运行中" : r.state === "starting" ? "连接中" : "已停止"
}),
children: [/* @__PURE__ */ (0, Q.jsxs)(V, { children: [
- r.named_available ? /* @__PURE__ */ (0, Q.jsx)(Lt, {
+ r.named_available ? /* @__PURE__ */ (0, Q.jsx)(Rt, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: Nt,
- children: Ss.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(Ge, {
+ className: Pt,
+ children: ws.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(Ge, {
value: e,
- className: Mt,
+ className: Nt,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, Q.jsx)(N, { children: Cs[_ ? "named" : "quick"] }),
+ /* @__PURE__ */ (0, Q.jsx)(N, { children: Ts[_ ? "named" : "quick"] }),
_ ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(P, {
id: "tunnel-hostname",
label: "公开主机名",
@@ -5278,42 +5299,42 @@ function ws({ revision: e, initial: t, receipt: n }) {
});
}
// src/react/settings/network-settings.tsx
-function Ts({ data: e, receipt: t, panel: n, issues: r }) {
+function Ds({ data: e, receipt: t, panel: n, issues: r }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
- ...pr(n),
+ ...mr(n),
children: [
r,
- e.network || e.editable && e.port_editable !== !1 && !e.section_errors?.media_sources ? /* @__PURE__ */ (0, Q.jsx)(gs, {
+ e.network || e.editable && e.port_editable !== !1 && !e.section_errors?.media_sources ? /* @__PURE__ */ (0, Q.jsx)(vs, {
data: e,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, Q.jsx)(Go, {
+ e.access ? /* @__PURE__ */ (0, Q.jsx)(qo, {
initial: e.access,
receipt: t,
- devices: (e) => /* @__PURE__ */ (0, Q.jsx)(ds, {
+ devices: (e) => /* @__PURE__ */ (0, Q.jsx)(ps, {
revision: e.revision,
receipt: t
}),
- after: e.api_token ? (n) => /* @__PURE__ */ (0, Q.jsx)(Jo, {
+ after: e.api_token ? (n) => /* @__PURE__ */ (0, Q.jsx)(Xo, {
initial: e.api_token,
mode: n.mode,
receipt: t
}) : void 0
}) : null,
- e.certificate ? /* @__PURE__ */ (0, Q.jsx)(Zo, { initial: e.certificate }) : null,
- e.tunnel ? /* @__PURE__ */ (0, Q.jsx)(ws, {
+ e.certificate ? /* @__PURE__ */ (0, Q.jsx)($o, { initial: e.certificate }) : null,
+ e.tunnel ? /* @__PURE__ */ (0, Q.jsx)(Es, {
revision: e.revision,
initial: e.tunnel,
receipt: t
}) : null,
- e.peach_proxy ? /* @__PURE__ */ (0, Q.jsx)(Es, {
+ e.peach_proxy ? /* @__PURE__ */ (0, Q.jsx)(Os, {
initial: e.peach_proxy,
receipt: t
}) : null
]
});
}
-function Es({ initial: e, receipt: t }) {
+function Os({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(e.mode), [o, s] = (0, Z.useState)(""), c = Y();
return /* @__PURE__ */ (0, Q.jsxs)(L, {
id: "peachProxy",
@@ -5331,7 +5352,7 @@ function Es({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, Q.jsx)(I, { children: /* @__PURE__ */ (0, Q.jsx)(B, {
label: "连接方式",
description: "Peach 访问外网和采集来源时使用。",
- children: /* @__PURE__ */ (0, Q.jsx)(ys, {
+ children: /* @__PURE__ */ (0, Q.jsx)(xs, {
mode: i,
onChange: a
})
@@ -5339,7 +5360,7 @@ function Es({ initial: e, receipt: t }) {
i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, Q.jsxs)(V, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, Q.jsx)(bs, {
+ i === "proxy" ? /* @__PURE__ */ (0, Q.jsx)(Ss, {
id: "peachProxyAddress",
value: o,
onChange: s,
@@ -5362,12 +5383,12 @@ function Es({ initial: e, receipt: t }) {
});
}
// src/react/follow-manage/credentials.tsx
-var Ds = "将清除这个来源在本机和共享副本中的登录凭据。", Os = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";
-function ks(e, t) {
+var ks = "将清除这个来源在本机和共享副本中的登录凭据。", As = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";
+function js(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function As({ row: e }) {
- if (an(e)) return /* @__PURE__ */ (0, Q.jsx)(et, {
+function Ms({ row: e }) {
+ if (on(e)) return /* @__PURE__ */ (0, Q.jsx)(et, {
variant: "caption",
color: "lime",
children: "已配置"
@@ -5379,11 +5400,11 @@ function As({ row: e }) {
children: $e[e.requirement] || ""
});
}
-function js({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, Z.useState)({}), [a, o] = (0, Z.useState)(""), s = an(e), c = Hn({
- mutationFn: (t) => Pn(e.provider, t),
+function Ns({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, Z.useState)({}), [a, o] = (0, Z.useState)(""), s = on(e), c = Un({
+ mutationFn: (t) => Fn(e.provider, t),
onSuccess: (e, t) => {
- e.note ? o(e.note) : (o(""), i({}), On.invalidateQueries({
+ e.note ? o(e.note) : (o(""), i({}), kn.invalidateQueries({
queryKey: st,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据"));
@@ -5406,7 +5427,7 @@ function js({ row: e, readOnly: t, toast: n }) {
children: (e.needs || []).map((n) => /* @__PURE__ */ (0, Q.jsx)(P, {
type: "password",
label: n,
- placeholder: ks(e, n),
+ placeholder: js(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -5424,9 +5445,9 @@ function js({ row: e, readOnly: t, toast: n }) {
variant: "danger",
disabled: t,
...K(c.isPending),
- onClick: () => void rn({
+ onClick: () => void an({
title: "清除来源凭据",
- body: Ds,
+ body: ks,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -5453,19 +5474,19 @@ function js({ row: e, readOnly: t, toast: n }) {
]
});
}
-function Ms({ row: e, readOnly: t, toast: n }) {
+function Ps({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, Q.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-2",
children: [
/* @__PURE__ */ (0, Q.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, Q.jsx)(lr, { provider: e.provider })
+ children: /* @__PURE__ */ (0, Q.jsx)(ur, { provider: e.provider })
}),
/* @__PURE__ */ (0, Q.jsx)("b", {
className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, Q.jsx)(As, { row: e }),
+ /* @__PURE__ */ (0, Q.jsx)(Ms, { row: e }),
e.missing.map((e) => /* @__PURE__ */ (0, Q.jsx)(et, {
variant: "caption",
color: "rose",
@@ -5481,9 +5502,9 @@ function Ms({ row: e, readOnly: t, toast: n }) {
children: [
r,
/* @__PURE__ */ (0, Q.jsx)(O, {
- summary: an(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !an(e),
- children: /* @__PURE__ */ (0, Q.jsx)(js, {
+ summary: on(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !on(e),
+ children: /* @__PURE__ */ (0, Q.jsx)(Ns, {
row: e,
readOnly: t,
toast: n
@@ -5492,18 +5513,18 @@ function Ms({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, Q.jsx)(F, {
tone: "error",
title: "凭据文件权限过宽",
- children: Os
+ children: As
}) : null
]
});
}
-function Ns({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
- let i = e.providers || [], a = i.filter((e) => e.requirement === "required" && !an(e));
+function Fs({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
+ let i = e.providers || [], a = i.filter((e) => e.requirement === "required" && !on(e));
if ((0, Z.useEffect)(() => {
- An("credentials", { done: i.filter(an).map((e) => e.provider) });
+ jn("credentials", { done: i.filter(on).map((e) => e.provider) });
}, [e]), !i.length) return /* @__PURE__ */ (0, Q.jsx)(it, {
size: "compact",
- icon: nn,
+ icon: rn,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
@@ -5530,12 +5551,12 @@ function Ns({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, Q.jsx)("div", {
- className: $t({
+ className: en({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, Q.jsx)(Ms, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, Q.jsx)(Ps, {
row: e,
readOnly: t,
toast: n
@@ -5551,7 +5572,7 @@ function Ns({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
children: s
}) })
}) : /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: $t({
+ className: en({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -5565,7 +5586,7 @@ function Ns({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
});
}
// src/react/settings/entry-links-settings.tsx
-function Ps({ initial: e, receipt: t }) {
+function Is({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e.sites), i = Y(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
@@ -5584,7 +5605,7 @@ function Ps({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, Q.jsx)(N, { children: nt }),
n.map((e) => /* @__PURE__ */ (0, Q.jsx)(P, {
id: `entry-link-${e.key}`,
- label: /* @__PURE__ */ (0, Q.jsx)(Bt, {
+ label: /* @__PURE__ */ (0, Q.jsx)(Vt, {
site: e.key,
label: `${e.label} 地址`
}),
@@ -5605,31 +5626,31 @@ function Ps({ initial: e, receipt: t }) {
});
}
// src/react/settings/indexer-settings.tsx
-var Fs = "/api/configuration/indexers";
-function Is({ receipt: e }) {
+var Ls = "/api/configuration/indexers";
+function Rs({ receipt: e }) {
let t = X({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => W(Fs, e),
+ queryFn: ({ signal: e }) => W(Ls, e),
refetchOnMount: "always"
});
- return t.error ? /* @__PURE__ */ (0, Q.jsx)(k, { children: q(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, Q.jsx)(It, {
+ return t.error ? /* @__PURE__ */ (0, Q.jsx)(k, { children: q(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, Q.jsx)(Lt, {
label: "正在读取资源搜索设置",
- html: vn
- }) : t.data ? /* @__PURE__ */ (0, Q.jsx)(zs, {
+ html: yn
+ }) : t.data ? /* @__PURE__ */ (0, Q.jsx)(Vs, {
initial: t.data,
receipt: e
}) : null;
}
-function Ls(e) {
+function zs(e) {
try {
return new globalThis.URL(e).host;
} catch {
return e;
}
}
-function Rs({ row: e, index: t }) {
+function Bs({ row: e, index: t }) {
let n = [
- e.url ? Ls(e.url) : "未填地址",
+ e.url ? zs(e.url) : "未填地址",
e.enabled ? "已启用" : "已停用",
e.api_key_set && !e.clear_api_key ? "已保存 API key" : e.api_key ? "API key 待保存" : "没有 API key"
];
@@ -5644,10 +5665,10 @@ function Rs({ row: e, index: t }) {
})]
});
}
-function zs({ initial: e, receipt: t }) {
+function Vs({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e.indexers), i = Y();
(0, Z.useEffect)(() => {
- An("indexers", { open: e.indexers.map((e) => !e.url) });
+ jn("indexers", { open: e.indexers.map((e) => !e.url) });
}, [e]);
let a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
@@ -5657,7 +5678,7 @@ function zs({ initial: e, receipt: t }) {
guide: "indexers",
title: "资源搜索",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => G(Fs, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => G(Ls, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
@@ -5677,7 +5698,7 @@ function zs({ initial: e, receipt: t }) {
className: "min-w-0 border-t border-separator-border pt-2",
children: /* @__PURE__ */ (0, Q.jsx)(O, {
defaultOpen: !e.url,
- summary: /* @__PURE__ */ (0, Q.jsx)(Rs, {
+ summary: /* @__PURE__ */ (0, Q.jsx)(Bs, {
row: e,
index: t
}),
@@ -5747,7 +5768,7 @@ function zs({ initial: e, receipt: t }) {
type: "button",
disabled: !!i.busy || n.length >= e.max_indexers,
onClick: () => r([...n, {
- key: kn(),
+ key: An(),
name: "",
url: "",
enabled: !0,
@@ -5762,15 +5783,15 @@ function zs({ initial: e, receipt: t }) {
});
}
// src/react/settings/source-settings.tsx
-function Bs({ data: e, receipt: t, panel: n, issues: r }) {
+function Hs({ data: e, receipt: t, panel: n, issues: r }) {
let i = X({
queryKey: st,
- queryFn: ({ signal: e }) => dn(e),
+ queryFn: ({ signal: e }) => fn(e),
enabled: n?.active !== !1,
refetchOnMount: "always"
});
return /* @__PURE__ */ (0, Q.jsxs)("div", {
- ...pr(n),
+ ...mr(n),
children: [
r,
/* @__PURE__ */ (0, Q.jsx)("div", {
@@ -5781,7 +5802,7 @@ function Bs({ data: e, receipt: t, panel: n, issues: r }) {
children: "采集来源与登录状态"
})
}),
- i.data ? /* @__PURE__ */ (0, Q.jsx)(Ns, {
+ i.data ? /* @__PURE__ */ (0, Q.jsx)(Fs, {
data: i.data,
readOnly: !!e.ledger_read_only,
toast: t,
@@ -5790,13 +5811,13 @@ function Bs({ data: e, receipt: t, panel: n, issues: r }) {
tone: "error",
title: "来源凭据未取得",
children: q(i.error)
- }) : n?.active === !1 ? null : /* @__PURE__ */ (0, Q.jsx)(It, {
+ }) : n?.active === !1 ? null : /* @__PURE__ */ (0, Q.jsx)(Lt, {
label: "正在读取来源凭据",
- html: on
+ html: sn
}),
- /* @__PURE__ */ (0, Q.jsx)(jo, { receipt: t }),
- /* @__PURE__ */ (0, Q.jsx)(Is, { receipt: t }),
- e.entry_links ? /* @__PURE__ */ (0, Q.jsx)(Ps, {
+ /* @__PURE__ */ (0, Q.jsx)(No, { receipt: t }),
+ /* @__PURE__ */ (0, Q.jsx)(Rs, { receipt: t }),
+ e.entry_links ? /* @__PURE__ */ (0, Q.jsx)(Is, {
initial: e.entry_links,
receipt: t
}) : null
@@ -5804,7 +5825,7 @@ function Bs({ data: e, receipt: t, panel: n, issues: r }) {
});
}
// src/react/settings/configuration-shape.ts
-function Vs(e) {
+function Us(e) {
let t = e.downloads;
if (!t) return null;
let n = t.media_sources ?? [];
@@ -5817,7 +5838,7 @@ function Vs(e) {
browserLogin: t.pikpak_browser.available
};
}
-function Hs(e) {
+function Ws(e) {
let t = e.tunnel;
return {
port: !!(e.editable && e.port_editable !== !1),
@@ -5831,7 +5852,7 @@ function Hs(e) {
tunnelNote: !!(t && (!t.available || t.state === "starting" || t.state === "running" && t.url))
};
}
-function Us(e) {
+function Gs(e) {
let t = e.updates, n = e.update_job?.state ?? "idle", r = !t || t.state === "unchecked" && !t.checked_at && n === "idle", i = +!!t?.package_kind + (r ? 0 : +!!t?.checked_at + (t?.state === "unchecked" ? 0 : 1) + (n === "idle" ? 0 : 1)), a = e.automatic_updates, o = e.storage;
return {
releaseFacts: t?.package_kind ? 5 : 4,
@@ -5852,12 +5873,12 @@ function Us(e) {
};
}
// src/react/settings/configuration-page.tsx
-function Ws({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {
+function Ks({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {
let i = X({
queryKey: Ze,
- queryFn: ({ signal: e }) => un(e)
+ queryFn: ({ signal: e }) => dn(e)
}), a = i.data;
- return a ? /* @__PURE__ */ (0, Q.jsx)(qs, {
+ return a ? /* @__PURE__ */ (0, Q.jsx)(Ys, {
data: a,
receipt: e,
reopenTutorial: t,
@@ -5876,7 +5897,7 @@ function Ws({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r })
})
});
}
-function Gs({ data: e, sections: t, reload: n, refreshing: r }) {
+function qs({ data: e, sections: t, reload: n, refreshing: r }) {
return /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: t.map((t) => {
let i = e.section_errors?.[t];
return i ? /* @__PURE__ */ (0, Q.jsx)(F, {
@@ -5893,14 +5914,14 @@ function Gs({ data: e, sections: t, reload: n, refreshing: r }) {
}, t) : null;
}) });
}
-var Ks = 0;
-function qs({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i, reload: a, refreshing: o }) {
- let [s] = (0, Z.useState)(() => `board-tabs-${++Ks}`), [c, l] = (0, Z.useState)(r), u = (0, Z.useRef)(null), d = (0, Z.useRef)(c);
+var Js = 0;
+function Ys({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i, reload: a, refreshing: o }) {
+ let [s] = (0, Z.useState)(() => `board-tabs-${++Js}`), [c, l] = (0, Z.useState)(r), u = (0, Z.useRef)(null), d = (0, Z.useRef)(c);
(0, Z.useEffect)(() => {
l(r);
}, [r]), (0, Z.useEffect)(() => {
- let t = Vs(e);
- t && An("downloads", t), An("network", Hs(e)), An("maintenance", Us(e));
+ let t = Us(e);
+ t && jn("downloads", t), jn("network", Ws(e)), jn("maintenance", Gs(e));
}, [e]), (0, Z.useLayoutEffect)(() => {
if (d.current === c) return;
d.current = c;
@@ -5912,9 +5933,9 @@ function qs({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
window.scrollTo(0, Math.max(0, window.scrollY + t.getBoundingClientRect().top - r));
}, [c]);
let f = (e) => {
- l(e), Ln(In(e), {
+ l(e), Rn(Ln(e), {
replace: !0,
- state: wn.navigation.location.state
+ state: Tn.navigation.location.state
});
}, [p, m] = (0, Z.useState)(() => matchMedia("(max-width:900px)").matches);
(0, Z.useEffect)(() => {
@@ -5924,7 +5945,7 @@ function qs({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
let h = (0, Z.useRef)([]), g = {
data: e,
receipt: t
- }, _ = (t) => /* @__PURE__ */ (0, Q.jsx)(Gs, {
+ }, _ = (t) => /* @__PURE__ */ (0, Q.jsx)(qs, {
data: e,
sections: t,
reload: a,
@@ -5939,22 +5960,23 @@ function qs({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
{
title: "媒体库与入库",
body: (n) => /* @__PURE__ */ (0, Q.jsxs)("div", {
- ...pr(n),
+ ...mr(n),
children: [
_([
"media_sources",
"library_count",
"mount_dependencies"
]),
- !e.section_errors?.media_sources && !e.section_errors?.library_count ? /* @__PURE__ */ (0, Q.jsx)(To, { ...g }) : null,
- /* @__PURE__ */ (0, Q.jsx)(Ho, { receipt: t }),
- /* @__PURE__ */ (0, Q.jsx)(Fo, { receipt: t })
+ !e.section_errors?.media_sources && !e.section_errors?.library_count ? /* @__PURE__ */ (0, Q.jsx)(Eo, { ...g }) : null,
+ /* @__PURE__ */ (0, Q.jsx)(Wo, { receipt: t }),
+ /* @__PURE__ */ (0, Q.jsx)(Lo, { receipt: t }),
+ /* @__PURE__ */ (0, Q.jsx)(jo, { receipt: t })
]
})
},
{
title: "来源与订阅",
- body: (e) => /* @__PURE__ */ (0, Q.jsx)(Bs, {
+ body: (e) => /* @__PURE__ */ (0, Q.jsx)(Hs, {
...g,
panel: e,
issues: _(["entry_links"])
@@ -5962,7 +5984,7 @@ function qs({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
},
...b || e.section_errors?.downloads ? [{
title: "下载渠道",
- body: (e) => /* @__PURE__ */ (0, Q.jsx)(Or, {
+ body: (e) => /* @__PURE__ */ (0, Q.jsx)(kr, {
initial: b,
receipt: t,
panel: e,
@@ -5971,7 +5993,7 @@ function qs({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
}] : [],
...y ? [{
title: "网络与访问",
- body: (e) => /* @__PURE__ */ (0, Q.jsx)(Ts, {
+ body: (e) => /* @__PURE__ */ (0, Q.jsx)(Ds, {
...g,
panel: e,
issues: _(v)
@@ -5980,7 +6002,7 @@ function qs({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
{
title: "应用与维护",
body: (e) => /* @__PURE__ */ (0, Q.jsxs)("div", {
- ...pr(e),
+ ...mr(e),
children: [
_([
"startup",
@@ -5993,9 +6015,9 @@ function qs({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
"automatic_updates",
"facts"
]),
- /* @__PURE__ */ (0, Q.jsx)(Ua, { ...g }),
- /* @__PURE__ */ (0, Q.jsx)(Io, { receipt: t }),
- /* @__PURE__ */ (0, Q.jsx)(Da, {
+ /* @__PURE__ */ (0, Q.jsx)(Wa, { ...g }),
+ /* @__PURE__ */ (0, Q.jsx)(Ro, { receipt: t }),
+ /* @__PURE__ */ (0, Q.jsx)(Oa, {
...g,
reopenTutorial: n
})
@@ -6005,7 +6027,7 @@ function qs({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
{
title: "系统诊断",
body: (e) => /* @__PURE__ */ (0, Q.jsx)("div", {
- ...pr(e),
+ ...mr(e),
children: e.active ? i : null
})
}
@@ -6056,6 +6078,6 @@ function qs({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
})] }, e))]
});
}
-export { Ws as ConfigurationPage };
+export { Ks as ConfigurationPage };
-//# debugId=234366c5-1b3d-4a1b-9bb5-c8c710e75836
\ No newline at end of file
+//# debugId=e9a5daf2-ab4e-4ef7-bd9f-ed04a3964db8
\ No newline at end of file
diff --git a/web/dist/peach-app.createPaginatedRowModel-ClHnhG_T.js b/web/dist/peach-app.createPaginatedRowModel-ClHnhG_T.js
deleted file mode 100644
index b1c0a83ed..000000000
--- a/web/dist/peach-app.createPaginatedRowModel-ClHnhG_T.js
+++ /dev/null
@@ -1,50 +0,0 @@
-(function() {
- try {
- var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9d0f4e8f-2eb6-4f50-b907-762162370543", e._sentryDebugIdIdentifier = "sentry-dbid-9d0f4e8f-2eb6-4f50-b907-762162370543");
- } catch {}
-})();
-import { expandRowModel as e, getDefaultPaginationState as t, tableMemo as n } from "./peach-app.js";
-// node_modules/@tanstack/table-core/dist/features/row-pagination/createPaginatedRowModel.js
-function r() {
- return (e) => {
- let t = e;
- return n({
- feature: "rowPaginationFeature",
- table: t,
- fnName: "table.getPaginatedRowModel",
- memoDeps: () => [
- t.getPrePaginatedRowModel(),
- t.atoms.pagination?.get(),
- t.options.paginateExpandedRows ? void 0 : t.atoms.expanded?.get()
- ],
- fn: () => i(t)
- });
- };
-}
-function i(n) {
- let r = n.getPrePaginatedRowModel(), i = n.atoms.pagination?.get();
- if (!r.rows.length) return r;
- let { pageSize: a, pageIndex: o } = i ?? t(), { rows: s, flatRows: c, rowsById: l } = r, u = s;
- if (a !== Infinity || o !== 0) {
- let e = a * o, t = e + a;
- u = s.slice(e, t);
- }
- let d;
- d = n.options.paginateExpandedRows ? {
- rows: u,
- flatRows: c,
- rowsById: l
- } : e(n, {
- rows: u,
- flatRows: c,
- rowsById: l
- }), d.flatRows = [];
- let f = /* @__PURE__ */ new Set(), p = (e) => {
- f.has(e.id) || (f.add(e.id), d.flatRows.push(e), e.subRows.length && e.subRows.forEach(p));
- };
- return d.rows.forEach(p), d;
-}
-export { r as createPaginatedRowModel };
-
-//# debugId=9d0f4e8f-2eb6-4f50-b907-762162370543
\ No newline at end of file
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 1b5d3a45b..4bce60160 100644
--- a/web/dist/peach-app.css
+++ b/web/dist/peach-app.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-2xl:42rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-xs:var(--elevation-xs);--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{background-color:var(--hover);position:relative;overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-1\/2{left:50%}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-span-full{grid-column:1/-1}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-3{margin-inline:calc(var(--spacing) * -3)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.5)}.ms-auto{margin-inline-start:auto}.me-0\.5{margin-inline-end:calc(var(--spacing) * .5)}.me-0\.75{margin-inline-end:calc(var(--spacing) * .75)}.me-auto{margin-inline-end:auto}.-mt-0\.5{margin-top:calc(var(--spacing) * -.5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.-mr-3{margin-right:calc(var(--spacing) * -3)}.-mr-5{margin-right:calc(var(--spacing) * -5)}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:0}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-40{width:calc(var(--spacing) * 40);height:calc(var(--spacing) * 40)}.size-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.async-text-skeleton{height:.65em}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-13{min-height:calc(var(--spacing) * 13)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-28{min-height:calc(var(--spacing) * 28)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--icon-inline\){width:var(--icon-inline)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-21{width:calc(var(--spacing) * 21)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-40{width:calc(var(--spacing) * 40)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-1\/2{max-width:50%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:0}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.scroll-mt-24{scroll-margin-top:calc(var(--spacing) * 24)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--border-10\){border-color:var(--border-10)}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default\/20{border-color:var(--color-border-error-default)}@supports (color:color-mix(in lab, red, red)){.border-border-error-default\/20{border-color:color-mix(in oklab, var(--color-border-error-default) 20%, transparent)}}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-\(--surface\){background-color:var(--surface)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-quaternary-default{background-color:var(--color-background-quaternary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7,.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8,.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-chart-9{background-color:var(--color-chart-9)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-kbd-background{background-color:var(--color-kbd-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pill-tab-blue-hover-background{background-color:var(--color-pill-tab-blue-hover-background)}.bg-pill-tab-blue-selected-background{background-color:var(--color-pill-tab-blue-selected-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-blue-text{background-color:var(--color-status-blue-text)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-cyan-text{background-color:var(--color-status-cyan-text)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-purple-text{background-color:var(--color-status-purple-text)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-white{background-color:var(--color-white)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background{fill:var(--color-background-primary-default)}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-primary\/10{fill:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.fill-text-primary\/10{fill:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1{padding-right:var(--spacing)}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-baseline{vertical-align:baseline}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-\(--muted\){color:var(--muted)}.text-accent-500{color:var(--color-accent-500)}.text-accent-600{color:var(--color-accent-600)}.text-background,.text-background-primary-default{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-black{color:var(--color-black)}.text-blue-900{color:var(--color-blue-900)}.text-border{color:var(--color-separator-border)}.text-border-focus-ring{color:var(--color-border-focus-ring)}.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-green-700{color:var(--color-green-700)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-kbd-foreground{color:var(--color-kbd-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-placeholder{color:var(--color-text-placeholder)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline,.outline-1{outline-style:var(--tw-outline-style);outline-width:1px}.-outline-offset-1{outline-offset:calc(1px * -1)}.outline-border-error-default{outline-color:var(--color-border-error-default)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, )}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, )}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[scale\,opacity\]{transition-property:scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){:is(:where(.group):hover .group-hover\:bg-foreground){background-color:var(--color-text-primary)}:is(:where(.group):hover .group-hover\:opacity-100){opacity:1}}:is(:where(.group\/tree-view)[data-show-guides=false] .group-data-\[show-guides\=false\]\/tree-view\:hidden){display:none}:is(:where(.group\/tree-view)[data-size=sm] .group-data-\[size\=sm\]\/tree-view\:min-h-8){min-height:calc(var(--spacing) * 8)}:is(:where(.group\/tree-view)[data-size=sm] .group-data-\[size\=sm\]\/tree-view\:text-body-2-regular){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-background-tertiary-default:hover{background-color:var(--color-background-tertiary-default)}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:cursor-wait:disabled{cursor:wait}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-full{flex-basis:100%}.max-cleanup-tight\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-board-narrow\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-end{justify-content:flex-end}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:order-last{order:9999}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:mt-auto{margin-top:auto}.sm\:hidden{display:none}.sm\:w-24{width:calc(var(--spacing) * 24)}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-32{width:calc(var(--spacing) * 32)}.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}.\@lg\:w-auto{width:auto}.\@lg\:flex-1{flex:1}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>\.ui-settings-facts\]\:-mr-3>.ui-settings-facts{margin-right:calc(var(--spacing) * -3)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>span\:last-child\]\:min-w-0>span:last-child{min-width:0}.\[\&\>span\:last-child\]\:wrap-anywhere>span:last-child{overflow-wrap:anywhere}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-media-grid]>[data-media-card],body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible;container:media-card/inline-size}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:color-mix(in oklab, var(--library-color) 9%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:color-mix(in oklab, var(--library-color) 15%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){background:var(--library-surface);box-shadow:0 0 0 8px var(--library-surface)}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--library-hover);box-shadow:0 0 0 8px var(--library-hover)}.peach-react [data-media-status]{z-index:3;pointer-events:none;gap:6px;display:flex;position:absolute;bottom:12px;left:10px}.peach-react [data-media-status]>span{-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000006b;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.peach-react [data-media-status] svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.peach-react [data-media-status] [data-status=later]{color:var(--color-sky-500)}.peach-react [data-media-status] [data-status=flagged]{color:var(--color-rose-500)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);height:calc(var(--card-meta-block) + 22px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-follow-item]) [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px);--card-meta-block:calc(var(--fs-md) * 2.7 + 12px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:calc(var(--card-meta-block) + 16px)}body:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:auto}.peach-react [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{--card-meta-tags:calc(var(--fs-xs) * 2.9);height:var(--card-meta-block)}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:var(--color-background-quaternary-default);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic],.peach-react [data-media-art]>.media-nopic{color:var(--ink-2);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-art]>.media-nopic{place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-pic][data-pic-portrait] :is(img[class~=poster]:not([class~=cover]),video){object-fit:cover;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);inset:-1px}.peach-react [data-media-pic]>img.ui-hvframes[hidden]{display:none}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}body[data-peach-copy-mode] .peach-react [data-media-card] [data-media-duration][data-copy-key]{z-index:10;opacity:1;visibility:visible;pointer-events:auto}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:var(--control-h-compact);height:var(--control-h-compact);padding:0}.peach-react [data-media-later] svg{width:18px;height:18px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--media-avatar-visible:var(--media-avatar-count);--media-avatar-gaps:max(1, calc(var(--media-avatar-visible) - 1));z-index:1;width:calc(45px + 16px * (var(--media-avatar-visible) - 1));--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:min(109px,max(45px,30%));height:46px;margin:-4px -2px -2px;padding:0;display:block;position:relative}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{top:6px;left:calc(5px + (100% - 45px) / var(--media-avatar-gaps) * var(--media-avatar-index));box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:left var(--lift-motion,var(--board-motion)), transform var(--lift-motion,var(--board-motion));margin:0;position:absolute}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible))>[data-media-avatar]{left:calc(5px + 30px * var(--media-avatar-index))}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]{--media-avatar-visible:min(2, var(--media-avatar-count))}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex;container:media-meta/inline-size}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-card]:not([data-follow-item]) [data-media-title]{min-height:2.7em}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{white-space:nowrap;min-width:0;min-height:1.5em;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:1.5;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;flex:0 auto;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;flex:none;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-facts]{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;min-width:0;display:inline-flex}.peach-react [data-media-byline] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted);white-space:nowrap;flex:none}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-release]),.peach-react [data-variant=next] [data-media-facts]{display:none}.peach-react [data-media-next-reason]{width:100%;min-width:0;min-height:2.9em;max-height:2.9em;color:var(--loupe);font-size:var(--fs-xs);text-align:left;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;flex:none;padding:0;line-height:1.45;display:-webkit-box;overflow:hidden}.peach-react [data-media-next-reason]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container media-meta not (width>=360px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:100%}}@container media-meta not (width>=200px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-who-more]{display:none}}@container media-meta not (width>=140px){.peach-react [data-media-who-more]{display:none}}@container media-meta not (width>=110px){.peach-react [data-media-size]{display:none}}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react span[data-media-tag]{cursor:default}.peach-react span[data-media-tag]:hover{background:var(--tag-fill);color:var(--ink-2)}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>:is([data-media-card],[data-mix-card]){padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;line-height:1.35em;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-why]{display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}@container media-meta not (width>=360px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) :is([data-media-who-more],[data-media-size]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:auto}}@container media-meta not (width>=160px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{display:none}}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;min-height:var(--control-h-compact);border-radius:var(--control-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-strip]{--hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{z-index:1;font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex;position:relative}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-32px -16px -20px;padding:32px 16px 20px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px + 16px));padding-left:calc(var(--railW) + 32px + 16px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;height:auto;min-height:0}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-text]{flex-direction:column;height:auto;display:flex}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-byline]{height:auto;min-height:20px;line-height:20px}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-tags]:empty{display:none}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-detail-tags] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);box-sizing:border-box;height:var(--control-h-inline);align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:color-mix(in srgb,var(--tag-color) 42%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:color-mix(in srgb,var(--tag-color) 10%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag] :is([data-remove-tag],[data-edit-tag]){width:calc(var(--control-h-inline) - 2px);color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]:hover,.peach-react [data-detail-tags] [data-detail-tag] [data-edit-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-detail-tags] [data-detail-tag] svg,.peach-react [data-detail-tags] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-detail-tags] [data-tag-plus]{width:var(--control-h-inline);height:var(--control-h-inline);border:1px dashed var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-detail-tags] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-tag-picker]{z-index:120;border:1px solid var(--ink);flex-direction:column;width:min(480px,100vw - 32px);max-height:min(480px,70vh);margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-detail-tags] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 24px 70px -24px #000}.peach-react [data-detail-tags] [data-tag-picker][hidden]{display:none}.peach-react [data-detail-tags] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-detail-tags] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid var(--ink);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-detail-tags] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-detail-tags] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-detail-tags] [data-tag-search] input::placeholder{color:revert}.peach-react [data-detail-tags] [data-tag-scroll-frame]{flex:auto;min-height:0;display:flex;position:relative}.peach-react [data-detail-tags] [data-tag-body]{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-detail-tags] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-detail-tags] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-detail-tags] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-detail-tags] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-detail-tags] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:var(--tag-color,var(--muted));flex:none}@media (width<=760px){.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-namepick-menu] svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;flex:0 0 var(--control-h-compact);width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);border-radius:50%;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{margin-left:auto;flex-wrap:nowrap;flex:none;align-items:center;gap:4px;width:max-content;margin-block:-14px;padding:14px 2px;display:flex;overflow:visible}.peach-react [data-entity-sort]{height:var(--control-h-compact);min-height:var(--control-h-compact);color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap]{margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap] svg{margin-left:0}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}.peach-react [data-photo-back]{height:var(--control-h-compact);border:1px solid var(--glass-low);border-radius:var(--control-radius);color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{gap:10px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-tier-performer],[data-tier-studio])[aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tier-studio] [data-count-badge]{color:var(--color-text-tertiary);font:var(--board-caption);font-variant-numeric:tabular-nums}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}.peach-react [data-catalog-frame][data-single-row]{flex-direction:row}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=top]{flex:1}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=bottom]{flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{width:72px;height:var(--control-h-compact);border-radius:var(--tag-radius);background:var(--hover);flex:none}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}body[data-folder-browse] #main{grid-template-columns:224px minmax(0,1fr);align-items:start;column-gap:24px;display:grid}body[data-folder-browse] #main>:not(#catalogFoldersTree){grid-column:2;min-width:0}body[data-folder-browse] #catalogFoldersTree{top:var(--folder-sticky-top,calc(var(--topH) + 16px));grid-area:1/1/span 20;min-width:0;position:sticky}body[data-folder-browse] #catalogFoldersTree .catalog-folder-navigation{max-height:var(--folder-available-height,calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 16px))}body[data-folder-browse] #catalogFoldersTree .folder-tree-scroller{max-height:none}#catalogFolderHeader{margin-bottom:20px}.catalog-folder-heading{flex-direction:column;gap:12px;min-width:0;display:flex}.folder-scope-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.folder-children{flex-wrap:wrap;gap:4px;display:flex}.folder-children>button{max-width:100%}.entity-folder-workspace[data-folder-browse]{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;display:grid}.entity-folder-workspace>[data-folder-tree-host]{top:var(--folder-sticky-top);min-width:0;position:sticky}.entity-folder-workspace .catalog-folder-navigation{max-height:var(--folder-available-height)}[data-folder-header-host]{margin-bottom:20px}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{min-height:0;max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;scroll-padding-block:4px;overflow:auto}.folder-tree-frame>[data-overlay-track=y]{overflow:hidden;translate:-8px}.folder-tree-frame>[data-overlay-track=y] [data-overlay-thumb]{transition-property:width}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);box-shadow:none;color:var(--glass-text);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-folder-mode-toggle]{color:color-mix(in srgb,var(--glass-text) 60%,transparent)}}.peach-react button[data-folder-mode-toggle]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-folder-mode-toggle][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react button[data-folder-mode-toggle] svg{fill:currentColor;stroke:none;width:16px;height:16px}@media (width<=1100px){.entity-folder-workspace[data-folder-browse]{display:block}.entity-folder-workspace>[data-folder-tree-host]{display:none}body[data-folder-browse] #main{display:block}body[data-folder-browse] #catalogFoldersTree{display:none}.folder-drawer-trigger{display:inline-flex}.folder-crumb-name{max-width:120px}}@media (width<=480px){.folder-crumb-name{max-width:88px}.folder-scope-row{gap:8px}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-results]+[data-search-group],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a,.peach-react [data-search-head]>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-head]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-search-shuffle]{border-radius:var(--control-radius);width:20px;height:20px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-search-shuffle]:hover{color:var(--ink)}.peach-react [data-search-shuffle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:1px}.peach-react [data-search-shuffle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.peach-react [data-search-shuffle][aria-busy=true] svg{--strand-dash:100;--strand-cycle:1.2s}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] [data-remove-history] svg{width:18px;height:18px}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-by]{vertical-align:-4px;background:var(--hover);border-radius:50%;width:16px;height:16px;margin-right:6px;display:inline-block;position:relative}.peach-react [data-search-by] img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-search-by]>span{justify-content:center;align-items:center;font-size:9px;display:flex;position:absolute;inset:0}.peach-react [data-search-placeholder]{pointer-events:none}.peach-react [data-search-placeholder] [data-search-pic]>span{aspect-ratio:var(--card-ratio);border-radius:var(--badge-radius);display:block}.peach-react [data-search-placeholder] :is([data-search-name],[data-search-sub],[data-search-face],[data-search-pic]>span){color:#0000;background:var(--hover);position:relative;overflow:hidden}.peach-react [data-search-placeholder] :is([data-search-name],[data-search-sub]){border-radius:var(--control-radius)}.peach-react [data-search-placeholder] [data-search-name]{width:64%}.peach-react [data-search-placeholder] [data-search-sub]{width:40%}.peach-react [data-search-placeholder] :is([data-search-name],[data-search-sub],[data-search-face],[data-search-pic]>span):after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 2.38px)}.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{width:var(--control-h-compact);height:var(--control-h-compact);border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:none;min-height:0}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 6px);grid-template-rows:auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:6px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}@media (width<=760px){body .peach-react [data-follow-list] [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-list] [data-follow-item] [data-media-text]{flex-direction:column;height:auto;display:flex}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-list] [data-follow-item] [data-media-byline]{height:auto;min-height:20px;line-height:20px}}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{width:var(--control-h-compact);height:var(--control-h-compact);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-byline] a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;vertical-align:-2px;border-radius:0;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-sources] [data-follow-seealso]{border-radius:var(--control-radius);background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:20px;height:20px}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}@media (width<=760px){.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;grid-template-rows:none;min-height:0}body[data-density] .peach-react [data-follow-item] [data-follow-labels]{height:auto}.peach-react [data-follow-item] [data-follow-labels]:empty{display:none}}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]){flex-direction:column}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]) [data-follow-detail-poster]{min-height:0;max-height:calc(76dvh - 116px)}.peach-react [data-follow-detail] [data-carousel-below]{flex:none}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;width:100%;max-height:100%;color:var(--muted);place-content:center;place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] [data-follow-origin] svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-resources] a svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail-tags]{margin-top:16px}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-media]>[data-player-toolbar]{z-index:8;pointer-events:none;flex-wrap:wrap;align-items:center;gap:7px;display:flex;position:absolute;top:11px;left:11px;right:59px}.peach-react [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]){display:contents}.peach-react [data-player-toolbar] :is([data-player-stats-button],[data-player-net],[data-jav-preview-toggle]){flex:none;position:relative;top:auto;left:auto}.peach-react [data-player-toolbar] button{pointer-events:auto}.peach-react [data-item-gallery][data-item-picture] [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]),.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-item-detail] [data-detail-title] [class~=javedition]{margin-left:5px}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{width:var(--control-h-inline);height:var(--control-h-inline);border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{margin-left:-4px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;margin-inline-start:calc((var(--id-face,46px) - var(--id-cell,62px)) / 2);display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:center;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;flex:none;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;color:#ff669d}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-related]{--hover:color-mix(in srgb, var(--ink) 8%, var(--detail-surface))}}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:10px 15px 8px}.peach-react [data-item-related]>h3{text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 6px;overflow:hidden}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;min-height:calc(var(--detail-card-height) + 24px);height:calc(var(--detail-card-height) + 24px);scrollbar-width:none;gap:16px;margin:-4px -16px 0;padding:12px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0;height:calc(var(--detail-card-height) + 20px)}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react img[data-source-picture][hidden]{display:none!important}.peach-react [data-jav-picture-wait]{place-items:center;width:100%;min-width:0;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait]>[data-empty-state]{max-width:32rem}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{box-sizing:border-box;z-index:5;border-radius:var(--pill-radius);color:#fff;height:40px;font-size:var(--fs-xs);white-space:nowrap;cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:0 12px;line-height:1;display:inline-flex;position:absolute;top:11px;left:11px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rating-stars] [data-rate],.peach-react [data-review-rating] [data-rating-stars] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}.peach-react .index-feed-mark>span{color:var(--feed-mark);background:var(--feed-mark)}@supports (color:color-mix(in lab, red, red)){.peach-react .index-feed-mark>span{background:color-mix(in srgb,var(--feed-mark) 16%,var(--ground))}}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-picture-in-picture-control[data-peach-pip-supported][hidden]{display:block!important}.video-js .vjs-picture-in-picture-control[aria-disabled=true]{color:#ffffff73;cursor:not-allowed}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-loading-spinner{display:none;position:absolute}.video-js.vjs-waiting:not(.vjs-paused) .vjs-loading-spinner{display:block}.video-js .vjs-error-display{pointer-events:none;display:none;position:absolute;inset:0}.video-js.vjs-error .vjs-error-display{justify-content:center;align-items:center;display:flex}.video-js.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:0;pointer-events:none}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;max-height:none!important;position:fixed!important;inset:0!important}.video-js media-container:fullscreen{background:#000;width:100vw;height:100vh}.video-js .vjs-modal-dialog-content{position:absolute}.video-js media-slider-value{visibility:hidden;position:absolute}.video-js .vjs-volume-panel:hover media-slider-value,.video-js .vjs-volume-panel:focus-within media-slider-value{visibility:visible}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px auto;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:0 0;border-radius:0;width:100%;height:18px;margin:0}[data-stage-media] .video-js .vjs-progress-holder>media-slider-track{background:#28282899;height:6px;transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:0;transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover media-slider-track,[data-stage-media] .video-js .vjs-progress-control:focus-within media-slider-track{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-progress-thumb{background:var(--tungsten);transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:-3px;transform:translate(-50%)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-thumb,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-thumb{transform:translate(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{--seek-max-w:240px;--seek-max-h:180px;width:min(var(--seek-max-w),calc(var(--seek-max-h) * var(--seek-aspect,1.7778)));aspect-ratio:var(--seek-aspect,16/9);border-radius:var(--floating-radius);background:#000;border:2px solid #fff;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg,.vjs-peach-caption-options>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);background:var(--tungsten);min-width:17px;height:12px;color:var(--ground);font-size:var(--fs-xs);transform-origin:100% 0;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;width:min(274px,100vw - 28px);max-height:min(420px,calc(var(--peach-player-h,480px) - 74px),calc(100vh - 130px));border-radius:var(--floating-radius);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row>svg.vjs-peach-menu-line-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:40px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 8px!important}.vjs-peach-option-check{place-items:center;width:40px;height:24px;display:grid}.vjs-peach-option-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{--seek-max-w:160px;--seek-max-h:120px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:contain!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}.video-js .vjs-subtitles-control>button{z-index:1;place-items:center;display:grid;position:relative}.video-js .vjs-subtitles-control>button>svg,.vjs-peach-menu-cc>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;display:block}.video-js .vjs-subtitles-control>button[aria-pressed=true]:after{content:"";background:var(--tungsten);width:18px;height:2px;position:absolute;bottom:5px;left:calc(50% - 9px)}.video-js.vjs-peach-xsmall .vjs-subtitles-control>button>svg{width:27px;height:27px}.vjs-peach-menu-cc{place-items:center;width:40px;display:grid}.video-js .vjs-peach-menu-option[data-subtitle-track]{padding-block:10px!important}.vjs-peach-menu-option[data-subtitle-track] .vjs-peach-option-label{overflow-wrap:anywhere}[data-player-subtitles] b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.vjs-peach-settings-menu .vjs-peach-caption-options{flex:0 0 48px;place-items:center;width:48px;margin-left:auto;padding:0;display:grid}.vjs-peach-settings-menu .vjs-peach-caption-action{text-align:left;overflow-wrap:anywhere;padding:10px 16px}.vjs-peach-settings-menu [data-subtitle-track]~.vjs-peach-caption-action{padding-left:48px}.vjs-peach-settings-menu .vjs-peach-caption-setting{text-align:left;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 12px;display:grid}.vjs-peach-caption-setting b{color:#ffffffb3;white-space:nowrap;font-weight:400}.vjs-peach-caption-setting svg{fill:currentColor;stroke:none;width:18px;height:18px}.vjs-peach-subtitle-status{font-size:var(--fs-sm);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;padding:8px 16px;line-height:1.5;display:flex}.vjs-peach-subtitle-status[data-error]{color:var(--drop)}.vjs-peach-subtitle-status[hidden]{display:none}.vjs-peach-subtitle-search{padding:8px}.vjs-peach-subtitle-search a{font-size:var(--fs-sm);color:#fff;margin:8px 16px;text-decoration:underline;display:inline-block}.vjs-peach-settings-menu .vjs-peach-subtitle-result{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px;line-height:1.4;display:flex}.vjs-peach-subtitle-result small{color:#ffffffb3;font-size:var(--fs-sm)}.vjs-peach-settings-menu:has([data-subtitle-style]){overscroll-behavior:contain}.video-js[data-peach-captions] video::cue{color:#0000;text-shadow:none;background:0 0}.video-js[data-peach-captions] video::-webkit-media-text-track-container{display:none}.vjs-peach-captions{z-index:1;pointer-events:none;font-family:var(--peach-caption-font);font-size:calc(clamp(14px,calc(var(--peach-player-h,480px)*.045),32px)*var(--peach-caption-scale));font-variant:var(--peach-caption-variant);text-align:center;color:var(--peach-caption-color);text-shadow:var(--peach-caption-edge);justify-content:center;font-weight:400;line-height:1.3;display:flex;position:absolute;bottom:80px;left:5%;right:5%}.vjs-peach-captions[hidden]{display:none}.vjs-peach-caption-window{background:var(--peach-caption-window);max-width:100%;padding:.15em .3em}.vjs-peach-caption-line{white-space:pre-line;overflow-wrap:anywhere;background:var(--peach-caption-background);-webkit-box-decoration-break:clone;box-decoration-break:clone;width:fit-content;max-width:100%;margin:0 auto;padding:0 .15em;display:block}.video-js.vjs-user-inactive.vjs-playing .vjs-peach-captions{bottom:5%}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage],[data-detail-continuation]{--detail-card-width:clamp(184px,24dvh,208px);--detail-card-meta-height:calc(var(--fs-md) * 2.7 + 8px + 20px + var(--fs-xs) * 1.45);--detail-card-height:calc(var(--detail-card-width) * 9 / 16 + 6px + var(--detail-card-meta-height));--detail-continuation-height:calc(var(--detail-card-height) + 65px + var(--detail-continuation-extra,0px))}[data-stage]:has([data-detail-continuation]>[data-mix-queue]),[data-detail-continuation]:has(>[data-mix-queue]){--detail-continuation-extra:20px}[data-stage]{--detail-media-height:76dvh;--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:max(0px,min(calc(100dvh - 34px - var(--detail-continuation-height)),76dvh))}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-stage-media]>.video-js{max-height:100%}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage][data-stage-kind=follow]{--detail-media-height:min(56dvh,56.25vw)}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width);isolation:isolate;gap:6px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9;flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-meta]{height:var(--detail-card-meta-height);flex:none}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-text]{gap:4px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-next-reason]{white-space:nowrap;text-overflow:ellipsis;min-height:1.45em;max-height:1.45em;display:block}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within){box-shadow:none;background:0 0}[data-detail-continuation] [data-media-card][data-variant=next]:before{content:"";z-index:-1;border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:-8px}[data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within):before{opacity:1}.peach-react [data-detail-continuation] [data-media-card][data-variant=next][data-longhover]{filter:none;transform:none}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-local-playback]{flex-direction:column;flex:none;gap:8px;margin:0 0 12px;display:flex}[data-local-playback-row]{align-items:center;gap:8px;min-width:0;display:flex}[data-local-playback-row]>div{flex:1;min-width:0}[data-local-playback-row] .ui-gselect{width:100%;display:block}[data-local-playback-row] [data-select-trigger]{width:100%;height:var(--control-h)}[data-local-playback-row]>button{height:var(--control-h);white-space:nowrap;flex:none}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .vjs-peach-seek-frame{--seek-max-w:160px;--seek-max-h:120px}[data-miniplayer-frame] .video-js .vjs-mouse-display{display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer]:has([data-player-seek-preview]:not([hidden])) [data-miniplayer-time]{visibility:hidden}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row]:has(#performerNameLanguageSetting){align-items:start}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-shortcut]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;flex-direction:column;gap:20px;min-width:0;display:flex}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-glow-card]{padding-right:10px}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:400}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-colour-card]{overflow:hidden}[data-settings-panel] [data-glow-stop]{border-bottom:1px solid var(--line-soft);min-width:0;position:relative}[data-settings-panel] [data-glow-stop]:last-child{border-bottom:0}[data-settings-panel] [data-glow-stop-toggle]{width:calc(100% + 12px);min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-left:-12px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover);position:relative}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:400}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{flex-direction:column;gap:0;display:flex;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;flex:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette-frame]{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;min-height:0;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;border-top:1px solid var(--line-soft);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--board-card-foot);justify-content:flex-end;margin:0 -10px 0 -12px;display:flex}[data-settings-panel] [data-glow-actions] button[data-glow-reset]{font:var(--board-body)}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]>svg{width:var(--icon-inline);height:var(--icon-inline)}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{min-width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0!important;padding:10px 10px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{clip-path:inset(0);box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group][data-setting-layout=cards]{background:0 0;border-radius:0;flex-direction:column;gap:20px;padding:0;display:flex}[data-settings-panel] [data-setting-card]{background:var(--ground);border-radius:16px;min-width:0;padding-left:12px}[data-settings-panel] [data-setting-block]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:8px 12px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:first-child{flex:1 1 max-content;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has(>span>small)>:first-child{flex-basis:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:last-child{flex:none;max-width:100%;margin-left:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{max-width:100%}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;box-shadow:none;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:0}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-setting-layout=cards] [data-settings-subheading]{padding:0 12px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse]:has([data-immerse-bar] [data-player-seek-preview]:not([hidden])) [data-immerse-ui]{visibility:hidden}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]>i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover>i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing]>i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{--sidebar-reorder-ms:250;flex-direction:column;gap:3px;margin-bottom:18px;display:flex;position:relative}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{width:var(--icon-inline);height:var(--icon-inline);border-radius:var(--badge-radius);object-fit:contain;flex:none}[data-sidebar-source-icon]{min-width:var(--icon-inline);object-fit:contain;width:var(--icon-inline)!important;height:var(--icon-inline)!important;opacity:1!important;filter:none!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);stroke-width:2px}[data-sidebar-home-logo]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;flex:none}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;transition:transform var(--motion-swap);flex:none;order:2;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}[data-sidebar-nav] button{touch-action:none;-webkit-user-select:none;user-select:none;translate:0 var(--sidebar-nudge,0px);transition:translate calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press) var(--sidebar-delay,0s),scale calc(var(--spring-press-ms)*1ms) var(--spring-press)}[data-sidebar-nav][data-reordering] button{cursor:grabbing}[data-sidebar-nav] button[data-dragging]{top:var(--sidebar-picked-top);z-index:3;width:100%;scale:.9;transform:translate3d(var(--sidebar-drag-x,18px),var(--sidebar-drag-y,0px),0);box-shadow:var(--glass-pick-shadow);cursor:grabbing;will-change:transform;position:absolute;left:0;background:var(--ground)!important}[data-sidebar-drawer]:has([data-sidebar-nav][data-reordering])>[data-sidebar-glide]{opacity:0}[data-sidebar-drop-line]{transform:translateY(var(--sidebar-line-top));z-index:2;pointer-events:none;height:2px;transition:transform calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press);position:absolute;top:0;left:10px;right:10px}[data-sidebar-drop-line]>span{border-radius:var(--pill-radius);background:var(--ink);height:100%;display:block}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drop-line]>span{background:color-mix(in srgb,var(--ink) 15%,transparent)}}[data-sidebar-drop-line]>span{transform-origin:50%;transition:transform var(--motion-swap);transform:scaleX(1)}@starting-style{[data-sidebar-drop-line]>span{transform:scaleX(0)}}[data-sidebar-order-status]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){[data-sidebar-nav] button{transition:none;translate:none}[data-sidebar-nav][data-reordering] button[data-dragging]{width:auto;box-shadow:none;position:static;transform:none;background:0 0!important}[data-sidebar-drop-line],[data-sidebar-drop-line]>span{transition:none}@starting-style{[data-sidebar-drop-line]>span{transform:none}}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-default:linear-gradient(var(--ink), var(--ink));--gradient-button-primary-hover:linear-gradient(var(--ink), var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--gradient-button-primary-hover:linear-gradient(color-mix(in srgb, var(--ink) 88%, var(--ground)), color-mix(in srgb, var(--ink) 88%, var(--ground)))}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-active:var(--gradient-button-primary-hover);--gradient-button-primary-disabled:linear-gradient(var(--surface), var(--surface));--color-button-primary-disabled-foreground:var(--muted);--color-button-ghost-background:transparent;--color-button-ghost-foreground:var(--muted);--color-button-ghost-hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--color-button-ghost-hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-guide-center,.peach-guide-popover{--color-button-ghost-active:var(--color-button-ghost-hover)}:is(.peach-guide-center,.peach-guide-popover) .bg-button-primary:not(:disabled):not([aria-disabled=true]){color:var(--ground)}.peach-guide-center{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(680px,100vw - 32px);height:min(740px,100dvh - 32px);max-height:min(740px,100dvh - 32px);color:var(--ink);box-shadow:var(--elevation-dropdown);padding:0;overflow:hidden}.peach-guide-center>[role=dialog]{height:100%;max-height:inherit;overflow:hidden}.peach-guide-topic-icon{width:var(--control-h);height:var(--control-h);border-radius:var(--control-radius);background:var(--color-background-tertiary-default);color:var(--color-text-primary);flex:none;justify-content:center;align-items:center;display:inline-flex}.peach-guide-topics{flex-direction:column;display:flex}.peach-guide-topic{border-bottom:1px solid var(--line-soft)}.peach-guide-topic:last-child{border-bottom:0}.peach-guide-topic summary{gap:12px;padding:12px 0}.peach-guide-topic-chapters{margin:-8px -12px 12px}.peach-guide-scroll-frame{flex:1;min-height:0;display:flex;position:relative}.peach-guide-body{overscroll-behavior:contain;flex:1;min-height:0;padding:4px 24px 24px;overflow:auto}.peach-guide-chapters{flex-direction:column;gap:4px;margin-inline:-12px;display:flex}.peach-guide-routes{margin:0;padding:0;list-style:none}.peach-guide-routes>li,.peach-guide-routes>div{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.peach-guide-routes>:first-child{padding-top:0}.peach-guide-routes>:last-child{border-bottom:0}.peach-guide-routes strong{font-size:var(--fs-md);font-weight:500;line-height:1.5}.peach-guide-routes p{font-size:var(--fs-sm);color:var(--muted);margin-top:4px;line-height:1.5}.peach-guide-routes button{flex:none}#tutorialBtn[hidden]{display:none}.driver-popover.peach-guide-popover{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 24px);min-width:0;max-width:calc(100vw - 24px);color:var(--ink);box-shadow:var(--elevation-dropdown);font-family:var(--font-sans);padding:0}.peach-guide-popover-content{border-radius:inherit;flex-direction:column;max-height:calc(100dvh - 24px);display:flex;overflow:hidden}.peach-guide-step-frame{min-height:0;position:relative}.peach-guide-step-body{overscroll-behavior:contain;max-height:calc(100dvh - 170px);overflow:auto}.peach-guide-popover .driver-popover-arrow-side-top{border-top-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-bottom{border-bottom-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-left{border-left-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-right{border-right-color:var(--ground)}.driver-overlay,.driver-active .driver-active-element{z-index:var(--layer-popover)!important}.driver-popover.peach-guide-popover{z-index:var(--layer-tooltip)!important}[data-player-guide] .vjs-control-bar{opacity:1!important;visibility:visible!important;display:flex!important}[data-player-guide] .vjs-big-play-button{display:none!important}@media (width<=600px){.peach-guide-center{width:calc(100vw - 16px)}[data-modal-kind=tutorial]{padding:8px}.peach-guide-center header,.peach-guide-tools{padding-left:16px;padding-right:16px}.peach-guide-body{padding:4px 16px 16px}.peach-guide-chapters{margin-inline:-8px}.peach-guide-chapters>button{padding-inline:8px}.peach-guide-routes>li,.peach-guide-routes>div{grid-template-columns:var(--control-h) minmax(0, 1fr);align-items:start;gap:12px;display:grid}.peach-guide-routes button{grid-column:2;justify-self:start}}:where(.peach-react label[data-rac]:has(>span>input:is([type=radio],[type=checkbox]))){position:relative}:root{--font-inter:"Inter Variable", "Inter";--font-sans:var(--font-inter), "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:lang(ja){font-family:var(--font-inter), "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans JP", ui-sans-serif, system-ui, sans-serif}.peach-react [data-long-text]{text-wrap:pretty;hanging-punctuation:allow-end;line-height:1.75}.peach-react [data-long-text]:not(:lang(en)){text-align:justify}:root{--icon-inline:1.2em;--control-h-inline:28px;--control-h-compact:32px;--control-h:36px;--control-h-large:40px;--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;text-autospace:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=a],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=b],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}.iconswap[data-motion-instant]>[data-icon]{transition:none}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.placeholderroll{z-index:2;white-space:nowrap;pointer-events:none;align-items:center;display:flex;position:absolute;overflow:hidden}.placeholderroll>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.iconwide.iconwide{width:auto!important}svg.ui-externalmark{width:var(--icon-inline,1.2em);height:var(--icon-inline,1.2em);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}@keyframes ui-gauge-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge[data-indeterminate] svg{animation:.9s linear infinite ui-gauge-spin}}fieldset.iconswitch-text{justify-self:start;display:inline-flex}fieldset.iconswitch-text label{white-space:nowrap;width:auto;min-width:52px;padding-inline:10px}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}.ui-geist-modal[open]{flex-direction:column;display:flex}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-header{flex:none;padding:20px 20px 0}.ui-geist-modal-header h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-scroll{flex:1;min-width:0;min-height:0;display:flex;position:relative}.ui-geist-modal-body{overscroll-behavior:contain;min-width:0;min-height:0;font-size:var(--fs-md);color:var(--ink-2);flex:1;padding:8px 20px 20px;line-height:20px;overflow:auto}.ui-geist-modal footer{flex:none}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body>p:first-child{margin-top:0}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-list{min-width:0;margin-top:12px;position:relative}.ui-geist-modal-list>ul{box-sizing:border-box;overscroll-behavior:contain;overflow-wrap:anywhere;max-height:min(320px,32dvh);margin:0;padding:4px 16px 4px 20px;list-style:outside;overflow:auto}.ui-geist-modal-list>ul>li{padding:4px 0}.ui-geist-modal-list>ul:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}.ui-follow-skeleton-toolbar button:has(>[data-compact-label])>svg{width:1.25rem;height:1.25rem}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:inherit;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}.peach-react :is([data-entity-state],[data-media-view])[data-skeleton-control][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react [data-entity-state][data-skeleton-control][aria-pressed=true]{border-radius:8px}[data-skeleton] [data-hero-costar-name][class~=skeleton]{width:52px;height:1lh}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}img.ui-hvframes[hidden]{display:none}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.peach-react .ui-configuration-skeleton-input{border-radius:var(--control-radius);width:100%;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{width:var(--icon-inline);height:var(--icon-inline);vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{top:calc(var(--topH) + 8px);z-index:1;max-height:calc(100dvh - var(--topH) - 16px);overscroll-behavior:contain;border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-self:start;align-items:stretch;margin:0;padding:0;display:flex;position:sticky;overflow-y:auto}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){flex-direction:column;align-items:stretch;gap:20px;display:flex}body #stats .ui-configpage>.ui-board-local-nav{background:var(--page);flex-flow:wrap;align-self:stretch;max-height:none;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.peach-react :is(.ui-settings-rows,.ui-settings-facts)+:is(.ui-settings-rows,.ui-settings-facts){border-top:1px solid var(--color-separator-border)}.processing-effort-panel{width:256px;max-width:calc(100vw - 64px)}.processing-effort-scale{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;display:grid}.processing-effort-scale>span{white-space:nowrap;align-items:center;gap:4px;display:flex}.processing-effort-scale>span[data-selected]{color:var(--color-text-primary)}.processing-effort-trigger{display:inline-flex}.processing-effort-scale>span:last-child[data-selected],.processing-effort-trigger[data-speed=high]>button:not([aria-disabled=true]){color:var(--color-accent-600)}.processing-effort-scale>span:nth-child(2){justify-self:center}.processing-effort-scale>span:last-child{justify-self:end}.processing-effort-double{flex-shrink:0;width:22px;height:16px}@media (hover:hover){.processing-effort-trigger:hover{--processing-effort-icon-background:var(--color-background-primary-hover)}}.processing-effort-trigger:active{--processing-effort-icon-background:var(--color-background-primary-active)}.processing-effort-trigger>button:is([aria-disabled=true],:disabled){--processing-effort-icon-background:var(--color-background-primary-disabled)}.processing-effort-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.processing-effort-track{border-radius:var(--control-radius);background:var(--color-background-secondary-default);height:27px;position:relative;overflow:hidden}.processing-effort-fill{width:var(--effort-fill);border-radius:inherit;background:var(--color-background-tertiary-hover);height:100%}.processing-effort-stops{justify-content:space-between;display:flex;position:absolute;inset:7px 9px}.processing-effort-stops i{background:var(--color-foreground-icon-tertiary);border-radius:var(--badge-radius);width:3px}.processing-effort-hit{touch-action:none;inset:0 10.5px;position:absolute!important}.processing-effort-thumb{border:1px solid var(--color-border-checkbox-default);border-radius:var(--control-radius);background:var(--color-background-primary-default);width:21px;height:27px;box-shadow:var(--elevation-xs);cursor:grab;outline:none;top:50%}.processing-effort-thumb[data-focus-visible]{outline:2px solid var(--color-border-focus-ring);outline-offset:-2px}.processing-effort-thumb[data-dragging]{cursor:grabbing}.processing-effort-slider[data-disabled]{opacity:.6}[data-effort-flow]{pointer-events:none;background:oklch(28.2% .091 267.935);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){[data-effort-flow]{background:color-mix(in srgb,var(--color-accent-950) 80%,var(--color-background-primary-default))}}[data-effort-flow]{overflow:hidden}[data-effort-flow] svg{width:100%;height:100%;animation:1s linear infinite processing-flow-wave}.processing-flow-outer{fill:var(--color-accent-500)}.processing-flow-middle{fill:var(--color-accent-300)}.processing-flow-core{fill:var(--color-accent-50)}[data-effort-flow] i{right:0;top:var(--particle-y);background:var(--color-text-white);opacity:0;width:4px;height:1px;animation:1s linear infinite processing-flow-particle;animation-delay:var(--particle-delay);position:absolute}[data-effort-flow][data-motion=paused] :is(svg,i){animation-play-state:paused}@keyframes processing-flow-wave{0%,to{transform:scaleY(1)}50%{transform:scaleY(.72)}}@keyframes processing-flow-particle{0%{opacity:0;transform:translate(0)}15%{opacity:.6}to{opacity:0;transform:translate(-240px)}}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}[data-async-text-value][aria-hidden=true],[data-async-text-skeleton]{opacity:0}[data-async-text][aria-busy=true]>[data-async-text-skeleton]{opacity:1}.dark .peach-react [data-link-result=gone] [data-link-code],.dark .peach-react [data-status-tone=error]{color:var(--color-text-error-primary)}.peach-react [data-source-mark=rss]{color:var(--feed-mark)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react [data-content-transition]{min-width:0;display:grid;position:relative}.peach-react [data-content-transition]>:is([data-content-current],[data-content-skeleton]){min-width:0;transition:opacity var(--motion-content), visibility var(--motion-content);grid-area:1/1}.peach-react [data-content-current]{opacity:1}.peach-react [data-content-skeleton]{opacity:0;visibility:hidden;pointer-events:none;position:absolute;inset:0}.peach-react [data-content-transition][data-pending]>[data-content-current]{opacity:0}.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:1;visibility:visible;position:relative}.peach-react :is([data-async-text-value],[data-async-text-skeleton]){transition:opacity var(--motion-content)}@starting-style{.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:0}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:var(--selection-dock-space,96px)}html:has([data-selection-dock]){scroll-padding-bottom:var(--selection-dock-space,96px)}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-error-details-toggle]{font:var(--board-compact);color:var(--ink-2);background:0 0}.peach-react [data-error-details-toggle]:hover:not(:disabled,[aria-disabled=true]){background:var(--control-hover);color:var(--ink)}.peach-react [data-error-details-toggle]:active:not(:disabled,[aria-disabled=true]){background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react .button-press-motion:has(>span)>svg,.peach-react .underline-offset-3>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:var(--control-h-compact);min-height:var(--control-h-compact)}.peach-react [data-filter-glass] .tag-skeleton-view{height:var(--control-h-compact);background:0 0;border:0;gap:2px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view>label{width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:8px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view svg{width:16px;height:16px}.peach-react button[data-filter-action]{width:var(--control-h-compact);min-width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:var(--control-radius);background:var(--board-blue);box-shadow:var(--elevation-xs);color:#fff;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-filter-action]:hover{background:var(--board-blue-hover);color:#fff}.peach-react button[data-filter-action] svg{width:16px;height:16px}.peach-react button[data-filter-action][aria-busy=true]{cursor:wait}:is(.peach-react [data-index-head],.peach-react[data-index-head]) button:is([data-filter-action],[data-tag-mode]){width:var(--control-h);min-width:var(--control-h);height:var(--control-h);min-height:var(--control-h);border-radius:var(--control-radius);padding:0}.peach-react button[data-tag-mode] svg{width:16px;height:16px}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-token]{border-radius:var(--control-radius);border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-token]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-token]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-token] :is([data-entity-action],[data-tag-chip]){border-radius:calc(var(--control-radius) - 4px)}.peach-react [data-tag-token] [data-entity-action]{background:0 0;border-color:#0000;width:24px;height:24px}.peach-react [data-tag-token] [data-entity-action]:is(:hover,[data-hovered]){background:var(--hover)}.peach-react [data-tag-token]:has([data-tag-chip][aria-pressed=true]),.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}.peach-react [data-trigger=Select]{min-width:var(--trigger-width)}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}[data-responsive-toolbar]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}[data-toolbar-heading]{flex-direction:column;min-width:0;max-width:100%;margin-inline-end:auto;display:flex}[data-toolbar-actions]{flex-wrap:wrap;flex:none;align-items:center;gap:8px;width:max-content;max-width:100%;display:flex}[data-pagination-layout]{grid-template-columns:auto minmax(0,1fr) auto}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body[data-batch-dock-open] :is(#grid,[data-stage]){padding-bottom:var(--selection-dock-space,180px)}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-pill-thumb]{transform:translate(var(--pill-left),var(--pill-top));width:var(--pill-width);height:var(--pill-height);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1)}[data-pill-nav]{isolation:isolate;position:relative}[data-pill-nav]>[data-pill-thumb]{pointer-events:none;z-index:0;background:var(--hover);border-radius:var(--control-radius);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1);position:absolute;top:0;left:0}[data-pill-nav]>:is(button,[role=tab]){z-index:1;position:relative}[data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],body #stats [data-section-items][data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],[data-manage-menu][data-pill-nav]:has(>[data-pill-thumb])>button[aria-pressed=true]{background:0 0}.peach-react [data-search-tabs][data-pill-nav]>[data-pill-thumb]{background:var(--picked)}.peach-react [data-search-tabs][data-pill-nav]:has(>[data-pill-thumb])>button[data-pill-selected]{background:0 0}@media (prefers-reduced-motion:reduce){[data-pill-nav]>[data-pill-thumb]{transition:none}}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg,.peach-react [data-entity-batch][aria-busy=true] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-filter-glass]>[data-filter-row=bottom]{overflow-y:hidden}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-entity-action]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-entity-action]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-entity-action]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-entity-action]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;box-shadow:inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-shadow);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;margin-inline:-10px;padding-inline:10px;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react :is([data-shortcuts-categories],[data-shortcuts-footer]) svg{color:var(--glass-text)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-footer]{flex-direction:column;gap:4px;display:flex}.peach-react [data-shortcuts-footer] a{width:100%;font-family:var(--board-font);background:0 0;line-height:20px}.peach-react [data-shortcuts-footer] a:hover{background:0 0}.peach-react [data-shortcuts-footer] a>svg:last-child{margin-left:auto}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;margin-inline:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}.peach-react [data-collapse-chevron]{transition:transform var(--motion-swap);transform:rotate(0)}.peach-react :is(button,summary)[aria-expanded=true]>[data-collapse-chevron],.peach-react [data-collapse-upward][aria-expanded=false]>[data-collapse-chevron]{transform:rotate(180deg)}.peach-react [data-collapse-upward][aria-expanded=true]>[data-collapse-chevron]{transform:rotate(0)}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew),body[data-wall-open] :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew){pointer-events:none}:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew),:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew) *,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew) :before,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew) :after{visibility:hidden!important;animation-play-state:paused!important}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-wall-bar]{z-index:30;left:24px;right:24px;top:calc(24px + env(safe-area-inset-top));pointer-events:none;flex-wrap:wrap;align-items:center;gap:8px;display:flex;position:absolute}.peach-react [data-wall-bar]>*{pointer-events:auto;flex:none}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button){width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-bar]>[data-wall-filter-notice]{flex:260px;min-width:0}.peach-react [data-wall-image][aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-wall-image][aria-pressed=true]:hover{background:#fff}.peach-react [data-wall-bar]>[data-wall-search]{min-width:44px;max-width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#282828c7;border-radius:22px;flex:1 1 0;transition:max-width .26s cubic-bezier(.22,1,.36,1);display:flex;overflow:hidden}.peach-react [data-wall-bar]>[data-wall-search][data-open]{max-width:320px}.peach-react [data-wall-search] [data-wall-round]{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;flex:none}.peach-react [data-wall-search] input{min-width:0;height:100%;color:var(--ink);font:inherit;background:0 0;border:0;border-radius:0;outline:0;flex:1;padding:0 18px 0 2px;font-size:14px}.peach-react [data-wall-search] input::placeholder{color:var(--muted)}.peach-react [data-wall-search] input::-webkit-search-cancel-button{appearance:none}.peach-react [data-wall-search]:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:3px}@media (prefers-reduced-motion:reduce){.peach-react [data-wall-bar]>[data-wall-search]{transition:none}}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-bar]{left:16px;right:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{padding-inline:12px}.peach-react [data-wall-search] input{font-size:16px}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-board-data-table][data-resizable-table] .bui-table{table-layout:fixed}.peach-react [data-board-data-table][data-resizable-table] th{padding-right:16px;position:relative}.peach-react [data-board-data-table][data-resizable-table] td{text-overflow:ellipsis;overflow:hidden}.peach-react [data-board-data-table][data-resizable-table] [data-table-space]{padding:0}.peach-react [data-board-data-table] td a{align-self:flex-start;width:fit-content;max-width:100%}.peach-react [data-board-data-table] td a:has(>[data-middle-truncate]){width:100%}.peach-react [data-board-data-table] .react-aria-ColumnResizer{z-index:2;cursor:ew-resize;touch-action:none;width:20px;position:absolute;top:0;bottom:0;right:-10px}.peach-react [data-board-data-table] .react-aria-ColumnResizer:after{content:"";background:var(--border-15);width:1px;position:absolute;top:8px;bottom:8px;left:9px}.peach-react [data-board-data-table] th:is(:last-child,:has(+th[data-table-space])) .react-aria-ColumnResizer{width:12px;right:0}.peach-react [data-board-data-table] th:is(:last-child,:has(+th[data-table-space])) .react-aria-ColumnResizer:after{left:11px}html[data-column-resizing],html[data-column-resizing] *{cursor:ew-resize!important;-webkit-user-select:none!important;user-select:none!important}.peach-react [data-board-data-table] .react-aria-ColumnResizer:is([data-hovered],[data-resizing],[data-focus-visible]):after{background:var(--ink)}.peach-react [data-board-data-table] .react-aria-ColumnResizer[data-focus-visible]{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-rating-stars]{align-items:center;gap:2px;display:inline-flex}.peach-react [data-rating-stars] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-rating-stars] button[data-rate]{cursor:pointer}.peach-react [data-rating-stars] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-rating-stars] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-rating-stars] button[data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-rating-stars] button[aria-disabled=true]{color:var(--muted);cursor:wait}.peach-react [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table td{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;overflow:hidden}.peach-react [data-catalog-rating]{white-space:normal;flex-direction:column;align-items:stretch;gap:8px;display:flex}.peach-react [data-catalog-rating] [data-rating-stars]{align-self:flex-start}.peach-react [data-catalog-table] [data-list-identity]{align-items:center;gap:12px;min-width:0;padding:12px 0;display:flex;position:relative}.peach-react [data-catalog-table] [data-list-open]{cursor:pointer;background:0 0;border:0;flex:none;margin-right:4px;padding:0;display:flex}.peach-react [data-catalog-table] [data-list-people]{min-width:0;color:var(--ink-2);font-size:var(--fs-sm);align-items:center;gap:8px;display:flex}.peach-react [data-catalog-table] [data-list-people]>[data-media-avatar]{flex:none;margin-top:0}.peach-react [data-catalog-table] [data-list-people]>[data-media-avatars]{flex:none;max-width:109px}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]{min-width:0;color:inherit;font:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:0 auto;align-items:center;padding:0;display:inline-flex;overflow:hidden}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]>svg{display:none}.peach-react [data-catalog-table] [data-list-people]>[data-media-who-more]{color:var(--muted);flex:none}.peach-react [data-catalog-table] [data-list-people] a[data-media-avatar]{width:38px}.peach-react [data-catalog-table] [data-list-people]>a{align-self:center}.peach-react [data-catalog-table] [data-list-people]>a[data-media-who]{text-decoration:none}.peach-react [data-catalog-table] [data-list-people]>a[data-media-who]:hover{text-decoration:underline}.peach-react [data-catalog-table] [data-list-studio-mark]{background:var(--sunk);width:16px;height:16px;color:var(--muted);object-fit:cover;border-radius:4px;flex:none;justify-content:center;align-items:center;font-size:10px;line-height:1;display:inline-flex;overflow:hidden}.peach-react [data-catalog-table] button[data-list-name]{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-catalog-table] [data-list-picture] [data-media-group]{border-radius:6px;min-height:0;padding:1px 6px;font-size:11px;top:4px;right:4px}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--sunk);width:112px;height:63px;color:var(--muted);font-size:var(--fs-sm);flex:none;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-catalog-table] [data-list-picture] [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-catalog-table] [data-list-picture] :is(img,video){width:100%;height:100%}.peach-react [data-catalog-table] [data-list-picture] :is(img:not([data-jav-image]),video){object-fit:cover}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;line-height:1.4;display:-webkit-box;overflow:hidden}.peach-react [data-catalog-table] [data-list-identity]:has([data-list-open]:hover,[data-list-name]:hover) [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-library]{min-width:0;max-width:100%;color:var(--ink-2);font-size:var(--fs-sm);align-items:center;gap:6px;display:inline-flex}.peach-react [data-catalog-table] [data-list-library]>span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 9%, transparent)}[data-theme=dark] .peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 13%, transparent)}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]{gap:4px;bottom:4px;left:4px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]>span{width:20px;height:20px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status] svg{width:11px;height:11px}.peach-react [data-catalog-table] [data-list-tags]{height:auto;max-height:calc(var(--control-h-inline) * 2 + 13px);white-space:normal}.peach-react [data-catalog-table] [data-list-tags] [data-media-tag]{box-sizing:border-box;height:var(--control-h-inline);line-height:calc(var(--control-h-inline) - 2px);padding-block:0}.peach-react [data-list-skeleton]{flex-direction:column;gap:16px;display:flex}.peach-react [data-list-skeleton-tools]{justify-content:flex-end;display:flex}.peach-react [data-list-skeleton-tools]>i{border-radius:var(--control-radius);width:312px;max-width:100%;height:36px;display:block}.peach-react [data-completion-skeleton]{height:calc(var(--control-h) + 16px);border-radius:var(--radius-2lg,10px);display:block}.peach-react [data-list-skeleton-name]{align-items:center;gap:12px;padding:12px 0;display:flex}.peach-react [data-list-skeleton-name]>i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;margin-right:4px}.peach-react [data-list-skeleton-mark]{align-items:center;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-mark]>b{border-radius:4px;flex:none;width:16px;height:16px}.peach-react [data-list-skeleton-mark=people]>b{border-radius:50%;width:38px;height:38px}.peach-react [data-list-skeleton-mark]>i{border-radius:6px;flex:1;max-width:96px;height:14px;display:block}.peach-react [data-list-skeleton-name]>span{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-name]>span>i{border-radius:6px;width:72%;height:14px;display:block}.peach-react [data-list-skeleton-name]>span>i+i{width:44%;height:12px}.peach-react [data-list-skeleton-bar]{border-radius:6px;width:min(72%,96px);height:14px;display:block}[data-skeleton=catalog\/list]{grid-column:1/-1}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):first-child,.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(2){padding-inline:8px}.peach-react [data-catalog-table] [data-list-open]{gap:12px}.peach-react [data-catalog-table] [data-list-picture]{width:80px;height:45px}}.peach-react [data-keycap]{--keycap-face:var(--color-background-tertiary-default);--keycap-edge:color-mix(in oklab, var(--keycap-face) 55%, var(--color-neutral-950));--keycap-depth:3px;--keycap-highlight:inset 0 1px 0 color-mix(in oklab, var(--color-text-primary) 12%, transparent);box-sizing:border-box;min-width:34px;height:36px;padding:0 9px var(--keycap-depth);border:1px solid var(--color-border-button-default);font:600 13px/1 var(--font-sans,system-ui, sans-serif);color:var(--color-text-primary);background:linear-gradient(color-mix(in oklab, var(--keycap-face), var(--color-text-primary) 8%), var(--keycap-face));box-shadow:var(--keycap-highlight), inset 0 calc(-1 * var(--keycap-depth)) 0 var(--keycap-edge);border-radius:7px;justify-content:center;align-items:center;transition:transform 80ms ease-out,box-shadow 80ms ease-out,border-color .12s ease-out,padding 80ms ease-out;display:inline-flex;transform:translateY(0)}.peach-react [data-keycap][data-state=down]{--keycap-ring:var(--color-border-focus-ring);--keycap-depth:1px;--keycap-highlight:inset 0 1px 2px color-mix(in oklab, var(--color-neutral-950) 45%, transparent);transform:translateY(2px)}.peach-react [data-keycap]:is([data-state=down],[data-state=invalid],[data-state=done]){border-color:var(--keycap-ring);box-shadow:var(--keycap-highlight), inset 0 calc(-1 * var(--keycap-depth)) 0 var(--keycap-edge), 0 0 0 3px color-mix(in oklab, var(--keycap-ring) 28%, transparent)}.peach-react [data-keycap][data-state=invalid]{--keycap-ring:var(--color-border-error-default)}.peach-react [data-keycap][data-state=done]{--keycap-ring:var(--color-notification-success-foreground)}.peach-react [data-keycap][data-state=slot]{box-shadow:none;color:var(--color-text-secondary);background:0 0;border-style:dashed;padding-bottom:0;font-size:12px;font-weight:500}.peach-react [data-keycaps]{align-items:center;gap:6px;display:flex}.peach-react [data-keycaps]>[data-keycap-plus]{color:var(--color-text-secondary);font-size:12px}@media (prefers-reduced-motion:reduce){.peach-react [data-keycap]{transition:none}.peach-react [data-keycap][data-state=down]{transform:none}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-media-indicator]{z-index:4;box-sizing:border-box;width:max-content;max-width:min(180px, calc(100% - var(--media-dot-room)));border-radius:var(--pill-radius);background:#00000080;border:0;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots]{justify-content:flex-start;align-items:center;gap:var(--media-dot-gap);box-sizing:border-box;width:max-content;max-width:100%;padding:8px var(--media-dot-padding);overscroll-behavior-inline:contain;scrollbar-width:none;scroll-padding-inline:var(--media-dot-padding);display:flex;overflow:auto hidden}.peach-react [data-media-carousel] [data-follow-image-dots]::-webkit-scrollbar{display:none}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] [data-media-indicator]{margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:color-mix(in srgb, var(--on-media) 8%, transparent);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:color-mix(in srgb, var(--on-media) 16%, transparent)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-media-indicator]{bottom:12px}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.driver-layer{width:auto;max-width:none;height:auto;max-height:none;color:inherit;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:visible}.driver-layer::backdrop{display:none}.driver-layer .driver-popover{pointer-events:auto}.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus-visible{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}[data-connection-tone=neutral]>[aria-hidden]{background-color:var(--color-background-tertiary-default)}[data-connection-tone=neutral]>[aria-hidden]>span{background-color:var(--color-text-tertiary)}[data-connection-tone=error]>[aria-hidden]{background-color:var(--color-notification-error-background)}[data-connection-tone=error]>[aria-hidden]>span{background-color:var(--color-text-error-primary)}@keyframes peach-link-blink{0%,to{opacity:1}50%{opacity:.25}}.peach-react [data-link-check][aria-busy=true] [data-link-check-rays]{animation:1.2s ease-in-out infinite peach-link-blink}.peach-react [data-policy-matrix]{border-collapse:collapse;width:100%;max-width:560px;color:var(--ink-2);margin-top:4px}.peach-react [data-policy-matrix] :is(th,td){border-bottom:1px solid var(--line-soft);text-align:center;padding:6px 8px;font-weight:400}.peach-react [data-policy-matrix] thead th{color:var(--muted)}.peach-react [data-policy-matrix] tbody th{text-align:left;color:var(--ink-2)}.peach-react [data-policy-matrix] [data-policy-cell=on]{color:var(--ink)}.peach-react [data-policy-matrix] [data-policy-cell=off]{color:var(--muted)}.peach-react [data-policy-matrix] tr:last-child>*{border-bottom:0}.peach-react [data-library-head]{border-bottom:1px solid var(--color-border-button-default);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 8px;display:flex}.peach-react [data-library-head]>*{min-width:0;max-width:100%}.peach-react [data-library-head]>:nth-child(2){flex:180px;width:auto}.peach-react [data-library-head]>:last-child{flex:200px;width:auto}.peach-react [data-library-head]>:is(:first-child,:nth-child(3)){flex-shrink:0}.peach-react [data-library-block]>:not([data-library-head],[data-library-folders]){padding:10px 8px 0}.peach-react [data-library-folders]{flex-direction:column;display:flex}.peach-react [data-library-folders]>*{padding:12px 8px}.peach-react [data-library-folders]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-library-folders]>[data-folder-row]{background:0 0;border-width:0;border-radius:0}.peach-react [data-library-folders]>[data-folder-row]+*{border-top-width:1px}.peach-react [data-library-color-trigger]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:auto;height:36px;box-shadow:var(--shadow-xs);color:var(--color-text-primary);white-space:nowrap;border-radius:10px;gap:8px;padding:0 10px 0 7px;display:inline-flex}.peach-react [data-library-color-trigger]:hover{background:var(--color-background-primary-hover)}.peach-react [data-library-color-trigger] [data-glow-ball]{width:20px;height:20px}.peach-react [data-library-colors]{grid-template-columns:repeat(7,28px);padding:0}.peach-react [data-glow-ball][data-library-none]{--glow-chip:linear-gradient(135deg, transparent 46%, var(--color-text-tertiary) 46% 54%, transparent 54%), var(--color-background-tertiary-default)}.peach-react [data-platform-mark=windows]{color:#0078d4}.peach-react [data-platform-mark=android]{color:#3ddc84}.peach-react [data-platform-mark=apple]{color:var(--color-text-primary)}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-2xl:42rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-xs:var(--elevation-xs);--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{background-color:var(--hover);position:relative;overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-1\/2{left:50%}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-span-full{grid-column:1/-1}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-3{margin-inline:calc(var(--spacing) * -3)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.5)}.ms-auto{margin-inline-start:auto}.me-0\.5{margin-inline-end:calc(var(--spacing) * .5)}.me-0\.75{margin-inline-end:calc(var(--spacing) * .75)}.me-auto{margin-inline-end:auto}.-mt-0\.5{margin-top:calc(var(--spacing) * -.5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.-mr-3{margin-right:calc(var(--spacing) * -3)}.-mr-5{margin-right:calc(var(--spacing) * -5)}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:0}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-40{width:calc(var(--spacing) * 40);height:calc(var(--spacing) * 40)}.size-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.async-text-skeleton{height:.65em}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-13{min-height:calc(var(--spacing) * 13)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-28{min-height:calc(var(--spacing) * 28)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--icon-inline\){width:var(--icon-inline)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-21{width:calc(var(--spacing) * 21)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-40{width:calc(var(--spacing) * 40)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-1\/2{max-width:50%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:0}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-48{flex-basis:calc(var(--spacing) * 48)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.scroll-mt-24{scroll-margin-top:calc(var(--spacing) * 24)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--border-10\){border-color:var(--border-10)}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default\/20{border-color:var(--color-border-error-default)}@supports (color:color-mix(in lab, red, red)){.border-border-error-default\/20{border-color:color-mix(in oklab, var(--color-border-error-default) 20%, transparent)}}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-\(--surface\){background-color:var(--surface)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-quaternary-default{background-color:var(--color-background-quaternary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7,.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8,.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-chart-9{background-color:var(--color-chart-9)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-kbd-background{background-color:var(--color-kbd-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pill-tab-blue-hover-background{background-color:var(--color-pill-tab-blue-hover-background)}.bg-pill-tab-blue-selected-background{background-color:var(--color-pill-tab-blue-selected-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-blue-text{background-color:var(--color-status-blue-text)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-cyan-text{background-color:var(--color-status-cyan-text)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-purple-text{background-color:var(--color-status-purple-text)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-white{background-color:var(--color-white)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background{fill:var(--color-background-primary-default)}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-primary\/10{fill:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.fill-text-primary\/10{fill:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1{padding-right:var(--spacing)}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-baseline{vertical-align:baseline}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-\(--muted\){color:var(--muted)}.text-accent-500{color:var(--color-accent-500)}.text-accent-600{color:var(--color-accent-600)}.text-background,.text-background-primary-default{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-black{color:var(--color-black)}.text-blue-900{color:var(--color-blue-900)}.text-border{color:var(--color-separator-border)}.text-border-focus-ring{color:var(--color-border-focus-ring)}.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-green-700{color:var(--color-green-700)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-kbd-foreground{color:var(--color-kbd-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-placeholder{color:var(--color-text-placeholder)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline,.outline-1{outline-style:var(--tw-outline-style);outline-width:1px}.-outline-offset-1{outline-offset:calc(1px * -1)}.outline-border-error-default{outline-color:var(--color-border-error-default)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, )}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, )}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[scale\,opacity\]{transition-property:scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){:is(:where(.group):hover .group-hover\:bg-foreground){background-color:var(--color-text-primary)}:is(:where(.group):hover .group-hover\:opacity-100){opacity:1}}:is(:where(.group\/tree-view)[data-show-guides=false] .group-data-\[show-guides\=false\]\/tree-view\:hidden){display:none}:is(:where(.group\/tree-view)[data-size=sm] .group-data-\[size\=sm\]\/tree-view\:min-h-8){min-height:calc(var(--spacing) * 8)}:is(:where(.group\/tree-view)[data-size=sm] .group-data-\[size\=sm\]\/tree-view\:text-body-2-regular){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-background-tertiary-default:hover{background-color:var(--color-background-tertiary-default)}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:cursor-wait:disabled{cursor:wait}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-full{flex-basis:100%}.max-cleanup-tight\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-board-narrow\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-end{justify-content:flex-end}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:order-last{order:9999}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:mt-auto{margin-top:auto}.sm\:hidden{display:none}.sm\:w-24{width:calc(var(--spacing) * 24)}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-32{width:calc(var(--spacing) * 32)}.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}.\@lg\:w-auto{width:auto}.\@lg\:flex-1{flex:1}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>\.ui-settings-facts\]\:-mr-3>.ui-settings-facts{margin-right:calc(var(--spacing) * -3)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>span\:last-child\]\:min-w-0>span:last-child{min-width:0}.\[\&\>span\:last-child\]\:wrap-anywhere>span:last-child{overflow-wrap:anywhere}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-media-grid]>[data-media-card],body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible;container:media-card/inline-size}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:color-mix(in oklab, var(--library-color) 9%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:color-mix(in oklab, var(--library-color) 15%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){background:var(--library-surface);box-shadow:0 0 0 8px var(--library-surface)}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--library-hover);box-shadow:0 0 0 8px var(--library-hover)}.peach-react [data-media-status]{z-index:3;pointer-events:none;gap:6px;display:flex;position:absolute;bottom:12px;left:10px}.peach-react [data-media-status]>span{-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000006b;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.peach-react [data-media-status] svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.peach-react [data-media-status] [data-status=later]{color:var(--color-sky-500)}.peach-react [data-media-status] [data-status=flagged]{color:var(--color-rose-500)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);height:calc(var(--card-meta-block) + 22px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-follow-item]) [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px);--card-meta-block:calc(var(--fs-md) * 2.7 + 12px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:calc(var(--card-meta-block) + 16px)}body:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:auto}.peach-react [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{--card-meta-tags:calc(var(--fs-xs) * 2.9);height:var(--card-meta-block)}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:var(--color-background-quaternary-default);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic],.peach-react [data-media-art]>.media-nopic{color:var(--ink-2);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-art]>.media-nopic{place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-pic][data-pic-portrait] :is(img[class~=poster]:not([class~=cover]),video){object-fit:cover;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);inset:-1px}.peach-react [data-media-pic]>img.ui-hvframes[hidden]{display:none}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}body[data-peach-copy-mode] .peach-react [data-media-card] [data-media-duration][data-copy-key]{z-index:10;opacity:1;visibility:visible;pointer-events:auto}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:var(--control-h-compact);height:var(--control-h-compact);padding:0}.peach-react [data-media-later] svg{width:18px;height:18px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--media-avatar-visible:var(--media-avatar-count);--media-avatar-gaps:max(1, calc(var(--media-avatar-visible) - 1));z-index:1;width:calc(45px + 16px * (var(--media-avatar-visible) - 1));--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:min(109px,max(45px,30%));height:46px;margin:-4px -2px -2px;padding:0;display:block;position:relative}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{top:6px;left:calc(5px + (100% - 45px) / var(--media-avatar-gaps) * var(--media-avatar-index));box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:left var(--lift-motion,var(--board-motion)), transform var(--lift-motion,var(--board-motion));margin:0;position:absolute}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible))>[data-media-avatar]{left:calc(5px + 30px * var(--media-avatar-index))}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]{--media-avatar-visible:min(2, var(--media-avatar-count))}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex;container:media-meta/inline-size}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-card]:not([data-follow-item]) [data-media-title]{min-height:2.7em}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{white-space:nowrap;min-width:0;min-height:1.5em;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:1.5;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;flex:0 auto;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;flex:none;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-facts]{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;min-width:0;display:inline-flex}.peach-react [data-media-byline] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted);white-space:nowrap;flex:none}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-release]),.peach-react [data-variant=next] [data-media-facts]{display:none}.peach-react [data-media-next-reason]{width:100%;min-width:0;min-height:2.9em;max-height:2.9em;color:var(--loupe);font-size:var(--fs-xs);text-align:left;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;flex:none;padding:0;line-height:1.45;display:-webkit-box;overflow:hidden}.peach-react [data-media-next-reason]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container media-meta not (width>=360px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:100%}}@container media-meta not (width>=200px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-who-more]{display:none}}@container media-meta not (width>=140px){.peach-react [data-media-who-more]{display:none}}@container media-meta not (width>=110px){.peach-react [data-media-size]{display:none}}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react span[data-media-tag]{cursor:default}.peach-react span[data-media-tag]:hover{background:var(--tag-fill);color:var(--ink-2)}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>:is([data-media-card],[data-mix-card]){padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;line-height:1.35em;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-why]{display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}@container media-meta not (width>=360px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) :is([data-media-who-more],[data-media-size]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:auto}}@container media-meta not (width>=160px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{display:none}}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;min-height:var(--control-h-compact);border-radius:var(--control-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-strip]{--hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{z-index:1;font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex;position:relative}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-32px -16px -20px;padding:32px 16px 20px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px + 16px));padding-left:calc(var(--railW) + 32px + 16px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;height:auto;min-height:0}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-text]{flex-direction:column;height:auto;display:flex}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-byline]{height:auto;min-height:20px;line-height:20px}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-tags]:empty{display:none}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-detail-tags] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);box-sizing:border-box;height:var(--control-h-inline);align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:color-mix(in srgb,var(--tag-color) 42%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:color-mix(in srgb,var(--tag-color) 10%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag] :is([data-remove-tag],[data-edit-tag]){width:calc(var(--control-h-inline) - 2px);color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]:hover,.peach-react [data-detail-tags] [data-detail-tag] [data-edit-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-detail-tags] [data-detail-tag] svg,.peach-react [data-detail-tags] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-detail-tags] [data-tag-plus]{width:var(--control-h-inline);height:var(--control-h-inline);border:1px dashed var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-detail-tags] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-tag-picker]{z-index:120;border:1px solid var(--ink);flex-direction:column;width:min(480px,100vw - 32px);max-height:min(480px,70vh);margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-detail-tags] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 24px 70px -24px #000}.peach-react [data-detail-tags] [data-tag-picker][hidden]{display:none}.peach-react [data-detail-tags] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-detail-tags] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid var(--ink);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-detail-tags] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-detail-tags] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-detail-tags] [data-tag-search] input::placeholder{color:revert}.peach-react [data-detail-tags] [data-tag-scroll-frame]{flex:auto;min-height:0;display:flex;position:relative}.peach-react [data-detail-tags] [data-tag-body]{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-detail-tags] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-detail-tags] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-detail-tags] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-detail-tags] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-detail-tags] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:var(--tag-color,var(--muted));flex:none}@media (width<=760px){.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-namepick-menu] svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;flex:0 0 var(--control-h-compact);width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);border-radius:50%;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{margin-left:auto;flex-wrap:nowrap;flex:none;align-items:center;gap:4px;width:max-content;margin-block:-14px;padding:14px 2px;display:flex;overflow:visible}.peach-react [data-entity-sort]{height:var(--control-h-compact);min-height:var(--control-h-compact);color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap]{margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap] svg{margin-left:0}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}.peach-react [data-photo-back]{height:var(--control-h-compact);border:1px solid var(--glass-low);border-radius:var(--control-radius);color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{gap:10px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-tier-performer],[data-tier-studio])[aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tier-studio] [data-count-badge]{color:var(--color-text-tertiary);font:var(--board-caption);font-variant-numeric:tabular-nums}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}.peach-react [data-catalog-frame][data-single-row]{flex-direction:row}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=top]{flex:1}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=bottom]{flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{width:72px;height:var(--control-h-compact);border-radius:var(--tag-radius);background:var(--hover);flex:none}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}body[data-folder-browse] #main{grid-template-columns:224px minmax(0,1fr);align-items:start;column-gap:24px;display:grid}body[data-folder-browse] #main>:not(#catalogFoldersTree){grid-column:2;min-width:0}body[data-folder-browse] #catalogFoldersTree{top:var(--folder-sticky-top,calc(var(--topH) + 16px));grid-area:1/1/span 20;min-width:0;position:sticky}body[data-folder-browse] #catalogFoldersTree .catalog-folder-navigation{max-height:var(--folder-available-height,calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 16px))}body[data-folder-browse] #catalogFoldersTree .folder-tree-scroller{max-height:none}#catalogFolderHeader{margin-bottom:20px}.catalog-folder-heading{flex-direction:column;gap:12px;min-width:0;display:flex}.folder-scope-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.folder-children{flex-wrap:wrap;gap:4px;display:flex}.folder-children>button{max-width:100%}.entity-folder-workspace[data-folder-browse]{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;display:grid}.entity-folder-workspace>[data-folder-tree-host]{top:var(--folder-sticky-top);min-width:0;position:sticky}.entity-folder-workspace .catalog-folder-navigation{max-height:var(--folder-available-height)}[data-folder-header-host]{margin-bottom:20px}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{min-height:0;max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;scroll-padding-block:4px;overflow:auto}.folder-tree-frame>[data-overlay-track=y]{overflow:hidden;translate:-8px}.folder-tree-frame>[data-overlay-track=y] [data-overlay-thumb]{transition-property:width}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);box-shadow:none;color:var(--glass-text);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-folder-mode-toggle]{color:color-mix(in srgb,var(--glass-text) 60%,transparent)}}.peach-react button[data-folder-mode-toggle]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-folder-mode-toggle][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react button[data-folder-mode-toggle] svg{fill:currentColor;stroke:none;width:16px;height:16px}@media (width<=1100px){.entity-folder-workspace[data-folder-browse]{display:block}.entity-folder-workspace>[data-folder-tree-host]{display:none}body[data-folder-browse] #main{display:block}body[data-folder-browse] #catalogFoldersTree{display:none}.folder-drawer-trigger{display:inline-flex}.folder-crumb-name{max-width:120px}}@media (width<=480px){.folder-crumb-name{max-width:88px}.folder-scope-row{gap:8px}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-results]+[data-search-group],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a,.peach-react [data-search-head]>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-head]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-search-shuffle]{border-radius:var(--control-radius);width:20px;height:20px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-search-shuffle]:hover{color:var(--ink)}.peach-react [data-search-shuffle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:1px}.peach-react [data-search-shuffle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.peach-react [data-search-shuffle][aria-busy=true] svg{--strand-dash:100;--strand-cycle:1.2s}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] [data-remove-history] svg{width:18px;height:18px}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-by]{vertical-align:-4px;background:var(--hover);border-radius:50%;width:16px;height:16px;margin-right:6px;display:inline-block;position:relative}.peach-react [data-search-by] img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-search-by]>span{justify-content:center;align-items:center;font-size:9px;display:flex;position:absolute;inset:0}.peach-react [data-search-placeholder]{pointer-events:none}.peach-react [data-search-placeholder] [data-search-pic]>span{aspect-ratio:var(--card-ratio);border-radius:var(--badge-radius);display:block}.peach-react [data-search-placeholder] :is([data-search-name],[data-search-sub],[data-search-face],[data-search-pic]>span){color:#0000;background:var(--hover);position:relative;overflow:hidden}.peach-react [data-search-placeholder] :is([data-search-name],[data-search-sub]){border-radius:var(--control-radius)}.peach-react [data-search-placeholder] [data-search-name]{width:64%}.peach-react [data-search-placeholder] [data-search-sub]{width:40%}.peach-react [data-search-placeholder] :is([data-search-name],[data-search-sub],[data-search-face],[data-search-pic]>span):after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 2.38px)}.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{width:var(--control-h-compact);height:var(--control-h-compact);border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:none;min-height:0}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 6px);grid-template-rows:auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:6px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}@media (width<=760px){body .peach-react [data-follow-list] [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-list] [data-follow-item] [data-media-text]{flex-direction:column;height:auto;display:flex}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-list] [data-follow-item] [data-media-byline]{height:auto;min-height:20px;line-height:20px}}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{width:var(--control-h-compact);height:var(--control-h-compact);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-byline] a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;vertical-align:-2px;border-radius:0;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-sources] [data-follow-seealso]{border-radius:var(--control-radius);background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:20px;height:20px}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}@media (width<=760px){.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;grid-template-rows:none;min-height:0}body[data-density] .peach-react [data-follow-item] [data-follow-labels]{height:auto}.peach-react [data-follow-item] [data-follow-labels]:empty{display:none}}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]){flex-direction:column}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]) [data-follow-detail-poster]{min-height:0;max-height:calc(76dvh - 116px)}.peach-react [data-follow-detail] [data-carousel-below]{flex:none}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;width:100%;max-height:100%;color:var(--muted);place-content:center;place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] [data-follow-origin] svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-resources] a svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail-tags]{margin-top:16px}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-media]>[data-player-toolbar]{z-index:8;pointer-events:none;flex-wrap:wrap;align-items:center;gap:7px;display:flex;position:absolute;top:11px;left:11px;right:59px}.peach-react [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]){display:contents}.peach-react [data-player-toolbar] :is([data-player-stats-button],[data-player-net],[data-jav-preview-toggle]){flex:none;position:relative;top:auto;left:auto}.peach-react [data-player-toolbar] button{pointer-events:auto}.peach-react [data-item-gallery][data-item-picture] [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]),.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-item-detail] [data-detail-title] [class~=javedition]{margin-left:5px}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{width:var(--control-h-inline);height:var(--control-h-inline);border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{margin-left:-4px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;margin-inline-start:calc((var(--id-face,46px) - var(--id-cell,62px)) / 2);display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:center;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;flex:none;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;color:#ff669d}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-related]{--hover:color-mix(in srgb, var(--ink) 8%, var(--detail-surface))}}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:10px 15px 8px}.peach-react [data-item-related]>h3{text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 6px;overflow:hidden}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;min-height:calc(var(--detail-card-height) + 24px);height:calc(var(--detail-card-height) + 24px);scrollbar-width:none;gap:16px;margin:-4px -16px 0;padding:12px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0;height:calc(var(--detail-card-height) + 20px)}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react img[data-source-picture][hidden]{display:none!important}.peach-react [data-jav-picture-wait]{place-items:center;width:100%;min-width:0;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait]>[data-empty-state]{max-width:32rem}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{box-sizing:border-box;z-index:5;border-radius:var(--pill-radius);color:#fff;height:40px;font-size:var(--fs-xs);white-space:nowrap;cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:0 12px;line-height:1;display:inline-flex;position:absolute;top:11px;left:11px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rating-stars] [data-rate],.peach-react [data-review-rating] [data-rating-stars] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}.peach-react .index-feed-mark>span{color:var(--feed-mark);background:var(--feed-mark)}@supports (color:color-mix(in lab, red, red)){.peach-react .index-feed-mark>span{background:color-mix(in srgb,var(--feed-mark) 16%,var(--ground))}}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-picture-in-picture-control[data-peach-pip-supported][hidden]{display:block!important}.video-js .vjs-picture-in-picture-control[aria-disabled=true]{color:#ffffff73;cursor:not-allowed}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-loading-spinner{display:none;position:absolute}.video-js.vjs-waiting:not(.vjs-paused) .vjs-loading-spinner{display:block}.video-js .vjs-error-display{pointer-events:none;display:none;position:absolute;inset:0}.video-js.vjs-error .vjs-error-display{justify-content:center;align-items:center;display:flex}.video-js.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:0;pointer-events:none}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;max-height:none!important;position:fixed!important;inset:0!important}.video-js media-container:fullscreen{background:#000;width:100vw;height:100vh}.video-js .vjs-modal-dialog-content{position:absolute}.video-js media-slider-value{visibility:hidden;position:absolute}.video-js .vjs-volume-panel:hover media-slider-value,.video-js .vjs-volume-panel:focus-within media-slider-value{visibility:visible}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px auto;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:0 0;border-radius:0;width:100%;height:18px;margin:0}[data-stage-media] .video-js .vjs-progress-holder>media-slider-track{background:#28282899;height:6px;transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:0;transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover media-slider-track,[data-stage-media] .video-js .vjs-progress-control:focus-within media-slider-track{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-progress-thumb{background:var(--tungsten);transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:-3px;transform:translate(-50%)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-thumb,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-thumb{transform:translate(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{--seek-max-w:240px;--seek-max-h:180px;width:min(var(--seek-max-w),calc(var(--seek-max-h) * var(--seek-aspect,1.7778)));aspect-ratio:var(--seek-aspect,16/9);border-radius:var(--floating-radius);background:#000;border:2px solid #fff;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg,.vjs-peach-caption-options>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);background:var(--tungsten);min-width:17px;height:12px;color:var(--ground);font-size:var(--fs-xs);transform-origin:100% 0;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;width:min(274px,100vw - 28px);max-height:min(420px,calc(var(--peach-player-h,480px) - 74px),calc(100vh - 130px));border-radius:var(--floating-radius);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row>svg.vjs-peach-menu-line-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:40px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 8px!important}.vjs-peach-option-check{place-items:center;width:40px;height:24px;display:grid}.vjs-peach-option-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{--seek-max-w:160px;--seek-max-h:120px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:contain!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}.video-js .vjs-subtitles-control>button{z-index:1;place-items:center;display:grid;position:relative}.video-js .vjs-subtitles-control>button>svg,.vjs-peach-menu-cc>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;display:block}.video-js .vjs-subtitles-control>button[aria-pressed=true]:after{content:"";background:var(--tungsten);width:18px;height:2px;position:absolute;bottom:5px;left:calc(50% - 9px)}.video-js.vjs-peach-xsmall .vjs-subtitles-control>button>svg{width:27px;height:27px}.vjs-peach-menu-cc{place-items:center;width:40px;display:grid}.video-js .vjs-peach-menu-option[data-subtitle-track]{padding-block:10px!important}.vjs-peach-menu-option[data-subtitle-track] .vjs-peach-option-label{overflow-wrap:anywhere}[data-player-subtitles] b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.vjs-peach-settings-menu .vjs-peach-caption-options{flex:0 0 48px;place-items:center;width:48px;margin-left:auto;padding:0;display:grid}.vjs-peach-settings-menu .vjs-peach-caption-action{text-align:left;overflow-wrap:anywhere;padding:10px 16px}.vjs-peach-settings-menu [data-subtitle-track]~.vjs-peach-caption-action{padding-left:48px}.vjs-peach-settings-menu .vjs-peach-caption-setting{text-align:left;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 12px;display:grid}.vjs-peach-caption-setting b{color:#ffffffb3;white-space:nowrap;font-weight:400}.vjs-peach-caption-setting svg{fill:currentColor;stroke:none;width:18px;height:18px}.vjs-peach-subtitle-status{font-size:var(--fs-sm);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;padding:8px 16px;line-height:1.5;display:flex}.vjs-peach-subtitle-status[data-error]{color:var(--drop)}.vjs-peach-subtitle-status[hidden]{display:none}.vjs-peach-subtitle-search{padding:8px}.vjs-peach-subtitle-search a{font-size:var(--fs-sm);color:#fff;margin:8px 16px;text-decoration:underline;display:inline-block}.vjs-peach-settings-menu .vjs-peach-subtitle-result{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px;line-height:1.4;display:flex}.vjs-peach-subtitle-result small{color:#ffffffb3;font-size:var(--fs-sm)}.vjs-peach-settings-menu:has([data-subtitle-style]){overscroll-behavior:contain}.video-js[data-peach-captions] video::cue{color:#0000;text-shadow:none;background:0 0}.video-js[data-peach-captions] video::-webkit-media-text-track-container{display:none}.vjs-peach-captions{z-index:1;pointer-events:none;font-family:var(--peach-caption-font);font-size:calc(clamp(14px,calc(var(--peach-player-h,480px)*.045),32px)*var(--peach-caption-scale));font-variant:var(--peach-caption-variant);text-align:center;color:var(--peach-caption-color);text-shadow:var(--peach-caption-edge);justify-content:center;font-weight:400;line-height:1.3;display:flex;position:absolute;bottom:80px;left:5%;right:5%}.vjs-peach-captions[hidden]{display:none}.vjs-peach-caption-window{background:var(--peach-caption-window);max-width:100%;padding:.15em .3em}.vjs-peach-caption-line{white-space:pre-line;overflow-wrap:anywhere;background:var(--peach-caption-background);-webkit-box-decoration-break:clone;box-decoration-break:clone;width:fit-content;max-width:100%;margin:0 auto;padding:0 .15em;display:block}.video-js.vjs-user-inactive.vjs-playing .vjs-peach-captions{bottom:5%}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage],[data-detail-continuation]{--detail-card-width:clamp(184px,24dvh,208px);--detail-card-meta-height:calc(var(--fs-md) * 2.7 + 8px + 20px + var(--fs-xs) * 1.45);--detail-card-height:calc(var(--detail-card-width) * 9 / 16 + 6px + var(--detail-card-meta-height));--detail-continuation-height:calc(var(--detail-card-height) + 65px + var(--detail-continuation-extra,0px))}[data-stage]:has([data-detail-continuation]>[data-mix-queue]),[data-detail-continuation]:has(>[data-mix-queue]){--detail-continuation-extra:20px}[data-stage]{--detail-media-height:76dvh;--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:max(0px,min(calc(100dvh - 34px - var(--detail-continuation-height)),76dvh))}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-stage-media]>.video-js{max-height:100%}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage][data-stage-kind=follow]{--detail-media-height:min(56dvh,56.25vw)}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width);isolation:isolate;gap:6px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9;flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-meta]{height:var(--detail-card-meta-height);flex:none}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-text]{gap:4px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-next-reason]{white-space:nowrap;text-overflow:ellipsis;min-height:1.45em;max-height:1.45em;display:block}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within){box-shadow:none;background:0 0}[data-detail-continuation] [data-media-card][data-variant=next]:before{content:"";z-index:-1;border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:-8px}[data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within):before{opacity:1}.peach-react [data-detail-continuation] [data-media-card][data-variant=next][data-longhover]{filter:none;transform:none}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-local-playback]{flex-direction:column;flex:none;gap:8px;margin:0 0 12px;display:flex}[data-local-playback-row]{align-items:center;gap:8px;min-width:0;display:flex}[data-local-playback-row]>div{flex:1;min-width:0}[data-local-playback-row] .ui-gselect{width:100%;display:block}[data-local-playback-row] [data-select-trigger]{width:100%;height:var(--control-h)}[data-local-playback-row]>button{height:var(--control-h);white-space:nowrap;flex:none}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .vjs-peach-seek-frame{--seek-max-w:160px;--seek-max-h:120px}[data-miniplayer-frame] .video-js .vjs-mouse-display{display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer]:has([data-player-seek-preview]:not([hidden])) [data-miniplayer-time]{visibility:hidden}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row]:has(#performerNameLanguageSetting){align-items:start}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-shortcut]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;flex-direction:column;gap:20px;min-width:0;display:flex}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-glow-card]{padding-right:10px}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:400}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-colour-card]{overflow:hidden}[data-settings-panel] [data-glow-stop]{border-bottom:1px solid var(--line-soft);min-width:0;position:relative}[data-settings-panel] [data-glow-stop]:last-child{border-bottom:0}[data-settings-panel] [data-glow-stop-toggle]{width:calc(100% + 12px);min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-left:-12px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover);position:relative}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:400}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{flex-direction:column;gap:0;display:flex;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;flex:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette-frame]{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;min-height:0;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;border-top:1px solid var(--line-soft);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--board-card-foot);justify-content:flex-end;margin:0 -10px 0 -12px;display:flex}[data-settings-panel] [data-glow-actions] button[data-glow-reset]{font:var(--board-body)}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]>svg{width:var(--icon-inline);height:var(--icon-inline)}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{min-width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0!important;padding:10px 10px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{clip-path:inset(0);box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group][data-setting-layout=cards]{background:0 0;border-radius:0;flex-direction:column;gap:20px;padding:0;display:flex}[data-settings-panel] [data-setting-card]{background:var(--ground);border-radius:16px;min-width:0;padding-left:12px}[data-settings-panel] [data-setting-block]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:8px 12px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:first-child{flex:1 1 max-content;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has(>span>small)>:first-child{flex-basis:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:last-child{flex:none;max-width:100%;margin-left:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{max-width:100%}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;box-shadow:none;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:0}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-setting-layout=cards] [data-settings-subheading]{padding:0 12px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse]:has([data-immerse-bar] [data-player-seek-preview]:not([hidden])) [data-immerse-ui]{visibility:hidden}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]>i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover>i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing]>i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{--sidebar-reorder-ms:250;flex-direction:column;gap:3px;margin-bottom:18px;display:flex;position:relative}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{width:var(--icon-inline);height:var(--icon-inline);border-radius:var(--badge-radius);object-fit:contain;flex:none}[data-sidebar-source-icon]{min-width:var(--icon-inline);object-fit:contain;width:var(--icon-inline)!important;height:var(--icon-inline)!important;opacity:1!important;filter:none!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);stroke-width:2px}[data-sidebar-home-logo]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;flex:none}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;transition:transform var(--motion-swap);flex:none;order:2;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}[data-sidebar-nav] button{touch-action:none;-webkit-user-select:none;user-select:none;translate:0 var(--sidebar-nudge,0px);transition:translate calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press) var(--sidebar-delay,0s),scale calc(var(--spring-press-ms)*1ms) var(--spring-press)}[data-sidebar-nav][data-reordering] button{cursor:grabbing}[data-sidebar-nav] button[data-dragging]{top:var(--sidebar-picked-top);z-index:3;width:100%;scale:.9;transform:translate3d(var(--sidebar-drag-x,18px),var(--sidebar-drag-y,0px),0);box-shadow:var(--glass-pick-shadow);cursor:grabbing;will-change:transform;position:absolute;left:0;background:var(--ground)!important}[data-sidebar-drawer]:has([data-sidebar-nav][data-reordering])>[data-sidebar-glide]{opacity:0}[data-sidebar-drop-line]{transform:translateY(var(--sidebar-line-top));z-index:2;pointer-events:none;height:2px;transition:transform calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press);position:absolute;top:0;left:10px;right:10px}[data-sidebar-drop-line]>span{border-radius:var(--pill-radius);background:var(--ink);height:100%;display:block}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drop-line]>span{background:color-mix(in srgb,var(--ink) 15%,transparent)}}[data-sidebar-drop-line]>span{transform-origin:50%;transition:transform var(--motion-swap);transform:scaleX(1)}@starting-style{[data-sidebar-drop-line]>span{transform:scaleX(0)}}[data-sidebar-order-status]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){[data-sidebar-nav] button{transition:none;translate:none}[data-sidebar-nav][data-reordering] button[data-dragging]{width:auto;box-shadow:none;position:static;transform:none;background:0 0!important}[data-sidebar-drop-line],[data-sidebar-drop-line]>span{transition:none}@starting-style{[data-sidebar-drop-line]>span{transform:none}}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-default:linear-gradient(var(--ink), var(--ink));--gradient-button-primary-hover:linear-gradient(var(--ink), var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--gradient-button-primary-hover:linear-gradient(color-mix(in srgb, var(--ink) 88%, var(--ground)), color-mix(in srgb, var(--ink) 88%, var(--ground)))}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-active:var(--gradient-button-primary-hover);--gradient-button-primary-disabled:linear-gradient(var(--surface), var(--surface));--color-button-primary-disabled-foreground:var(--muted);--color-button-ghost-background:transparent;--color-button-ghost-foreground:var(--muted);--color-button-ghost-hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--color-button-ghost-hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-guide-center,.peach-guide-popover{--color-button-ghost-active:var(--color-button-ghost-hover)}:is(.peach-guide-center,.peach-guide-popover) .bg-button-primary:not(:disabled):not([aria-disabled=true]){color:var(--ground)}.peach-guide-center{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(680px,100vw - 32px);height:min(740px,100dvh - 32px);max-height:min(740px,100dvh - 32px);color:var(--ink);box-shadow:var(--elevation-dropdown);padding:0;overflow:hidden}.peach-guide-center>[role=dialog]{height:100%;max-height:inherit;overflow:hidden}.peach-guide-topic-icon{width:var(--control-h);height:var(--control-h);border-radius:var(--control-radius);background:var(--color-background-tertiary-default);color:var(--color-text-primary);flex:none;justify-content:center;align-items:center;display:inline-flex}.peach-guide-topics{flex-direction:column;display:flex}.peach-guide-topic{border-bottom:1px solid var(--line-soft)}.peach-guide-topic:last-child{border-bottom:0}.peach-guide-topic summary{gap:12px;padding:12px 0}.peach-guide-topic-chapters{margin:-8px -12px 12px}.peach-guide-scroll-frame{flex:1;min-height:0;display:flex;position:relative}.peach-guide-body{overscroll-behavior:contain;flex:1;min-height:0;padding:4px 24px 24px;overflow:auto}.peach-guide-chapters{flex-direction:column;gap:4px;margin-inline:-12px;display:flex}.peach-guide-routes{margin:0;padding:0;list-style:none}.peach-guide-routes>li,.peach-guide-routes>div{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.peach-guide-routes>:first-child{padding-top:0}.peach-guide-routes>:last-child{border-bottom:0}.peach-guide-routes strong{font-size:var(--fs-md);font-weight:500;line-height:1.5}.peach-guide-routes p{font-size:var(--fs-sm);color:var(--muted);margin-top:4px;line-height:1.5}.peach-guide-routes button{flex:none}#tutorialBtn[hidden]{display:none}.driver-popover.peach-guide-popover{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 24px);min-width:0;max-width:calc(100vw - 24px);color:var(--ink);box-shadow:var(--elevation-dropdown);font-family:var(--font-sans);padding:0}.peach-guide-popover-content{border-radius:inherit;flex-direction:column;max-height:calc(100dvh - 24px);display:flex;overflow:hidden}.peach-guide-step-frame{min-height:0;position:relative}.peach-guide-step-body{overscroll-behavior:contain;max-height:calc(100dvh - 170px);overflow:auto}.peach-guide-popover .driver-popover-arrow-side-top{border-top-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-bottom{border-bottom-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-left{border-left-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-right{border-right-color:var(--ground)}.driver-overlay,.driver-active .driver-active-element{z-index:var(--layer-popover)!important}.driver-popover.peach-guide-popover{z-index:var(--layer-tooltip)!important}[data-player-guide] .vjs-control-bar{opacity:1!important;visibility:visible!important;display:flex!important}[data-player-guide] .vjs-big-play-button{display:none!important}@media (width<=600px){.peach-guide-center{width:calc(100vw - 16px)}[data-modal-kind=tutorial]{padding:8px}.peach-guide-center header,.peach-guide-tools{padding-left:16px;padding-right:16px}.peach-guide-body{padding:4px 16px 16px}.peach-guide-chapters{margin-inline:-8px}.peach-guide-chapters>button{padding-inline:8px}.peach-guide-routes>li,.peach-guide-routes>div{grid-template-columns:var(--control-h) minmax(0, 1fr);align-items:start;gap:12px;display:grid}.peach-guide-routes button{grid-column:2;justify-self:start}}:where(.peach-react label[data-rac]:has(>span>input:is([type=radio],[type=checkbox]))){position:relative}:root{--font-inter:"Inter Variable", "Inter";--font-sans:var(--font-inter), "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:lang(ja){font-family:var(--font-inter), "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans JP", ui-sans-serif, system-ui, sans-serif}.peach-react [data-long-text]{text-wrap:pretty;hanging-punctuation:allow-end;line-height:1.75}.peach-react [data-long-text]:not(:lang(en)){text-align:justify}:root{--icon-inline:1.2em;--control-h-inline:28px;--control-h-compact:32px;--control-h:36px;--control-h-large:40px;--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;text-autospace:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=a],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=b],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}.iconswap[data-motion-instant]>[data-icon]{transition:none}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.placeholderroll{z-index:2;white-space:nowrap;pointer-events:none;align-items:center;display:flex;position:absolute;overflow:hidden}.placeholderroll>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.iconwide.iconwide{width:auto!important}svg.ui-externalmark{width:var(--icon-inline,1.2em);height:var(--icon-inline,1.2em);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}@keyframes ui-gauge-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge[data-indeterminate] svg{animation:.9s linear infinite ui-gauge-spin}}fieldset.iconswitch-text{justify-self:start;display:inline-flex}fieldset.iconswitch-text label{white-space:nowrap;width:auto;min-width:52px;padding-inline:10px}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}.ui-geist-modal[open]{flex-direction:column;display:flex}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-header{flex:none;padding:20px 20px 0}.ui-geist-modal-header h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-scroll{flex:1;min-width:0;min-height:0;display:flex;position:relative}.ui-geist-modal-body{overscroll-behavior:contain;min-width:0;min-height:0;font-size:var(--fs-md);color:var(--ink-2);flex:1;padding:8px 20px 20px;line-height:20px;overflow:auto}.ui-geist-modal footer{flex:none}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body>p:first-child{margin-top:0}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-list{min-width:0;margin-top:12px;position:relative}.ui-geist-modal-list>ul{box-sizing:border-box;overscroll-behavior:contain;overflow-wrap:anywhere;max-height:min(320px,32dvh);margin:0;padding:4px 16px 4px 20px;list-style:outside;overflow:auto}.ui-geist-modal-list>ul>li{padding:4px 0}.ui-geist-modal-list>ul:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}.ui-follow-skeleton-toolbar button:has(>[data-compact-label])>svg{width:1.25rem;height:1.25rem}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:inherit;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}.peach-react :is([data-entity-state],[data-media-view])[data-skeleton-control][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react [data-entity-state][data-skeleton-control][aria-pressed=true]{border-radius:8px}[data-skeleton] [data-hero-costar-name][class~=skeleton]{width:52px;height:1lh}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}img.ui-hvframes[hidden]{display:none}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.peach-react .ui-configuration-skeleton-input{border-radius:var(--control-radius);width:100%;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{width:var(--icon-inline);height:var(--icon-inline);vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{top:calc(var(--topH) + 8px);z-index:1;max-height:calc(100dvh - var(--topH) - 16px);overscroll-behavior:contain;border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-self:start;align-items:stretch;margin:0;padding:0;display:flex;position:sticky;overflow-y:auto}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){flex-direction:column;align-items:stretch;gap:20px;display:flex}body #stats .ui-configpage>.ui-board-local-nav{background:var(--page);flex-flow:wrap;align-self:stretch;max-height:none;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.peach-react :is(.ui-settings-rows,.ui-settings-facts)+:is(.ui-settings-rows,.ui-settings-facts){border-top:1px solid var(--color-separator-border)}.processing-effort-panel{width:256px;max-width:calc(100vw - 64px)}.processing-effort-scale{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;display:grid}.processing-effort-scale>span{white-space:nowrap;align-items:center;gap:4px;display:flex}.processing-effort-scale>span[data-selected]{color:var(--color-text-primary)}.processing-effort-trigger{display:inline-flex}.processing-effort-scale>span:last-child[data-selected],.processing-effort-trigger[data-speed=high]>button:not([aria-disabled=true]){color:var(--color-accent-600)}.processing-effort-scale>span:nth-child(2){justify-self:center}.processing-effort-scale>span:last-child{justify-self:end}.processing-effort-double{flex-shrink:0;width:22px;height:16px}@media (hover:hover){.processing-effort-trigger:hover{--processing-effort-icon-background:var(--color-background-primary-hover)}}.processing-effort-trigger:active{--processing-effort-icon-background:var(--color-background-primary-active)}.processing-effort-trigger>button:is([aria-disabled=true],:disabled){--processing-effort-icon-background:var(--color-background-primary-disabled)}.processing-effort-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.processing-effort-track{border-radius:var(--control-radius);background:var(--color-background-secondary-default);height:27px;position:relative;overflow:hidden}.processing-effort-fill{width:var(--effort-fill);border-radius:inherit;background:var(--color-background-tertiary-hover);height:100%}.processing-effort-stops{justify-content:space-between;display:flex;position:absolute;inset:7px 9px}.processing-effort-stops i{background:var(--color-foreground-icon-tertiary);border-radius:var(--badge-radius);width:3px}.processing-effort-hit{touch-action:none;inset:0 10.5px;position:absolute!important}.processing-effort-thumb{border:1px solid var(--color-border-checkbox-default);border-radius:var(--control-radius);background:var(--color-background-primary-default);width:21px;height:27px;box-shadow:var(--elevation-xs);cursor:grab;outline:none;top:50%}.processing-effort-thumb[data-focus-visible]{outline:2px solid var(--color-border-focus-ring);outline-offset:-2px}.processing-effort-thumb[data-dragging]{cursor:grabbing}.processing-effort-slider[data-disabled]{opacity:.6}[data-effort-flow]{pointer-events:none;background:oklch(28.2% .091 267.935);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){[data-effort-flow]{background:color-mix(in srgb,var(--color-accent-950) 80%,var(--color-background-primary-default))}}[data-effort-flow]{overflow:hidden}[data-effort-flow] svg{width:100%;height:100%;animation:1s linear infinite processing-flow-wave}.processing-flow-outer{fill:var(--color-accent-500)}.processing-flow-middle{fill:var(--color-accent-300)}.processing-flow-core{fill:var(--color-accent-50)}[data-effort-flow] i{right:0;top:var(--particle-y);background:var(--color-text-white);opacity:0;width:4px;height:1px;animation:1s linear infinite processing-flow-particle;animation-delay:var(--particle-delay);position:absolute}[data-effort-flow][data-motion=paused] :is(svg,i){animation-play-state:paused}@keyframes processing-flow-wave{0%,to{transform:scaleY(1)}50%{transform:scaleY(.72)}}@keyframes processing-flow-particle{0%{opacity:0;transform:translate(0)}15%{opacity:.6}to{opacity:0;transform:translate(-240px)}}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}[data-async-text-value][aria-hidden=true],[data-async-text-skeleton]{opacity:0}[data-async-text][aria-busy=true]>[data-async-text-skeleton]{opacity:1}.dark .peach-react [data-link-result=gone] [data-link-code],.dark .peach-react [data-status-tone=error]{color:var(--color-text-error-primary)}.peach-react [data-source-mark=rss]{color:var(--feed-mark)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react [data-content-transition]{min-width:0;display:grid;position:relative}.peach-react [data-content-transition]>:is([data-content-current],[data-content-skeleton]){min-width:0;transition:opacity var(--motion-content), visibility var(--motion-content);grid-area:1/1}.peach-react [data-content-current]{opacity:1}.peach-react [data-content-skeleton]{opacity:0;visibility:hidden;pointer-events:none;position:absolute;inset:0}.peach-react [data-content-transition][data-pending]>[data-content-current]{opacity:0}.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:1;visibility:visible;position:relative}.peach-react :is([data-async-text-value],[data-async-text-skeleton]){transition:opacity var(--motion-content)}@starting-style{.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:0}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:var(--selection-dock-space,96px)}html:has([data-selection-dock]){scroll-padding-bottom:var(--selection-dock-space,96px)}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-error-details-toggle]{font:var(--board-compact);color:var(--ink-2);background:0 0}.peach-react [data-error-details-toggle]:hover:not(:disabled,[aria-disabled=true]){background:var(--control-hover);color:var(--ink)}.peach-react [data-error-details-toggle]:active:not(:disabled,[aria-disabled=true]){background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react .button-press-motion:has(>span)>svg,.peach-react .underline-offset-3>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:var(--control-h-compact);min-height:var(--control-h-compact)}.peach-react [data-filter-glass] .tag-skeleton-view{height:var(--control-h-compact);background:0 0;border:0;gap:2px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view>label{width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:8px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view svg{width:16px;height:16px}.peach-react button[data-filter-action]{width:var(--control-h-compact);min-width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:var(--control-radius);background:var(--board-blue);box-shadow:var(--elevation-xs);color:#fff;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-filter-action]:hover{background:var(--board-blue-hover);color:#fff}.peach-react button[data-filter-action] svg{width:16px;height:16px}.peach-react button[data-filter-action][aria-busy=true]{cursor:wait}:is(.peach-react [data-index-head],.peach-react[data-index-head]) button:is([data-filter-action],[data-tag-mode]){width:var(--control-h);min-width:var(--control-h);height:var(--control-h);min-height:var(--control-h);border-radius:var(--control-radius);padding:0}.peach-react button[data-tag-mode] svg{width:16px;height:16px}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-token]{border-radius:var(--control-radius);border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-token]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-token]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-token] :is([data-entity-action],[data-tag-chip]){border-radius:calc(var(--control-radius) - 4px)}.peach-react [data-tag-token] [data-entity-action]{background:0 0;border-color:#0000;width:24px;height:24px}.peach-react [data-tag-token] [data-entity-action]:is(:hover,[data-hovered]){background:var(--hover)}.peach-react [data-tag-token]:has([data-tag-chip][aria-pressed=true]),.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}.peach-react [data-trigger=Select]{min-width:var(--trigger-width)}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}[data-responsive-toolbar]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}[data-toolbar-heading]{flex-direction:column;min-width:0;max-width:100%;margin-inline-end:auto;display:flex}[data-toolbar-actions]{flex-wrap:wrap;flex:none;align-items:center;gap:8px;width:max-content;max-width:100%;display:flex}[data-pagination-layout]{grid-template-columns:auto minmax(0,1fr) auto}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body[data-batch-dock-open] :is(#grid,[data-stage]){padding-bottom:var(--selection-dock-space,180px)}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-pill-thumb]{transform:translate(var(--pill-left),var(--pill-top));width:var(--pill-width);height:var(--pill-height);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1)}[data-pill-nav]{isolation:isolate;position:relative}[data-pill-nav]>[data-pill-thumb]{pointer-events:none;z-index:0;background:var(--hover);border-radius:var(--control-radius);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1);position:absolute;top:0;left:0}[data-pill-nav]>:is(button,[role=tab]){z-index:1;position:relative}[data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],body #stats [data-section-items][data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],[data-manage-menu][data-pill-nav]:has(>[data-pill-thumb])>button[aria-pressed=true]{background:0 0}.peach-react [data-search-tabs][data-pill-nav]>[data-pill-thumb]{background:var(--picked)}.peach-react [data-search-tabs][data-pill-nav]:has(>[data-pill-thumb])>button[data-pill-selected]{background:0 0}@media (prefers-reduced-motion:reduce){[data-pill-nav]>[data-pill-thumb]{transition:none}}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg,.peach-react [data-entity-batch][aria-busy=true] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-filter-glass]>[data-filter-row=bottom]{overflow-y:hidden}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-entity-action]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-entity-action]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-entity-action]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-entity-action]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;box-shadow:inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-shadow);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;margin-inline:-10px;padding-inline:10px;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react :is([data-shortcuts-categories],[data-shortcuts-footer]) svg{color:var(--glass-text)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-footer]{flex-direction:column;gap:4px;display:flex}.peach-react [data-shortcuts-footer] a{width:100%;font-family:var(--board-font);background:0 0;line-height:20px}.peach-react [data-shortcuts-footer] a:hover{background:0 0}.peach-react [data-shortcuts-footer] a>svg:last-child{margin-left:auto}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;margin-inline:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}.peach-react [data-collapse-chevron]{transition:transform var(--motion-swap);transform:rotate(0)}.peach-react :is(button,summary)[aria-expanded=true]>[data-collapse-chevron],.peach-react [data-collapse-upward][aria-expanded=false]>[data-collapse-chevron]{transform:rotate(180deg)}.peach-react [data-collapse-upward][aria-expanded=true]>[data-collapse-chevron]{transform:rotate(0)}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew),body[data-wall-open] :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew){pointer-events:none}:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew),:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew) *,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew) :before,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew) :after{visibility:hidden!important;animation-play-state:paused!important}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-wall-bar]{z-index:30;left:24px;right:24px;top:calc(24px + env(safe-area-inset-top));pointer-events:none;flex-wrap:wrap;align-items:center;gap:8px;display:flex;position:absolute}.peach-react [data-wall-bar]>*{pointer-events:auto;flex:none}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button){width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-bar]>[data-wall-filter-notice]{flex:260px;min-width:0}.peach-react [data-wall-image][aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-wall-image][aria-pressed=true]:hover{background:#fff}.peach-react [data-wall-bar]>[data-wall-search]{min-width:44px;max-width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#282828c7;border-radius:22px;flex:1 1 0;transition:max-width .26s cubic-bezier(.22,1,.36,1);display:flex;overflow:hidden}.peach-react [data-wall-bar]>[data-wall-search][data-open]{max-width:320px}.peach-react [data-wall-search] [data-wall-round]{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;flex:none}.peach-react [data-wall-search] input{min-width:0;height:100%;color:var(--ink);font:inherit;background:0 0;border:0;border-radius:0;outline:0;flex:1;padding:0 18px 0 2px;font-size:14px}.peach-react [data-wall-search] input::placeholder{color:var(--muted)}.peach-react [data-wall-search] input::-webkit-search-cancel-button{appearance:none}.peach-react [data-wall-search]:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:3px}@media (prefers-reduced-motion:reduce){.peach-react [data-wall-bar]>[data-wall-search]{transition:none}}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-bar]{left:16px;right:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{padding-inline:12px}.peach-react [data-wall-search] input{font-size:16px}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-board-data-table][data-resizable-table] .bui-table{table-layout:fixed}.peach-react [data-board-data-table][data-resizable-table] th{padding-right:16px;position:relative}.peach-react [data-board-data-table][data-resizable-table] td{text-overflow:ellipsis;overflow:hidden}.peach-react [data-board-data-table][data-resizable-table] [data-table-space]{padding:0}.peach-react [data-board-data-table] td a{align-self:flex-start;width:fit-content;max-width:100%}.peach-react [data-board-data-table] td a:has(>[data-middle-truncate]){width:100%}.peach-react [data-board-data-table] .react-aria-ColumnResizer{z-index:2;cursor:ew-resize;touch-action:none;width:20px;position:absolute;top:0;bottom:0;right:-10px}.peach-react [data-board-data-table] .react-aria-ColumnResizer:after{content:"";background:var(--border-15);width:1px;position:absolute;top:8px;bottom:8px;left:9px}.peach-react [data-board-data-table] th:is(:last-child,:has(+th[data-table-space])) .react-aria-ColumnResizer{width:12px;right:0}.peach-react [data-board-data-table] th:is(:last-child,:has(+th[data-table-space])) .react-aria-ColumnResizer:after{left:11px}html[data-column-resizing],html[data-column-resizing] *{cursor:ew-resize!important;-webkit-user-select:none!important;user-select:none!important}.peach-react [data-board-data-table] .react-aria-ColumnResizer:is([data-hovered],[data-resizing],[data-focus-visible]):after{background:var(--ink)}.peach-react [data-board-data-table] .react-aria-ColumnResizer[data-focus-visible]{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-rating-stars]{align-items:center;gap:2px;display:inline-flex}.peach-react [data-rating-stars] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-rating-stars] button[data-rate]{cursor:pointer}.peach-react [data-rating-stars] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-rating-stars] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-rating-stars] button[data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-rating-stars] button[aria-disabled=true]{color:var(--muted);cursor:wait}.peach-react [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table td{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;overflow:hidden}.peach-react [data-catalog-rating]{white-space:normal;flex-direction:column;align-items:stretch;gap:8px;display:flex}.peach-react [data-catalog-rating] [data-rating-stars]{align-self:flex-start}.peach-react [data-catalog-table] [data-list-identity]{align-items:center;gap:12px;min-width:0;padding:12px 0;display:flex;position:relative}.peach-react [data-catalog-table] [data-list-open]{cursor:pointer;background:0 0;border:0;flex:none;margin-right:4px;padding:0;display:flex}.peach-react [data-catalog-table] [data-list-people]{min-width:0;color:var(--ink-2);font-size:var(--fs-sm);align-items:center;gap:8px;display:flex}.peach-react [data-catalog-table] [data-list-people]>[data-media-avatar]{flex:none;margin-top:0}.peach-react [data-catalog-table] [data-list-people]>[data-media-avatars]{flex:none;max-width:109px}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]{min-width:0;color:inherit;font:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:0 auto;align-items:center;padding:0;display:inline-flex;overflow:hidden}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]>svg{display:none}.peach-react [data-catalog-table] [data-list-people]>[data-media-who-more]{color:var(--muted);flex:none}.peach-react [data-catalog-table] [data-list-people] a[data-media-avatar]{width:38px}.peach-react [data-catalog-table] [data-list-people]>a{align-self:center}.peach-react [data-catalog-table] [data-list-people]>a[data-media-who]{text-decoration:none}.peach-react [data-catalog-table] [data-list-people]>a[data-media-who]:hover{text-decoration:underline}.peach-react [data-catalog-table] [data-list-studio-mark]{background:var(--sunk);width:16px;height:16px;color:var(--muted);object-fit:cover;border-radius:4px;flex:none;justify-content:center;align-items:center;font-size:10px;line-height:1;display:inline-flex;overflow:hidden}.peach-react [data-catalog-table] button[data-list-name]{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-catalog-table] [data-list-picture] [data-media-group]{border-radius:6px;min-height:0;padding:1px 6px;font-size:11px;top:4px;right:4px}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--sunk);width:112px;height:63px;color:var(--muted);font-size:var(--fs-sm);flex:none;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-catalog-table] [data-list-picture] [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-catalog-table] [data-list-picture] :is(img,video){width:100%;height:100%}.peach-react [data-catalog-table] [data-list-picture] :is(img:not([data-jav-image]),video){object-fit:cover}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;line-height:1.4;display:-webkit-box;overflow:hidden}.peach-react [data-catalog-table] [data-list-identity]:has([data-list-open]:hover,[data-list-name]:hover) [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-library]{min-width:0;max-width:100%;color:var(--ink-2);font-size:var(--fs-sm);align-items:center;gap:6px;display:inline-flex}.peach-react [data-catalog-table] [data-list-library]>span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 9%, transparent)}[data-theme=dark] .peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 13%, transparent)}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]{gap:4px;bottom:4px;left:4px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]>span{width:20px;height:20px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status] svg{width:11px;height:11px}.peach-react [data-catalog-table] [data-list-tags]{height:auto;max-height:calc(var(--control-h-inline) * 2 + 13px);white-space:normal}.peach-react [data-catalog-table] [data-list-tags] [data-media-tag]{box-sizing:border-box;height:var(--control-h-inline);line-height:calc(var(--control-h-inline) - 2px);padding-block:0}.peach-react [data-list-skeleton]{flex-direction:column;gap:16px;display:flex}.peach-react [data-list-skeleton-tools]{justify-content:flex-end;display:flex}.peach-react [data-list-skeleton-tools]>i{border-radius:var(--control-radius);width:312px;max-width:100%;height:36px;display:block}.peach-react [data-completion-skeleton]{height:calc(var(--control-h) + 16px);border-radius:var(--radius-2lg,10px);display:block}.peach-react [data-list-skeleton-name]{align-items:center;gap:12px;padding:12px 0;display:flex}.peach-react [data-list-skeleton-name]>i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;margin-right:4px}.peach-react [data-list-skeleton-mark]{align-items:center;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-mark]>b{border-radius:4px;flex:none;width:16px;height:16px}.peach-react [data-list-skeleton-mark=people]>b{border-radius:50%;width:38px;height:38px}.peach-react [data-list-skeleton-mark]>i{border-radius:6px;flex:1;max-width:96px;height:14px;display:block}.peach-react [data-list-skeleton-name]>span{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-name]>span>i{border-radius:6px;width:72%;height:14px;display:block}.peach-react [data-list-skeleton-name]>span>i+i{width:44%;height:12px}.peach-react [data-list-skeleton-bar]{border-radius:6px;width:min(72%,96px);height:14px;display:block}[data-skeleton=catalog\/list]{grid-column:1/-1}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):first-child,.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(2){padding-inline:8px}.peach-react [data-catalog-table] [data-list-open]{gap:12px}.peach-react [data-catalog-table] [data-list-picture]{width:80px;height:45px}}.peach-react [data-keycap]{--keycap-face:var(--color-background-tertiary-default);--keycap-edge:color-mix(in oklab, var(--keycap-face) 55%, var(--color-neutral-950));--keycap-depth:3px;--keycap-highlight:inset 0 1px 0 color-mix(in oklab, var(--color-text-primary) 12%, transparent);box-sizing:border-box;min-width:34px;height:36px;padding:0 9px var(--keycap-depth);border:1px solid var(--color-border-button-default);font:600 13px/1 var(--font-sans,system-ui, sans-serif);color:var(--color-text-primary);background:linear-gradient(color-mix(in oklab, var(--keycap-face), var(--color-text-primary) 8%), var(--keycap-face));box-shadow:var(--keycap-highlight), inset 0 calc(-1 * var(--keycap-depth)) 0 var(--keycap-edge);border-radius:7px;justify-content:center;align-items:center;transition:transform 80ms ease-out,box-shadow 80ms ease-out,border-color .12s ease-out,padding 80ms ease-out;display:inline-flex;transform:translateY(0)}.peach-react [data-keycap][data-state=down]{--keycap-ring:var(--color-border-focus-ring);--keycap-depth:1px;--keycap-highlight:inset 0 1px 2px color-mix(in oklab, var(--color-neutral-950) 45%, transparent);transform:translateY(2px)}.peach-react [data-keycap]:is([data-state=down],[data-state=invalid],[data-state=done]){border-color:var(--keycap-ring);box-shadow:var(--keycap-highlight), inset 0 calc(-1 * var(--keycap-depth)) 0 var(--keycap-edge), 0 0 0 3px color-mix(in oklab, var(--keycap-ring) 28%, transparent)}.peach-react [data-keycap][data-state=invalid]{--keycap-ring:var(--color-border-error-default)}.peach-react [data-keycap][data-state=done]{--keycap-ring:var(--color-notification-success-foreground)}.peach-react [data-keycap][data-state=slot]{box-shadow:none;color:var(--color-text-secondary);background:0 0;border-style:dashed;padding-bottom:0;font-size:12px;font-weight:500}.peach-react [data-keycaps]{align-items:center;gap:6px;display:flex}.peach-react [data-keycaps]>[data-keycap-plus]{color:var(--color-text-secondary);font-size:12px}@media (prefers-reduced-motion:reduce){.peach-react [data-keycap]{transition:none}.peach-react [data-keycap][data-state=down]{transform:none}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-media-indicator]{z-index:4;box-sizing:border-box;width:max-content;max-width:min(180px, calc(100% - var(--media-dot-room)));border-radius:var(--pill-radius);background:#00000080;border:0;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots]{justify-content:flex-start;align-items:center;gap:var(--media-dot-gap);box-sizing:border-box;width:max-content;max-width:100%;padding:8px var(--media-dot-padding);overscroll-behavior-inline:contain;scrollbar-width:none;scroll-padding-inline:var(--media-dot-padding);display:flex;overflow:auto hidden}.peach-react [data-media-carousel] [data-follow-image-dots]::-webkit-scrollbar{display:none}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] [data-media-indicator]{margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:color-mix(in srgb, var(--on-media) 8%, transparent);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:color-mix(in srgb, var(--on-media) 16%, transparent)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-media-indicator]{bottom:12px}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.driver-layer{width:auto;max-width:none;height:auto;max-height:none;color:inherit;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:visible}.driver-layer::backdrop{display:none}.driver-layer .driver-popover{pointer-events:auto}.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus-visible{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}[data-connection-tone=neutral]>[aria-hidden]{background-color:var(--color-background-tertiary-default)}[data-connection-tone=neutral]>[aria-hidden]>span{background-color:var(--color-text-tertiary)}[data-connection-tone=error]>[aria-hidden]{background-color:var(--color-notification-error-background)}[data-connection-tone=error]>[aria-hidden]>span{background-color:var(--color-text-error-primary)}@keyframes peach-link-blink{0%,to{opacity:1}50%{opacity:.25}}.peach-react [data-link-check][aria-busy=true] [data-link-check-rays]{animation:1.2s ease-in-out infinite peach-link-blink}.peach-react [data-policy-matrix]{border-collapse:collapse;width:100%;max-width:560px;color:var(--ink-2);margin-top:4px}.peach-react [data-policy-matrix] :is(th,td){border-bottom:1px solid var(--line-soft);text-align:center;padding:6px 8px;font-weight:400}.peach-react [data-policy-matrix] thead th{color:var(--muted)}.peach-react [data-policy-matrix] tbody th{text-align:left;color:var(--ink-2)}.peach-react [data-policy-matrix] [data-policy-cell=on]{color:var(--ink)}.peach-react [data-policy-matrix] [data-policy-cell=off]{color:var(--muted)}.peach-react [data-policy-matrix] tr:last-child>*{border-bottom:0}.peach-react [data-library-head]{border-bottom:1px solid var(--color-border-button-default);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 8px;display:flex}.peach-react [data-library-head]>*{min-width:0;max-width:100%}.peach-react [data-library-head]>:nth-child(2){flex:180px;width:auto}.peach-react [data-library-head]>:last-child{flex:200px;width:auto}.peach-react [data-library-head]>:is(:first-child,:nth-child(3)){flex-shrink:0}.peach-react [data-library-block]>:not([data-library-head],[data-library-folders]){padding:10px 8px 0}.peach-react [data-library-folders]{flex-direction:column;display:flex}.peach-react [data-library-folders]>*{padding:12px 8px}.peach-react [data-library-folders]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-library-folders]>[data-folder-row]{background:0 0;border-width:0;border-radius:0}.peach-react [data-library-folders]>[data-folder-row]+*{border-top-width:1px}.peach-react [data-library-color-trigger]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:auto;height:36px;box-shadow:var(--shadow-xs);color:var(--color-text-primary);white-space:nowrap;border-radius:10px;gap:8px;padding:0 10px 0 7px;display:inline-flex}.peach-react [data-library-color-trigger]:hover{background:var(--color-background-primary-hover)}.peach-react [data-library-color-trigger] [data-glow-ball]{width:20px;height:20px}.peach-react [data-library-colors]{grid-template-columns:repeat(7,28px);padding:0}.peach-react [data-glow-ball][data-library-none]{--glow-chip:linear-gradient(135deg, transparent 46%, var(--color-text-tertiary) 46% 54%, transparent 54%), var(--color-background-tertiary-default)}.peach-react [data-platform-mark=windows]{color:#0078d4}.peach-react [data-platform-mark=android]{color:#3ddc84}.peach-react [data-platform-mark=apple]{color:var(--color-text-primary)}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.data-cleanup-page-CZOBqkVd.js b/web/dist/peach-app.data-cleanup-page-D6k7185j.js
similarity index 99%
rename from web/dist/peach-app.data-cleanup-page-CZOBqkVd.js
rename to web/dist/peach-app.data-cleanup-page-D6k7185j.js
index c1adfa11c..f68fc12f7 100644
--- a/web/dist/peach-app.data-cleanup-page-CZOBqkVd.js
+++ b/web/dist/peach-app.data-cleanup-page-D6k7185j.js
@@ -1,13 +1,13 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a364176e-ee6c-4130-887f-ad9f0356fdb6", e._sentryDebugIdIdentifier = "sentry-dbid-a364176e-ee6c-4130-887f-ad9f0356fdb6");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f068ff37-58fc-4e58-9bdb-bacd1069d40a", e._sentryDebugIdIdentifier = "sentry-dbid-f068ff37-58fc-4e58-9bdb-bacd1069d40a");
} catch {}
})();
import { BATCH_DELETE_TEXT as e, Button as t, CLEANUP_ENTRY as n, CLEANUP_ENTRY_GRID as r, CLEANUP_HASH_REDIRECTS as i, CLEANUP_TOOLS as a, Chip as o, DIRECTORY_TEMPLATE_ERROR as s, DUPLICATES_KEY as c, Fieldset as l, FieldsetTitle as u, IDLE_REPAIR as d, IconButton as f, IndexSearch as p, Input as m, JUNK_KEY as h, LINKS_KEY as g, LINK_CHECK_KEY as _, LINK_KINDS as v, LINK_PRUNE_KEY as ee, LOC as y, LibraryProcessingCard as b, MEDIA_REPAIR_KEY as x, MEDIA_REPAIR_URL as S, MEDIA_SOURCES_KEY as C, MEDIA_SOURCE_ICONS as w, Note as T, ORGANIZE_KEY as te, ORGANIZE_PARAMETER_HINT as ne, ORGANIZE_SCOPE_HINT as re, ORGANIZE_TEXT as E, ORPHAN_RECORDS_KEY as D, ORPHAN_RECORDS_TEXT as O, PERFORMER_DELETE_KEY as k, PLAIN_STAT_STRIP as ie, PlainStat as A, Progress as j, QUALITY_GOALS_KEY as ae, REPAIR_CARD_TEXT as M, REPAIR_LIBRARIES_KEY as oe, RESOURCE_APPLY_KEY as se, RESOURCE_SCAN_KEY as N, RESOURCE_SYNC_TEXT as P, RESULT_PANEL as F, RESULT_SECTION as I, REVIEW_COUNTS_KEY as ce, SOURCE_LABELS as L, SectionHeading as le, Select as ue, SelectItem as de, SourceMark as fe, StatusLabel as pe, TRASH_KEY as R, TaskProgress as z, Wt as me, __toESM as he, apiSend as ge, applyConfirmText as _e, applyLeftovers as B, applyPlanText as ve, applyText as V, attachOrphan as ye, baseName as be, busyProps as H, candidateText as xe, checkLine as Se, confirmModal as U, cx as Ce, deletePerformerVideos as we, entityDisplayName as Te, entityFaceImg as Ee, entityPath as De, errorMessage as W, esc as Oe, fetchDeletePerformers as ke, fetchDeletePlan as Ae, fetchDuplicates as je, fetchJunkSummary as Me, fetchLinkCheck as Ne, fetchLinkPrune as Pe, fetchLinkStats as Fe, fetchMediaRepair as Ie, fetchMediaSources as Le, fetchOrganize as Re, fetchOrganizeExample as ze, fetchOrphanRecords as Be, fetchQualityGoals as Ve, fetchRepairLibraries as He, fetchResourceApply as Ue, fetchResourceScan as We, fetchReviewCounts as Ge, fetchTrashSummary as Ke, firstGrapheme as qe, fmtSize as G, hasChanges as Je, hasResourceRoots as Ye, junkBreakdown as Xe, missingToolText as Ze, nameFallback as Qe, organizeOutcome as $e, pickOrganizeFolder as et, plainStatClass as K, planSummary as tt, previewOrganize as nt, pruneText as rt, purgeCount as it, purgeOrphan as at, queryClient as q, recordsText as ot, rememberTemplates as st, require_jsx_runtime as ct, require_react as lt, reviewSummary as ut, scanLine as dt, shellNavigate as ft, sourceMeta as pt, spriteGlyph as J, startLinkCheck as mt, startLinkPrune as ht, startOrganize as gt, startResourceApply as _t, startResourceScan as vt, statusLine as yt, useAction as bt, useBackgroundJob as Y, useEntityNames as xt, useMutation as St, useQuery as X, withOrganizeJob as Ct } from "./peach-app.js";
import { Page as wt } from "./peach-app.page-QAncjzM1.js";
import { ErrorExcerpt as Tt } from "./peach-app.error-excerpt-B8v2xEIP.js";
-import { DataTable as Et } from "./peach-app.data-table-aWN3V7mT.js";
+import { DataTable as Et } from "./peach-app.data-table-BRJ5A5Cl.js";
import { SiteMark as Dt } from "./peach-app.site-mark-D_VlIyJz.js";
import { LEGACY_AVATAR_IMG as Ot } from "./peach-app.legacy-avatar-NSITxLRS.js";
import { FolderSearchIcon as kt } from "./peach-app.folder-rows-BWBfTyUD.js";
@@ -1722,4 +1722,4 @@ function Cn({ toast: e, open: t, navigate: n }) {
}
export { Cn as DataCleanupPage, pn as DataCleanupToolPage };
-//# debugId=a364176e-ee6c-4130-887f-ad9f0356fdb6
\ No newline at end of file
+//# debugId=f068ff37-58fc-4e58-9bdb-bacd1069d40a
\ No newline at end of file
diff --git a/web/dist/peach-app.data-table-aWN3V7mT.js b/web/dist/peach-app.data-table-BRJ5A5Cl.js
similarity index 95%
rename from web/dist/peach-app.data-table-aWN3V7mT.js
rename to web/dist/peach-app.data-table-BRJ5A5Cl.js
index e952474b7..961559a66 100644
--- a/web/dist/peach-app.data-table-aWN3V7mT.js
+++ b/web/dist/peach-app.data-table-BRJ5A5Cl.js
@@ -1,11 +1,10 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "08049a4d-1354-4ab2-aae6-7fd0d8120a10", e._sentryDebugIdIdentifier = "sentry-dbid-08049a4d-1354-4ab2-aae6-7fd0d8120a10");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "922ba8a2-b0cd-40c4-9ae3-00ae3961368b", e._sentryDebugIdIdentifier = "sentry-dbid-922ba8a2-b0cd-40c4-9ae3-00ae3961368b");
} catch {}
})();
-import { createPaginatedRowModel as e } from "./peach-app.createPaginatedRowModel-ClHnhG_T.js";
-import { createSortedRowModel as t, useTableSelection as n } from "./peach-app.use-table-selection-BSdXI_Nc.js";
+import { createPaginatedRowModel as e, createSortedRowModel as t, useTableSelection as n } from "./peach-app.use-table-selection-CnuGRvGn.js";
import { $76d00c5a4edb230a$export$76ccd210b9029917 as r, $76d00c5a4edb230a$export$816b5d811295e6bc as i, $76d00c5a4edb230a$export$b59bdbef9ce70de2 as a, $76d00c5a4edb230a$export$f6f0c3fe4ec306ea as o, $76d00c5a4edb230a$export$f850895b287ef28e as s, Button as c, Checkbox as l, ChevronSortDown as u, DataTableFooter as d, DataTableFrame as f, DataTableSort as p, SelectionDock as m, Table as h, TableColumnControls as g, TableColumnResizer as _, TableSelectionHeader as v, __toESM as y, cardClass as b, columnVisibilityFeature as x, createColumnHelper as S, flexRender as C, require_jsx_runtime as w, require_react as T, rowPaginationFeature as E, rowSelectionFeature as D, rowSortingFeature as O, tableFeatures as k, useTable as A, useTablePreferences as j } from "./peach-app.js";
// src/react/components/data-table.tsx
var M = /* @__PURE__ */ y(T(), 1), N = w(), P = k({
@@ -213,4 +212,4 @@ function F({ label: e, items: t, columns: y, rowId: x, rowLabel: w, selected: T,
}
export { F as DataTable };
-//# debugId=08049a4d-1354-4ab2-aae6-7fd0d8120a10
\ No newline at end of file
+//# debugId=922ba8a2-b0cd-40c4-9ae3-00ae3961368b
\ No newline at end of file
diff --git a/web/dist/peach-app.diagnostics-page-DS1L_wLs.js b/web/dist/peach-app.diagnostics-page-CGRTA2_Z.js
similarity index 98%
rename from web/dist/peach-app.diagnostics-page-DS1L_wLs.js
rename to web/dist/peach-app.diagnostics-page-CGRTA2_Z.js
index d800da34c..6a3aadbad 100644
--- a/web/dist/peach-app.diagnostics-page-DS1L_wLs.js
+++ b/web/dist/peach-app.diagnostics-page-CGRTA2_Z.js
@@ -1,12 +1,12 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2cc05748-2a4c-4130-93b7-a6ff4beab2d8", e._sentryDebugIdIdentifier = "sentry-dbid-2cc05748-2a4c-4130-93b7-a6ff4beab2d8");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "43a82b87-483a-452f-ae1e-dee90988d659", e._sentryDebugIdIdentifier = "sentry-dbid-43a82b87-483a-452f-ae1e-dee90988d659");
} catch {}
})();
import { ApiError as e, Button as t, ButtonLink as n, Chip as r, DIAGNOSTICS_KEY as i, Disclosure as a, EmptyState as o, Fact as s, FactList as c, Fieldset as l, FieldsetTitle as u, Input as d, LOC as f, LinkButton as p, Note as m, Section as h, SettingsCard as g, SettingsSectionLabel as _, Stack as v, TaskProgress as y, __toESM as b, apiGet as ee, apiSend as x, busyProps as S, configurationSection as C, cx as w, diagnosticHeaders as T, diagnosticsSkeleton as E, errorMessage as D, fetchDiagnostics as O, fmtDur as k, fmtSize as A, queryClient as j, require_jsx_runtime as M, require_react as N, settingsPath as P, tl as F, useAction as I, useQuery as L } from "./peach-app.js";
import { ErrorExcerpt as R } from "./peach-app.error-excerpt-B8v2xEIP.js";
-import { DataTable as z } from "./peach-app.data-table-aWN3V7mT.js";
+import { DataTable as z } from "./peach-app.data-table-BRJ5A5Cl.js";
import { SiteMark as B } from "./peach-app.site-mark-D_VlIyJz.js";
// src/react/diagnostics/health-list.tsx
var V = /* @__PURE__ */ b(N(), 1), H = M(), U = (e) => e.title || e.name || e.code || `作品 #${e.id}`, W = (e) => [[
@@ -504,4 +504,4 @@ function ie(e) {
}
export { ie as DiagnosticsPage };
-//# debugId=2cc05748-2a4c-4130-93b7-a6ff4beab2d8
\ No newline at end of file
+//# debugId=43a82b87-483a-452f-ae1e-dee90988d659
\ No newline at end of file
diff --git a/web/dist/peach-app.follow-manage-page-CaCSA1uf.js b/web/dist/peach-app.follow-manage-page-CaCSA1uf.js
new file mode 100644
index 000000000..c8c1a4883
--- /dev/null
+++ b/web/dist/peach-app.follow-manage-page-CaCSA1uf.js
@@ -0,0 +1,2690 @@
+(function() {
+ try {
+ var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7d73059a-d68c-48be-a9be-0e9c2ebba927", e._sentryDebugIdIdentifier = "sentry-dbid-7d73059a-d68c-48be-a9be-0e9c2ebba927");
+ } catch {}
+})();
+import { createPaginatedRowModel as e, createSortedRowModel as t, useTableSelection as n } from "./peach-app.use-table-selection-CnuGRvGn.js";
+import { $2ec61d1d4f780267$export$a8a3e93435678ff9 as r, $542a13ca2fa5b484$export$5b6b19405a83ff9d as i, $76d00c5a4edb230a$export$76ccd210b9029917 as a, $76d00c5a4edb230a$export$816b5d811295e6bc as o, $76d00c5a4edb230a$export$b59bdbef9ce70de2 as s, $76d00c5a4edb230a$export$f6f0c3fe4ec306ea as c, $76d00c5a4edb230a$export$f850895b287ef28e as l, $b4f18e3395fe64d7$export$3d96ec278d3efce4 as u, $b4f18e3395fe64d7$export$3e41faf802a29e71 as d, $b4f18e3395fe64d7$export$b2539bed5023c21c as f, $ea3928288112382f$export$439d29a4e110a164 as p, $l as m, Button as h, ButtonLink as g, Bx as _, COLUMN_SORT as v, Checkbox as y, ChevronSortDown as ee, Chip as b, CollapseChevron as x, CollapseRegion as S, DataTableFooter as te, DataTableFrame as C, DataTableSort as w, EmptyFocusButton as T, EmptyState as ne, ErrorText as E, ExternalLink as D, FEEDS_KEY as O, FOLLOW_CHECK_KEY as k, FOLLOW_CREDENTIALS_KEY as A, FOLLOW_MANAGE_KEY as j, FOLLOW_MANAGE_NAV as M, FOLLOW_RESOLVE_KEY as N, FieldLabel as P, Help as F, Input as I, LAYOUTS as re, LoadingDots as L, M6 as ie, MENU_ITEM as R, MENU_ITEM_INTERACTIVE as z, MENU_POPOVER_SURFACE as B, ModalFrame as V, Note as H, P7 as U, SORT_DEFAULT_DIR as ae, SORT_OPTIONS as oe, STAT_STRIP_SIX as W, Select as se, SelectItem as ce, SelectionDock as le, SelectionPopover as G, SiteLabel as ue, SortDirectionIcon as de, Switch as fe, Table as pe, TableColumnControls as me, TableColumnResizer as he, TableSelectionHeader as ge, TagManager as _e, TaskProgress as ve, Un as ye, Wt as be, Xf as xe, __toESM as Se, addAlias as Ce, addSource as we, authorGroups as Te, authorName as Ee, avatarInner as De, busyProps as K, cardClass as Oe, checkEvidenceGap as ke, checkFailures as Ae, checkFeeds as je, checkReceipt as Me, checkSummary as Ne, checkedText as Pe, clickedBlank as Fe, columnVisibilityFeature as q, composingKey as Ie, confirmModal as Le, createColumnHelper as Re, credentialDone as ze, cx as Be, dZ as Ve, dropSources as He, du as Ue, errorHeadline as We, errorMessage as J, feedIntervalText as Y, fetchCheckJob as Ge, fetchCredentials as Ke, fetchFeeds as X, fetchFollow as qe, fetchPending as Je, fetchResolveJob as Ye, fetchSuggestions as Xe, flexRender as Ze, followFeedByName as Qe, followFeedEntity as $e, followSuggestKey as et, groupByAuthor as tt, isBroken as nt, isLayout as rt, keepSelected as it, l7 as at, localTime as ot, lookupFeedActor as st, mapLimit as ct, markItem as lt, pageSizeOf as ut, pageWindow as dt, patchSource as ft, pv as pt, queryClient as mt, reloadFollowManage as ht, removeAlias as gt, removeFeed as _t, removeSource as vt, renameAliasGroup as yt, require_jsx_runtime as bt, require_react as xt, resolveFollowSort as St, rowPaginationFeature as Ct, rowSelectionFeature as wt, rowSortingFeature as Tt, selectionState as Et, setFeedEnabled as Dt, setSourceEnabled as Ot, sortLabel as kt, startCheck as At, startResolve as jt, tableFeatures as Mt, tableRows as Nt, toggleGroup as Pt, useAction as Ft, useBackgroundJob as It, useMutation as Z, useQuery as Lt, useTable as Rt, useTablePreferences as zt } from "./peach-app.js";
+import { Page as Bt } from "./peach-app.page-QAncjzM1.js";
+import { LEGACY_AVATAR_IMG as Vt } from "./peach-app.legacy-avatar-NSITxLRS.js";
+import { PillAriaTabList as Ht } from "./peach-app.pill-aria-tab-list-BMY1ZEv1.js";
+import { AuthorAvatar as Ut, ErrorLine as Wt, SourceIcon as Gt, SourceLink as Kt, StatusBadge as qt } from "./peach-app.source-view-DalWfDkm.js";
+// src/react/follow-manage/add-source.tsx
+var Q = /* @__PURE__ */ Se(xt(), 1), $ = bt(), Jt = Be(R, z, "text-body-2-medium"), Yt = "粘贴来源链接,或输入创作者名、id…", Xt = "添加创作者关注", Zt = "查找中(首次按名字查要下载创作者索引,可能几十秒)", Qt = "识别中", $t = "站内没有查到来源", en = "/settings/subscriptions", tn = (e, t) => `${e}:${t.url}`;
+function nn({ field: e, menu: t, options: n, active: r, busy: a, onPick: o, onClose: s }) {
+ return (0, Q.useEffect)(() => {
+ t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
+ }, [t, r]), /* @__PURE__ */ (0, $.jsxs)(i, {
+ ref: t,
+ triggerRef: e,
+ isOpen: !0,
+ isNonModal: !0,
+ shouldFlip: !1,
+ onOpenChange: (e) => {
+ e || s();
+ },
+ placement: "bottom start",
+ offset: 4,
+ "aria-label": "来源建议",
+ className: Be(B, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ children: [a && !n.length ? /* @__PURE__ */ (0, $.jsx)("div", {
+ className: "px-2 py-1.5",
+ children: /* @__PURE__ */ (0, $.jsx)(L, { label: "正在查找建议" })
+ }) : null, n.map((e, t) => /* @__PURE__ */ (0, $.jsxs)(Q.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, $.jsx)("div", {
+ className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
+ children: e.group
+ }), /* @__PURE__ */ (0, $.jsxs)("button", {
+ type: "button",
+ "aria-current": t === r ? "true" : void 0,
+ className: t === r ? Be(Jt, "bg-background-secondary-default") : Jt,
+ onMouseDown: (e) => e.preventDefault(),
+ onClick: () => o(e.value),
+ children: [
+ /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "min-w-0 grow truncate text-left",
+ children: e.value
+ }),
+ e.matched ? /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "shrink-0 text-caption-1-regular text-text-tertiary",
+ children: e.matched
+ }) : null,
+ e.n ? /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "shrink-0 text-caption-1-regular tabular-nums text-text-tertiary",
+ children: e.n.toLocaleString()
+ }) : null
+ ]
+ })] }, `${e.group}-${e.value}`))]
+ });
+}
+function rn({ credentials: e, hidden: t, onHidden: n }) {
+ let r = (e.providers || []).filter((e) => e.followable), i = r.filter((e) => !t.has(e.provider_label)).length, a = i === r.length ? "全部来源" : `${i}/${r.length} 个来源`;
+ return /* @__PURE__ */ (0, $.jsx)(G, {
+ label: "来源筛选",
+ triggerLabel: a,
+ leadingIcon: m,
+ empty: "暂无可用来源",
+ items: r.map((e) => ({
+ id: e.provider_label,
+ selected: !t.has(e.provider_label),
+ label: /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex min-w-0 items-center gap-1.5",
+ children: [/* @__PURE__ */ (0, $.jsx)(Gt, { provider: e.provider }), e.provider_label]
+ })
+ })),
+ onChange: (e, r) => {
+ let i = new Set(t);
+ r ? i.delete(e) : i.add(e), n(i);
+ },
+ actions: [
+ {
+ label: "全选",
+ disabled: !r.length,
+ onPress: () => n(/* @__PURE__ */ new Set())
+ },
+ {
+ label: "全不选",
+ disabled: !r.length,
+ onPress: () => n(new Set(r.map((e) => e.provider_label)))
+ },
+ {
+ label: "凭据设置",
+ href: en
+ }
+ ]
+ });
+}
+function an({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+ if (e.kind === "error") return /* @__PURE__ */ (0, $.jsx)(H, {
+ 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, $.jsxs)("div", {
+ className: Oe({
+ variant: "outlined",
+ padding: "none",
+ className: "flex flex-col gap-2 p-4"
+ }),
+ children: [
+ /* @__PURE__ */ (0, $.jsx)("b", {
+ className: "text-body-medium text-text-primary",
+ children: e.line
+ }),
+ a.length ? a.map((e) => {
+ let n = tn(t, e);
+ return /* @__PURE__ */ (0, $.jsx)(y, {
+ isSelected: !e.known && !r.has(n),
+ isDisabled: e.known,
+ onChange: (e) => i(n, e),
+ children: /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex min-w-0 flex-wrap items-center gap-1.5",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(Gt, { provider: e.provider }),
+ /* @__PURE__ */ (0, $.jsx)("b", {
+ className: "text-body-medium",
+ children: e.provider_label
+ }),
+ /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "min-w-0 break-words",
+ children: e.label
+ }),
+ /* @__PURE__ */ (0, $.jsx)("small", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: e.known ? "已经关注" : e.evidence
+ })
+ ]
+ })
+ }, n);
+ }) : /* @__PURE__ */ (0, $.jsx)(F, { children: $t }),
+ (e.external_searches || []).map((e) => /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-2",
+ children: [/* @__PURE__ */ (0, $.jsx)("small", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: e.evidence
+ }), /* @__PURE__ */ (0, $.jsx)(D, {
+ href: e.url,
+ children: `${e.label}:${e.query}`
+ })]
+ }, e.url)),
+ o.length ? /* @__PURE__ */ (0, $.jsx)(F, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ ]
+ });
+}
+function on({ data: e, credentials: t, readOnly: n, toast: r }) {
+ let [i, a] = (0, Q.useState)(""), [o, s] = (0, Q.useState)(!1), [c, l] = (0, Q.useState)(""), [u, d] = (0, Q.useState)(""), [f, p] = (0, Q.useState)(!1), [m, g] = (0, Q.useState)(null), [_, v] = (0, Q.useState)(-1), y = (0, Q.useRef)(null), ee = (0, Q.useRef)(null), [b, x] = (0, Q.useState)(/* @__PURE__ */ new Set()), [S, te] = (0, Q.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, Q.useState)(""), [T, ne] = (0, Q.useState)(0);
+ (0, Q.useEffect)(() => {
+ let e = i.trim();
+ if (o || !e || e.includes("/")) {
+ d("");
+ return;
+ }
+ let t = setTimeout(() => d(e), 250);
+ return () => clearTimeout(t);
+ }, [i, o]);
+ let E = Lt({
+ queryKey: et(u),
+ queryFn: ({ signal: e }) => Xe(u, e),
+ enabled: u.length > 0 && f && !o && m !== i
+ }), D = (0, Q.useMemo)(() => (E.data?.groups || []).flatMap((e) => e.items.map((t) => ({
+ value: t.value,
+ matched: t.matched || "",
+ n: t.n || 0,
+ group: e.label
+ }))), [E.data]), { job: O, running: k, outcome: A, start: j, dismiss: M } = It({
+ queryKey: N,
+ queryFn: ({ signal: e }) => Ye(e),
+ start: (e) => jt([e]),
+ onStarted: () => te(/* @__PURE__ */ new Set()),
+ onError: (e) => w(J(e)),
+ onFinish: (e) => {
+ e.status === "failed" && w(e.error || "查找失败");
+ }
+ }), F = (e) => {
+ let t = e.trim();
+ !t || n || o || k || j.isPending || (w(""), v(-1), l(t), a(t), d(""), g(t), j.mutate(t));
+ }, re = E.isFetching, L = f && !o && m !== i && (D.length > 0 || re), ie = () => {
+ v(-1), g(i);
+ }, R = (e) => {
+ if (!(o || Ie(e.nativeEvent))) {
+ if (e.key === "Escape" && L) ie();
+ else if (e.key === "ArrowDown" || e.key === "ArrowUp") {
+ if (!D.length) return;
+ if (e.preventDefault(), !L) {
+ g(null);
+ return;
+ }
+ let t = e.key === "ArrowDown" ? 1 : -1;
+ v((e) => {
+ let n = e + t;
+ return n < 0 ? D.length - 1 : n >= D.length ? 0 : n;
+ });
+ } else e.key === "Enter" && (e.preventDefault(), F(D[_]?.value || i));
+ }
+ }, z = A?.results || [], B = z.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !b.has(e.provider_label || "")).map((e) => ({
+ candidate: e,
+ key: tn(t, e)
+ })).filter((e) => !S.has(e.key))), V = Z({
+ mutationFn: async (e) => {
+ let t = [], n = [];
+ ne(0);
+ for (let r of e) {
+ try {
+ let e = await we(r.candidate);
+ n.push(e.source);
+ } catch (e) {
+ t.push(`${r.candidate.label}:${J(e)}`);
+ }
+ ne((e) => e + 1);
+ }
+ if (n.length) try {
+ await At(n);
+ } catch (e) {
+ t.push(J(e));
+ }
+ return {
+ failures: t,
+ sources: n
+ };
+ },
+ onSuccess: (e) => {
+ ht(), e.failures.length ? w(e.failures.join(";")) : (w(""), M(), r(`已添加 ${e.sources.length} 个关注来源`));
+ },
+ onError: (e) => w(J(e))
+ }), U = e.suggestions || [], ae = !c.includes("/");
+ return /* @__PURE__ */ (0, $.jsxs)("section", {
+ "aria-label": Xt,
+ className: Oe({
+ padding: "none",
+ className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
+ }),
+ children: [
+ /* @__PURE__ */ (0, $.jsx)("h3", {
+ className: "text-title-2-medium text-text-primary",
+ children: Xt
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-wrap items-end gap-2",
+ children: [
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ ref: y,
+ className: "min-w-64 grow",
+ onFocus: () => p(!0),
+ onBlur: (e) => {
+ let t = e.relatedTarget;
+ !e.currentTarget.contains(t) && !ee.current?.contains(t) && p(!1);
+ },
+ children: [/* @__PURE__ */ (0, $.jsx)(I, {
+ "aria-label": "来源链接、名字或 id",
+ placeholder: Yt,
+ value: i,
+ leadingIcon: pt,
+ enterKeyHint: "search",
+ isDisabled: n,
+ onChange: a,
+ onCompositionStart: () => {
+ s(!0), v(-1);
+ },
+ onCompositionEnd: (e) => {
+ s(!1), a(e.currentTarget.value);
+ },
+ onKeyDown: R
+ }), L ? /* @__PURE__ */ (0, $.jsx)(nn, {
+ field: y,
+ menu: ee,
+ options: D,
+ active: _,
+ busy: re,
+ onPick: F,
+ onClose: ie
+ }) : null]
+ }),
+ /* @__PURE__ */ (0, $.jsx)(rn, {
+ credentials: t,
+ hidden: b,
+ onHidden: x
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "primary",
+ disabled: n || !i.trim(),
+ ...K(k || j.isPending),
+ onClick: () => F(i),
+ children: "查找"
+ })
+ ]
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ "aria-live": "polite",
+ className: "flex flex-col gap-3 empty:hidden",
+ children: [k || j.isPending ? /* @__PURE__ */ (0, $.jsx)(ve, {
+ embedded: !0,
+ label: O?.message || (O?.total ? `查找中:${O.checked || 0}/${O.total}` : ae ? Zt : Qt),
+ value: O?.checked,
+ total: O?.total
+ }) : null, C ? /* @__PURE__ */ (0, $.jsx)(H, {
+ tone: "error",
+ title: "这一次没有完成",
+ children: C
+ }) : null]
+ }),
+ z.length ? /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-col gap-3",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(P, { children: "查找结果" }),
+ z.map((e, t) => /* @__PURE__ */ (0, $.jsx)(an, {
+ row: e,
+ at: t,
+ hidden: b,
+ unpicked: S,
+ onPick: (e, t) => {
+ let n = new Set(S);
+ t ? n.delete(e) : n.add(e), te(n);
+ }
+ }, `${e.line}-${t}`)),
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-2",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ onClick: () => M(),
+ children: "关闭"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "primary",
+ size: "small",
+ disabled: n || !B.length,
+ ...K(V.isPending),
+ onClick: () => V.mutate(B),
+ children: `添加选中(${B.length})`
+ }),
+ V.isPending ? /* @__PURE__ */ (0, $.jsx)("span", {
+ role: "status",
+ className: "text-body-2-regular text-text-secondary",
+ children: `添加中… ${T}/${B.length}`
+ }) : null
+ ]
+ })
+ ]
+ }) : null,
+ U.length ? /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-2",
+ children: [/* @__PURE__ */ (0, $.jsx)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ children: "猜你喜欢"
+ }), U.map((e) => /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ disabled: n,
+ title: `浏览历史里出现 ${e.visits} 次${e.origin ? ` · ${e.origin}` : ""}`,
+ onClick: () => F(e.name),
+ children: e.name
+ }, e.name))]
+ }) : null
+ ]
+ });
+}
+// src/react/follow-manage/add-feed.tsx
+var sn = "输入女优名,到 JavDB 找她的演员页", cn = "添加 JAV 订阅";
+function ln(e, t) {
+ let n = /* @__PURE__ */ new Map();
+ for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
+ if (n.size > 1) return {
+ text: `所勾的卡分属数据库里不同的人:${[...n.values()].join("、")},先去合并再订`,
+ blocked: !0
+ };
+ let [r] = n.values();
+ return r ? {
+ text: `会登记到「${r}」名下`,
+ blocked: !1
+ } : e.known ? {
+ text: `会登记到数据库里的「${e.known.name}」名下`,
+ blocked: !1
+ } : {
+ text: `数据库里还没有「${e.q}」,会新建一位`,
+ blocked: !1
+ };
+}
+function un({ card: e, picked: t, onPick: n }) {
+ return /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-2",
+ children: [/* @__PURE__ */ (0, $.jsx)(y, {
+ isSelected: t,
+ onChange: n,
+ children: /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex min-w-0 flex-wrap items-center gap-1.5",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "min-w-0 break-words",
+ children: e.names.join("、")
+ }),
+ e.record ? /* @__PURE__ */ (0, $.jsx)(b, {
+ variant: "caption",
+ color: "neutral",
+ children: e.record
+ }) : null,
+ e.held_by ? /* @__PURE__ */ (0, $.jsx)("small", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: `已在「${e.held_by.name}」名下`
+ }) : null
+ ]
+ })
+ }), /* @__PURE__ */ (0, $.jsx)(D, {
+ href: e.url,
+ children: e.id
+ })]
+ });
+}
+function dn({ readOnly: e, toast: t, onAdded: n }) {
+ let [r, i] = (0, Q.useState)(""), [a, o] = (0, Q.useState)(null), [s, c] = (0, Q.useState)(/* @__PURE__ */ new Set()), l = Ft(), u = () => {
+ let t = r.trim();
+ t && !e && l.run("lookup", (e) => st(t, e), (e) => {
+ o(e), c(new Set(e.suggested));
+ });
+ }, d = (e) => {
+ e.key === "Enter" && !Ie(e.nativeEvent) && (e.preventDefault(), u());
+ }, f = () => {
+ o(null), c(/* @__PURE__ */ new Set()), l.setError("");
+ }, p = () => {
+ a && l.run("follow", (e) => Qe(a.q, [...s], e), (e) => {
+ t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
+ });
+ }, m = () => {
+ let e = a?.known;
+ e && l.run("known", (t) => $e(e.id, t), () => {
+ t(`已订阅「${e.name}」的新作`), i(""), f(), n();
+ });
+ }, g = a ? ln(a, s) : null, _ = a && !a.candidates.length && a.known?.subscribable ? a.known : null;
+ return /* @__PURE__ */ (0, $.jsxs)("section", {
+ "aria-label": cn,
+ className: Oe({
+ padding: "none",
+ className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
+ }),
+ children: [
+ /* @__PURE__ */ (0, $.jsx)("h3", {
+ className: "text-title-2-medium text-text-primary",
+ children: cn
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-wrap items-end gap-2",
+ children: [/* @__PURE__ */ (0, $.jsx)("div", {
+ className: "min-w-64 grow",
+ children: /* @__PURE__ */ (0, $.jsx)(I, {
+ "aria-label": "女优名",
+ placeholder: sn,
+ value: r,
+ leadingIcon: pt,
+ enterKeyHint: "search",
+ isDisabled: e,
+ onChange: i,
+ onKeyDown: d
+ })
+ }), /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "primary",
+ disabled: e || !r.trim(),
+ ...K(l.busy === "lookup"),
+ onClick: u,
+ children: "查找"
+ })]
+ }),
+ l.error ? /* @__PURE__ */ (0, $.jsx)(H, {
+ tone: "error",
+ title: "这一次没有完成",
+ children: l.error
+ }) : null,
+ a ? /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-col gap-3",
+ children: [
+ a.unavailable ? /* @__PURE__ */ (0, $.jsx)(H, {
+ tone: "warning",
+ title: "JavDB 这一次没有搜成",
+ children: a.unavailable
+ }) : null,
+ /* @__PURE__ */ (0, $.jsx)(P, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, $.jsx)(un, {
+ card: e,
+ picked: s.has(e.id),
+ onPick: (t) => c((n) => {
+ let r = new Set(n);
+ return t ? r.add(e.id) : r.delete(e.id), r;
+ })
+ }, e.id)) : /* @__PURE__ */ (0, $.jsx)(F, { children: a.unavailable ? "这一次没有拿到演员卡。" : "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, $.jsx)(F, {
+ role: "status",
+ children: s.size ? g.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
+ }) : null,
+ _ ? /* @__PURE__ */ (0, $.jsx)(F, {
+ role: "status",
+ children: _.following ? `数据库里的「${_.name}」已经在订阅新作。` : `数据库里的「${_.name}」已有 JavDB 或 DMM 编号,可以直接订阅。`
+ }) : null,
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-2",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ onClick: f,
+ children: "关闭"
+ }),
+ a.candidates.length ? /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "primary",
+ size: "small",
+ disabled: e || !s.size || g.blocked,
+ ...K(l.busy === "follow"),
+ onClick: p,
+ children: `添加订阅(${s.size})`
+ }) : null,
+ _ && !_.following ? /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "primary",
+ size: "small",
+ disabled: e,
+ ...K(l.busy === "known"),
+ onClick: m,
+ children: `订阅「${_.name}」`
+ }) : null
+ ]
+ })
+ ]
+ }) : null
+ ]
+ });
+}
+// src/react/follow-manage/alias-rename-dialog.tsx
+function fn({ group: e, close: t, receipt: n }) {
+ return /* @__PURE__ */ (0, $.jsx)(V, {
+ isOpen: !!e,
+ onOpenChange: (e) => {
+ e || t();
+ },
+ width: "form",
+ label: "修改统一名称",
+ children: e ? /* @__PURE__ */ (0, $.jsx)(pn, {
+ group: e,
+ close: t,
+ receipt: n
+ }, e.canonical_key) : null
+ });
+}
+function pn({ group: e, close: t, receipt: n }) {
+ let [i, a] = (0, Q.useState)(e.canonical_name), o = Ft();
+ return /* @__PURE__ */ (0, $.jsxs)("form", {
+ onSubmit: (r) => {
+ r.preventDefault(), i.trim() && i.trim() !== e.canonical_name && o.run("rename", (t) => yt(e.canonical_key, i.trim(), t), () => {
+ ht(), n(`已把统一名称改为 ${i.trim()}`), t();
+ });
+ },
+ className: "flex min-h-0 flex-col gap-4 p-5",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(r, {
+ slot: "title",
+ className: "text-title-2-semibold text-text-primary",
+ children: "修改统一名称"
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("p", {
+ className: "text-body-2-regular wrap-anywhere text-text-secondary",
+ children: ["当前名称:", e.canonical_name]
+ }),
+ /* @__PURE__ */ (0, $.jsx)(I, {
+ "aria-label": "统一名称",
+ autoFocus: !0,
+ value: i,
+ onChange: a
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-col gap-2",
+ children: [/* @__PURE__ */ (0, $.jsx)(P, { children: "选择已有别名" }), /* @__PURE__ */ (0, $.jsx)("div", {
+ className: "flex flex-wrap gap-2",
+ children: e.aliases.map((e) => /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ onClick: () => a(e.name),
+ children: e.name
+ }, e.key))
+ })]
+ }),
+ /* @__PURE__ */ (0, $.jsx)("p", {
+ className: "text-body-2-regular text-text-secondary",
+ children: "原名称保留为别名,关联档案和作品署名会同步更新。"
+ }),
+ o.error ? /* @__PURE__ */ (0, $.jsx)(H, {
+ tone: "error",
+ children: o.error
+ }) : null,
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-wrap justify-end gap-2",
+ children: [/* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ onClick: t,
+ children: "取消"
+ }), /* @__PURE__ */ (0, $.jsx)(h, {
+ type: "submit",
+ variant: "primary",
+ disabled: !i.trim() || i.trim() === e.canonical_name,
+ ...K(!!o.busy),
+ children: "修改统一名称"
+ })]
+ })
+ ]
+ });
+}
+// src/react/follow-manage/alias-manager.tsx
+var mn = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, hn = Mt({
+ rowSelectionFeature: wt,
+ rowSortingFeature: Tt,
+ rowPaginationFeature: Ct,
+ columnVisibilityFeature: q,
+ sortedRowModel: t(),
+ paginatedRowModel: e()
+}), gn = hn, _n = {
+ id: "select",
+ label: "选择",
+ width: 48,
+ min: 48,
+ max: 48,
+ required: !0
+}, vn = {
+ id: "canonical",
+ label: "统一名称",
+ width: 280,
+ min: 240,
+ required: !0,
+ flex: !0
+}, yn = [
+ _n,
+ vn,
+ {
+ id: "alias",
+ label: "平台别名",
+ width: 240
+ },
+ {
+ id: "evidence",
+ label: "依据",
+ width: 320
+ },
+ {
+ id: "actions",
+ label: "操作",
+ width: 112
+ }
+], bn = [
+ _n,
+ vn,
+ {
+ id: "aliases",
+ label: "平台别名",
+ width: 400
+ },
+ {
+ id: "actions",
+ label: "操作",
+ width: 184,
+ min: 168
+ }
+], xn = (e) => e.alias;
+function Sn(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 Cn({ sources: e, name: t, canonicalKey: n }) {
+ return /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex items-center gap-2",
+ children: [/* @__PURE__ */ (0, $.jsx)(Ut, {
+ group: Sn(e, t, n),
+ name: t
+ }), /* @__PURE__ */ (0, $.jsx)("b", {
+ className: "text-body-medium",
+ children: t
+ })]
+ });
+}
+function wn({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u }) {
+ let d = zt("alias-suggestions", yn), f = zt("alias-saved", bn), [p, m] = (0, Q.useState)(null), [g, _] = (0, Q.useState)({}), [v, b] = (0, Q.useState)({}), x = n(() => _({})), S = n(() => b({})), [D, O] = (0, Q.useState)([]), [k, A] = (0, Q.useState)([]), [j, M] = (0, Q.useState)({
+ pageIndex: 0,
+ pageSize: 20
+ }), [N, F] = (0, Q.useState)({
+ pageIndex: 0,
+ pageSize: 20
+ }), re = {
+ ...j,
+ pageIndex: Math.min(j.pageIndex, Math.max(0, Math.ceil(t.length / j.pageSize) - 1))
+ }, L = {
+ ...N,
+ pageIndex: Math.min(N.pageIndex, Math.max(0, Math.ceil(e.length / N.pageSize) - 1))
+ }, [ie, R] = (0, Q.useState)(""), [z, B] = (0, Q.useState)(""), [V, H] = (0, Q.useState)(""), ae = Z({
+ mutationFn: async (e) => {
+ let t = 0;
+ for (let n of e) {
+ try {
+ await Ce(n.canonical, n.alias);
+ } catch (n) {
+ throw t && ht(), Error(`${J(n)}(还有 ${e.length - t} 组没有合并)`);
+ }
+ t += 1;
+ }
+ return {
+ done: t,
+ items: e
+ };
+ },
+ onSuccess: (e) => {
+ R(""), _({}), ht(), u(`已合并 ${e.done} 组创作者别名`);
+ },
+ onError: (e) => R(J(e))
+ }), oe = Z({
+ mutationFn: (e) => Ce(e.canonical, e.alias),
+ onSuccess: () => {
+ R(""), B(""), H(""), ht(), u("已保存创作者别名");
+ },
+ onError: (e) => R(J(e))
+ }), W = Z({
+ mutationFn: async (e) => {
+ let t = typeof e == "string" ? [e] : e, n = 0;
+ try {
+ for (let e of t) await gt(e), n += 1;
+ } catch (e) {
+ throw Error(`${J(e)}(已移除 ${n} 个别名,还有 ${t.length - n} 个未移除)`);
+ } finally {
+ ht();
+ }
+ },
+ onSuccess: () => {
+ R(""), b({}), u("已移除创作者别名");
+ },
+ onError: (e) => R(J(e))
+ }), se = (e, t) => {
+ e.length && Le({
+ title: t ? "合并全部创作者别名" : "合并所选创作者别名",
+ body: `将合并以下 ${e.length} 组创作者:${e.map((e) => `「${e.alias}」归入「${e.canonical}」`).join(";")}。`,
+ confirmLabel: t ? "合并全部别名" : "合并所选别名",
+ onConfirm: () => ae.mutateAsync(e)
+ });
+ }, ce = (e) => void Le({
+ title: "移除创作者别名",
+ body: mn(e),
+ confirmLabel: "移除创作者别名",
+ onConfirm: () => W.mutateAsync(e)
+ }), G = (0, Q.useRef)({
+ sources: r,
+ readOnly: i,
+ merging: ae.isPending,
+ removing: W.isPending,
+ merge: se,
+ remove: ce,
+ rename: m
+ });
+ G.current = {
+ sources: r,
+ readOnly: i,
+ merging: ae.isPending,
+ removing: W.isPending,
+ merge: se,
+ remove: ce,
+ rename: m
+ };
+ let ue = (0, Q.useMemo)(() => {
+ let e = Re();
+ return e.columns([
+ e.display({
+ id: "select",
+ header: (e) => /* @__PURE__ */ (0, $.jsx)(ge, {
+ table: e.table,
+ label: "全选待合并别名"
+ }),
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)(y, {
+ slot: null,
+ isSelected: e.row.getIsSelected(),
+ "aria-label": `选择别名 ${e.row.original.alias},归入 ${e.row.original.canonical}`,
+ onChange: (t) => e.row.toggleSelected(t)
+ })
+ }),
+ e.accessor("canonical", {
+ header: "统一名称",
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)(Cn, {
+ sources: G.current.sources,
+ name: e.getValue()
+ })
+ }),
+ e.accessor("alias", {
+ header: "平台别名",
+ cell: (e) => e.getValue()
+ }),
+ e.accessor("evidence", {
+ header: "依据",
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ children: e.getValue()
+ })
+ }),
+ e.display({
+ id: "actions",
+ header: "操作",
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ disabled: G.current.readOnly,
+ ...K(G.current.merging),
+ onClick: () => G.current.merge([e.row.original], !1),
+ children: "合并"
+ })
+ })
+ ]);
+ }, []), de = (0, Q.useMemo)(() => {
+ let e = Re();
+ return e.columns([
+ e.display({
+ id: "select",
+ header: ({ table: e }) => /* @__PURE__ */ (0, $.jsx)(ge, {
+ table: e,
+ label: "全选已保存别名"
+ }),
+ cell: ({ row: e }) => /* @__PURE__ */ (0, $.jsx)(y, {
+ slot: null,
+ "aria-label": `选择已保存别名 ${e.original.canonical_name}`,
+ isSelected: e.getIsSelected(),
+ onChange: (t) => e.toggleSelected(t)
+ })
+ }),
+ e.accessor("canonical_name", {
+ id: "canonical",
+ header: "统一名称",
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)(Cn, {
+ sources: G.current.sources,
+ name: e.getValue(),
+ canonicalKey: e.row.original.canonical_key
+ })
+ }),
+ e.accessor("aliases", {
+ header: "平台别名",
+ sortFn: (e, t) => e.original.aliases.map((e) => e.name).join(" ").localeCompare(t.original.aliases.map((e) => e.name).join(" "), "zh-CN"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "flex flex-wrap items-center gap-1.5",
+ children: e.getValue().map((e) => /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",
+ children: [e.name, /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "ghost",
+ size: "xs",
+ iconOnly: !0,
+ leadingIcon: U,
+ "aria-label": `移除别名 ${e.name}`,
+ disabled: G.current.readOnly,
+ ...K(G.current.removing),
+ onClick: () => G.current.remove(e.name)
+ })]
+ }, e.key))
+ })
+ }),
+ e.display({
+ id: "actions",
+ header: "操作",
+ cell: ({ row: e }) => /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ disabled: G.current.readOnly,
+ "aria-label": `修改 ${e.original.canonical_name} 的统一名称`,
+ onClick: () => G.current.rename(e.original),
+ children: "修改统一名称"
+ })
+ })
+ ]);
+ }, []), fe = Rt({
+ features: hn,
+ data: t,
+ columns: ue,
+ getRowId: xn,
+ state: {
+ rowSelection: g,
+ sorting: D,
+ pagination: re,
+ columnVisibility: d.visibility
+ },
+ onColumnVisibilityChange: d.change,
+ onRowSelectionChange: (e) => {
+ x(), _(e);
+ },
+ onSortingChange: (e) => {
+ O(e), M((e) => ({
+ ...e,
+ pageIndex: 0
+ }));
+ },
+ onPaginationChange: M,
+ enableRowSelection: !0
+ }), _e = Rt({
+ features: gn,
+ data: e,
+ columns: de,
+ getRowId: (e) => e.canonical_key,
+ state: {
+ rowSelection: v,
+ sorting: k,
+ pagination: L,
+ columnVisibility: f.visibility
+ },
+ onColumnVisibilityChange: f.change,
+ onRowSelectionChange: (e) => {
+ S(), b(e);
+ },
+ enableRowSelection: !0,
+ onSortingChange: (e) => {
+ A(e), F((e) => ({
+ ...e,
+ pageIndex: 0
+ }));
+ },
+ onPaginationChange: F
+ }), ve = fe.getSelectedRowModel().rows.map((e) => e.original), ye = _e.getSelectedRowModel().rows.flatMap((e) => e.original.aliases.map((e) => e.name)), be = K(ae.isPending);
+ return /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: Oe({
+ padding: "none",
+ className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
+ }),
+ children: [
+ /* @__PURE__ */ (0, $.jsx)("h3", {
+ className: "text-title-2-medium text-text-primary",
+ children: "创作者别名"
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-col gap-2",
+ children: [/* @__PURE__ */ (0, $.jsx)(P, { children: "手动添加别名" }), /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-wrap items-end gap-2",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(I, {
+ "aria-label": "统一名称",
+ placeholder: "在 Peach 中统一显示的名称",
+ value: z,
+ onChange: B,
+ isDisabled: i,
+ className: "w-56"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(I, {
+ "aria-label": "平台别名",
+ placeholder: "平台别名",
+ value: V,
+ onChange: H,
+ isDisabled: i,
+ className: "w-56"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "primary",
+ disabled: i || !z.trim() || !V.trim(),
+ ...K(oe.isPending),
+ onClick: () => oe.mutate({
+ canonical: z.trim(),
+ alias: V.trim()
+ }),
+ children: "保存别名"
+ })
+ ]
+ })]
+ }),
+ ie ? /* @__PURE__ */ (0, $.jsx)(E, { children: ie }) : null,
+ t.length ? /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-col gap-2",
+ children: [
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ "data-responsive-toolbar": "",
+ children: [/* @__PURE__ */ (0, $.jsxs)("div", {
+ "data-toolbar-heading": "",
+ children: [/* @__PURE__ */ (0, $.jsx)(P, { children: "待合并" }), /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ children: `${t.length} 组`
+ })]
+ }), /* @__PURE__ */ (0, $.jsxs)("div", {
+ "data-toolbar-actions": "",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "primary",
+ size: "small",
+ disabled: i,
+ ...be,
+ onClick: () => se(t, !0),
+ children: `全部合并(${t.length})`
+ }),
+ /* @__PURE__ */ (0, $.jsx)(w, {
+ label: "待合并创作者别名",
+ sorting: D,
+ options: [
+ {
+ id: "canonical",
+ label: "统一名称"
+ },
+ {
+ id: "alias",
+ label: "平台别名"
+ },
+ {
+ id: "evidence",
+ label: "依据"
+ }
+ ],
+ onChange: (e) => {
+ O(e), M((e) => ({
+ ...e,
+ pageIndex: 0
+ }));
+ }
+ }),
+ /* @__PURE__ */ (0, $.jsx)(me, {
+ preferences: d,
+ label: "待合并创作者别名"
+ })
+ ]
+ })]
+ }),
+ /* @__PURE__ */ (0, $.jsxs)(le, {
+ label: "待合并别名批量操作",
+ visible: ve.length > 0,
+ count: `已选 ${ve.length} 组`,
+ children: [/* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ disabled: i,
+ ...be,
+ onClick: () => se(ve, !1),
+ children: `合并所选(${ve.length})`
+ }), /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "ghost",
+ size: "small",
+ onClick: () => _({}),
+ children: "取消选择"
+ })]
+ }),
+ /* @__PURE__ */ (0, $.jsx)(C, {
+ follow: !0,
+ preferences: d,
+ onRowClick: (e) => fe.getRow(e)?.toggleSelected(),
+ children: /* @__PURE__ */ (0, $.jsxs)(pe, {
+ "aria-label": "待合并创作者别名",
+ size: "sm",
+ sortDescriptor: D[0] ? {
+ column: D[0].id,
+ direction: D[0].desc ? "descending" : "ascending"
+ } : void 0,
+ onSortChange: (e) => fe.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
+ children: [/* @__PURE__ */ (0, $.jsxs)(l, { children: [fe.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, $.jsx)(o, {
+ id: e.id,
+ isRowHeader: e.column.id === "canonical",
+ allowsSorting: e.column.getCanSort(),
+ ...d.columnProps(e.id),
+ children: ({ sortDirection: t }) => /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex items-center gap-0.5",
+ children: [Ze(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, $.jsx)("span", {
+ "data-sort-indicator": !0,
+ "data-direction": t || void 0,
+ children: /* @__PURE__ */ (0, $.jsx)(ee, {})
+ }) : null]
+ }), /* @__PURE__ */ (0, $.jsx)(he, {
+ preferences: d,
+ id: e.id
+ })] })
+ }, e.id)), /* @__PURE__ */ (0, $.jsx)(o, {
+ id: "remaining-space",
+ "aria-label": "行空白区域",
+ "data-table-space": "",
+ width: d.spaceWidth,
+ minWidth: 0
+ })] }), /* @__PURE__ */ (0, $.jsx)(a, { children: fe.getRowModel().rows.map((e) => /* @__PURE__ */ (0, $.jsxs)(s, {
+ id: e.id,
+ "data-board-selected": e.getIsSelected() || void 0,
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, $.jsx)(c, { children: Ze(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, $.jsx)(c, { "data-table-space": "" })]
+ }, e.id)) })]
+ })
+ }),
+ /* @__PURE__ */ (0, $.jsx)(te, {
+ label: "待合并创作者别名",
+ unit: "组",
+ total: t.length,
+ pagination: re,
+ onChange: M
+ })
+ ]
+ }) : null,
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-col gap-2",
+ children: [
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ "data-responsive-toolbar": "",
+ children: [/* @__PURE__ */ (0, $.jsxs)("div", {
+ "data-toolbar-heading": "",
+ children: [/* @__PURE__ */ (0, $.jsx)(P, { children: "已保存别名" }), /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ children: `${e.length} 组`
+ })]
+ }), /* @__PURE__ */ (0, $.jsxs)("div", {
+ "data-toolbar-actions": "",
+ children: [/* @__PURE__ */ (0, $.jsx)(w, {
+ label: "已保存创作者别名",
+ sorting: k,
+ options: [{
+ id: "canonical",
+ label: "统一名称"
+ }, {
+ id: "aliases",
+ label: "平台别名"
+ }],
+ onChange: (e) => {
+ A(e), F((e) => ({
+ ...e,
+ pageIndex: 0
+ }));
+ }
+ }), /* @__PURE__ */ (0, $.jsx)(me, {
+ preferences: f,
+ label: "已保存创作者别名"
+ })]
+ })]
+ }),
+ /* @__PURE__ */ (0, $.jsxs)(le, {
+ label: "已保存别名批量操作",
+ visible: ye.length > 0,
+ count: `已选 ${ye.length} 个别名`,
+ children: [/* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ disabled: i,
+ ...K(W.isPending),
+ onClick: () => void Le({
+ title: "移除所选创作者别名",
+ body: `将移除以下 ${ye.length} 个别名,对应来源恢复为独立创作者组。`,
+ items: ye,
+ confirmLabel: "移除所选别名",
+ onConfirm: () => W.mutateAsync(ye)
+ }),
+ children: `移除所选别名(${ye.length})`
+ }), /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "ghost",
+ size: "small",
+ onClick: () => b({}),
+ children: "取消选择"
+ })]
+ }),
+ e.length ? /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(C, {
+ follow: !0,
+ preferences: f,
+ onRowClick: (e) => _e.getRow(e)?.toggleSelected(),
+ children: /* @__PURE__ */ (0, $.jsxs)(pe, {
+ "aria-label": "已保存创作者别名",
+ size: "sm",
+ sortDescriptor: k[0] ? {
+ column: k[0].id,
+ direction: k[0].desc ? "descending" : "ascending"
+ } : void 0,
+ onSortChange: (e) => _e.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
+ children: [/* @__PURE__ */ (0, $.jsxs)(l, { children: [_e.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, $.jsx)(o, {
+ id: e.id,
+ isRowHeader: e.column.id === "canonical",
+ allowsSorting: e.column.getCanSort(),
+ ...f.columnProps(e.id),
+ children: ({ sortDirection: t }) => /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex items-center gap-0.5",
+ children: [Ze(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, $.jsx)("span", {
+ "data-sort-indicator": !0,
+ "data-direction": t || void 0,
+ children: /* @__PURE__ */ (0, $.jsx)(ee, {})
+ }) : null]
+ }), /* @__PURE__ */ (0, $.jsx)(he, {
+ preferences: f,
+ id: e.id
+ })] })
+ }, e.id)), /* @__PURE__ */ (0, $.jsx)(o, {
+ id: "remaining-space",
+ "aria-label": "行空白区域",
+ "data-table-space": "",
+ width: f.spaceWidth,
+ minWidth: 0
+ })] }), /* @__PURE__ */ (0, $.jsx)(a, { children: _e.getRowModel().rows.map((e) => /* @__PURE__ */ (0, $.jsxs)(s, {
+ id: e.id,
+ "data-board-selected": e.getIsSelected() || void 0,
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, $.jsx)(c, { children: Ze(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, $.jsx)(c, { "data-table-space": "" })]
+ }, e.id)) })]
+ })
+ }), /* @__PURE__ */ (0, $.jsx)(te, {
+ label: "已保存创作者别名",
+ unit: "组",
+ total: e.length,
+ pagination: L,
+ onChange: F
+ })] }) : /* @__PURE__ */ (0, $.jsx)(ne, {
+ size: "compact",
+ icon: xe,
+ title: "还没有保存创作者别名",
+ actions: i ? void 0 : /* @__PURE__ */ (0, $.jsx)(T, {
+ target: "input[aria-label=\"统一名称\"]",
+ children: "添加别名"
+ }),
+ children: "填写统一名称,以及该创作者在其他平台使用的名字。"
+ })
+ ]
+ }),
+ /* @__PURE__ */ (0, $.jsx)(fn, {
+ group: p,
+ close: () => m(null),
+ receipt: u
+ })
+ ]
+ });
+}
+// src/react/follow-manage/feed-sources.tsx
+var Tn = Mt({
+ rowPaginationFeature: Ct,
+ rowSelectionFeature: wt,
+ rowSortingFeature: Tt,
+ columnVisibilityFeature: q,
+ sortedRowModel: t(),
+ paginatedRowModel: e()
+}), En = {
+ select: "选择",
+ name: "名称",
+ kind: "类型",
+ origin: "来源",
+ status: "状态",
+ interval: "频率",
+ fetched: "上次拉取",
+ fresh: "上次新增",
+ actions: "操作"
+}, Dn = /* @__PURE__ */ new Set(["actions"]), On = Object.entries(En).map(([e, t]) => ({
+ id: e,
+ label: t,
+ width: e === "select" ? 48 : e === "name" ? 300 : e === "actions" ? 208 : e === "fetched" ? 200 : e === "origin" ? 184 : 160,
+ min: e === "select" ? 48 : e === "actions" ? 200 : e === "name" ? 300 : 112,
+ max: e === "select" ? 48 : e === "name" ? 2e3 : 800,
+ flex: e === "name",
+ required: e === "select" || e === "name"
+})), kn = () => mt.invalidateQueries({
+ queryKey: O,
+ exact: !0
+}), An = (e) => e.name || e.url;
+function jn(e) {
+ try {
+ return new URL(e).hostname.replace(/^www\./, "");
+ } catch {
+ return e;
+ }
+}
+function Mn({ source: e }) {
+ return e.enabled ? e.last_error ? /* @__PURE__ */ (0, $.jsx)(b, {
+ variant: "caption",
+ color: "rose",
+ children: "拉取失败"
+ }) : e.last_fetched_at ? /* @__PURE__ */ (0, $.jsx)(b, {
+ variant: "caption",
+ color: "lime",
+ children: "正常"
+ }) : /* @__PURE__ */ (0, $.jsx)(b, {
+ variant: "caption",
+ color: "gray",
+ children: "未检查"
+ }) : /* @__PURE__ */ (0, $.jsx)(b, {
+ variant: "caption",
+ color: "gray",
+ children: "已暂停"
+ });
+}
+function Nn({ source: e }) {
+ let t = e.entity_id ? {
+ id: e.entity_id,
+ has_image: !!e.has_image,
+ image_version: e.image_version,
+ avatar_focus: e.avatar_focus
+ } : null;
+ return /* @__PURE__ */ (0, $.jsx)("span", {
+ "aria-hidden": !0,
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${Vt}`,
+ dangerouslySetInnerHTML: { __html: De(An(e), t, null, "performer") }
+ });
+}
+var Pn = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function Fn(e) {
+ let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
+ for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
+ return n;
+}
+function In(e, t) {
+ let n = e.length === 1 ? e[0] : null;
+ return Le({
+ title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
+ body: n ? `将移除订阅源「${An(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
+ danger: !0,
+ onConfirm: t
+ });
+}
+function Ln({ readOnly: e, toast: t, onAdd: n, selection: r }) {
+ let i = Lt({
+ queryKey: O,
+ queryFn: ({ signal: e }) => X(e)
+ }), u = Ft(), d = zt("jav-feeds", On), f = i.data, m = (0, Q.useMemo)(() => f?.sources ?? [], [f]), [g, v] = (0, Q.useState)(/* @__PURE__ */ new Set()), b = r?.ids ?? g, x = r?.onChange ?? v, [S, T] = (0, Q.useState)(1), [D, k] = (0, Q.useState)(20), [A, j] = (0, Q.useState)([]), M = dt(m.length, D, S);
+ (0, Q.useEffect)(() => {
+ T((e) => Math.min(e, M.pages));
+ }, [M.pages]), (0, Q.useEffect)(() => {
+ x((e) => {
+ let t = new Set(m.map((e) => e.id)), n = new Set([...e].filter((e) => t.has(e)));
+ return n.size === e.size ? e : n;
+ });
+ }, [m, x]);
+ let N = Z({
+ mutationFn: async (e) => {
+ let t = await ct(e.ids, 4, async (t) => {
+ e.action === "remove" ? await _t(t) : await Dt(t, e.action === "enabled");
+ });
+ return {
+ ...e,
+ results: t
+ };
+ },
+ onSuccess: (e) => {
+ let n = e.results.filter((e) => !e.ok), r = e.ids.length - n.length;
+ if (x(/* @__PURE__ */ new Set()), kn(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
+ let e = n[0];
+ u.setError(`${n.length} 条没有写入:${e.ok ? "" : J(e.error)}`);
+ }
+ },
+ onError: (e) => u.setError(J(e))
+ }), P = (0, Q.useMemo)(() => Fn(m), [m]), I = (0, Q.useRef)({
+ readOnly: e,
+ shared: P,
+ busy: null,
+ toggle: () => {},
+ fetch: () => {},
+ remove: () => {}
+ });
+ I.current = {
+ readOnly: e,
+ shared: P,
+ busy: u.busy,
+ toggle: (e, t) => void u.run(`enabled-${e.id}`, (n) => Dt(e.id, t, n), () => void kn()),
+ fetch: (e) => void u.run(`check-${e.id}`, (t) => je(t, [e.id]), () => void kn()),
+ remove: (e) => void In([e], async () => {
+ await _t(e.id), t(`已移除订阅源「${An(e)}」`), kn();
+ })
+ };
+ let re = (0, Q.useMemo)(() => {
+ let e = Re(), t = (e) => () => En[e] || e;
+ return e.columns([
+ e.display({
+ id: "select",
+ header: (e) => /* @__PURE__ */ (0, $.jsx)(ge, {
+ table: e.table,
+ label: "全选本页订阅源",
+ page: !0
+ }),
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)(y, {
+ slot: null,
+ isSelected: e.row.getIsSelected(),
+ onChange: (t) => e.row.toggleSelected(t),
+ "aria-label": `选择 ${An(e.row.original)}`
+ })
+ }),
+ e.accessor(An, {
+ id: "name",
+ header: t("name"),
+ cell: (e) => {
+ let t = Pn(e.row.original, I.current.shared);
+ return /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(Nn, { source: e.row.original }),
+ e.getValue(),
+ t ? /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ title: `站上这一页挂在「${t}」名下`,
+ children: t
+ }) : null
+ ]
+ });
+ }
+ }),
+ e.accessor((e) => e.kind_label, {
+ id: "kind",
+ header: t("kind"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "whitespace-nowrap",
+ children: e.getValue()
+ })
+ }),
+ e.accessor((e) => e.url, {
+ id: "origin",
+ header: t("origin"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsxs)("a", {
+ href: e.getValue(),
+ target: "_blank",
+ rel: "noopener noreferrer",
+ title: "打开来源页面",
+ className: "max-w-full text-text-primary underline-offset-2 hover:underline",
+ children: [/* @__PURE__ */ (0, $.jsx)(ue, {
+ site: e.row.original.kind.startsWith("javdb") ? "javdb" : e.row.original.kind.startsWith("dmm") ? "dmm" : jn(e.getValue()),
+ label: jn(e.getValue())
+ }), /* @__PURE__ */ (0, $.jsx)(be, {
+ "aria-hidden": !0,
+ className: "size-(--icon-inline) shrink-0"
+ })]
+ })
+ }),
+ e.accessor((e) => e.last_error ? "拉取失败" : e.enabled ? "已启用" : "已暂停", {
+ id: "status",
+ header: t("status"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)(Mn, { source: e.row.original })
+ }),
+ e.accessor((e) => e.interval_minutes, {
+ id: "interval",
+ header: t("interval"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "whitespace-nowrap",
+ children: Y(e.getValue())
+ })
+ }),
+ e.accessor((e) => e.last_fetched_at && Date.parse(e.last_fetched_at) || 0, {
+ id: "fetched",
+ header: t("fetched"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "whitespace-nowrap tabular-nums",
+ children: e.row.original.last_fetched_at ? ot(e.row.original.last_fetched_at) : "还没拉过"
+ })
+ }),
+ e.accessor((e) => e.last_new_count, {
+ id: "fresh",
+ header: t("fresh"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "whitespace-nowrap tabular-nums",
+ children: `${e.getValue()} 条`
+ })
+ }),
+ e.display({
+ id: "actions",
+ header: t("actions"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex items-center gap-1",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(fe, {
+ "aria-label": `启用 ${An(e.row.original)}`,
+ isSelected: e.row.original.enabled,
+ isDisabled: I.current.readOnly,
+ onChange: (t) => I.current.toggle(e.row.original, t)
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ iconOnly: !0,
+ leadingIcon: Ve,
+ "aria-label": `拉取 ${An(e.row.original)}`,
+ disabled: I.current.readOnly,
+ ...K(I.current.busy === `check-${e.row.original.id}`),
+ onClick: () => I.current.fetch(e.row.original)
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ iconOnly: !0,
+ leadingIcon: ie,
+ "aria-label": `移除 ${An(e.row.original)}`,
+ disabled: I.current.readOnly,
+ onClick: () => I.current.remove(e.row.original)
+ })
+ ]
+ })
+ })
+ ]);
+ }, []), L = (0, Q.useMemo)(() => Object.fromEntries([...b].map((e) => [String(e), !0])), [b]), R = Rt({
+ features: Tn,
+ data: m,
+ columns: re,
+ getRowId: (e) => String(e.id),
+ state: {
+ rowSelection: L,
+ sorting: A,
+ pagination: {
+ pageIndex: M.page - 1,
+ pageSize: D
+ },
+ columnVisibility: d.visibility
+ },
+ onColumnVisibilityChange: d.change,
+ onSortingChange: (e) => {
+ j(e), T(1);
+ },
+ enableRowSelection: !0,
+ onRowSelectionChange: (e) => {
+ r?.onActivate();
+ let t = typeof e == "function" ? e(L) : e;
+ x(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
+ }
+ });
+ if (!f) return i.error ? /* @__PURE__ */ (0, $.jsx)(H, {
+ tone: "error",
+ title: "打不开订阅源",
+ children: J(i.error)
+ }) : /* @__PURE__ */ (0, $.jsx)(F, { children: "正在读订阅源。" });
+ let z = () => void u.run("check", (e) => je(e), () => void kn()), B = (e) => {
+ r?.onActivate(), x((t) => {
+ let n = new Set(t);
+ return n.has(e) ? n.delete(e) : n.add(e), n;
+ });
+ }, V = m.filter((e) => b.has(e.id)), U = m.filter((e) => e.last_error);
+ return /* @__PURE__ */ (0, $.jsx)("div", {
+ className: "flex flex-col gap-3",
+ children: /* @__PURE__ */ (0, $.jsxs)("section", {
+ "aria-label": "JAV 订阅列表",
+ className: Oe({
+ padding: "none",
+ className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
+ }),
+ children: [
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ "data-responsive-toolbar": "",
+ children: [/* @__PURE__ */ (0, $.jsxs)("div", {
+ "data-toolbar-heading": "",
+ children: [/* @__PURE__ */ (0, $.jsx)("h3", {
+ className: "text-title-2-medium text-text-primary",
+ children: "JAV 订阅源"
+ }), /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ children: `${m.length.toLocaleString()} 个订阅源 · ${(Number(f.unread) || 0).toLocaleString()} 条未看`
+ })]
+ }), /* @__PURE__ */ (0, $.jsxs)("div", {
+ "data-toolbar-actions": "",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ onClick: z,
+ disabled: e,
+ ...K(u.busy === "check"),
+ children: "立即拉取"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(me, {
+ preferences: d,
+ label: "JAV 订阅源"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(w, {
+ label: "JAV 订阅源",
+ sorting: A,
+ onChange: (e) => {
+ j(e), T(1);
+ },
+ options: [
+ "name",
+ "kind",
+ "origin",
+ "status",
+ "interval",
+ "fetched",
+ "fresh"
+ ].map((e) => ({
+ id: e,
+ label: En[e]
+ }))
+ })
+ ]
+ })]
+ }),
+ U.length || u.error ? /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "flex flex-col gap-3",
+ children: [U.length ? /* @__PURE__ */ (0, $.jsx)(H, {
+ tone: "error",
+ title: `${U.length.toLocaleString()} 条订阅源拉取失败`,
+ extra: /* @__PURE__ */ (0, $.jsx)("ul", {
+ className: "flex flex-col gap-0.5 text-body-2-regular",
+ children: U.map((e) => /* @__PURE__ */ (0, $.jsx)("li", {
+ className: "min-w-0 truncate",
+ title: e.last_error || "",
+ children: `${An(e)}:${We(e.last_error || "") || "未说明原因"}`
+ }, e.id))
+ }),
+ children: "这些订阅源这一轮没有取到新条目。"
+ }) : null, u.error ? /* @__PURE__ */ (0, $.jsx)(E, { children: u.error }) : null]
+ }) : null,
+ /* @__PURE__ */ (0, $.jsxs)(le, {
+ visible: V.length > 0,
+ label: "订阅源批量操作",
+ count: `已选 ${V.length} 条订阅源`,
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ disabled: e,
+ ...K(N.isPending),
+ onClick: () => N.mutate({
+ ids: V.map((e) => e.id),
+ action: "enabled"
+ }),
+ children: "启用"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ disabled: e,
+ ...K(N.isPending),
+ onClick: () => N.mutate({
+ ids: V.map((e) => e.id),
+ action: "paused"
+ }),
+ children: "暂停"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "danger",
+ size: "small",
+ disabled: e,
+ ...K(N.isPending),
+ onClick: () => void In(V, () => N.mutateAsync({
+ ids: V.map((e) => e.id),
+ action: "remove"
+ })),
+ children: "移除"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "ghost",
+ size: "small",
+ onClick: () => x(/* @__PURE__ */ new Set()),
+ children: "取消选择"
+ })
+ ]
+ }),
+ m.length ? /* @__PURE__ */ (0, $.jsx)(C, {
+ follow: !0,
+ preferences: d,
+ onRowClick: (e) => B(Number(e)),
+ children: /* @__PURE__ */ (0, $.jsxs)(pe, {
+ "aria-label": "JAV 订阅源",
+ size: "sm",
+ sortDescriptor: A[0] ? {
+ column: A[0].id,
+ direction: A[0].desc ? "descending" : "ascending"
+ } : void 0,
+ onSortChange: (e) => R.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
+ children: [/* @__PURE__ */ (0, $.jsxs)(l, { children: [R.getHeaderGroups()[0].headers.map((e) => {
+ let t = Ze(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, $.jsx)(o, {
+ id: e.id,
+ isRowHeader: e.column.id === "name",
+ allowsSorting: e.column.getCanSort(),
+ ...d.columnProps(e.id),
+ children: ({ sortDirection: n }) => /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [Dn.has(e.column.id) ? /* @__PURE__ */ (0, $.jsx)(p, { children: t }) : /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex items-center gap-0.5",
+ children: [t, e.column.getCanSort() ? /* @__PURE__ */ (0, $.jsx)("span", {
+ "data-sort-indicator": !0,
+ "data-direction": n || void 0,
+ children: /* @__PURE__ */ (0, $.jsx)(ee, {})
+ }) : null]
+ }), /* @__PURE__ */ (0, $.jsx)(he, {
+ preferences: d,
+ id: e.id
+ })] })
+ }, e.id);
+ }), /* @__PURE__ */ (0, $.jsx)(o, {
+ id: "remaining-space",
+ "aria-label": "行空白区域",
+ "data-table-space": "",
+ width: d.spaceWidth,
+ minWidth: 0
+ })] }), /* @__PURE__ */ (0, $.jsx)(a, { children: R.getRowModel().rows.map((e) => /* @__PURE__ */ (0, $.jsxs)(s, {
+ id: e.id,
+ "data-follow-selected": e.getIsSelected() || void 0,
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, $.jsx)(c, { children: Ze(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, $.jsx)(c, { "data-table-space": "" })]
+ }, e.id)) })]
+ })
+ }) : /* @__PURE__ */ (0, $.jsx)(ne, {
+ icon: _,
+ title: "还没有订阅源",
+ size: "compact",
+ actions: e ? void 0 : /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ onClick: n,
+ children: "添加订阅"
+ }),
+ children: "在「添加关注」按女优名添加,或在人物页点「订阅新作」。"
+ }),
+ m.length ? /* @__PURE__ */ (0, $.jsx)(te, {
+ label: "JAV 订阅",
+ total: M.total,
+ unit: "个订阅源",
+ pagination: {
+ pageIndex: M.page - 1,
+ pageSize: D
+ },
+ onChange: (e) => {
+ k(e.pageSize), T(e.pageIndex + 1);
+ }
+ }) : null,
+ /* @__PURE__ */ (0, $.jsx)("footer", {
+ className: "-mx-6 -mb-5 flex flex-wrap items-center gap-2 border-t border-separator-border rounded-b-2xl bg-card-footer px-6 py-4 max-sm:-mx-4 max-sm:px-4",
+ children: /* @__PURE__ */ (0, $.jsx)("span", {
+ role: "status",
+ className: "mr-auto text-body-2-regular text-text-secondary",
+ children: `未看 ${(Number(f.unread) || 0).toLocaleString()} · 已启用 ${m.filter((e) => e.enabled).length.toLocaleString()} / ${m.length.toLocaleString()}`
+ })
+ })
+ ]
+ })
+ });
+}
+// src/react/follow-manage/source-list.tsx
+var Rn = Mt({
+ rowPaginationFeature: Ct,
+ rowSelectionFeature: wt,
+ rowSortingFeature: Tt,
+ columnVisibilityFeature: q,
+ paginatedRowModel: e()
+}), zn = (e) => (Number(e) || 0).toLocaleString(), Bn = Object.fromEntries(Object.entries(v).map(([e, t]) => [t, e])), Vn = 740;
+function Hn() {
+ let [e, t] = (0, Q.useState)(!1), n = (0, Q.useRef)(null), r = (0, Q.useCallback)((e) => {
+ if (n.current?.disconnect(), !e) {
+ n.current = null;
+ return;
+ }
+ let r = new ResizeObserver(() => t(e.clientWidth < Vn));
+ r.observe(e), n.current = r, t(e.clientWidth < Vn);
+ }, []);
+ return (0, Q.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
+}
+var Un = {
+ select: "选择",
+ author: "创作者",
+ source: "来源",
+ provider: "站点",
+ status: "状态",
+ checked: "上次检查",
+ actions: "操作"
+}, Wn = Object.entries(Un).map(([e, t]) => ({
+ id: e,
+ label: t,
+ width: e === "select" ? 48 : e === "source" ? 320 : e === "author" ? 240 : e === "actions" ? 208 : 184,
+ min: e === "select" ? 48 : e === "actions" ? 200 : e === "source" ? 320 : 112,
+ max: e === "select" ? 48 : e === "source" ? 2e3 : 800,
+ flex: e === "source",
+ required: e === "select" || e === "source"
+}));
+function Gn({ source: e, selected: t, onToggle: n, handlers: r }) {
+ return /* @__PURE__ */ (0, $.jsxs)("div", {
+ "data-selected": t || void 0,
+ "data-follow-source-row": "",
+ className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 last:rounded-b-lg max-sm:gap-x-2",
+ onClick: (e) => {
+ Fe(e, e.currentTarget) && n(!t);
+ },
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(y, {
+ isSelected: t,
+ onChange: n,
+ "aria-label": `选择 ${e.label}`
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex min-w-0 grow basis-0 items-center gap-1.5",
+ children: [/* @__PURE__ */ (0, $.jsx)("span", {
+ "data-follow-source-site": "",
+ className: "flex shrink-0 items-center text-body-medium",
+ children: /* @__PURE__ */ (0, $.jsx)(Gt, { provider: e.provider })
+ }), /* @__PURE__ */ (0, $.jsx)(Kt, { source: e })]
+ }),
+ /* @__PURE__ */ (0, $.jsx)(p, { children: e.provider_label }),
+ /* @__PURE__ */ (0, $.jsx)(qt, { source: e }),
+ e.last_error ? /* @__PURE__ */ (0, $.jsxs)("span", {
+ "data-follow-source-error": "",
+ className: "flex min-w-0 basis-full gap-3 max-sm:gap-x-2 sm:order-last",
+ children: [/* @__PURE__ */ (0, $.jsx)("span", {
+ "aria-hidden": !0,
+ className: "w-4 shrink-0"
+ }), /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex min-w-0 grow gap-1.5",
+ children: [/* @__PURE__ */ (0, $.jsx)("span", {
+ "aria-hidden": !0,
+ className: "w-(--icon-inline) shrink-0 text-body-medium"
+ }), /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "min-w-0 grow",
+ children: /* @__PURE__ */ (0, $.jsx)(Wt, { text: e.last_error })
+ })]
+ })]
+ }) : null,
+ /* @__PURE__ */ (0, $.jsxs)("span", {
+ "data-follow-source-controls": "",
+ className: "flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular",
+ children: Pe(e)
+ }),
+ /* @__PURE__ */ (0, $.jsx)(fe, {
+ "aria-label": `启用 ${e.label}`,
+ isSelected: e.enabled,
+ isDisabled: r.readOnly,
+ onChange: (t) => r.toggle(e, t)
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex shrink-0 items-center gap-1",
+ children: [/* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ iconOnly: !0,
+ leadingIcon: Ve,
+ "aria-label": `检查 ${e.label} 的更新`,
+ disabled: !e.enabled || r.readOnly,
+ ...K(r.busy),
+ onClick: () => r.check([e.id])
+ }), /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ iconOnly: !0,
+ leadingIcon: ie,
+ "aria-label": `移除 ${e.label}`,
+ disabled: r.readOnly,
+ onClick: () => r.remove(e)
+ })]
+ })
+ ]
+ })
+ ]
+ });
+}
+function Kn({ 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(nt).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, m = Et(r, c);
+ return /* @__PURE__ */ (0, $.jsxs)("section", {
+ "aria-label": `${t} 的关注来源`,
+ className: Oe({
+ variant: "raised",
+ padding: "none",
+ className: "flex flex-col overflow-hidden p-2"
+ }),
+ children: [/* @__PURE__ */ (0, $.jsxs)("div", {
+ "data-follow-author-header": !0,
+ "data-open": n || void 0,
+ className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(Ut, {
+ group: e,
+ name: t
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex min-w-0 grow basis-0 flex-col gap-1",
+ children: [/* @__PURE__ */ (0, $.jsx)("b", {
+ className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",
+ children: t
+ }), /* @__PURE__ */ (0, $.jsxs)("span", {
+ "data-follow-author-sites": "",
+ className: "flex min-w-0 flex-wrap items-center gap-1 text-body-2-regular",
+ title: d,
+ children: [
+ e.map((e) => /* @__PURE__ */ (0, $.jsx)(Gt, { provider: e.provider }, e.id)),
+ /* @__PURE__ */ (0, $.jsx)(p, { children: `来源:${d}` }),
+ u ? /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "ml-1 shrink-0 text-text-error-primary",
+ children: `${u} 个失败`
+ }) : null
+ ]
+ })]
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("span", {
+ "data-follow-author-controls": "",
+ className: "flex flex-none items-center gap-2 max-sm:w-full max-sm:justify-end",
+ children: [/* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ iconOnly: !0,
+ leadingIcon: Ve,
+ "aria-label": `检查 ${t} 的全部来源`,
+ disabled: !l.length || i.readOnly,
+ ...K(i.busy),
+ onClick: () => i.check(l)
+ }), /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex flex-none items-center gap-2",
+ children: [/* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ leadingIcon: at,
+ "aria-pressed": m.all ? "true" : m.some ? "mixed" : "false",
+ "aria-label": `${m.all ? "取消全选" : "全选"} ${t} 的来源`,
+ onClick: () => o(!m.all),
+ children: m.all ? "取消全选" : "全选"
+ }), /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ "aria-expanded": n,
+ "aria-controls": f,
+ leadingIcon: x,
+ "aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
+ onClick: () => a(!n),
+ children: n ? "收起" : "展开"
+ })]
+ })]
+ })
+ ]
+ }), /* @__PURE__ */ (0, $.jsx)(S, {
+ id: f,
+ open: n,
+ "data-source-divider": !0,
+ children: e.map((e) => /* @__PURE__ */ (0, $.jsx)(Gn, {
+ source: e,
+ handlers: i,
+ selected: r.has(e.id),
+ onToggle: (t) => s(e.id, t)
+ }, e.id))
+ })]
+ });
+}
+function qn(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: u, pageSize: d, selected: f, readOnly: m, onSort: g, onPage: b, onLayout: S, onPageSize: w, onSelected: T, toast: E, openFollow: D, onAdd: O } = e, A = t.sources, j = (0, Q.useMemo)(() => t.author_aliases || [], [t.author_aliases]), M = t.counts || {}, [N, P] = (0, Q.useState)(/* @__PURE__ */ new Set()), [F, I] = Hn(), [L, R] = (0, Q.useState)(""), z = (0, Q.useMemo)(() => Te(A, n, r, j), [
+ A,
+ n,
+ r,
+ j
+ ]), B = (0, Q.useMemo)(() => Nt(z, n, r, j), [
+ z,
+ n,
+ r,
+ j
+ ]), { job: V, running: U, outcome: W, start: G } = It({
+ queryKey: k,
+ queryFn: ({ signal: e }) => Ge(e),
+ start: (e) => At(e),
+ onError: (e) => R(J(e)),
+ onFinish: (e) => {
+ ht(), E(e.status === "failed" ? e.error || "检查失败" : Me(e));
+ }
+ }), ue = (e) => {
+ U || G.isPending || (R(""), G.mutate(e));
+ }, _e = (e, t) => T(Pt(f, [e], t)), be = (e, t) => T(Pt(f, e, t)), xe = Z({
+ mutationFn: (e) => vt(e),
+ onSuccess: (e, t) => {
+ He([t]), T(Pt(f, [t], !1)), E("已取消关注来源");
+ },
+ onError: (e) => R(J(e))
+ }), Se = Z({
+ mutationFn: (e) => Ot(e.id, e.enabled),
+ onSuccess: (e, t) => {
+ ft(t.id, { enabled: t.enabled }), R("");
+ },
+ onError: (e) => R(J(e))
+ }), Ce = (e) => void Le({
+ title: "取消关注来源",
+ body: "将移除这个来源及已抓取的条目,媒体文件保留。",
+ confirmLabel: "取消关注来源",
+ danger: !0,
+ onConfirm: () => xe.mutateAsync(e.id)
+ }), we = Z({
+ mutationFn: async (e) => {
+ let t = await ct(e.ids, 4, async (t) => {
+ e.action === "remove" ? await vt(t) : await Ot(t, e.action === "enabled");
+ });
+ return {
+ ...e,
+ done: e.ids.filter((e, n) => t[n]?.ok),
+ results: t
+ };
+ },
+ onSuccess: (e) => {
+ if (e.action === "remove") He(e.done);
+ else for (let t of e.done) ft(t, { enabled: e.action === "enabled" });
+ T(Pt(f, e.done, !1));
+ let t = e.results.filter((e) => !e.ok);
+ if (t.length) {
+ R(`${t.length}/${e.ids.length} 个来源未更新:${J(t[0]?.error)}`);
+ return;
+ }
+ R("");
+ let n = e.action === "remove" ? "删除" : e.action === "enabled" ? "启用" : "暂停";
+ E(`已${n} ${e.done.length} 个关注来源`);
+ },
+ onError: (e) => R(J(e))
+ }), De = Z({
+ mutationFn: async (e) => {
+ let t = ((await Je()).groups || []).flatMap((e) => [
+ e.primary,
+ ...e.variants,
+ ...e.duplicates
+ ]).filter((e) => e.status === "new").map((e) => e.id);
+ return {
+ ids: t,
+ failed: (await ct(t, 6, (t) => lt(t, e))).filter((e) => !e.ok)
+ };
+ },
+ onSuccess: (e) => {
+ ht(), e.failed.length ? R(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`) : (R(""), E(`已批量标记 ${e.ids.length} 项`));
+ },
+ onError: (e) => R(J(e))
+ }), je = (e, t) => Se.mutate({
+ id: e.id,
+ enabled: t
+ }), Fe = (0, Q.useRef)({
+ check: ue,
+ toggle: je,
+ remove: Ce,
+ busy: !1,
+ readOnly: m
+ });
+ Fe.current = {
+ check: ue,
+ toggle: je,
+ remove: Ce,
+ busy: U || G.isPending,
+ readOnly: m
+ };
+ let q = Fe.current, Ie = (0, Q.useMemo)(() => {
+ let e = Re(), t = (e) => () => Un[e] || e;
+ return e.columns([
+ e.display({
+ id: "select",
+ header: (e) => /* @__PURE__ */ (0, $.jsx)(ge, {
+ table: e.table,
+ label: "全选本页来源",
+ page: !0
+ }),
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)(y, {
+ slot: null,
+ isSelected: e.row.getIsSelected(),
+ onChange: (t) => e.row.toggleSelected(t),
+ "aria-label": `选择 ${e.row.original.source.label}`
+ })
+ }),
+ e.accessor((e) => e.author, {
+ id: "author",
+ header: t("author"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex min-w-0 items-center gap-2",
+ children: [/* @__PURE__ */ (0, $.jsx)(Ut, {
+ group: e.row.original.group,
+ name: e.row.original.author
+ }), /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "min-w-0 break-words",
+ children: e.row.original.author
+ })]
+ })
+ }),
+ e.accessor((e) => e.source.label, {
+ id: "source",
+ header: t("source"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex min-w-0 flex-col gap-0.5",
+ children: [/* @__PURE__ */ (0, $.jsx)(Kt, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, $.jsx)(Wt, { text: e.row.original.source.last_error }) : null]
+ })
+ }),
+ e.accessor((e) => e.source.provider_label, {
+ id: "provider",
+ header: t("provider"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex items-center gap-1.5",
+ children: [/* @__PURE__ */ (0, $.jsx)(Gt, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ })
+ }),
+ e.display({
+ id: "status",
+ header: t("status"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsx)(qt, { source: e.row.original.source })
+ }),
+ e.accessor((e) => e.source.last_checked_at || "", {
+ id: "checked",
+ header: t("checked"),
+ cell: (e) => Pe(e.row.original.source)
+ }),
+ e.display({
+ id: "actions",
+ header: t("actions"),
+ cell: (e) => /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex items-center gap-1",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(fe, {
+ "aria-label": `启用 ${e.row.original.source.label}`,
+ isSelected: e.row.original.source.enabled,
+ isDisabled: q.readOnly,
+ onChange: (t) => Fe.current.toggle(e.row.original.source, t)
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ iconOnly: !0,
+ leadingIcon: Ve,
+ "aria-label": `检查 ${e.row.original.source.label} 的更新`,
+ disabled: !e.row.original.source.enabled || q.readOnly,
+ ...K(q.busy),
+ onClick: () => Fe.current.check([e.row.original.source.id])
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ iconOnly: !0,
+ leadingIcon: ie,
+ "aria-label": `移除 ${e.row.original.source.label}`,
+ disabled: q.readOnly,
+ onClick: () => Fe.current.remove(e.row.original.source)
+ })
+ ]
+ })
+ })
+ ]);
+ }, [q]), ze = (0, Q.useMemo)(() => {
+ let e = Bn[n];
+ return e ? [{
+ id: e,
+ desc: r === "desc"
+ }] : [];
+ }, [n, r]), Be = (0, Q.useMemo)(() => Object.fromEntries([...f].map((e) => [String(e), !0])), [f]), Y = u === "table", Ke = zt("follow-sources", Wn), X = dt(Y ? B.length : z.length, d, i), qe = Rt({
+ features: Rn,
+ data: B,
+ columns: Ie,
+ getRowId: (e) => String(e.source.id),
+ state: {
+ sorting: ze,
+ rowSelection: Be,
+ pagination: {
+ pageIndex: X.page - 1,
+ pageSize: d
+ },
+ columnVisibility: Ke.visibility
+ },
+ onColumnVisibilityChange: Ke.change,
+ manualSorting: !0,
+ enableRowSelection: !0,
+ onSortingChange: (e) => {
+ let t = (typeof e == "function" ? e(ze) : e)[0];
+ if (!t) return;
+ let n = v[t.id];
+ n && g(n, t.desc ? "desc" : "asc");
+ },
+ onRowSelectionChange: (e) => {
+ let t = typeof e == "function" ? e(Be) : e;
+ T(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
+ },
+ onPaginationChange: (e) => {
+ let t = {
+ pageIndex: X.page - 1,
+ pageSize: d
+ }, n = typeof e == "function" ? e(t) : e;
+ n.pageSize === d ? n.pageIndex !== t.pageIndex && b(n.pageIndex + 1) : w(n.pageSize);
+ }
+ }), Ye = qe.getRowModel().rows, Xe = Y ? Ye.map((e) => e.original.source.id) : z.slice(X.start, X.end).flatMap((e) => e.map((e) => e.id)), Qe = Et(f, Xe), $e = [...f], et = Ae(W), tt = A.filter((e) => e.enabled && (e.last_status === "error" || e.last_status === "unauthorized")).map((e) => e.id), nt = ke(W), rt = z.length > 0 && N.size >= z.length;
+ return A.length ? /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: Oe({
+ padding: "none",
+ className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
+ }),
+ children: [
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ ref: F,
+ "data-follow-toolbar": "",
+ "data-responsive-toolbar": "",
+ children: [/* @__PURE__ */ (0, $.jsxs)("span", {
+ "data-follow-toolbar-heading": "",
+ "data-toolbar-heading": "",
+ children: [/* @__PURE__ */ (0, $.jsx)("h3", {
+ className: "text-title-2-medium text-text-primary",
+ children: "关注列表"
+ }), /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ children: `${A.length.toLocaleString()} 个来源${M.new ? ` · ${zn(M.new)} 条未看` : ""}`
+ })]
+ }), /* @__PURE__ */ (0, $.jsxs)("div", {
+ "data-follow-toolbar-actions": "",
+ "data-toolbar-actions": "",
+ children: [
+ tt.length ? /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ disabled: m,
+ ...K(q.busy),
+ onClick: () => ue(tt),
+ children: "检查失败项"
+ }) : null,
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "primary",
+ leadingIcon: Ve,
+ disabled: m,
+ "aria-label": "检查全部",
+ iconOnly: I,
+ ...K(q.busy),
+ onClick: () => ue([]),
+ children: "检查全部"
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("span", {
+ "data-follow-toolbar-controls": "",
+ className: "contents",
+ children: [
+ /* @__PURE__ */ (0, $.jsxs)("span", {
+ "data-button-group": !0,
+ role: "group",
+ "aria-label": "关注列表版式",
+ children: [/* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "ghost",
+ iconOnly: !0,
+ leadingIcon: ye,
+ "aria-label": re[0][1],
+ "aria-pressed": !Y,
+ onClick: () => S("default")
+ }), /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "ghost",
+ iconOnly: !0,
+ leadingIcon: Ue,
+ "aria-label": re[1][1],
+ "aria-pressed": Y,
+ onClick: () => S("table")
+ })]
+ }),
+ Y ? /* @__PURE__ */ (0, $.jsx)(me, {
+ preferences: Ke,
+ label: "关注来源"
+ }) : null,
+ /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex flex-none items-center gap-2",
+ children: [/* @__PURE__ */ (0, $.jsx)(se, {
+ "aria-label": "关注列表排序",
+ prefix: "排序",
+ selectedKey: n,
+ onSelectionChange: (e) => {
+ if (e === null) return;
+ let t = String(e);
+ g(t, ae[t]);
+ },
+ children: oe.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(ce, {
+ id: e,
+ children: t
+ }, e))
+ }), /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ iconOnly: !0,
+ leadingIcon: de,
+ "data-icon-state": r === "asc" ? "a" : "b",
+ "aria-label": kt(n, r),
+ onClick: () => g(n, r === "asc" ? "desc" : "asc")
+ })]
+ }),
+ Y ? null : /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ iconOnly: I,
+ leadingIcon: x,
+ "aria-expanded": !rt,
+ "aria-label": rt ? "全部展开" : "全部收起",
+ onClick: () => P(rt ? /* @__PURE__ */ new Set() : new Set(z.map((e) => String(e[0].author_key || e[0].id)))),
+ children: rt ? "全部展开" : "全部收起"
+ })
+ ]
+ })
+ ]
+ })]
+ }),
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ "aria-live": "polite",
+ className: "flex flex-col gap-3 empty:hidden",
+ children: [
+ U ? /* @__PURE__ */ (0, $.jsx)(ve, {
+ embedded: !0,
+ label: V?.message || (V?.total ? `${V.older ? "抓取历史" : "检查更新"}:已完成 ${V.checked || 0}/${V.total} 个来源` : "正在准备检查任务"),
+ value: V?.checked,
+ total: V?.total
+ }) : null,
+ L ? /* @__PURE__ */ (0, $.jsx)(H, {
+ tone: "error",
+ title: "操作未完成",
+ children: L
+ }) : null,
+ !U && W?.results?.length ? /* @__PURE__ */ (0, $.jsx)(H, {
+ tone: "neutral",
+ title: "检查结果",
+ children: Ne(W)
+ }) : null,
+ et.length ? /* @__PURE__ */ (0, $.jsx)(H, {
+ tone: "error",
+ title: `${et.length} 个来源检查失败`,
+ extra: /* @__PURE__ */ (0, $.jsx)("ul", {
+ className: "flex flex-col gap-0.5 text-body-2-regular",
+ children: et.map((e, t) => /* @__PURE__ */ (0, $.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${We(e.error || "") || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))
+ }),
+ children: "这些来源这一轮没有取到更新。"
+ }) : null,
+ nt ? /* @__PURE__ */ (0, $.jsx)(H, {
+ tone: "warning",
+ children: `条目已保存,但这次未保存来源的原始响应:${nt}`
+ }) : null
+ ]
+ }),
+ /* @__PURE__ */ (0, $.jsxs)(le, {
+ label: "关注来源批量操作",
+ visible: $e.length > 0,
+ count: `已选 ${$e.length} 个来源`,
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ disabled: m,
+ ...K(q.busy),
+ onClick: () => ue($e),
+ children: "检查所选"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ disabled: m,
+ ...K(we.isPending),
+ onClick: () => we.mutate({
+ ids: $e,
+ action: "enabled"
+ }),
+ children: "启用"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ disabled: m,
+ ...K(we.isPending),
+ onClick: () => we.mutate({
+ ids: $e,
+ action: "paused"
+ }),
+ children: "暂停"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "danger",
+ size: "small",
+ disabled: m,
+ ...K(we.isPending),
+ onClick: () => void Le({
+ title: `删除 ${$e.length} 个关注来源`,
+ body: "将移除所选关注来源及其已抓取条目,媒体文件保留。",
+ confirmLabel: "删除所选来源",
+ danger: !0,
+ onConfirm: () => we.mutateAsync({
+ ids: $e,
+ action: "remove"
+ })
+ }),
+ children: "删除"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "ghost",
+ size: "small",
+ onClick: () => T(/* @__PURE__ */ new Set()),
+ children: "取消选择"
+ })
+ ]
+ }),
+ Y ? /* @__PURE__ */ (0, $.jsx)(C, {
+ follow: !0,
+ preferences: Ke,
+ onRowClick: (e) => _e(Number(e), !f.has(Number(e))),
+ children: /* @__PURE__ */ (0, $.jsxs)(pe, {
+ "aria-label": "关注来源",
+ size: "sm",
+ sortDescriptor: ze[0] ? {
+ column: ze[0].id,
+ direction: ze[0].desc ? "descending" : "ascending"
+ } : void 0,
+ onSortChange: (e) => qe.setSorting([{
+ id: String(e.column),
+ desc: e.direction === "descending"
+ }]),
+ children: [/* @__PURE__ */ (0, $.jsxs)(l, { children: [qe.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in v, n = Ze(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, $.jsx)(o, {
+ id: e.id,
+ allowsSorting: t,
+ isRowHeader: e.column.id === "source",
+ ...Ke.columnProps(e.id),
+ children: ({ sortDirection: r }) => /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [e.id === "select" ? n : t ? /* @__PURE__ */ (0, $.jsxs)("span", {
+ className: "flex items-center gap-0.5",
+ children: [n, /* @__PURE__ */ (0, $.jsx)("span", {
+ "data-sort-indicator": !0,
+ "data-direction": r || void 0,
+ children: /* @__PURE__ */ (0, $.jsx)(ee, {})
+ })]
+ }) : /* @__PURE__ */ (0, $.jsx)(p, { children: n }), /* @__PURE__ */ (0, $.jsx)(he, {
+ preferences: Ke,
+ id: e.id
+ })] })
+ }, e.id);
+ }), /* @__PURE__ */ (0, $.jsx)(o, {
+ id: "remaining-space",
+ "aria-label": "行空白区域",
+ "data-table-space": "",
+ width: Ke.spaceWidth,
+ minWidth: 0
+ })] }), /* @__PURE__ */ (0, $.jsx)(a, {
+ renderEmptyState: () => "这一页没有来源",
+ children: Ye.map((e) => /* @__PURE__ */ (0, $.jsxs)(s, {
+ id: e.id,
+ "data-follow-selected": e.getIsSelected() || void 0,
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, $.jsx)(c, { children: Ze(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, $.jsx)(c, { "data-table-space": "" })]
+ }, e.id))
+ })]
+ })
+ }) : /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(y, {
+ isSelected: Qe.all,
+ isIndeterminate: Qe.some,
+ onChange: (e) => be(Xe, e),
+ "aria-label": "全选本页来源",
+ children: "全选本页"
+ }), /* @__PURE__ */ (0, $.jsx)("div", {
+ className: "flex flex-col gap-3",
+ children: z.slice(X.start, X.end).map((e) => {
+ let t = String(e[0].author_key || e[0].id);
+ return /* @__PURE__ */ (0, $.jsx)(Kn, {
+ group: e,
+ name: Ee(e, j),
+ handlers: q,
+ selected: f,
+ open: !N.has(t),
+ onOpen: (e) => {
+ let n = new Set(N);
+ e ? n.delete(t) : n.add(t), P(n);
+ },
+ onToggleGroup: (t) => be(e.map((e) => e.id), t),
+ onToggle: _e
+ }, t);
+ })
+ })] }),
+ /* @__PURE__ */ (0, $.jsx)(te, {
+ label: "关注列表",
+ total: X.total,
+ pagination: {
+ pageIndex: X.page - 1,
+ pageSize: d
+ },
+ unit: Y ? "个来源" : "位创作者",
+ pageUnit: Y ? "条" : "位",
+ onChange: (e) => {
+ e.pageSize === d ? qe.setPageIndex(e.pageIndex) : qe.setPageSize(e.pageSize);
+ }
+ }),
+ M.new ? /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: "-mx-6 -mb-5 flex flex-wrap items-center gap-2 border-t border-separator-border rounded-b-2xl bg-card-footer px-6 py-4 max-sm:-mx-4 max-sm:px-4",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)("span", {
+ className: "mr-auto text-body-2-regular text-text-secondary",
+ children: `未看 ${zn(M.new)} · 已看 ${zn(M.seen)} · 已保存 ${zn(M.saved)} · 已忽略 ${zn(M.ignored)}`
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ onClick: D,
+ children: "去看更新"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ disabled: m,
+ ...K(De.isPending),
+ onClick: () => void Le({
+ title: "标记已看",
+ body: "将把当前未看作品标记为已看。",
+ confirmLabel: "标记已看",
+ onConfirm: () => De.mutateAsync("seen")
+ }),
+ children: "全部标记已看"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "secondary",
+ size: "small",
+ disabled: m,
+ ...K(De.isPending),
+ onClick: () => void Le({
+ title: "标记已忽略",
+ body: "将把当前未看作品标记为已忽略。",
+ confirmLabel: "标记已忽略",
+ onConfirm: () => De.mutateAsync("ignored")
+ }),
+ children: "全部忽略"
+ })
+ ]
+ }) : null
+ ]
+ }) : /* @__PURE__ */ (0, $.jsx)(ne, {
+ icon: _,
+ title: "还没有关注来源",
+ actions: /* @__PURE__ */ (0, $.jsx)(h, {
+ variant: "primary",
+ size: "small",
+ onClick: O,
+ children: "添加关注"
+ }),
+ children: "关注来源及其检查状态会显示在这里。"
+ });
+}
+// src/react/follow-manage/follow-manage-page.tsx
+var Jn = (e) => M.some(([t]) => t === e);
+function Yn({ term: e, figure: t, unit: n }) {
+ return /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: Oe({
+ padding: "none",
+ className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
+ }),
+ children: [/* @__PURE__ */ (0, $.jsx)("span", {
+ className: "text-body-medium text-text-secondary",
+ children: e
+ }), /* @__PURE__ */ (0, $.jsxs)("b", {
+ "data-follow-reading": "",
+ className: `flex min-w-0 flex-wrap items-baseline gap-x-1 tabular-nums text-text-primary ${t >= 1e6 ? "text-headline-medium" : t >= 1e5 ? "text-title-3-medium" : "text-title-1-medium"}`,
+ children: [/* @__PURE__ */ (0, $.jsx)("span", {
+ className: "min-w-0 wrap-anywhere",
+ children: t.toLocaleString()
+ }), /* @__PURE__ */ (0, $.jsx)("small", {
+ className: "whitespace-nowrap text-body-2-regular text-text-secondary",
+ children: ` ${n}`
+ })]
+ })]
+ });
+}
+function Xn(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, Q.useState)(Jn(e.tab) ? e.tab : "list"), [p, m] = (0, Q.useState)(Math.max(1, Math.floor(e.page) || 1)), [h, _] = (0, Q.useState)(() => St(e.sort, e.dir).sort), [v, y] = (0, Q.useState)(() => St(e.sort, e.dir).dir), [ee, b] = (0, Q.useState)(rt(e.layout) ? e.layout : "default"), [x, S] = (0, Q.useState)(ut(e.pageSize)), [te, C] = (0, Q.useState)(/* @__PURE__ */ new Set()), [w, T] = (0, Q.useState)(/* @__PURE__ */ new Set()), ne = Lt({
+ queryKey: j,
+ queryFn: ({ signal: e }) => qe(e)
+ }), E = Lt({
+ queryKey: A,
+ queryFn: ({ signal: e }) => Ke(e)
+ }), k = Lt({
+ queryKey: O,
+ queryFn: ({ signal: e }) => X(e)
+ }), N = ne.data || { sources: [] }, P = E.data || {
+ root: "",
+ providers: []
+ }, F = N.sources;
+ (0, Q.useEffect)(() => {
+ C((e) => {
+ let t = it(e, F);
+ return t.size === e.size ? e : t;
+ });
+ }, [F]);
+ let I = (e) => {
+ let n = e.sort ?? h, r = e.dir ?? v;
+ t({
+ tab: e.tab ?? c,
+ page: e.page ?? p,
+ sort: n === "checked" ? "" : n,
+ dir: r === ae[n] ? "" : r
+ });
+ }, re = tt(F), L = F.filter(nt).length, ie = F.filter((e) => e.enabled).length, R = (P.providers || []).filter((e) => e.requirement === "required" && !ze(e)).length, z = new Set((k.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ return /* @__PURE__ */ (0, $.jsxs)(Bt, { children: [
+ a ? /* @__PURE__ */ (0, $.jsx)(H, {
+ tone: "warning",
+ title: "本机只能浏览",
+ extra: s ? /* @__PURE__ */ (0, $.jsx)("p", {
+ className: "text-body-2-regular",
+ children: /* @__PURE__ */ (0, $.jsx)(D, {
+ href: s,
+ children: "前往写入端管理关注"
+ })
+ }) : void 0,
+ children: o
+ }) : null,
+ /* @__PURE__ */ (0, $.jsxs)("div", {
+ className: W,
+ "aria-label": "关注概览",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(Yn, {
+ term: "关注创作者",
+ figure: re.length,
+ unit: "位"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(Yn, {
+ term: "启用来源",
+ figure: ie,
+ unit: `/ ${F.length}`
+ }),
+ /* @__PURE__ */ (0, $.jsx)(Yn, {
+ term: "检查失败",
+ figure: L,
+ unit: "个来源"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(Yn, {
+ term: "未看更新",
+ figure: N.counts?.new || 0,
+ unit: "条"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(Yn, {
+ term: "JAV 订阅",
+ figure: z,
+ unit: "位"
+ }),
+ /* @__PURE__ */ (0, $.jsx)(Yn, {
+ term: "未看新作",
+ figure: k.data?.unread || 0,
+ unit: "条"
+ })
+ ]
+ }),
+ /* @__PURE__ */ (0, $.jsxs)(f, {
+ selectedKey: c,
+ onSelectionChange: (e) => {
+ let t = String(e);
+ Jn(t) && (C(/* @__PURE__ */ new Set()), T(/* @__PURE__ */ new Set()), l(t), I({ tab: t }));
+ },
+ className: "flex flex-col gap-6",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(Ht, {
+ "aria-label": "关注管理区域",
+ "data-section-nav": !0,
+ "data-section-items": !0,
+ className: "flex max-w-full flex-nowrap overflow-x-auto",
+ children: M.map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(d, {
+ id: e,
+ "data-pill-selected": c === e ? "" : void 0,
+ "data-pill-variant": "gray",
+ className: "cursor-pointer whitespace-nowrap",
+ children: t
+ }, e))
+ }),
+ /* @__PURE__ */ (0, $.jsxs)(u, {
+ id: "list",
+ className: "flex flex-col gap-4",
+ children: [/* @__PURE__ */ (0, $.jsx)(Ln, {
+ readOnly: a,
+ toast: r,
+ onAdd: () => {
+ l("add"), I({ tab: "add" });
+ },
+ selection: {
+ ids: w,
+ onChange: T,
+ onActivate: () => C(/* @__PURE__ */ new Set())
+ }
+ }), /* @__PURE__ */ (0, $.jsx)(qn, {
+ data: N,
+ sort: h,
+ dir: v,
+ page: p,
+ layout: ee,
+ pageSize: x,
+ selected: te,
+ readOnly: a,
+ toast: r,
+ openFollow: i,
+ onAdd: () => {
+ l("add"), I({ tab: "add" });
+ },
+ onSort: (e, t) => {
+ _(e), y(t), m(1), I({
+ sort: e,
+ dir: t,
+ page: 1
+ });
+ },
+ onPage: (e) => {
+ m(e), I({ page: e });
+ },
+ onSelected: (e) => {
+ C(e), T(/* @__PURE__ */ new Set());
+ },
+ onLayout: (e) => {
+ b(e), m(1), n({ layout: e }), I({ page: 1 });
+ },
+ onPageSize: (e) => {
+ S(e), m(1), n({ pageSize: e }), I({ page: 1 });
+ }
+ })]
+ }),
+ /* @__PURE__ */ (0, $.jsxs)(u, {
+ id: "add",
+ className: "flex flex-col gap-8",
+ children: [
+ /* @__PURE__ */ (0, $.jsx)(on, {
+ data: N,
+ credentials: P,
+ readOnly: a,
+ toast: r
+ }),
+ /* @__PURE__ */ (0, $.jsx)(dn, {
+ readOnly: a,
+ toast: r,
+ onAdded: () => {
+ k.refetch(), l("list"), I({ tab: "list" });
+ }
+ }),
+ /* @__PURE__ */ (0, $.jsx)(wn, {
+ groups: N.author_aliases || [],
+ readOnly: a,
+ toast: r,
+ suggestions: N.alias_suggestions || [],
+ sources: N.sources
+ })
+ ]
+ }),
+ /* @__PURE__ */ (0, $.jsx)(u, {
+ id: "tags",
+ className: "flex flex-col gap-4",
+ children: /* @__PURE__ */ (0, $.jsx)(_e, { scope: "online" })
+ })
+ ]
+ }),
+ /* @__PURE__ */ (0, $.jsx)("div", { children: /* @__PURE__ */ (0, $.jsxs)(g, {
+ variant: "secondary",
+ href: "/settings/subscriptions",
+ children: ["来源与订阅设置", R ? `(${R})` : ""]
+ }) })
+ ] });
+}
+export { Xn as FollowManagePage };
+
+//# debugId=7d73059a-d68c-48be-a9be-0e9c2ebba927
\ No newline at end of file
diff --git a/web/dist/peach-app.follow-manage-page-CePb_ntJ.js b/web/dist/peach-app.follow-manage-page-CePb_ntJ.js
deleted file mode 100644
index 97c668b42..000000000
--- a/web/dist/peach-app.follow-manage-page-CePb_ntJ.js
+++ /dev/null
@@ -1,1917 +0,0 @@
-(function() {
- try {
- var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "674b25f6-536a-4708-aaf8-bcd20af2a392", e._sentryDebugIdIdentifier = "sentry-dbid-674b25f6-536a-4708-aaf8-bcd20af2a392");
- } catch {}
-})();
-import { createPaginatedRowModel as e } from "./peach-app.createPaginatedRowModel-ClHnhG_T.js";
-import { createSortedRowModel as t, useTableSelection as n } from "./peach-app.use-table-selection-BSdXI_Nc.js";
-import { $2ec61d1d4f780267$export$a8a3e93435678ff9 as r, $542a13ca2fa5b484$export$5b6b19405a83ff9d as i, $76d00c5a4edb230a$export$76ccd210b9029917 as a, $76d00c5a4edb230a$export$816b5d811295e6bc as o, $76d00c5a4edb230a$export$b59bdbef9ce70de2 as s, $76d00c5a4edb230a$export$f6f0c3fe4ec306ea as c, $76d00c5a4edb230a$export$f850895b287ef28e as l, $b4f18e3395fe64d7$export$3d96ec278d3efce4 as u, $b4f18e3395fe64d7$export$3e41faf802a29e71 as d, $b4f18e3395fe64d7$export$b2539bed5023c21c as f, $ea3928288112382f$export$439d29a4e110a164 as p, $l as m, Button as h, ButtonLink as g, Bx as _, Checkbox as v, ChevronSortDown as ee, Chip as y, DataTableFooter as b, DataTableFrame as te, DataTableSort as x, EmptyFocusButton as S, EmptyState as C, ErrorText as w, ExternalLink as T, FEEDS_KEY as ne, FOLLOW_CREDENTIALS_KEY as re, FOLLOW_MANAGE_KEY as E, FOLLOW_MANAGE_NAV as D, FOLLOW_RESOLVE_KEY as O, FieldLabel as k, Help as A, Input as j, LoadingDots as M, M6 as N, MENU_ITEM as P, MENU_ITEM_INTERACTIVE as F, MENU_POPOVER_SURFACE as I, ModalFrame as L, Note as R, P7 as ie, SORT_DEFAULT_DIR as z, STAT_STRIP_SIX as B, SelectionDock as V, SelectionPopover as H, SiteLabel as ae, Switch as oe, Table as se, TableColumnControls as ce, TableColumnResizer as le, TableSelectionHeader as ue, TagManager as U, TaskProgress as W, Wt as de, Xf as fe, __toESM as pe, addAlias as me, addSource as he, avatarInner as G, busyProps as K, cardClass as ge, checkFeeds as _e, columnVisibilityFeature as ve, composingKey as q, confirmModal as ye, createColumnHelper as be, credentialDone as xe, cx as J, dZ as Y, errorHeadline as Se, errorMessage as X, feedIntervalText as Ce, fetchCredentials as we, fetchFeeds as Te, fetchFollow as Ee, fetchResolveJob as De, fetchSuggestions as Oe, flexRender as ke, followFeedByName as Ae, followFeedEntity as je, followSuggestKey as Me, groupByAuthor as Ne, isBroken as Pe, isLayout as Fe, keepSelected as Ie, localTime as Le, lookupFeedActor as Re, mapLimit as ze, pageSizeOf as Be, pageWindow as Ve, pv as He, queryClient as Ue, reloadFollowManage as We, removeAlias as Ge, removeFeed as Ke, renameAliasGroup as qe, require_jsx_runtime as Je, require_react as Ye, resolveFollowSort as Xe, rowPaginationFeature as Ze, rowSelectionFeature as Qe, rowSortingFeature as $e, setFeedEnabled as et, startCheck as tt, startResolve as nt, tableFeatures as rt, useAction as it, useBackgroundJob as at, useMutation as ot, useQuery as st, useTable as ct, useTablePreferences as lt } from "./peach-app.js";
-import { Page as ut } from "./peach-app.page-QAncjzM1.js";
-import { LEGACY_AVATAR_IMG as dt } from "./peach-app.legacy-avatar-NSITxLRS.js";
-import { PillAriaTabList as ft } from "./peach-app.pill-aria-tab-list-BMY1ZEv1.js";
-import { AuthorAvatar as pt, SourceIcon as mt } from "./peach-app.source-view-DalWfDkm.js";
-import { SourceList as ht } from "./peach-app.source-list-ri5fRK2E.js";
-// src/react/follow-manage/add-source.tsx
-var Z = /* @__PURE__ */ pe(Ye(), 1), Q = Je(), gt = J(P, F, "text-body-2-medium"), _t = "粘贴来源链接,或输入创作者名、id…", vt = "添加创作者关注", yt = "查找中(首次按名字查要下载创作者索引,可能几十秒)", bt = "识别中", xt = "站内没有查到来源", St = "/settings/subscriptions", Ct = (e, t) => `${e}:${t.url}`;
-function wt({ field: e, menu: t, options: n, active: r, busy: a, onPick: o, onClose: s }) {
- return (0, Z.useEffect)(() => {
- t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, Q.jsxs)(i, {
- ref: t,
- triggerRef: e,
- isOpen: !0,
- isNonModal: !0,
- shouldFlip: !1,
- onOpenChange: (e) => {
- e || s();
- },
- placement: "bottom start",
- offset: 4,
- "aria-label": "来源建议",
- className: J(I, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
- children: [a && !n.length ? /* @__PURE__ */ (0, Q.jsx)("div", {
- className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, Q.jsx)(M, { label: "正在查找建议" })
- }) : null, n.map((e, t) => /* @__PURE__ */ (0, Q.jsxs)(Z.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, Q.jsx)("div", {
- className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
- children: e.group
- }), /* @__PURE__ */ (0, Q.jsxs)("button", {
- type: "button",
- "aria-current": t === r ? "true" : void 0,
- className: t === r ? J(gt, "bg-background-secondary-default") : gt,
- onMouseDown: (e) => e.preventDefault(),
- onClick: () => o(e.value),
- children: [
- /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "min-w-0 grow truncate text-left",
- children: e.value
- }),
- e.matched ? /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "shrink-0 text-caption-1-regular text-text-tertiary",
- children: e.matched
- }) : null,
- e.n ? /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "shrink-0 text-caption-1-regular tabular-nums text-text-tertiary",
- children: e.n.toLocaleString()
- }) : null
- ]
- })] }, `${e.group}-${e.value}`))]
- });
-}
-function Tt({ credentials: e, hidden: t, onHidden: n }) {
- let r = (e.providers || []).filter((e) => e.followable), i = r.filter((e) => !t.has(e.provider_label)).length, a = i === r.length ? "全部来源" : `${i}/${r.length} 个来源`;
- return /* @__PURE__ */ (0, Q.jsx)(H, {
- label: "来源筛选",
- triggerLabel: a,
- leadingIcon: m,
- empty: "暂无可用来源",
- items: r.map((e) => ({
- id: e.provider_label,
- selected: !t.has(e.provider_label),
- label: /* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, Q.jsx)(mt, { provider: e.provider }), e.provider_label]
- })
- })),
- onChange: (e, r) => {
- let i = new Set(t);
- r ? i.delete(e) : i.add(e), n(i);
- },
- actions: [
- {
- label: "全选",
- disabled: !r.length,
- onPress: () => n(/* @__PURE__ */ new Set())
- },
- {
- label: "全不选",
- disabled: !r.length,
- onPress: () => n(new Set(r.map((e) => e.provider_label)))
- },
- {
- label: "凭据设置",
- href: St
- }
- ]
- });
-}
-function Et({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
- if (e.kind === "error") return /* @__PURE__ */ (0, Q.jsx)(R, {
- 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, Q.jsxs)("div", {
- className: ge({
- variant: "outlined",
- padding: "none",
- className: "flex flex-col gap-2 p-4"
- }),
- children: [
- /* @__PURE__ */ (0, Q.jsx)("b", {
- className: "text-body-medium text-text-primary",
- children: e.line
- }),
- a.length ? a.map((e) => {
- let n = Ct(t, e);
- return /* @__PURE__ */ (0, Q.jsx)(v, {
- isSelected: !e.known && !r.has(n),
- isDisabled: e.known,
- onChange: (e) => i(n, e),
- children: /* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "flex min-w-0 flex-wrap items-center gap-1.5",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(mt, { provider: e.provider }),
- /* @__PURE__ */ (0, Q.jsx)("b", {
- className: "text-body-medium",
- children: e.provider_label
- }),
- /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "min-w-0 break-words",
- children: e.label
- }),
- /* @__PURE__ */ (0, Q.jsx)("small", {
- className: "text-caption-1-regular text-text-secondary",
- children: e.known ? "已经关注" : e.evidence
- })
- ]
- })
- }, n);
- }) : /* @__PURE__ */ (0, Q.jsx)(A, { children: xt }),
- (e.external_searches || []).map((e) => /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)("small", {
- className: "text-caption-1-regular text-text-secondary",
- children: e.evidence
- }), /* @__PURE__ */ (0, Q.jsx)(T, {
- href: e.url,
- children: `${e.label}:${e.query}`
- })]
- }, e.url)),
- o.length ? /* @__PURE__ */ (0, Q.jsx)(A, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
- ]
- });
-}
-function Dt({ data: e, credentials: t, readOnly: n, toast: r }) {
- let [i, a] = (0, Z.useState)(""), [o, s] = (0, Z.useState)(!1), [c, l] = (0, Z.useState)(""), [u, d] = (0, Z.useState)(""), [f, p] = (0, Z.useState)(!1), [m, g] = (0, Z.useState)(null), [_, v] = (0, Z.useState)(-1), ee = (0, Z.useRef)(null), y = (0, Z.useRef)(null), [b, te] = (0, Z.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, Z.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, Z.useState)(""), [T, ne] = (0, Z.useState)(0);
- (0, Z.useEffect)(() => {
- let e = i.trim();
- if (o || !e || e.includes("/")) {
- d("");
- return;
- }
- let t = setTimeout(() => d(e), 250);
- return () => clearTimeout(t);
- }, [i, o]);
- let re = st({
- queryKey: Me(u),
- queryFn: ({ signal: e }) => Oe(u, e),
- enabled: u.length > 0 && f && !o && m !== i
- }), E = (0, Z.useMemo)(() => (re.data?.groups || []).flatMap((e) => e.items.map((t) => ({
- value: t.value,
- matched: t.matched || "",
- n: t.n || 0,
- group: e.label
- }))), [re.data]), { job: D, running: A, outcome: M, start: N, dismiss: P } = at({
- queryKey: O,
- queryFn: ({ signal: e }) => De(e),
- start: (e) => nt([e]),
- onStarted: () => S(/* @__PURE__ */ new Set()),
- onError: (e) => w(X(e)),
- onFinish: (e) => {
- e.status === "failed" && w(e.error || "查找失败");
- }
- }), F = (e) => {
- let t = e.trim();
- !t || n || o || A || N.isPending || (w(""), v(-1), l(t), a(t), d(""), g(t), N.mutate(t));
- }, I = re.isFetching, L = f && !o && m !== i && (E.length > 0 || I), ie = () => {
- v(-1), g(i);
- }, z = (e) => {
- if (!(o || q(e.nativeEvent))) {
- if (e.key === "Escape" && L) ie();
- else if (e.key === "ArrowDown" || e.key === "ArrowUp") {
- if (!E.length) return;
- if (e.preventDefault(), !L) {
- g(null);
- return;
- }
- let t = e.key === "ArrowDown" ? 1 : -1;
- v((e) => {
- let n = e + t;
- return n < 0 ? E.length - 1 : n >= E.length ? 0 : n;
- });
- } else e.key === "Enter" && (e.preventDefault(), F(E[_]?.value || i));
- }
- }, B = M?.results || [], V = B.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !b.has(e.provider_label || "")).map((e) => ({
- candidate: e,
- key: Ct(t, e)
- })).filter((e) => !x.has(e.key))), H = ot({
- mutationFn: async (e) => {
- let t = [], n = [];
- ne(0);
- for (let r of e) {
- try {
- let e = await he(r.candidate);
- n.push(e.source);
- } catch (e) {
- t.push(`${r.candidate.label}:${X(e)}`);
- }
- ne((e) => e + 1);
- }
- if (n.length) try {
- await tt(n);
- } catch (e) {
- t.push(X(e));
- }
- return {
- failures: t,
- sources: n
- };
- },
- onSuccess: (e) => {
- We(), e.failures.length ? w(e.failures.join(";")) : (w(""), P(), r(`已添加 ${e.sources.length} 个关注来源`));
- },
- onError: (e) => w(X(e))
- }), ae = e.suggestions || [], oe = !c.includes("/");
- return /* @__PURE__ */ (0, Q.jsxs)("section", {
- "aria-label": vt,
- className: ge({
- padding: "none",
- className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
- }),
- children: [
- /* @__PURE__ */ (0, Q.jsx)("h3", {
- className: "text-title-2-medium text-text-primary",
- children: vt
- }),
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-wrap items-end gap-2",
- children: [
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- ref: ee,
- className: "min-w-64 grow",
- onFocus: () => p(!0),
- onBlur: (e) => {
- let t = e.relatedTarget;
- !e.currentTarget.contains(t) && !y.current?.contains(t) && p(!1);
- },
- children: [/* @__PURE__ */ (0, Q.jsx)(j, {
- "aria-label": "来源链接、名字或 id",
- placeholder: _t,
- value: i,
- leadingIcon: He,
- enterKeyHint: "search",
- isDisabled: n,
- onChange: a,
- onCompositionStart: () => {
- s(!0), v(-1);
- },
- onCompositionEnd: (e) => {
- s(!1), a(e.currentTarget.value);
- },
- onKeyDown: z
- }), L ? /* @__PURE__ */ (0, Q.jsx)(wt, {
- field: ee,
- menu: y,
- options: E,
- active: _,
- busy: I,
- onPick: F,
- onClose: ie
- }) : null]
- }),
- /* @__PURE__ */ (0, Q.jsx)(Tt, {
- credentials: t,
- hidden: b,
- onHidden: te
- }),
- /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "primary",
- disabled: n || !i.trim(),
- ...K(A || N.isPending),
- onClick: () => F(i),
- children: "查找"
- })
- ]
- }),
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- "aria-live": "polite",
- className: "flex flex-col gap-3 empty:hidden",
- children: [A || N.isPending ? /* @__PURE__ */ (0, Q.jsx)(W, {
- embedded: !0,
- label: D?.message || (D?.total ? `查找中:${D.checked || 0}/${D.total}` : oe ? yt : bt),
- value: D?.checked,
- total: D?.total
- }) : null, C ? /* @__PURE__ */ (0, Q.jsx)(R, {
- tone: "error",
- title: "这一次没有完成",
- children: C
- }) : null]
- }),
- B.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col gap-3",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(k, { children: "查找结果" }),
- B.map((e, t) => /* @__PURE__ */ (0, Q.jsx)(Et, {
- row: e,
- at: t,
- hidden: b,
- unpicked: x,
- onPick: (e, t) => {
- let n = new Set(x);
- t ? n.delete(e) : n.add(e), S(n);
- }
- }, `${e.line}-${t}`)),
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-wrap items-center gap-2",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- size: "small",
- onClick: () => P(),
- children: "关闭"
- }),
- /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "primary",
- size: "small",
- disabled: n || !V.length,
- ...K(H.isPending),
- onClick: () => H.mutate(V),
- children: `添加选中(${V.length})`
- }),
- H.isPending ? /* @__PURE__ */ (0, Q.jsx)("span", {
- role: "status",
- className: "text-body-2-regular text-text-secondary",
- children: `添加中… ${T}/${V.length}`
- }) : null
- ]
- })
- ]
- }) : null,
- ae.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
- className: "text-body-2-regular text-text-secondary",
- children: "猜你喜欢"
- }), ae.map((e) => /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- size: "small",
- disabled: n,
- title: `浏览历史里出现 ${e.visits} 次${e.origin ? ` · ${e.origin}` : ""}`,
- onClick: () => F(e.name),
- children: e.name
- }, e.name))]
- }) : null
- ]
- });
-}
-// src/react/follow-manage/add-feed.tsx
-var Ot = "输入女优名,到 JavDB 找她的演员页", kt = "添加 JAV 订阅";
-function At(e, t) {
- let n = /* @__PURE__ */ new Map();
- for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
- if (n.size > 1) return {
- text: `所勾的卡分属数据库里不同的人:${[...n.values()].join("、")},先去合并再订`,
- blocked: !0
- };
- let [r] = n.values();
- return r ? {
- text: `会登记到「${r}」名下`,
- blocked: !1
- } : e.known ? {
- text: `会登记到数据库里的「${e.known.name}」名下`,
- blocked: !1
- } : {
- text: `数据库里还没有「${e.q}」,会新建一位`,
- blocked: !1
- };
-}
-function jt({ card: e, picked: t, onPick: n }) {
- return /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(v, {
- isSelected: t,
- onChange: n,
- children: /* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "flex min-w-0 flex-wrap items-center gap-1.5",
- children: [
- /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "min-w-0 break-words",
- children: e.names.join("、")
- }),
- e.record ? /* @__PURE__ */ (0, Q.jsx)(y, {
- variant: "caption",
- color: "neutral",
- children: e.record
- }) : null,
- e.held_by ? /* @__PURE__ */ (0, Q.jsx)("small", {
- className: "text-caption-1-regular text-text-secondary",
- children: `已在「${e.held_by.name}」名下`
- }) : null
- ]
- })
- }), /* @__PURE__ */ (0, Q.jsx)(T, {
- href: e.url,
- children: e.id
- })]
- });
-}
-function Mt({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, Z.useState)(""), [a, o] = (0, Z.useState)(null), [s, c] = (0, Z.useState)(/* @__PURE__ */ new Set()), l = it(), u = () => {
- let t = r.trim();
- t && !e && l.run("lookup", (e) => Re(t, e), (e) => {
- o(e), c(new Set(e.suggested));
- });
- }, d = (e) => {
- e.key === "Enter" && !q(e.nativeEvent) && (e.preventDefault(), u());
- }, f = () => {
- o(null), c(/* @__PURE__ */ new Set()), l.setError("");
- }, p = () => {
- a && l.run("follow", (e) => Ae(a.q, [...s], e), (e) => {
- t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
- });
- }, m = () => {
- let e = a?.known;
- e && l.run("known", (t) => je(e.id, t), () => {
- t(`已订阅「${e.name}」的新作`), i(""), f(), n();
- });
- }, g = a ? At(a, s) : null, _ = a && !a.candidates.length && a.known?.subscribable ? a.known : null;
- return /* @__PURE__ */ (0, Q.jsxs)("section", {
- "aria-label": kt,
- className: ge({
- padding: "none",
- className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
- }),
- children: [
- /* @__PURE__ */ (0, Q.jsx)("h3", {
- className: "text-title-2-medium text-text-primary",
- children: kt
- }),
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-wrap items-end gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)("div", {
- className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, Q.jsx)(j, {
- "aria-label": "女优名",
- placeholder: Ot,
- value: r,
- leadingIcon: He,
- enterKeyHint: "search",
- isDisabled: e,
- onChange: i,
- onKeyDown: d
- })
- }), /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "primary",
- disabled: e || !r.trim(),
- ...K(l.busy === "lookup"),
- onClick: u,
- children: "查找"
- })]
- }),
- l.error ? /* @__PURE__ */ (0, Q.jsx)(R, {
- tone: "error",
- title: "这一次没有完成",
- children: l.error
- }) : null,
- a ? /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col gap-3",
- children: [
- a.unavailable ? /* @__PURE__ */ (0, Q.jsx)(R, {
- tone: "warning",
- title: "JavDB 这一次没有搜成",
- children: a.unavailable
- }) : null,
- /* @__PURE__ */ (0, Q.jsx)(k, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, Q.jsx)(jt, {
- card: e,
- picked: s.has(e.id),
- onPick: (t) => c((n) => {
- let r = new Set(n);
- return t ? r.add(e.id) : r.delete(e.id), r;
- })
- }, e.id)) : /* @__PURE__ */ (0, Q.jsx)(A, { children: a.unavailable ? "这一次没有拿到演员卡。" : "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, Q.jsx)(A, {
- role: "status",
- children: s.size ? g.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
- }) : null,
- _ ? /* @__PURE__ */ (0, Q.jsx)(A, {
- role: "status",
- children: _.following ? `数据库里的「${_.name}」已经在订阅新作。` : `数据库里的「${_.name}」已有 JavDB 或 DMM 编号,可以直接订阅。`
- }) : null,
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-wrap items-center gap-2",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- size: "small",
- onClick: f,
- children: "关闭"
- }),
- a.candidates.length ? /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "primary",
- size: "small",
- disabled: e || !s.size || g.blocked,
- ...K(l.busy === "follow"),
- onClick: p,
- children: `添加订阅(${s.size})`
- }) : null,
- _ && !_.following ? /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "primary",
- size: "small",
- disabled: e,
- ...K(l.busy === "known"),
- onClick: m,
- children: `订阅「${_.name}」`
- }) : null
- ]
- })
- ]
- }) : null
- ]
- });
-}
-// src/react/follow-manage/alias-rename-dialog.tsx
-function Nt({ group: e, close: t, receipt: n }) {
- return /* @__PURE__ */ (0, Q.jsx)(L, {
- isOpen: !!e,
- onOpenChange: (e) => {
- e || t();
- },
- width: "form",
- label: "修改统一名称",
- children: e ? /* @__PURE__ */ (0, Q.jsx)(Pt, {
- group: e,
- close: t,
- receipt: n
- }, e.canonical_key) : null
- });
-}
-function Pt({ group: e, close: t, receipt: n }) {
- let [i, a] = (0, Z.useState)(e.canonical_name), o = it();
- return /* @__PURE__ */ (0, Q.jsxs)("form", {
- onSubmit: (r) => {
- r.preventDefault(), i.trim() && i.trim() !== e.canonical_name && o.run("rename", (t) => qe(e.canonical_key, i.trim(), t), () => {
- We(), n(`已把统一名称改为 ${i.trim()}`), t();
- });
- },
- className: "flex min-h-0 flex-col gap-4 p-5",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(r, {
- slot: "title",
- className: "text-title-2-semibold text-text-primary",
- children: "修改统一名称"
- }),
- /* @__PURE__ */ (0, Q.jsxs)("p", {
- className: "text-body-2-regular wrap-anywhere text-text-secondary",
- children: ["当前名称:", e.canonical_name]
- }),
- /* @__PURE__ */ (0, Q.jsx)(j, {
- "aria-label": "统一名称",
- autoFocus: !0,
- value: i,
- onChange: a
- }),
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(k, { children: "选择已有别名" }), /* @__PURE__ */ (0, Q.jsx)("div", {
- className: "flex flex-wrap gap-2",
- children: e.aliases.map((e) => /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- size: "small",
- onClick: () => a(e.name),
- children: e.name
- }, e.key))
- })]
- }),
- /* @__PURE__ */ (0, Q.jsx)("p", {
- className: "text-body-2-regular text-text-secondary",
- children: "原名称保留为别名,关联档案和作品署名会同步更新。"
- }),
- o.error ? /* @__PURE__ */ (0, Q.jsx)(R, {
- tone: "error",
- children: o.error
- }) : null,
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-wrap justify-end gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- onClick: t,
- children: "取消"
- }), /* @__PURE__ */ (0, Q.jsx)(h, {
- type: "submit",
- variant: "primary",
- disabled: !i.trim() || i.trim() === e.canonical_name,
- ...K(!!o.busy),
- children: "修改统一名称"
- })]
- })
- ]
- });
-}
-// src/react/follow-manage/alias-manager.tsx
-var Ft = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, It = rt({
- rowSelectionFeature: Qe,
- rowSortingFeature: $e,
- rowPaginationFeature: Ze,
- columnVisibilityFeature: ve,
- sortedRowModel: t(),
- paginatedRowModel: e()
-}), Lt = It, Rt = {
- id: "select",
- label: "选择",
- width: 48,
- min: 48,
- max: 48,
- required: !0
-}, zt = {
- id: "canonical",
- label: "统一名称",
- width: 280,
- min: 240,
- required: !0,
- flex: !0
-}, Bt = [
- Rt,
- zt,
- {
- id: "alias",
- label: "平台别名",
- width: 240
- },
- {
- id: "evidence",
- label: "依据",
- width: 320
- },
- {
- id: "actions",
- label: "操作",
- width: 112
- }
-], Vt = [
- Rt,
- zt,
- {
- id: "aliases",
- label: "平台别名",
- width: 400
- },
- {
- id: "actions",
- label: "操作",
- width: 184,
- min: 168
- }
-], Ht = (e) => e.alias;
-function Ut(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 Wt({ sources: e, name: t, canonicalKey: n }) {
- return /* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(pt, {
- group: Ut(e, t, n),
- name: t
- }), /* @__PURE__ */ (0, Q.jsx)("b", {
- className: "text-body-medium",
- children: t
- })]
- });
-}
-function Gt({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u }) {
- let d = lt("alias-suggestions", Bt), f = lt("alias-saved", Vt), [p, m] = (0, Z.useState)(null), [g, _] = (0, Z.useState)({}), [y, T] = (0, Z.useState)({}), ne = n(() => _({})), re = n(() => T({})), [E, D] = (0, Z.useState)([]), [O, A] = (0, Z.useState)([]), [M, N] = (0, Z.useState)({
- pageIndex: 0,
- pageSize: 20
- }), [P, F] = (0, Z.useState)({
- pageIndex: 0,
- pageSize: 20
- }), I = {
- ...M,
- pageIndex: Math.min(M.pageIndex, Math.max(0, Math.ceil(t.length / M.pageSize) - 1))
- }, L = {
- ...P,
- pageIndex: Math.min(P.pageIndex, Math.max(0, Math.ceil(e.length / P.pageSize) - 1))
- }, [R, z] = (0, Z.useState)(""), [B, H] = (0, Z.useState)(""), [ae, oe] = (0, Z.useState)(""), U = ot({
- mutationFn: async (e) => {
- let t = 0;
- for (let n of e) {
- try {
- await me(n.canonical, n.alias);
- } catch (n) {
- throw t && We(), Error(`${X(n)}(还有 ${e.length - t} 组没有合并)`);
- }
- t += 1;
- }
- return {
- done: t,
- items: e
- };
- },
- onSuccess: (e) => {
- z(""), _({}), We(), u(`已合并 ${e.done} 组创作者别名`);
- },
- onError: (e) => z(X(e))
- }), W = ot({
- mutationFn: (e) => me(e.canonical, e.alias),
- onSuccess: () => {
- z(""), H(""), oe(""), We(), u("已保存创作者别名");
- },
- onError: (e) => z(X(e))
- }), de = ot({
- mutationFn: async (e) => {
- let t = typeof e == "string" ? [e] : e, n = 0;
- try {
- for (let e of t) await Ge(e), n += 1;
- } catch (e) {
- throw Error(`${X(e)}(已移除 ${n} 个别名,还有 ${t.length - n} 个未移除)`);
- } finally {
- We();
- }
- },
- onSuccess: () => {
- z(""), T({}), u("已移除创作者别名");
- },
- onError: (e) => z(X(e))
- }), pe = (e, t) => {
- e.length && ye({
- title: t ? "合并全部创作者别名" : "合并所选创作者别名",
- body: `将合并以下 ${e.length} 组创作者:${e.map((e) => `「${e.alias}」归入「${e.canonical}」`).join(";")}。`,
- confirmLabel: t ? "合并全部别名" : "合并所选别名",
- onConfirm: () => U.mutateAsync(e)
- });
- }, he = (e) => void ye({
- title: "移除创作者别名",
- body: Ft(e),
- confirmLabel: "移除创作者别名",
- onConfirm: () => de.mutateAsync(e)
- }), G = (0, Z.useRef)({
- sources: r,
- readOnly: i,
- merging: U.isPending,
- removing: de.isPending,
- merge: pe,
- remove: he,
- rename: m
- });
- G.current = {
- sources: r,
- readOnly: i,
- merging: U.isPending,
- removing: de.isPending,
- merge: pe,
- remove: he,
- rename: m
- };
- let _e = (0, Z.useMemo)(() => {
- let e = be();
- return e.columns([
- e.display({
- id: "select",
- header: (e) => /* @__PURE__ */ (0, Q.jsx)(ue, {
- table: e.table,
- label: "全选待合并别名"
- }),
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)(v, {
- slot: null,
- isSelected: e.row.getIsSelected(),
- "aria-label": `选择别名 ${e.row.original.alias},归入 ${e.row.original.canonical}`,
- onChange: (t) => e.row.toggleSelected(t)
- })
- }),
- e.accessor("canonical", {
- header: "统一名称",
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)(Wt, {
- sources: G.current.sources,
- name: e.getValue()
- })
- }),
- e.accessor("alias", {
- header: "平台别名",
- cell: (e) => e.getValue()
- }),
- e.accessor("evidence", {
- header: "依据",
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "text-body-2-regular text-text-secondary",
- children: e.getValue()
- })
- }),
- e.display({
- id: "actions",
- header: "操作",
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- size: "small",
- disabled: G.current.readOnly,
- ...K(G.current.merging),
- onClick: () => G.current.merge([e.row.original], !1),
- children: "合并"
- })
- })
- ]);
- }, []), ve = (0, Z.useMemo)(() => {
- let e = be();
- return e.columns([
- e.display({
- id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, Q.jsx)(ue, {
- table: e,
- label: "全选已保存别名"
- }),
- cell: ({ row: e }) => /* @__PURE__ */ (0, Q.jsx)(v, {
- slot: null,
- "aria-label": `选择已保存别名 ${e.original.canonical_name}`,
- isSelected: e.getIsSelected(),
- onChange: (t) => e.toggleSelected(t)
- })
- }),
- e.accessor("canonical_name", {
- id: "canonical",
- header: "统一名称",
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)(Wt, {
- sources: G.current.sources,
- name: e.getValue(),
- canonicalKey: e.row.original.canonical_key
- })
- }),
- e.accessor("aliases", {
- header: "平台别名",
- sortFn: (e, t) => e.original.aliases.map((e) => e.name).join(" ").localeCompare(t.original.aliases.map((e) => e.name).join(" "), "zh-CN"),
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "flex flex-wrap items-center gap-1.5",
- children: e.getValue().map((e) => /* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",
- children: [e.name, /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "ghost",
- size: "xs",
- iconOnly: !0,
- leadingIcon: ie,
- "aria-label": `移除别名 ${e.name}`,
- disabled: G.current.readOnly,
- ...K(G.current.removing),
- onClick: () => G.current.remove(e.name)
- })]
- }, e.key))
- })
- }),
- e.display({
- id: "actions",
- header: "操作",
- cell: ({ row: e }) => /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- size: "small",
- disabled: G.current.readOnly,
- "aria-label": `修改 ${e.original.canonical_name} 的统一名称`,
- onClick: () => G.current.rename(e.original),
- children: "修改统一名称"
- })
- })
- ]);
- }, []), q = ct({
- features: It,
- data: t,
- columns: _e,
- getRowId: Ht,
- state: {
- rowSelection: g,
- sorting: E,
- pagination: I,
- columnVisibility: d.visibility
- },
- onColumnVisibilityChange: d.change,
- onRowSelectionChange: (e) => {
- ne(), _(e);
- },
- onSortingChange: (e) => {
- D(e), N((e) => ({
- ...e,
- pageIndex: 0
- }));
- },
- onPaginationChange: N,
- enableRowSelection: !0
- }), xe = ct({
- features: Lt,
- data: e,
- columns: ve,
- getRowId: (e) => e.canonical_key,
- state: {
- rowSelection: y,
- sorting: O,
- pagination: L,
- columnVisibility: f.visibility
- },
- onColumnVisibilityChange: f.change,
- onRowSelectionChange: (e) => {
- re(), T(e);
- },
- enableRowSelection: !0,
- onSortingChange: (e) => {
- A(e), F((e) => ({
- ...e,
- pageIndex: 0
- }));
- },
- onPaginationChange: F
- }), J = q.getSelectedRowModel().rows.map((e) => e.original), Y = xe.getSelectedRowModel().rows.flatMap((e) => e.original.aliases.map((e) => e.name)), Se = K(U.isPending);
- return /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: ge({
- padding: "none",
- className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
- }),
- children: [
- /* @__PURE__ */ (0, Q.jsx)("h3", {
- className: "text-title-2-medium text-text-primary",
- children: "创作者别名"
- }),
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(k, { children: "手动添加别名" }), /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-wrap items-end gap-2",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(j, {
- "aria-label": "统一名称",
- placeholder: "在 Peach 中统一显示的名称",
- value: B,
- onChange: H,
- isDisabled: i,
- className: "w-56"
- }),
- /* @__PURE__ */ (0, Q.jsx)(j, {
- "aria-label": "平台别名",
- placeholder: "平台别名",
- value: ae,
- onChange: oe,
- isDisabled: i,
- className: "w-56"
- }),
- /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "primary",
- disabled: i || !B.trim() || !ae.trim(),
- ...K(W.isPending),
- onClick: () => W.mutate({
- canonical: B.trim(),
- alias: ae.trim()
- }),
- children: "保存别名"
- })
- ]
- })]
- }),
- R ? /* @__PURE__ */ (0, Q.jsx)(w, { children: R }) : null,
- t.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col gap-2",
- children: [
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- "data-responsive-toolbar": "",
- children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
- "data-toolbar-heading": "",
- children: [/* @__PURE__ */ (0, Q.jsx)(k, { children: "待合并" }), /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "text-body-2-regular text-text-secondary",
- children: `${t.length} 组`
- })]
- }), /* @__PURE__ */ (0, Q.jsxs)("div", {
- "data-toolbar-actions": "",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "primary",
- size: "small",
- disabled: i,
- ...Se,
- onClick: () => pe(t, !0),
- children: `全部合并(${t.length})`
- }),
- /* @__PURE__ */ (0, Q.jsx)(x, {
- label: "待合并创作者别名",
- sorting: E,
- options: [
- {
- id: "canonical",
- label: "统一名称"
- },
- {
- id: "alias",
- label: "平台别名"
- },
- {
- id: "evidence",
- label: "依据"
- }
- ],
- onChange: (e) => {
- D(e), N((e) => ({
- ...e,
- pageIndex: 0
- }));
- }
- }),
- /* @__PURE__ */ (0, Q.jsx)(ce, {
- preferences: d,
- label: "待合并创作者别名"
- })
- ]
- })]
- }),
- /* @__PURE__ */ (0, Q.jsxs)(V, {
- label: "待合并别名批量操作",
- visible: J.length > 0,
- count: `已选 ${J.length} 组`,
- children: [/* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- size: "small",
- disabled: i,
- ...Se,
- onClick: () => pe(J, !1),
- children: `合并所选(${J.length})`
- }), /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "ghost",
- size: "small",
- onClick: () => _({}),
- children: "取消选择"
- })]
- }),
- /* @__PURE__ */ (0, Q.jsx)(te, {
- follow: !0,
- preferences: d,
- onRowClick: (e) => q.getRow(e)?.toggleSelected(),
- children: /* @__PURE__ */ (0, Q.jsxs)(se, {
- "aria-label": "待合并创作者别名",
- size: "sm",
- sortDescriptor: E[0] ? {
- column: E[0].id,
- direction: E[0].desc ? "descending" : "ascending"
- } : void 0,
- onSortChange: (e) => q.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, Q.jsxs)(l, { children: [q.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, Q.jsx)(o, {
- id: e.id,
- isRowHeader: e.column.id === "canonical",
- allowsSorting: e.column.getCanSort(),
- ...d.columnProps(e.id),
- children: ({ sortDirection: t }) => /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "flex items-center gap-0.5",
- children: [ke(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, Q.jsx)("span", {
- "data-sort-indicator": !0,
- "data-direction": t || void 0,
- children: /* @__PURE__ */ (0, Q.jsx)(ee, {})
- }) : null]
- }), /* @__PURE__ */ (0, Q.jsx)(le, {
- preferences: d,
- id: e.id
- })] })
- }, e.id)), /* @__PURE__ */ (0, Q.jsx)(o, {
- id: "remaining-space",
- "aria-label": "行空白区域",
- "data-table-space": "",
- width: d.spaceWidth,
- minWidth: 0
- })] }), /* @__PURE__ */ (0, Q.jsx)(a, { children: q.getRowModel().rows.map((e) => /* @__PURE__ */ (0, Q.jsxs)(s, {
- id: e.id,
- "data-board-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, Q.jsx)(c, { children: ke(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, Q.jsx)(c, { "data-table-space": "" })]
- }, e.id)) })]
- })
- }),
- /* @__PURE__ */ (0, Q.jsx)(b, {
- label: "待合并创作者别名",
- unit: "组",
- total: t.length,
- pagination: I,
- onChange: N
- })
- ]
- }) : null,
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col gap-2",
- children: [
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- "data-responsive-toolbar": "",
- children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
- "data-toolbar-heading": "",
- children: [/* @__PURE__ */ (0, Q.jsx)(k, { children: "已保存别名" }), /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "text-body-2-regular text-text-secondary",
- children: `${e.length} 组`
- })]
- }), /* @__PURE__ */ (0, Q.jsxs)("div", {
- "data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, Q.jsx)(x, {
- label: "已保存创作者别名",
- sorting: O,
- options: [{
- id: "canonical",
- label: "统一名称"
- }, {
- id: "aliases",
- label: "平台别名"
- }],
- onChange: (e) => {
- A(e), F((e) => ({
- ...e,
- pageIndex: 0
- }));
- }
- }), /* @__PURE__ */ (0, Q.jsx)(ce, {
- preferences: f,
- label: "已保存创作者别名"
- })]
- })]
- }),
- /* @__PURE__ */ (0, Q.jsxs)(V, {
- label: "已保存别名批量操作",
- visible: Y.length > 0,
- count: `已选 ${Y.length} 个别名`,
- children: [/* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- size: "small",
- disabled: i,
- ...K(de.isPending),
- onClick: () => void ye({
- title: "移除所选创作者别名",
- body: `将移除以下 ${Y.length} 个别名,对应来源恢复为独立创作者组。`,
- items: Y,
- confirmLabel: "移除所选别名",
- onConfirm: () => de.mutateAsync(Y)
- }),
- children: `移除所选别名(${Y.length})`
- }), /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "ghost",
- size: "small",
- onClick: () => T({}),
- children: "取消选择"
- })]
- }),
- e.length ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(te, {
- follow: !0,
- preferences: f,
- onRowClick: (e) => xe.getRow(e)?.toggleSelected(),
- children: /* @__PURE__ */ (0, Q.jsxs)(se, {
- "aria-label": "已保存创作者别名",
- size: "sm",
- sortDescriptor: O[0] ? {
- column: O[0].id,
- direction: O[0].desc ? "descending" : "ascending"
- } : void 0,
- onSortChange: (e) => xe.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, Q.jsxs)(l, { children: [xe.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, Q.jsx)(o, {
- id: e.id,
- isRowHeader: e.column.id === "canonical",
- allowsSorting: e.column.getCanSort(),
- ...f.columnProps(e.id),
- children: ({ sortDirection: t }) => /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "flex items-center gap-0.5",
- children: [ke(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, Q.jsx)("span", {
- "data-sort-indicator": !0,
- "data-direction": t || void 0,
- children: /* @__PURE__ */ (0, Q.jsx)(ee, {})
- }) : null]
- }), /* @__PURE__ */ (0, Q.jsx)(le, {
- preferences: f,
- id: e.id
- })] })
- }, e.id)), /* @__PURE__ */ (0, Q.jsx)(o, {
- id: "remaining-space",
- "aria-label": "行空白区域",
- "data-table-space": "",
- width: f.spaceWidth,
- minWidth: 0
- })] }), /* @__PURE__ */ (0, Q.jsx)(a, { children: xe.getRowModel().rows.map((e) => /* @__PURE__ */ (0, Q.jsxs)(s, {
- id: e.id,
- "data-board-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, Q.jsx)(c, { children: ke(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, Q.jsx)(c, { "data-table-space": "" })]
- }, e.id)) })]
- })
- }), /* @__PURE__ */ (0, Q.jsx)(b, {
- label: "已保存创作者别名",
- unit: "组",
- total: e.length,
- pagination: L,
- onChange: F
- })] }) : /* @__PURE__ */ (0, Q.jsx)(C, {
- size: "compact",
- icon: fe,
- title: "还没有保存创作者别名",
- actions: i ? void 0 : /* @__PURE__ */ (0, Q.jsx)(S, {
- target: "input[aria-label=\"统一名称\"]",
- children: "添加别名"
- }),
- children: "填写统一名称,以及该创作者在其他平台使用的名字。"
- })
- ]
- }),
- /* @__PURE__ */ (0, Q.jsx)(Nt, {
- group: p,
- close: () => m(null),
- receipt: u
- })
- ]
- });
-}
-// src/react/follow-manage/feed-sources.tsx
-var Kt = rt({
- rowPaginationFeature: Ze,
- rowSelectionFeature: Qe,
- rowSortingFeature: $e,
- columnVisibilityFeature: ve,
- sortedRowModel: t(),
- paginatedRowModel: e()
-}), qt = {
- select: "选择",
- name: "名称",
- kind: "类型",
- origin: "来源",
- status: "状态",
- interval: "频率",
- fetched: "上次拉取",
- fresh: "上次新增",
- actions: "操作"
-}, Jt = /* @__PURE__ */ new Set(["actions"]), Yt = Object.entries(qt).map(([e, t]) => ({
- id: e,
- label: t,
- width: e === "select" ? 48 : e === "name" ? 300 : e === "actions" ? 208 : e === "fetched" ? 200 : e === "origin" ? 184 : 160,
- min: e === "select" ? 48 : e === "actions" ? 200 : e === "name" ? 300 : 112,
- max: e === "select" ? 48 : e === "name" ? 2e3 : 800,
- flex: e === "name",
- required: e === "select" || e === "name"
-})), Xt = () => Ue.invalidateQueries({
- queryKey: ne,
- exact: !0
-}), $ = (e) => e.name || e.url;
-function Zt(e) {
- try {
- return new URL(e).hostname.replace(/^www\./, "");
- } catch {
- return e;
- }
-}
-function Qt({ source: e }) {
- return e.enabled ? e.last_error ? /* @__PURE__ */ (0, Q.jsx)(y, {
- variant: "caption",
- color: "rose",
- children: "拉取失败"
- }) : e.last_fetched_at ? /* @__PURE__ */ (0, Q.jsx)(y, {
- variant: "caption",
- color: "lime",
- children: "正常"
- }) : /* @__PURE__ */ (0, Q.jsx)(y, {
- variant: "caption",
- color: "gray",
- children: "未检查"
- }) : /* @__PURE__ */ (0, Q.jsx)(y, {
- variant: "caption",
- color: "gray",
- children: "已暂停"
- });
-}
-function $t({ source: e }) {
- let t = e.entity_id ? {
- id: e.entity_id,
- has_image: !!e.has_image,
- image_version: e.image_version,
- avatar_focus: e.avatar_focus
- } : null;
- return /* @__PURE__ */ (0, Q.jsx)("span", {
- "aria-hidden": !0,
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${dt}`,
- dangerouslySetInnerHTML: { __html: G($(e), t, null, "performer") }
- });
-}
-var en = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function tn(e) {
- let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
- for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
- return n;
-}
-function nn(e, t) {
- let n = e.length === 1 ? e[0] : null;
- return ye({
- title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${$(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
- confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
- danger: !0,
- onConfirm: t
- });
-}
-function rn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
- let i = st({
- queryKey: ne,
- queryFn: ({ signal: e }) => Te(e)
- }), u = it(), d = lt("jav-feeds", Yt), f = i.data, m = (0, Z.useMemo)(() => f?.sources ?? [], [f]), [g, y] = (0, Z.useState)(/* @__PURE__ */ new Set()), S = r?.ids ?? g, T = r?.onChange ?? y, [re, E] = (0, Z.useState)(1), [D, O] = (0, Z.useState)(20), [k, j] = (0, Z.useState)([]), M = Ve(m.length, D, re);
- (0, Z.useEffect)(() => {
- E((e) => Math.min(e, M.pages));
- }, [M.pages]), (0, Z.useEffect)(() => {
- T((e) => {
- let t = new Set(m.map((e) => e.id)), n = new Set([...e].filter((e) => t.has(e)));
- return n.size === e.size ? e : n;
- });
- }, [m, T]);
- let P = ot({
- mutationFn: async (e) => {
- let t = await ze(e.ids, 4, async (t) => {
- e.action === "remove" ? await Ke(t) : await et(t, e.action === "enabled");
- });
- return {
- ...e,
- results: t
- };
- },
- onSuccess: (e) => {
- let n = e.results.filter((e) => !e.ok), r = e.ids.length - n.length;
- if (T(/* @__PURE__ */ new Set()), Xt(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
- let e = n[0];
- u.setError(`${n.length} 条没有写入:${e.ok ? "" : X(e.error)}`);
- }
- },
- onError: (e) => u.setError(X(e))
- }), F = (0, Z.useMemo)(() => tn(m), [m]), I = (0, Z.useRef)({
- readOnly: e,
- shared: F,
- busy: null,
- toggle: () => {},
- fetch: () => {},
- remove: () => {}
- });
- I.current = {
- readOnly: e,
- shared: F,
- busy: u.busy,
- toggle: (e, t) => void u.run(`enabled-${e.id}`, (n) => et(e.id, t, n), () => void Xt()),
- fetch: (e) => void u.run(`check-${e.id}`, (t) => _e(t, [e.id]), () => void Xt()),
- remove: (e) => void nn([e], async () => {
- await Ke(e.id), t(`已移除订阅源「${$(e)}」`), Xt();
- })
- };
- let L = (0, Z.useMemo)(() => {
- let e = be(), t = (e) => () => qt[e] || e;
- return e.columns([
- e.display({
- id: "select",
- header: (e) => /* @__PURE__ */ (0, Q.jsx)(ue, {
- table: e.table,
- label: "全选本页订阅源",
- page: !0
- }),
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)(v, {
- slot: null,
- isSelected: e.row.getIsSelected(),
- onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${$(e.row.original)}`
- })
- }),
- e.accessor($, {
- id: "name",
- header: t("name"),
- cell: (e) => {
- let t = en(e.row.original, I.current.shared);
- return /* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
- children: [
- /* @__PURE__ */ (0, Q.jsx)($t, { source: e.row.original }),
- e.getValue(),
- t ? /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "text-body-2-regular text-text-secondary",
- title: `站上这一页挂在「${t}」名下`,
- children: t
- }) : null
- ]
- });
- }
- }),
- e.accessor((e) => e.kind_label, {
- id: "kind",
- header: t("kind"),
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "whitespace-nowrap",
- children: e.getValue()
- })
- }),
- e.accessor((e) => e.url, {
- id: "origin",
- header: t("origin"),
- cell: (e) => /* @__PURE__ */ (0, Q.jsxs)("a", {
- href: e.getValue(),
- target: "_blank",
- rel: "noopener noreferrer",
- title: "打开来源页面",
- className: "max-w-full text-text-primary underline-offset-2 hover:underline",
- children: [/* @__PURE__ */ (0, Q.jsx)(ae, {
- site: e.row.original.kind.startsWith("javdb") ? "javdb" : e.row.original.kind.startsWith("dmm") ? "dmm" : Zt(e.getValue()),
- label: Zt(e.getValue())
- }), /* @__PURE__ */ (0, Q.jsx)(de, {
- "aria-hidden": !0,
- className: "size-(--icon-inline) shrink-0"
- })]
- })
- }),
- e.accessor((e) => e.last_error ? "拉取失败" : e.enabled ? "已启用" : "已暂停", {
- id: "status",
- header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)(Qt, { source: e.row.original })
- }),
- e.accessor((e) => e.interval_minutes, {
- id: "interval",
- header: t("interval"),
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "whitespace-nowrap",
- children: Ce(e.getValue())
- })
- }),
- e.accessor((e) => e.last_fetched_at && Date.parse(e.last_fetched_at) || 0, {
- id: "fetched",
- header: t("fetched"),
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "whitespace-nowrap tabular-nums",
- children: e.row.original.last_fetched_at ? Le(e.row.original.last_fetched_at) : "还没拉过"
- })
- }),
- e.accessor((e) => e.last_new_count, {
- id: "fresh",
- header: t("fresh"),
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "whitespace-nowrap tabular-nums",
- children: `${e.getValue()} 条`
- })
- }),
- e.display({
- id: "actions",
- header: t("actions"),
- cell: (e) => /* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "flex items-center gap-1",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(oe, {
- "aria-label": `启用 ${$(e.row.original)}`,
- isSelected: e.row.original.enabled,
- isDisabled: I.current.readOnly,
- onChange: (t) => I.current.toggle(e.row.original, t)
- }),
- /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- size: "small",
- iconOnly: !0,
- leadingIcon: Y,
- "aria-label": `拉取 ${$(e.row.original)}`,
- disabled: I.current.readOnly,
- ...K(I.current.busy === `check-${e.row.original.id}`),
- onClick: () => I.current.fetch(e.row.original)
- }),
- /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- size: "small",
- iconOnly: !0,
- leadingIcon: N,
- "aria-label": `移除 ${$(e.row.original)}`,
- disabled: I.current.readOnly,
- onClick: () => I.current.remove(e.row.original)
- })
- ]
- })
- })
- ]);
- }, []), ie = (0, Z.useMemo)(() => Object.fromEntries([...S].map((e) => [String(e), !0])), [S]), z = ct({
- features: Kt,
- data: m,
- columns: L,
- getRowId: (e) => String(e.id),
- state: {
- rowSelection: ie,
- sorting: k,
- pagination: {
- pageIndex: M.page - 1,
- pageSize: D
- },
- columnVisibility: d.visibility
- },
- onColumnVisibilityChange: d.change,
- onSortingChange: (e) => {
- j(e), E(1);
- },
- enableRowSelection: !0,
- onRowSelectionChange: (e) => {
- r?.onActivate();
- let t = typeof e == "function" ? e(ie) : e;
- T(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
- }
- });
- if (!f) return i.error ? /* @__PURE__ */ (0, Q.jsx)(R, {
- tone: "error",
- title: "打不开订阅源",
- children: X(i.error)
- }) : /* @__PURE__ */ (0, Q.jsx)(A, { children: "正在读订阅源。" });
- let B = () => void u.run("check", (e) => _e(e), () => void Xt()), H = (e) => {
- r?.onActivate(), T((t) => {
- let n = new Set(t);
- return n.has(e) ? n.delete(e) : n.add(e), n;
- });
- }, U = m.filter((e) => S.has(e.id)), W = m.filter((e) => e.last_error);
- return /* @__PURE__ */ (0, Q.jsx)("div", {
- className: "flex flex-col gap-3",
- children: /* @__PURE__ */ (0, Q.jsxs)("section", {
- "aria-label": "JAV 订阅列表",
- className: ge({
- padding: "none",
- className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
- }),
- children: [
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- "data-responsive-toolbar": "",
- children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
- "data-toolbar-heading": "",
- children: [/* @__PURE__ */ (0, Q.jsx)("h3", {
- className: "text-title-2-medium text-text-primary",
- children: "JAV 订阅源"
- }), /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "text-body-2-regular text-text-secondary",
- children: `${m.length.toLocaleString()} 个订阅源 · ${(Number(f.unread) || 0).toLocaleString()} 条未看`
- })]
- }), /* @__PURE__ */ (0, Q.jsxs)("div", {
- "data-toolbar-actions": "",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(h, {
- onClick: B,
- disabled: e,
- ...K(u.busy === "check"),
- children: "立即拉取"
- }),
- /* @__PURE__ */ (0, Q.jsx)(ce, {
- preferences: d,
- label: "JAV 订阅源"
- }),
- /* @__PURE__ */ (0, Q.jsx)(x, {
- label: "JAV 订阅源",
- sorting: k,
- onChange: (e) => {
- j(e), E(1);
- },
- options: [
- "name",
- "kind",
- "origin",
- "status",
- "interval",
- "fetched",
- "fresh"
- ].map((e) => ({
- id: e,
- label: qt[e]
- }))
- })
- ]
- })]
- }),
- W.length || u.error ? /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col gap-3",
- children: [W.length ? /* @__PURE__ */ (0, Q.jsx)(R, {
- tone: "error",
- title: `${W.length.toLocaleString()} 条订阅源拉取失败`,
- extra: /* @__PURE__ */ (0, Q.jsx)("ul", {
- className: "flex flex-col gap-0.5 text-body-2-regular",
- children: W.map((e) => /* @__PURE__ */ (0, Q.jsx)("li", {
- className: "min-w-0 truncate",
- title: e.last_error || "",
- children: `${$(e)}:${Se(e.last_error || "") || "未说明原因"}`
- }, e.id))
- }),
- children: "这些订阅源这一轮没有取到新条目。"
- }) : null, u.error ? /* @__PURE__ */ (0, Q.jsx)(w, { children: u.error }) : null]
- }) : null,
- /* @__PURE__ */ (0, Q.jsxs)(V, {
- visible: U.length > 0,
- label: "订阅源批量操作",
- count: `已选 ${U.length} 条订阅源`,
- children: [
- /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- size: "small",
- disabled: e,
- ...K(P.isPending),
- onClick: () => P.mutate({
- ids: U.map((e) => e.id),
- action: "enabled"
- }),
- children: "启用"
- }),
- /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- size: "small",
- disabled: e,
- ...K(P.isPending),
- onClick: () => P.mutate({
- ids: U.map((e) => e.id),
- action: "paused"
- }),
- children: "暂停"
- }),
- /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "danger",
- size: "small",
- disabled: e,
- ...K(P.isPending),
- onClick: () => void nn(U, () => P.mutateAsync({
- ids: U.map((e) => e.id),
- action: "remove"
- })),
- children: "移除"
- }),
- /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "ghost",
- size: "small",
- onClick: () => T(/* @__PURE__ */ new Set()),
- children: "取消选择"
- })
- ]
- }),
- m.length ? /* @__PURE__ */ (0, Q.jsx)(te, {
- follow: !0,
- preferences: d,
- onRowClick: (e) => H(Number(e)),
- children: /* @__PURE__ */ (0, Q.jsxs)(se, {
- "aria-label": "JAV 订阅源",
- size: "sm",
- sortDescriptor: k[0] ? {
- column: k[0].id,
- direction: k[0].desc ? "descending" : "ascending"
- } : void 0,
- onSortChange: (e) => z.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, Q.jsxs)(l, { children: [z.getHeaderGroups()[0].headers.map((e) => {
- let t = ke(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, Q.jsx)(o, {
- id: e.id,
- isRowHeader: e.column.id === "name",
- allowsSorting: e.column.getCanSort(),
- ...d.columnProps(e.id),
- children: ({ sortDirection: n }) => /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [Jt.has(e.column.id) ? /* @__PURE__ */ (0, Q.jsx)(p, { children: t }) : /* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "flex items-center gap-0.5",
- children: [t, e.column.getCanSort() ? /* @__PURE__ */ (0, Q.jsx)("span", {
- "data-sort-indicator": !0,
- "data-direction": n || void 0,
- children: /* @__PURE__ */ (0, Q.jsx)(ee, {})
- }) : null]
- }), /* @__PURE__ */ (0, Q.jsx)(le, {
- preferences: d,
- id: e.id
- })] })
- }, e.id);
- }), /* @__PURE__ */ (0, Q.jsx)(o, {
- id: "remaining-space",
- "aria-label": "行空白区域",
- "data-table-space": "",
- width: d.spaceWidth,
- minWidth: 0
- })] }), /* @__PURE__ */ (0, Q.jsx)(a, { children: z.getRowModel().rows.map((e) => /* @__PURE__ */ (0, Q.jsxs)(s, {
- id: e.id,
- "data-follow-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, Q.jsx)(c, { children: ke(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, Q.jsx)(c, { "data-table-space": "" })]
- }, e.id)) })]
- })
- }) : /* @__PURE__ */ (0, Q.jsx)(C, {
- icon: _,
- title: "还没有订阅源",
- size: "compact",
- actions: e ? void 0 : /* @__PURE__ */ (0, Q.jsx)(h, {
- variant: "secondary",
- onClick: n,
- children: "添加订阅"
- }),
- children: "在「添加关注」按女优名添加,或在人物页点「订阅新作」。"
- }),
- m.length ? /* @__PURE__ */ (0, Q.jsx)(b, {
- label: "JAV 订阅",
- total: M.total,
- unit: "个订阅源",
- pagination: {
- pageIndex: M.page - 1,
- pageSize: D
- },
- onChange: (e) => {
- O(e.pageSize), E(e.pageIndex + 1);
- }
- }) : null,
- /* @__PURE__ */ (0, Q.jsx)("footer", {
- className: "-mx-6 -mb-5 flex flex-wrap items-center gap-2 border-t border-separator-border rounded-b-2xl bg-card-footer px-6 py-4 max-sm:-mx-4 max-sm:px-4",
- children: /* @__PURE__ */ (0, Q.jsx)("span", {
- role: "status",
- className: "mr-auto text-body-2-regular text-text-secondary",
- children: `未看 ${(Number(f.unread) || 0).toLocaleString()} · 已启用 ${m.filter((e) => e.enabled).length.toLocaleString()} / ${m.length.toLocaleString()}`
- })
- })
- ]
- })
- });
-}
-// src/react/follow-manage/follow-manage-page.tsx
-var an = (e) => D.some(([t]) => t === e);
-function on({ term: e, figure: t, unit: n }) {
- return /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: ge({
- padding: "none",
- className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
- }),
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
- className: "text-body-medium text-text-secondary",
- children: e
- }), /* @__PURE__ */ (0, Q.jsxs)("b", {
- "data-follow-reading": "",
- className: `flex min-w-0 flex-wrap items-baseline gap-x-1 tabular-nums text-text-primary ${t >= 1e6 ? "text-headline-medium" : t >= 1e5 ? "text-title-3-medium" : "text-title-1-medium"}`,
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
- className: "min-w-0 wrap-anywhere",
- children: t.toLocaleString()
- }), /* @__PURE__ */ (0, Q.jsx)("small", {
- className: "whitespace-nowrap text-body-2-regular text-text-secondary",
- children: ` ${n}`
- })]
- })]
- });
-}
-function sn(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, Z.useState)(an(e.tab) ? e.tab : "list"), [p, m] = (0, Z.useState)(Math.max(1, Math.floor(e.page) || 1)), [h, _] = (0, Z.useState)(() => Xe(e.sort, e.dir).sort), [v, ee] = (0, Z.useState)(() => Xe(e.sort, e.dir).dir), [y, b] = (0, Z.useState)(Fe(e.layout) ? e.layout : "default"), [te, x] = (0, Z.useState)(Be(e.pageSize)), [S, C] = (0, Z.useState)(/* @__PURE__ */ new Set()), [w, O] = (0, Z.useState)(/* @__PURE__ */ new Set()), k = st({
- queryKey: E,
- queryFn: ({ signal: e }) => Ee(e)
- }), A = st({
- queryKey: re,
- queryFn: ({ signal: e }) => we(e)
- }), j = st({
- queryKey: ne,
- queryFn: ({ signal: e }) => Te(e)
- }), M = k.data || { sources: [] }, N = A.data || {
- root: "",
- providers: []
- }, P = M.sources;
- (0, Z.useEffect)(() => {
- C((e) => {
- let t = Ie(e, P);
- return t.size === e.size ? e : t;
- });
- }, [P]);
- let F = (e) => {
- let n = e.sort ?? h, r = e.dir ?? v;
- t({
- tab: e.tab ?? c,
- page: e.page ?? p,
- sort: n === "checked" ? "" : n,
- dir: r === z[n] ? "" : r
- });
- }, I = Ne(P), L = P.filter(Pe).length, ie = P.filter((e) => e.enabled).length, V = (N.providers || []).filter((e) => e.requirement === "required" && !xe(e)).length, H = new Set((j.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, Q.jsxs)(ut, { children: [
- a ? /* @__PURE__ */ (0, Q.jsx)(R, {
- tone: "warning",
- title: "本机只能浏览",
- extra: s ? /* @__PURE__ */ (0, Q.jsx)("p", {
- className: "text-body-2-regular",
- children: /* @__PURE__ */ (0, Q.jsx)(T, {
- href: s,
- children: "前往写入端管理关注"
- })
- }) : void 0,
- children: o
- }) : null,
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: B,
- "aria-label": "关注概览",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(on, {
- term: "关注创作者",
- figure: I.length,
- unit: "位"
- }),
- /* @__PURE__ */ (0, Q.jsx)(on, {
- term: "启用来源",
- figure: ie,
- unit: `/ ${P.length}`
- }),
- /* @__PURE__ */ (0, Q.jsx)(on, {
- term: "检查失败",
- figure: L,
- unit: "个来源"
- }),
- /* @__PURE__ */ (0, Q.jsx)(on, {
- term: "未看更新",
- figure: M.counts?.new || 0,
- unit: "条"
- }),
- /* @__PURE__ */ (0, Q.jsx)(on, {
- term: "JAV 订阅",
- figure: H,
- unit: "位"
- }),
- /* @__PURE__ */ (0, Q.jsx)(on, {
- term: "未看新作",
- figure: j.data?.unread || 0,
- unit: "条"
- })
- ]
- }),
- /* @__PURE__ */ (0, Q.jsxs)(f, {
- selectedKey: c,
- onSelectionChange: (e) => {
- let t = String(e);
- an(t) && (C(/* @__PURE__ */ new Set()), O(/* @__PURE__ */ new Set()), l(t), F({ tab: t }));
- },
- className: "flex flex-col gap-6",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(ft, {
- "aria-label": "关注管理区域",
- "data-section-nav": !0,
- "data-section-items": !0,
- className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: D.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(d, {
- id: e,
- "data-pill-selected": c === e ? "" : void 0,
- "data-pill-variant": "gray",
- className: "cursor-pointer whitespace-nowrap",
- children: t
- }, e))
- }),
- /* @__PURE__ */ (0, Q.jsxs)(u, {
- id: "list",
- className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, Q.jsx)(rn, {
- readOnly: a,
- toast: r,
- onAdd: () => {
- l("add"), F({ tab: "add" });
- },
- selection: {
- ids: w,
- onChange: O,
- onActivate: () => C(/* @__PURE__ */ new Set())
- }
- }), /* @__PURE__ */ (0, Q.jsx)(ht, {
- data: M,
- sort: h,
- dir: v,
- page: p,
- layout: y,
- pageSize: te,
- selected: S,
- readOnly: a,
- toast: r,
- openFollow: i,
- onAdd: () => {
- l("add"), F({ tab: "add" });
- },
- onSort: (e, t) => {
- _(e), ee(t), m(1), F({
- sort: e,
- dir: t,
- page: 1
- });
- },
- onPage: (e) => {
- m(e), F({ page: e });
- },
- onSelected: (e) => {
- C(e), O(/* @__PURE__ */ new Set());
- },
- onLayout: (e) => {
- b(e), m(1), n({ layout: e }), F({ page: 1 });
- },
- onPageSize: (e) => {
- x(e), m(1), n({ pageSize: e }), F({ page: 1 });
- }
- })]
- }),
- /* @__PURE__ */ (0, Q.jsxs)(u, {
- id: "add",
- className: "flex flex-col gap-8",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(Dt, {
- data: M,
- credentials: N,
- readOnly: a,
- toast: r
- }),
- /* @__PURE__ */ (0, Q.jsx)(Mt, {
- readOnly: a,
- toast: r,
- onAdded: () => {
- j.refetch(), l("list"), F({ tab: "list" });
- }
- }),
- /* @__PURE__ */ (0, Q.jsx)(Gt, {
- groups: M.author_aliases || [],
- readOnly: a,
- toast: r,
- suggestions: M.alias_suggestions || [],
- sources: M.sources
- })
- ]
- }),
- /* @__PURE__ */ (0, Q.jsx)(u, {
- id: "tags",
- className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, Q.jsx)(U, { scope: "online" })
- })
- ]
- }),
- /* @__PURE__ */ (0, Q.jsx)("div", { children: /* @__PURE__ */ (0, Q.jsxs)(g, {
- variant: "secondary",
- href: "/settings/subscriptions",
- children: ["来源与订阅设置", V ? `(${V})` : ""]
- }) })
- ] });
-}
-export { sn as FollowManagePage };
-
-//# debugId=674b25f6-536a-4708-aaf8-bcd20af2a392
\ No newline at end of file
diff --git a/web/dist/peach-app.jav-page-DclmaMwB.js b/web/dist/peach-app.jav-page-srtaKuxG.js
similarity index 72%
rename from web/dist/peach-app.jav-page-DclmaMwB.js
rename to web/dist/peach-app.jav-page-srtaKuxG.js
index 55e1859b2..f81fa4767 100644
--- a/web/dist/peach-app.jav-page-DclmaMwB.js
+++ b/web/dist/peach-app.jav-page-srtaKuxG.js
@@ -1,28 +1,27 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7e0eae8a-7640-4624-9521-07ab40b59a7e", e._sentryDebugIdIdentifier = "sentry-dbid-7e0eae8a-7640-4624-9521-07ab40b59a7e");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2fc06de6-1b10-45de-ad63-4c35a41511a9", e._sentryDebugIdIdentifier = "sentry-dbid-2fc06de6-1b10-45de-ad63-4c35a41511a9");
} catch {}
})();
-import { $76d00c5a4edb230a$export$76ccd210b9029917 as e, $76d00c5a4edb230a$export$816b5d811295e6bc as t, $76d00c5a4edb230a$export$b59bdbef9ce70de2 as n, $76d00c5a4edb230a$export$f6f0c3fe4ec306ea as r, $76d00c5a4edb230a$export$f850895b287ef28e as i, $fe21c36db05242bb$export$d7b12c4107be0d61 as a, ArtSlot as o, Button as s, ButtonLink as c, Bx as l, COVER_STATE_TITLE as u, CatalogViewToggle as d, ChevronSortDown as f, Chip as p, CloudDownloadDialog as m, CoverQueue as h, DISCOVERY_SORTS as g, DOWNLOADS_KEY as _, DOWNLOADS_URL as v, DataTableFrame as y, E3 as b, EmptyFocusButton as x, EmptyState as S, FilterGlassRows as C, FilterIconButton as w, FilterPill as T, GlassPill as E, Help as D, IndexSearch as O, Input as k, JAV_LAYOUTS as ee, JAV_RECOMMENDATION_GRID as te, JavHeader as A, LibraryShortcuts as j, M6 as M, Note as N, PHASES as P, Pagination as ne, RELEASE_COLUMN_VISIBILITY_KEY as F, RELEASE_COLUMN_WIDTHS_KEY as I, RELEASE_SORTS as L, RELEASE_SORT_COLUMNS as R, SEGMENT as z, SEGMENTED_TRACK as B, SegmentedRadioGroup as V, Segments as re, Shuffle as ie, SortKeys as ae, SourceAvatar as H, Table as oe, TableColumnControls as U, TableColumnResizer as W, TaskProgress as se, WANTS_KEY as ce, WantMagnets as le, Wt as ue, __toESM as de, addWant as fe, apiGet as pe, appSettingsStore as me, avatarInner as he, busyProps as G, cachedMagnetStates as ge, cardClass as _e, cardRatio as ve, catalogListSkeletonCellHtml as ye, composingKey as be, coverArrived as xe, coverFetching as Se, coverFetchingHtml as Ce, coverStateAction as we, coverUrl as Te, discoveryArtwork as Ee, discoveryKey as De, discoveryScore as Oe, entityDisplayName as K, entityFaceImg as ke, entityPath as Ae, errorMessage as q, esc as je, facePos as Me, fetchCoverNow as Ne, fetchDiscoveries as Pe, fetchReleases as Fe, fetchWants as Ie, firstGrapheme as Le, fmtDur as Re, gridLayout as ze, invalidateWants as J, javContentSkeleton as Be, javLayout as Ve, javTagSkeleton as He, keepPreviousData as Ue, leadingGraphemes as We, logoUrl as Ge, pageWindow as Ke, qE as qe, recommendationScore as Je, relayoutCovers as Ye, releaseColumns as Xe, releaseFilters as Ze, releaseKey as Qe, removeWants as $e, require_jsx_runtime as et, require_react as tt, resetWants as nt, searchNote as rt, spriteGlyph as it, storeJavLayout as at, textLang as ot, tierPlaceholdersHtml as st, useAction as Y, useCatalogView as ct, useEntityNames as lt, useQuery as ut, useTablePreferences as dt, wantName as X, wireHorizontalScroller as ft, writeJavQuery as Z } from "./peach-app.js";
-import { ErrorLine as pt } from "./peach-app.source-view-DalWfDkm.js";
-import "./peach-app.source-list-ri5fRK2E.js";
+import { $76d00c5a4edb230a$export$76ccd210b9029917 as e, $76d00c5a4edb230a$export$816b5d811295e6bc as t, $76d00c5a4edb230a$export$b59bdbef9ce70de2 as n, $76d00c5a4edb230a$export$f6f0c3fe4ec306ea as r, $76d00c5a4edb230a$export$f850895b287ef28e as i, $fe21c36db05242bb$export$d7b12c4107be0d61 as a, ArtSlot as o, Button as s, ButtonLink as c, Bx as l, COVER_STATE_TITLE as u, CatalogViewToggle as d, ChevronSortDown as f, Chip as p, CloudDownloadDialog as m, CoverQueue as h, DISCOVERY_SORTS as g, DOWNLOADS_KEY as _, DOWNLOADS_URL as v, DataTableFooter as y, DataTableFrame as b, E3 as x, EmptyFocusButton as S, EmptyState as C, FilterGlassRows as w, FilterIconButton as T, FilterPill as E, GlassPill as ee, Help as D, IndexSearch as O, Input as k, JAV_LAYOUTS as te, JAV_RECOMMENDATION_GRID as ne, JavHeader as A, LibraryShortcuts as j, M6 as M, Note as N, PHASES as P, RELEASE_COLUMN_VISIBILITY_KEY as F, RELEASE_COLUMN_WIDTHS_KEY as I, RELEASE_PAGE_SIZES as L, RELEASE_SORTS as R, RELEASE_SORT_COLUMNS as z, SEGMENT as B, SEGMENTED_TRACK as V, SegmentedRadioGroup as re, Segments as ie, Shuffle as H, SortKeys as ae, SourceAvatar as oe, Table as se, TableColumnControls as U, TableColumnResizer as ce, TaskProgress as le, WANTS_KEY as ue, WantMagnets as de, Wt as fe, __toESM as pe, addWant as me, apiGet as he, appSettingsStore as ge, avatarInner as _e, busyProps as W, cachedMagnetStates as ve, cardClass as ye, cardRatio as be, catalogListSkeletonCellHtml as xe, composingKey as Se, coverArrived as Ce, coverFetching as we, coverFetchingHtml as Te, coverStateAction as Ee, coverUrl as De, discoveryArtwork as Oe, discoveryKey as ke, discoveryScore as Ae, entityDisplayName as G, entityFaceImg as je, entityPath as Me, errorMessage as K, esc as Ne, facePos as Pe, fetchCoverNow as Fe, fetchDiscoveries as Ie, fetchReleases as Le, fetchWants as Re, firstGrapheme as ze, fmtDur as Be, gridLayout as Ve, invalidateWants as q, javContentSkeleton as He, javLayout as Ue, javTagSkeleton as We, keepPreviousData as Ge, leadingGraphemes as Ke, logoUrl as qe, pageWindow as Je, qE as Ye, recommendationScore as Xe, relayoutCovers as Ze, releaseColumns as Qe, releaseFilters as $e, releaseKey as et, removeWants as tt, require_jsx_runtime as nt, require_react as rt, resetWants as it, searchNote as at, spriteGlyph as ot, storeJavLayout as st, textLang as ct, tierPlaceholdersHtml as lt, useAction as J, useCatalogView as ut, useEntityNames as dt, useQuery as Y, useTablePreferences as ft, wantName as X, wireHorizontalScroller as pt, writeJavQuery as Z } from "./peach-app.js";
+import { ErrorLine as mt } from "./peach-app.source-view-DalWfDkm.js";
// src/react/wants/want-list.tsx
-var Q = /* @__PURE__ */ de(tt(), 1), $ = et(), mt = {
+var Q = /* @__PURE__ */ pe(rt(), 1), $ = nt(), ht = {
code: "手动添加",
feed: "订阅新作",
follow: "关注"
-}, ht = [
+}, gt = [
["all", "全部"],
["available", "有磁链"],
["missing", "没磁链"]
-], gt = (e) => [
+], _t = (e) => [
e.release_date,
e.studio,
e.performers,
- mt[e.origin]
+ ht[e.origin]
].filter(Boolean).join(" · ");
-function _t({ want: e }) {
+function vt({ want: e }) {
return /* @__PURE__ */ (0, $.jsxs)("span", {
className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",
children: [/* @__PURE__ */ (0, $.jsx)("span", {
@@ -38,14 +37,14 @@ function _t({ want: e }) {
}) : null]
});
}
-function vt({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: l, toast: u }) {
+function yt({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: l, toast: u }) {
let [d, f] = (0, Q.useState)(""), p = e.link || d || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");
return /* @__PURE__ */ (0, $.jsxs)("li", {
"data-want-id": e.id,
- className: _e({ className: "flex flex-col gap-4 max-sm:p-4" }),
+ className: ye({ className: "flex flex-col gap-4 max-sm:p-4" }),
children: [/* @__PURE__ */ (0, $.jsxs)("div", {
className: "flex min-w-0 items-start gap-4 max-sm:gap-3",
- children: [/* @__PURE__ */ (0, $.jsx)(_t, { want: e }), /* @__PURE__ */ (0, $.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, $.jsx)(vt, { want: e }), /* @__PURE__ */ (0, $.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [
/* @__PURE__ */ (0, $.jsxs)("p", {
@@ -58,16 +57,16 @@ function vt({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDow
children: e.title
}) : null]
}),
- gt(e) ? /* @__PURE__ */ (0, $.jsx)("p", {
+ _t(e) ? /* @__PURE__ */ (0, $.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: gt(e)
+ children: _t(e)
}) : null,
!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, $.jsx)("p", {
"data-want-note": "",
className: "text-caption-1-regular text-text-secondary",
- children: rt(e)
+ children: at(e)
}) : null,
- e.scrape_error ? /* @__PURE__ */ (0, $.jsx)(pt, {
+ e.scrape_error ? /* @__PURE__ */ (0, $.jsx)(mt, {
text: e.scrape_error,
prefix: "资料未取得:",
tone: "muted"
@@ -79,7 +78,7 @@ function vt({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDow
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: ue,
+ trailingIcon: fe,
href: p,
target: "_blank",
rel: "noopener noreferrer",
@@ -90,7 +89,7 @@ function vt({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDow
size: "small",
leadingIcon: M,
disabled: t,
- ...G(n === `remove:${e.id}`),
+ ...W(n === `remove:${e.id}`),
onClick: i,
children: "移除"
}),
@@ -98,7 +97,7 @@ function vt({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDow
variant: "secondary",
size: "small",
disabled: t,
- ...G(n === `reset:${e.id}`),
+ ...W(n === `reset:${e.id}`),
onClick: r,
children: "重新查找"
}) : null,
@@ -112,7 +111,7 @@ function vt({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDow
})
]
})]
- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, $.jsx)(le, {
+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, $.jsx)(de, {
want: e,
readOnly: t,
downloads: o,
@@ -122,8 +121,8 @@ function vt({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDow
}) : null]
});
}
-function yt({ phase: e, label: t, rows: n, row: r }) {
- let [i, o] = (0, Q.useState)(1), [c, l] = (0, Q.useState)("all"), u = ge(n), d = (e) => e.has_magnets ?? u.get(e.code || "") ?? !1, f = n.filter(d), p = e !== "searching" || c === "all" ? n : n.filter((e) => d(e) === (c === "available")), m = Ke(p.length, 20, i);
+function bt({ phase: e, label: t, rows: n, row: r }) {
+ let [i, o] = (0, Q.useState)(1), [c, l] = (0, Q.useState)(20), [u, d] = (0, Q.useState)("all"), f = ve(n), p = (e) => e.has_magnets ?? f.get(e.code || "") ?? !1, m = n.filter(p), h = e !== "searching" || u === "all" ? n : n.filter((e) => p(e) === (u === "available")), g = Je(h.length, c, i);
return /* @__PURE__ */ (0, $.jsxs)("section", {
"aria-label": t,
"data-want-phase": e,
@@ -137,34 +136,34 @@ function yt({ phase: e, label: t, rows: n, row: r }) {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: n.length.toLocaleString()
})]
- }), e === "searching" ? /* @__PURE__ */ (0, $.jsx)(V, {
+ }), e === "searching" ? /* @__PURE__ */ (0, $.jsx)(re, {
name: "want-magnet-filter",
"aria-label": "待找磁链筛选",
orientation: "horizontal",
- value: c,
- className: B,
+ value: u,
+ className: V,
onChange: (e) => {
- l(e), o(1);
+ d(e), o(1);
},
- children: ht.map(([e, t]) => /* @__PURE__ */ (0, $.jsxs)(a, {
+ children: gt.map(([e, t]) => /* @__PURE__ */ (0, $.jsxs)(a, {
value: e,
"aria-label": t,
- className: z,
+ className: B,
children: [t, /* @__PURE__ */ (0, $.jsx)("span", {
className: "text-caption-1-regular tabular-nums text-text-tertiary",
- children: (e === "all" ? n.length : e === "available" ? f.length : n.length - f.length).toLocaleString()
+ children: (e === "all" ? n.length : e === "available" ? m.length : n.length - m.length).toLocaleString()
})]
}, e))
}) : null]
}),
- p.length ? null : /* @__PURE__ */ (0, $.jsx)(S, {
+ h.length ? null : /* @__PURE__ */ (0, $.jsx)(C, {
size: "compact",
- icon: qe,
+ icon: Ye,
title: "暂无符合条件的作品",
actions: /* @__PURE__ */ (0, $.jsx)(s, {
size: "small",
onClick: () => {
- l("all"), o(1);
+ d("all"), o(1);
},
children: "查看全部"
}),
@@ -172,60 +171,62 @@ function yt({ phase: e, label: t, rows: n, row: r }) {
}),
/* @__PURE__ */ (0, $.jsx)("ul", {
className: "flex flex-col gap-4",
- children: p.slice(m.start, m.end).map(r)
+ children: h.slice(g.start, g.end).map(r)
}),
- m.pages > 1 ? /* @__PURE__ */ (0, $.jsxs)("div", {
+ /* @__PURE__ */ (0, $.jsx)("div", {
"data-want-pager": "",
- className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, $.jsx)("span", {
- className: "text-body-2-regular tabular-nums text-text-secondary",
- children: `${(m.start + 1).toLocaleString()}–${m.end.toLocaleString()} / ${m.total.toLocaleString()} 条`
- }), /* @__PURE__ */ (0, $.jsx)(ne, {
- label: `${t}分页`,
- page: m.page,
- pages: m.pages,
- onPage: o
- })]
- }) : null
+ children: /* @__PURE__ */ (0, $.jsx)(y, {
+ label: t,
+ total: g.total,
+ pagination: {
+ pageIndex: g.page - 1,
+ pageSize: c
+ },
+ onChange: (e) => {
+ l(e.pageSize), o(e.pageIndex + 1);
+ },
+ unit: "条"
+ })
+ })
]
});
}
-function bt({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {
- let [i, a] = (0, Q.useState)(""), [o, c] = (0, Q.useState)(null), l = Y(), u = ut({
- queryKey: ce,
- queryFn: ({ signal: e }) => Ie(e),
+function xt({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {
+ let [i, a] = (0, Q.useState)(""), [o, c] = (0, Q.useState)(null), l = J(), u = Y({
+ queryKey: ue,
+ queryFn: ({ signal: e }) => Re(e),
staleTime: 3e4,
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), d = () => {
let n = i.trim();
- n && !e && l.run("add", (e) => fe({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${X(e.want)}` : `${X(e.want)} 已经在想要里`), a(""), J();
+ n && !e && l.run("add", (e) => me({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${X(e.want)}` : `${X(e.want)} 已经在想要里`), a(""), q();
});
}, f = (e) => {
- e.key === "Enter" && !be(e.nativeEvent) && (e.preventDefault(), d());
+ e.key === "Enter" && !Se(e.nativeEvent) && (e.preventDefault(), d());
}, p = (e) => {
- l.run(`remove:${e.id}`, (t) => $e([e.id], t), () => {
- t(`已移除:${X(e)}`), J();
+ l.run(`remove:${e.id}`, (t) => tt([e.id], t), () => {
+ t(`已移除:${X(e)}`), q();
});
}, h = (e) => {
- l.run(`reset:${e.id}`, (t) => nt([e.id], t), () => {
- t(`${X(e)} 回到待找`), J();
+ l.run(`reset:${e.id}`, (t) => it([e.id], t), () => {
+ t(`${X(e)} 回到待找`), q();
});
}, g = u.data, y = (g?.items || []).filter((e) => !n || [
e.code,
e.title,
e.performers
- ].join(" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())), b = ut({
+ ].join(" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())), b = Y({
queryKey: _,
- queryFn: ({ signal: e }) => pe(`${v}?limit=100`, e),
+ queryFn: ({ signal: e }) => he(`${v}?limit=100`, e),
enabled: y.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))
- }), C = b.data?.providers.filter((e) => e.configured) || [], w = C[0]?.key || "";
+ }), x = b.data?.providers.filter((e) => e.configured) || [], w = x[0]?.key || "";
return /* @__PURE__ */ (0, $.jsxs)("div", {
"aria-busy": u.isPending,
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, $.jsxs)("div", {
- className: _e({
+ className: ye({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -249,7 +250,7 @@ function bt({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {
}), /* @__PURE__ */ (0, $.jsx)(s, {
variant: "primary",
disabled: e || !i.trim(),
- ...G(l.busy === "add"),
+ ...W(l.busy === "add"),
onClick: d,
children: "添加"
})]
@@ -264,12 +265,12 @@ function bt({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {
u.error ? /* @__PURE__ */ (0, $.jsx)(N, {
tone: "error",
title: "想要清单读取失败",
- children: q(u.error)
+ children: K(u.error)
}) : null,
u.isPending ? /* @__PURE__ */ (0, $.jsx)("div", {
role: "status",
"aria-label": "正在读取想要",
- dangerouslySetInnerHTML: { __html: Be("wants") }
+ dangerouslySetInnerHTML: { __html: He("wants") }
}) : null,
g?.scraping ? /* @__PURE__ */ (0, $.jsx)(D, {
role: "status",
@@ -278,9 +279,9 @@ function bt({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {
b.error ? /* @__PURE__ */ (0, $.jsx)(N, {
tone: "error",
title: "下载配置未取得",
- children: q(b.error)
+ children: K(b.error)
}) : null,
- b.data && !C.length ? /* @__PURE__ */ (0, $.jsxs)(N, {
+ b.data && !x.length ? /* @__PURE__ */ (0, $.jsxs)(N, {
tone: "neutral",
children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, $.jsx)("a", {
href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",
@@ -291,15 +292,15 @@ function bt({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {
tone: "neutral",
children: "云下载只在允许修改数据库的设备上可用。"
}) : null,
- g && !y.length ? /* @__PURE__ */ (0, $.jsx)(S, {
+ g && !y.length ? /* @__PURE__ */ (0, $.jsx)(C, {
size: "compact",
- icon: qe,
+ icon: Ye,
title: n ? "没有符合条件的作品" : "还没有想要的作品",
actions: n && r ? /* @__PURE__ */ (0, $.jsx)(s, {
size: "small",
onClick: r,
children: "清除搜索"
- }) : !n && !e ? /* @__PURE__ */ (0, $.jsx)(x, {
+ }) : !n && !e ? /* @__PURE__ */ (0, $.jsx)(S, {
target: "input[aria-label=\"番号\"]",
children: "添加作品"
}) : void 0,
@@ -307,11 +308,11 @@ function bt({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {
}) : null,
P.map(([n, r]) => {
let i = y.filter((e) => e.phase === n);
- return i.length ? /* @__PURE__ */ (0, $.jsx)(yt, {
+ return i.length ? /* @__PURE__ */ (0, $.jsx)(bt, {
phase: n,
label: r,
rows: i,
- row: (n) => /* @__PURE__ */ (0, $.jsx)(vt, {
+ row: (n) => /* @__PURE__ */ (0, $.jsx)(yt, {
want: n,
readOnly: e,
busy: l.busy,
@@ -342,23 +343,23 @@ function bt({ readOnly: e, toast: t, query: n = "", clearQuery: r }) {
});
}
// src/react/jav/discovery-faces.tsx
-function xt({ item: e }) {
- lt();
+function St({ item: e }) {
+ dt();
let t = e.performer_refs?.length ? e.performer_refs : [...new Set(e.performers.split(/[,,、;/]/).filter(Boolean))].map((e) => ({ name: e })), n = t.slice(0, 5).map((t, n) => {
- let r = { "--media-avatar-index": n }, i = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, $.jsx)(H, {
+ let r = { "--media-avatar-index": n }, i = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, $.jsx)(oe, {
code: e.code,
person: t
- }) } : { dangerouslySetInnerHTML: { __html: he(t.name, t, null) } };
+ }) } : { dangerouslySetInnerHTML: { __html: _e(t.name, t, null) } };
return t.id ? /* @__PURE__ */ (0, $.jsx)("a", {
"data-media-avatar": "",
style: r,
- href: Ae("performer", t.name, t.id),
- "aria-label": `打开女优页:${K("performer", t.name, t.id)}`,
+ href: Me("performer", t.name, t.id),
+ "aria-label": `打开女优页:${G("performer", t.name, t.id)}`,
...i
}, t.name) : /* @__PURE__ */ (0, $.jsx)("span", {
"data-media-avatar": "",
style: r,
- title: K("performer", t.name),
+ title: G("performer", t.name),
...i
}, t.name);
});
@@ -369,23 +370,23 @@ function xt({ item: e }) {
}) : n[0] || null;
}
// src/react/jav/discovery-card.tsx
-var St = (e) => ({
+var Ct = (e) => ({
...e,
- cover: e.has_cover ? Te(e, !0) : e.cover_url,
+ cover: e.has_cover ? De(e, !0) : e.cover_url,
origin: `${e.asset_id ? "asset" : "feed"}:${e.id}`
-}), Ct = "relative inline-grid place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default";
-function wt({ item: e, readOnly: t }) {
- let n = Y(), [r, i] = (0, Q.useState)("");
- (0, Q.useSyncExternalStore)(Se.subscribe, Se.revision);
+}), wt = "relative inline-grid place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default";
+function Tt({ item: e, readOnly: t }) {
+ let n = J(), [r, i] = (0, Q.useState)("");
+ (0, Q.useSyncExternalStore)(we.subscribe, we.revision);
let a = e.cover_state;
if (!a) return /* @__PURE__ */ (0, $.jsx)("span", {
"data-media-nopic": "",
children: "无封面"
});
- if (a === "fetching" || Se.has(e.code)) return /* @__PURE__ */ (0, $.jsx)("span", { dangerouslySetInnerHTML: { __html: Ce() } });
+ if (a === "fetching" || we.has(e.code)) return /* @__PURE__ */ (0, $.jsx)("span", { dangerouslySetInnerHTML: { __html: Te() } });
let o = () => {
- n.run("cover", (t) => Ne(e.code, t), (t) => {
- t.has_cover ? xe(e.code, t) : i(t.message || "没有找到可用的官方封面");
+ n.run("cover", (t) => Fe(e.code, t), (t) => {
+ t.has_cover ? Ce(e.code, t) : i(t.message || "没有找到可用的官方封面");
});
}, c = r || n.error ? "missing" : a, l = n.error || r || e.cover_reason;
return /* @__PURE__ */ (0, $.jsxs)("div", {
@@ -406,13 +407,13 @@ function wt({ item: e, readOnly: t }) {
variant: "secondary",
className: "mt-1",
onClick: o,
- children: we(c)
+ children: Ee(c)
})
]
});
}
-function Tt({ item: e, layout: t, javImage: n, readOnly: r, navigate: i, tag: a, onTag: l, wanting: u, onWant: d, onResource: f, badge: p }) {
- let m = e.performer_refs?.length ? e.performer_refs.map((e) => e.name).join("、") : e.performers, h = Ee(e, t, n), g = e.asset_id ? `/assets/${e.asset_id}` : `/works/${encodeURIComponent(e.code)}`;
+function Et({ item: e, layout: t, javImage: n, readOnly: r, navigate: i, tag: a, onTag: l, wanting: u, onWant: d, onResource: f, badge: p }) {
+ let m = e.performer_refs?.length ? e.performer_refs.map((e) => e.name).join("、") : e.performers, h = Oe(e, t, n), g = e.asset_id ? `/assets/${e.asset_id}` : `/works/${encodeURIComponent(e.code)}`;
return /* @__PURE__ */ (0, $.jsxs)("article", {
"data-media-card": "",
"data-jav-card": "",
@@ -428,27 +429,27 @@ function Tt({ item: e, layout: t, javImage: n, readOnly: r, navigate: i, tag: a,
},
"data-media-pic": "",
"data-jav-cover-box": "",
- className: Ct,
+ className: wt,
children: /* @__PURE__ */ (0, $.jsx)(o, {
artwork: {
kind: "cover",
html: h
},
- identity: Ee(e, "small", n),
- relayout: (e) => Ye(e, t)
+ identity: Oe(e, "small", n),
+ relayout: (e) => Ze(e, t)
})
}) : /* @__PURE__ */ (0, $.jsx)("div", {
"data-media-pic": "",
"data-jav-cover-box": "",
- className: Ct,
- children: /* @__PURE__ */ (0, $.jsx)(wt, {
+ className: wt,
+ children: /* @__PURE__ */ (0, $.jsx)(Tt, {
item: e,
readOnly: r
})
}),
/* @__PURE__ */ (0, $.jsxs)("div", {
"data-media-meta": "",
- children: [/* @__PURE__ */ (0, $.jsx)(xt, { item: e }), /* @__PURE__ */ (0, $.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, $.jsx)(St, { item: e }), /* @__PURE__ */ (0, $.jsxs)("div", {
"data-media-text": "",
children: [
/* @__PURE__ */ (0, $.jsxs)("h3", {
@@ -459,7 +460,7 @@ function Tt({ item: e, layout: t, javImage: n, readOnly: r, navigate: i, tag: a,
/* @__PURE__ */ (0, $.jsx)("b", { children: e.code }),
" ",
e.title ? /* @__PURE__ */ (0, $.jsx)("span", {
- lang: ot(e.title),
+ lang: ct(e.title),
children: e.title
}) : "标题未取得"
]
@@ -469,7 +470,7 @@ function Tt({ item: e, layout: t, javImage: n, readOnly: r, navigate: i, tag: a,
children: [
e.performer_refs?.[0]?.id ? /* @__PURE__ */ (0, $.jsxs)("a", {
"data-media-who": "",
- href: Ae("performer", e.performer_refs[0].name),
+ href: Me("performer", e.performer_refs[0].name),
title: m,
children: [/* @__PURE__ */ (0, $.jsx)("svg", {
viewBox: "0 0 24 24",
@@ -525,7 +526,7 @@ function Tt({ item: e, layout: t, javImage: n, readOnly: r, navigate: i, tag: a,
e.link ? /* @__PURE__ */ (0, $.jsx)(c, {
"data-button-link": "",
variant: "secondary",
- trailingIcon: ue,
+ trailingIcon: fe,
href: e.link,
target: "_blank",
rel: "noopener noreferrer",
@@ -534,7 +535,7 @@ function Tt({ item: e, layout: t, javImage: n, readOnly: r, navigate: i, tag: a,
/* @__PURE__ */ (0, $.jsx)(s, {
variant: "ghost",
disabled: r || e.wanted || !!e.asset_id,
- ...G(u),
+ ...W(u),
onClick: d,
children: e.asset_id ? "已入库" : e.wanted ? "已加入想要" : "想要"
}),
@@ -549,15 +550,15 @@ function Tt({ item: e, layout: t, javImage: n, readOnly: r, navigate: i, tag: a,
});
}
// src/react/jav/jav-release-table.tsx
-var Et = {
+var Dt = {
widths: I,
visibility: F
};
-function Dt({ studio: e }) {
+function Ot({ studio: e }) {
let [t, n] = (0, Q.useState)(!1);
return e?.has_logo && !t ? /* @__PURE__ */ (0, $.jsx)("img", {
"data-list-studio-mark": "",
- src: Ge(e.name, "icon", e.logo_version),
+ src: qe(e.name, "icon", e.logo_version),
alt: "",
width: 16,
height: 16,
@@ -567,17 +568,17 @@ function Dt({ studio: e }) {
}) : /* @__PURE__ */ (0, $.jsx)("span", {
"data-list-studio-mark": "",
"aria-hidden": "true",
- children: We(e?.name || "", 1)
+ children: Ke(e?.name || "", 1)
});
}
-function Ot({ items: a, waiting: c, filters: l, studios: d, javImage: p, readOnly: m, navigate: h, onTag: g, onSort: _, wanting: v, onWant: b, onResource: x }) {
- let S = dt("jav-releases", Xe, Et), C = Xe.filter((e) => e.required || S.visibility[e.id] !== !1), w = Object.entries(R).find(([, e]) => e === l.sort)?.[0], T = new Map(d.map((e) => [e.name, e])), E = (e) => (t) => {
+function kt({ items: a, waiting: c, filters: l, studios: d, javImage: p, readOnly: m, navigate: h, onTag: g, onSort: _, wanting: v, onWant: y, onResource: x }) {
+ let S = ft("jav-releases", Qe, Dt), C = Qe.filter((e) => e.required || S.visibility[e.id] !== !1), w = Object.entries(z).find(([, e]) => e === l.sort)?.[0], T = new Map(d.map((e) => [e.name, e])), E = (e) => (t) => {
t.preventDefault(), h(`/works/${encodeURIComponent(e.code)}`);
- }, D = (e, t) => {
+ }, ee = (e, t) => {
let n = t.performer_refs?.[0]?.name || t.performers.split(/[,,、;/]/)[0] || "";
switch (e) {
case "name": {
- let e = Ee(t, "small", p);
+ let e = Oe(t, "small", p);
return /* @__PURE__ */ (0, $.jsxs)("div", {
"data-list-identity": "",
children: [/* @__PURE__ */ (0, $.jsx)("button", {
@@ -593,7 +594,7 @@ function Ot({ items: a, waiting: c, filters: l, studios: d, javImage: p, readOnl
kind: "cover",
html: e
},
- relayout: (e) => Ye(e, "small")
+ relayout: (e) => Ze(e, "small")
}) : /* @__PURE__ */ (0, $.jsx)("span", {
title: t.cover_reason || void 0,
children: t.cover_state ? u[t.cover_state] : "无封面"
@@ -611,7 +612,7 @@ function Ot({ items: a, waiting: c, filters: l, studios: d, javImage: p, readOnl
/* @__PURE__ */ (0, $.jsx)("b", { children: t.code }),
" ",
t.title ? /* @__PURE__ */ (0, $.jsx)("span", {
- lang: ot(t.title),
+ lang: ct(t.title),
children: t.title
}) : "标题未取得"
]
@@ -622,10 +623,10 @@ function Ot({ items: a, waiting: c, filters: l, studios: d, javImage: p, readOnl
case "people": return n ? /* @__PURE__ */ (0, $.jsxs)("div", {
"data-list-people": "",
children: [
- /* @__PURE__ */ (0, $.jsx)(xt, { item: t }),
+ /* @__PURE__ */ (0, $.jsx)(St, { item: t }),
t.performer_refs?.[0]?.id ? /* @__PURE__ */ (0, $.jsx)("a", {
"data-media-who": "",
- href: Ae("performer", n),
+ href: Me("performer", n),
children: /* @__PURE__ */ (0, $.jsx)("span", { children: n })
}) : /* @__PURE__ */ (0, $.jsx)("span", {
"data-media-who": "",
@@ -644,7 +645,7 @@ function Ot({ items: a, waiting: c, filters: l, studios: d, javImage: p, readOnl
case "studio": return t.studio ? /* @__PURE__ */ (0, $.jsxs)("span", {
"data-list-library": "",
title: t.studio,
- children: [/* @__PURE__ */ (0, $.jsx)(Dt, { studio: T.get(t.studio) }), /* @__PURE__ */ (0, $.jsx)("span", { children: t.studio })]
+ children: [/* @__PURE__ */ (0, $.jsx)(Ot, { studio: T.get(t.studio) }), /* @__PURE__ */ (0, $.jsx)("span", { children: t.studio })]
}) : "—";
case "tags": return t.tags?.length ? /* @__PURE__ */ (0, $.jsx)("div", {
"data-media-tags": "",
@@ -658,7 +659,7 @@ function Ot({ items: a, waiting: c, filters: l, studios: d, javImage: p, readOnl
}, e))
}) : "—";
case "code": return t.code;
- case "dur": return Re(t.duration) || "—";
+ case "dur": return Be(t.duration) || "—";
case "score": return t.source_score == null ? "—" : `${t.source_score.toFixed(2)} / 5`;
case "release": return t.release_date || "—";
default: return /* @__PURE__ */ (0, $.jsxs)("div", {
@@ -668,8 +669,8 @@ function Ot({ items: a, waiting: c, filters: l, studios: d, javImage: p, readOnl
size: "small",
variant: "ghost",
disabled: m || t.wanted || !!t.asset_id,
- ...G(v(t)),
- onClick: () => b(t),
+ ...W(v(t)),
+ onClick: () => y(t),
children: t.wanted ? "已想要" : "想要"
}), /* @__PURE__ */ (0, $.jsx)(s, {
size: "small",
@@ -695,10 +696,10 @@ function Ot({ items: a, waiting: c, filters: l, studios: d, javImage: p, readOnl
label: "新作列表"
})
})
- }), /* @__PURE__ */ (0, $.jsx)(y, {
+ }), /* @__PURE__ */ (0, $.jsx)(b, {
follow: !0,
preferences: S,
- children: /* @__PURE__ */ (0, $.jsxs)(oe, {
+ children: /* @__PURE__ */ (0, $.jsxs)(se, {
"aria-label": "新作列表",
size: "sm",
sortDescriptor: w ? {
@@ -706,22 +707,22 @@ function Ot({ items: a, waiting: c, filters: l, studios: d, javImage: p, readOnl
direction: l.dir === "asc" ? "ascending" : "descending"
} : void 0,
onSortChange: (e) => {
- let t = R[String(e.column)];
+ let t = z[String(e.column)];
t && _(t, e.direction === "ascending" ? "asc" : "desc");
},
children: [/* @__PURE__ */ (0, $.jsxs)(i, { children: [C.map((e) => /* @__PURE__ */ (0, $.jsx)(t, {
id: e.id,
isRowHeader: e.id === "name",
- allowsSorting: e.id in R,
+ allowsSorting: e.id in z,
...S.columnProps(e.id),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [e.label, e.id in R ? /* @__PURE__ */ (0, $.jsx)("span", {
+ children: [e.label, e.id in z ? /* @__PURE__ */ (0, $.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
children: /* @__PURE__ */ (0, $.jsx)(f, {})
}) : null]
- }), /* @__PURE__ */ (0, $.jsx)(W, {
+ }), /* @__PURE__ */ (0, $.jsx)(ce, {
preferences: S,
id: e.id
})] })
@@ -737,12 +738,12 @@ function Ot({ items: a, waiting: c, filters: l, studios: d, javImage: p, readOnl
id: `skeleton-${t}`,
"data-list-skeleton-row": "",
"aria-hidden": "true",
- children: [C.map((e) => /* @__PURE__ */ (0, $.jsx)(r, { children: /* @__PURE__ */ (0, $.jsx)("span", { dangerouslySetInnerHTML: { __html: ye(e.id) } }) }, e.id)), /* @__PURE__ */ (0, $.jsx)(r, { "data-table-space": "" })]
+ children: [C.map((e) => /* @__PURE__ */ (0, $.jsx)(r, { children: /* @__PURE__ */ (0, $.jsx)("span", { dangerouslySetInnerHTML: { __html: xe(e.id) } }) }, e.id)), /* @__PURE__ */ (0, $.jsx)(r, { "data-table-space": "" })]
}, `skeleton-${t}`)) : a.map((e) => /* @__PURE__ */ (0, $.jsxs)(n, {
id: String(e.id),
"data-catalog-row": "",
"data-release-row": "",
- children: [C.map((t) => /* @__PURE__ */ (0, $.jsx)(r, { children: D(t.id, e) }, t.id)), /* @__PURE__ */ (0, $.jsx)(r, { "data-table-space": "" })]
+ children: [C.map((t) => /* @__PURE__ */ (0, $.jsx)(r, { children: ee(t.id, e) }, t.id)), /* @__PURE__ */ (0, $.jsx)(r, { "data-table-space": "" })]
}, e.id))
})]
})
@@ -750,16 +751,16 @@ function Ot({ items: a, waiting: c, filters: l, studios: d, javImage: p, readOnl
});
}
// src/react/jav/jav-releases.tsx
-var kt = `<div data-catalog-tier="performers" data-skeleton="tiers">${st("performer")}</div><div data-catalog-tier="studios">${st("studio")}</div>`, At = (e) => `<span data-tier-initial>${je(Le(K("performer", e.name, e.id)))}</span>${ke({
+var At = `<div data-catalog-tier="performers" data-skeleton="tiers">${lt("performer")}</div><div data-catalog-tier="studios">${lt("studio")}</div>`, jt = (e) => `<span data-tier-initial>${Ne(ze(G("performer", e.name, e.id)))}</span>${je({
id: e.id,
hasImage: e.has_image,
version: e.image_version,
- style: Me(e.avatar_focus),
+ style: Pe(e.avatar_focus),
focus: e.avatar_focus,
standIn: e.avatar_stand_in
})}`;
-function jt({ value: e }) {
- let t = Je(e);
+function Mt({ value: e }) {
+ let t = Xe(e);
return /* @__PURE__ */ (0, $.jsx)("span", {
"data-jav-taste-score": "",
title: `口味 ${t.score}`,
@@ -769,25 +770,25 @@ function jt({ value: e }) {
})
});
}
-function Mt({ studio: e }) {
+function Nt({ studio: e }) {
let [t, n] = (0, Q.useState)(!1);
return /* @__PURE__ */ (0, $.jsx)("span", {
"data-tier-mark": "",
children: e.has_logo && !t ? /* @__PURE__ */ (0, $.jsx)("img", {
- src: Ge(e.name, "icon", e.logo_version),
+ src: qe(e.name, "icon", e.logo_version),
alt: "",
width: 28,
height: 28,
loading: "lazy",
decoding: "async",
onError: () => n(!0)
- }) : We(e.name, 2)
+ }) : Ke(e.name, 2)
});
}
-var Nt = (e) => Ne(e).then((t) => (t.has_cover && xe(e, t), t.has_cover));
-function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
- lt();
- let [o, u] = (0, Q.useState)(() => Ze(location.search));
+var Pt = (e) => Fe(e).then((t) => (t.has_cover && Ce(e, t), t.has_cover));
+function Ft({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
+ dt();
+ let [o, u] = (0, Q.useState)(() => $e(location.search));
(0, Q.useEffect)(() => {
r !== o.q && (u((e) => ({
...e,
@@ -805,11 +806,16 @@ function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
[e]: n,
page: ""
});
- }, p = (0, Q.useRef)(null), m = (e) => {
- u((t) => ({
- ...t,
- page: e
- })), Z({ page: e > 1 ? String(e) : "" }), p.current?.scrollIntoView({ block: "start" });
+ }, p = (0, Q.useRef)(null), m = ({ pageIndex: e, pageSize: t }) => {
+ let n = e + 1;
+ u((e) => ({
+ ...e,
+ page: n,
+ size: t
+ })), Z({
+ page: n > 1 ? String(n) : "",
+ size: t === 24 ? "" : String(t)
+ }), p.current?.scrollIntoView({ block: "start" });
}, g = () => {
u((e) => ({
...e,
@@ -837,7 +843,7 @@ function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
seed: "",
page: ""
});
- }, y = () => {
+ }, b = () => {
let e = Math.random().toString(36).slice(2, 10);
u((t) => ({
...t,
@@ -853,19 +859,19 @@ function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
});
};
(0, Q.useEffect)(() => {
- let e = [...p.current?.querySelectorAll("[data-catalog-tier],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => ft(e, { drag: !0 }));
+ let e = [...p.current?.querySelectorAll("[data-catalog-tier],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => pt(e, { drag: !0 }));
return () => e.forEach((e) => e.destroy());
}, []);
- let b = me();
- (0, Q.useSyncExternalStore)(b.subscribe, b.version, b.version);
- let x = Ve(), w = ct(), D = ve(ze({
+ let x = ge();
+ (0, Q.useSyncExternalStore)(x.subscribe, x.version, x.version);
+ let S = Ue(), T = ut(), D = be(Ve({
active: !0,
home: !1,
portrait: !1
- })), O = (0, Q.useRef)(""), k = ut({
- queryKey: Qe(o),
- queryFn: ({ signal: e }) => Fe(o, e, O.current),
- placeholderData: Ue,
+ })), O = (0, Q.useRef)(""), k = Y({
+ queryKey: et(o),
+ queryFn: ({ signal: e }) => Le(o, e, O.current),
+ placeholderData: Ge,
retry: !1,
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.metadata_job?.status === "running" && Math.max(1e3, e.state.data.poll_after_ms || 3e3)
@@ -875,21 +881,31 @@ function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
}, [A?.job_id]), (0, Q.useEffect)(() => {
M.current && !j && k.refetch(), M.current = j;
}, [j, k]);
- let P = Y(), F = (e) => {
- P.run(String(e.id), (t) => fe({ code: e.code }, t), () => {
- t("已加入想要"), J(), k.refetch();
+ let P = J(), F = (e) => {
+ P.run(String(e.id), (t) => me({ code: e.code }, t), () => {
+ t("已加入想要"), q(), k.refetch();
});
- }, I = k.data, R = k.isPending, z = !!(o.performer || o.studio || o.tag || o.q), B = Math.max(1, Math.ceil((I?.total || 0) / 24));
- return /* @__PURE__ */ (0, $.jsxs)("section", {
+ }, I = k.data, z = k.isPending, B = !!(o.performer || o.studio || o.tag || o.q), V = Math.max(1, Math.ceil((I?.total || 0) / o.size));
+ return (0, Q.useEffect)(() => {
+ !I || k.isPlaceholderData || o.page <= V || (u((e) => ({
+ ...e,
+ page: V
+ })), Z({ page: V > 1 ? String(V) : "" }));
+ }, [
+ I,
+ k.isPlaceholderData,
+ o.page,
+ V
+ ]), /* @__PURE__ */ (0, $.jsxs)("section", {
ref: p,
"aria-label": "订阅新作",
- "aria-busy": R || k.isFetching,
+ "aria-busy": z || k.isFetching,
className: "flex min-w-0 scroll-mt-24 flex-col gap-4",
children: [
- R ? /* @__PURE__ */ (0, $.jsx)("div", {
+ z ? /* @__PURE__ */ (0, $.jsx)("div", {
"data-catalog-tiers": "",
"aria-busy": "true",
- dangerouslySetInnerHTML: { __html: kt }
+ dangerouslySetInnerHTML: { __html: At }
}) : null,
I && (I.facets.performers.length || I.facets.studios.length) ? /* @__PURE__ */ (0, $.jsxs)("div", {
"data-catalog-tiers": "",
@@ -902,14 +918,14 @@ function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
type: "button",
"data-tier-performer": "",
"aria-pressed": o.performer === e.name,
- title: `${K("performer", e.name, e.id)} · ${e.count} 部`,
+ title: `${G("performer", e.name, e.id)} · ${e.count} 部`,
onClick: () => f("performer", e.name),
children: [/* @__PURE__ */ (0, $.jsx)("span", {
"data-tier-ring": "",
- dangerouslySetInnerHTML: { __html: At(e) }
+ dangerouslySetInnerHTML: { __html: jt(e) }
}), /* @__PURE__ */ (0, $.jsx)("span", {
"data-tier-name": "",
- children: K("performer", e.name, e.id)
+ children: G("performer", e.name, e.id)
})]
}, e.name))
}) : null, I.facets.studios.length ? /* @__PURE__ */ (0, $.jsx)("div", {
@@ -923,7 +939,7 @@ function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
title: `${e.name} · ${e.count} 部`,
onClick: () => f("studio", e.name),
children: [
- /* @__PURE__ */ (0, $.jsx)(Mt, { studio: e }),
+ /* @__PURE__ */ (0, $.jsx)(Nt, { studio: e }),
e.name,
/* @__PURE__ */ (0, $.jsx)("span", {
"data-count-badge": "",
@@ -933,7 +949,7 @@ function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
}, e.name))
}) : null]
}) : null,
- /* @__PURE__ */ (0, $.jsx)(C, {
+ /* @__PURE__ */ (0, $.jsx)(w, {
label: "新作筛选",
topLabel: "新作标签",
attrs: {
@@ -941,15 +957,15 @@ function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
"data-jav-filter": "",
"data-catalog-frame": ""
},
- busy: R,
+ busy: z,
topClassName: "gap-1.5 overflow-visible",
bottomClassName: "min-h-12",
top: /* @__PURE__ */ (0, $.jsx)("div", {
"data-catalog-scroll": "",
children: /* @__PURE__ */ (0, $.jsx)("div", {
"data-catalog-tags": "",
- dangerouslySetInnerHTML: R ? { __html: He() } : void 0,
- children: R ? null : I?.facets.tags.map((e) => /* @__PURE__ */ (0, $.jsxs)(T, {
+ dangerouslySetInnerHTML: z ? { __html: We() } : void 0,
+ children: z ? null : I?.facets.tags.map((e) => /* @__PURE__ */ (0, $.jsxs)(E, {
"data-catalog-tag": e.name,
"data-entity-press": "",
pressed: o.tag === e.name,
@@ -964,32 +980,32 @@ function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
bottom: /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [
/* @__PURE__ */ (0, $.jsx)("span", {
"data-catalog-readout": "",
- children: R ? /* @__PURE__ */ (0, $.jsx)("span", {
+ children: z ? /* @__PURE__ */ (0, $.jsx)("span", {
"data-skeleton": "count",
"aria-hidden": !0,
className: "relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"
- }) : z ? `${I?.total || 0} / ${I?.candidate_total || 0} 部` : `${I?.total || 0} 部`
+ }) : B ? `${I?.total || 0} / ${I?.candidate_total || 0} 部` : `${I?.total || 0} 部`
}),
- z ? /* @__PURE__ */ (0, $.jsx)(E, {
+ B ? /* @__PURE__ */ (0, $.jsx)(ee, {
onPress: g,
children: "清除筛选"
}) : null,
/* @__PURE__ */ (0, $.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, $.jsx)(ie, {
- onPress: y,
+ /* @__PURE__ */ (0, $.jsx)(H, {
+ onPress: b,
busy: o.sort === "random" && k.isFetching
}),
- w === "cards" ? /* @__PURE__ */ (0, $.jsx)(re, {
+ T === "cards" ? /* @__PURE__ */ (0, $.jsx)(ie, {
label: "JAV 卡片版式",
- value: x,
- options: ee,
- onChange: at
+ value: S,
+ options: te,
+ onChange: st
}) : null,
/* @__PURE__ */ (0, $.jsx)(d, {}),
/* @__PURE__ */ (0, $.jsx)(ae, {
- sorts: L.map(([e, t, n]) => ({
+ sorts: R.map(([e, t, n]) => ({
key: e,
label: t,
ariaLabel: n,
@@ -1002,20 +1018,20 @@ function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
})
] })
}),
- R && w === "cards" ? /* @__PURE__ */ (0, $.jsx)("div", {
+ z && T === "cards" ? /* @__PURE__ */ (0, $.jsx)("div", {
role: "status",
"aria-label": "正在读取新作",
- dangerouslySetInnerHTML: { __html: Be("discover", x) }
+ dangerouslySetInnerHTML: { __html: He("discover", S) }
}) : null,
k.error ? /* @__PURE__ */ (0, $.jsx)(N, {
tone: "error",
title: "新作未取得",
- children: q(k.error)
+ children: K(k.error)
}) : null,
j && A ? /* @__PURE__ */ (0, $.jsx)("div", {
"data-jav-metadata": "",
className: "min-w-0",
- children: /* @__PURE__ */ (0, $.jsx)(se, {
+ children: /* @__PURE__ */ (0, $.jsx)(le, {
label: `正在读取作品资料 · ${A.completed} / ${A.total} 部`,
value: A.completed,
total: A.total
@@ -1023,16 +1039,16 @@ function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
}) : null,
e ? null : /* @__PURE__ */ (0, $.jsx)(h, {
scope: "本页",
- fetchOne: Nt,
+ fetchOne: Pt,
codes: (I?.items || []).filter((e) => e.cover_state === "queued" && !e.cover_url).map((e) => e.code),
settled: (e, n) => {
t(e === n ? `已取到 ${n} 部封面` : `已取到 ${e} / ${n} 部封面,没取到的在卡上写了原因`), k.refetch();
}
}),
- !R && !k.error && !I?.items.length ? /* @__PURE__ */ (0, $.jsx)(S, {
+ !z && !k.error && !I?.items.length ? /* @__PURE__ */ (0, $.jsx)(C, {
icon: l,
- title: z ? "没有符合条件的新作" : "暂无未入库的新作",
- actions: z ? /* @__PURE__ */ (0, $.jsx)(s, {
+ title: B ? "没有符合条件的新作" : "暂无未入库的新作",
+ actions: B ? /* @__PURE__ */ (0, $.jsx)(s, {
size: "small",
onClick: g,
children: "清除筛选"
@@ -1041,62 +1057,65 @@ function Pt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
href: "/subscriptions?tab=add",
children: "添加订阅"
}),
- children: z ? "清除筛选后查看全部新作。" : "订阅女优或厂牌后,还没入库的新作会出现在这里。"
+ children: B ? "清除筛选后查看全部新作。" : "订阅女优或厂牌后,还没入库的新作会出现在这里。"
}) : null,
P.error ? /* @__PURE__ */ (0, $.jsx)(N, {
tone: "error",
children: P.error
}) : null,
- w === "list" ? R || I?.items.length ? /* @__PURE__ */ (0, $.jsx)(Ot, {
+ T === "list" ? z || I?.items.length ? /* @__PURE__ */ (0, $.jsx)(kt, {
items: I?.items || [],
- waiting: R,
+ waiting: z,
filters: o,
studios: I?.facets.studios || [],
- javImage: b.value.javImage,
+ javImage: x.value.javImage,
readOnly: e,
navigate: i,
onTag: (e) => f("tag", e || o.tag),
onSort: v,
wanting: (e) => P.busy === String(e.id),
onWant: F,
- onResource: (e) => n(St(e))
+ onResource: (e) => n(Ct(e))
}) : null : /* @__PURE__ */ (0, $.jsx)("div", {
"data-media-grid": "",
- className: te,
+ className: ne,
style: { "--card-ratio": D },
- children: (I?.items || []).map((t) => /* @__PURE__ */ (0, $.jsx)(Tt, {
+ children: (I?.items || []).map((t) => /* @__PURE__ */ (0, $.jsx)(Et, {
item: t,
- layout: x,
- javImage: b.value.javImage,
+ layout: S,
+ javImage: x.value.javImage,
readOnly: e,
navigate: i,
tag: o.tag,
onTag: (e) => f("tag", e || o.tag),
wanting: P.busy === String(t.id),
onWant: () => F(t),
- onResource: () => n(St(t)),
- badge: o.sort === "taste" ? /* @__PURE__ */ (0, $.jsx)(jt, { value: t.taste_score }) : void 0
+ onResource: () => n(Ct(t)),
+ badge: o.sort === "taste" ? /* @__PURE__ */ (0, $.jsx)(Mt, { value: t.taste_score }) : void 0
}, t.id))
}),
- /* @__PURE__ */ (0, $.jsx)("div", {
- className: "flex justify-center",
- children: /* @__PURE__ */ (0, $.jsx)(ne, {
- page: o.page,
- pages: B,
- onPage: m,
- label: "新作分页"
- })
- })
+ I ? /* @__PURE__ */ (0, $.jsx)(y, {
+ label: "新作",
+ total: I.total,
+ pagination: {
+ pageIndex: o.page - 1,
+ pageSize: o.size
+ },
+ onChange: m,
+ unit: "部作品",
+ pageUnit: "部",
+ pageSizes: L
+ }) : null
]
});
}
// src/react/jav/jav-page.tsx
-var Ft = it("x"), It = it("refresh-cw"), Lt = {
+var It = ot("x"), Lt = ot("refresh-cw"), Rt = {
releases: "筛选新作",
discover: "筛选推荐",
wants: "筛选想要"
};
-function Rt({ tab: e, readOnly: t, navigate: n, receipt: r }) {
+function zt({ tab: e, readOnly: t, navigate: n, receipt: r }) {
let [i, a] = (0, Q.useState)(null), [o, s] = (0, Q.useState)(() => new URLSearchParams(location.search).get("q") || ""), c = (e) => {
s(e), Z({ q: e });
};
@@ -1108,26 +1127,26 @@ function Rt({ tab: e, readOnly: t, navigate: n, receipt: r }) {
navigate: n,
find: () => a({}),
search: /* @__PURE__ */ (0, $.jsx)(O, {
- label: Lt[e] || "筛选",
+ label: Rt[e] || "筛选",
value: o,
onQuery: c
})
}),
- e === "releases" ? /* @__PURE__ */ (0, $.jsx)(Pt, {
+ e === "releases" ? /* @__PURE__ */ (0, $.jsx)(Ft, {
readOnly: t,
receipt: r,
resource: a,
query: o.trim(),
navigate: n,
clearText: () => c("")
- }) : e === "discover" ? /* @__PURE__ */ (0, $.jsx)(zt, {
+ }) : e === "discover" ? /* @__PURE__ */ (0, $.jsx)(Bt, {
readOnly: t,
receipt: r,
resource: a,
query: o.trim(),
navigate: n,
clearText: () => c("")
- }) : /* @__PURE__ */ (0, $.jsx)(bt, {
+ }) : /* @__PURE__ */ (0, $.jsx)(xt, {
readOnly: t,
toast: r,
query: o.trim(),
@@ -1141,36 +1160,36 @@ function Rt({ tab: e, readOnly: t, navigate: n, receipt: r }) {
]
});
}
-function zt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
+function Bt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
let o = new URLSearchParams(location.search), [l, u] = (0, Q.useState)(() => o.get("scope") === "library" ? "library" : "external"), [d, f] = (0, Q.useState)(() => o.get("tag") || ""), [m, h] = (0, Q.useState)(() => g.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [_, v] = (0, Q.useState)(() => o.get("dir") === "asc"), y = (e) => {
u(e), Z({ scope: e === "external" ? "" : e });
- }, x = (e) => {
+ }, b = (e) => {
f(e), Z({ tag: e });
- }, D = (e) => {
+ }, S = (e) => {
h(e), Z({ sort: e === "taste" ? "" : e });
- }, O = (e) => {
+ }, D = (e) => {
v(e), Z({ dir: e ? "asc" : "" });
- }, k = (0, Q.useRef)(null);
+ }, O = (0, Q.useRef)(null);
(0, Q.useEffect)(() => {
- let e = [...k.current?.querySelectorAll("[data-catalog-scroll],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => ft(e, { drag: !0 }));
+ let e = [...O.current?.querySelectorAll("[data-catalog-scroll],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => pt(e, { drag: !0 }));
return () => e.forEach((e) => e.destroy());
}, []);
- let A = me();
- (0, Q.useSyncExternalStore)(A.subscribe, A.version, A.version);
- let M = Ve(), P = ve(ze({
+ let k = ge();
+ (0, Q.useSyncExternalStore)(k.subscribe, k.version, k.version);
+ let A = Ue(), M = be(Ve({
active: !0,
home: !1,
portrait: !1
- })), ne = (0, Q.useRef)({}), F = (0, Q.useRef)(!1), I = (0, Q.useRef)(!1), L = _ ? "asc" : "desc", R = ut({
- queryKey: De(l, m, L),
+ })), P = (0, Q.useRef)({}), F = (0, Q.useRef)(!1), I = (0, Q.useRef)(!1), L = _ ? "asc" : "desc", R = Y({
+ queryKey: ke(l, m, L),
retry: !1,
refetchOnWindowFocus: !1,
queryFn: ({ signal: e }) => {
let t = F.current, n = I.current;
- return F.current = !1, I.current = !1, Pe(l, e, {
+ return F.current = !1, I.current = !1, Ie(l, e, {
sort: m,
direction: L,
- jobId: t ? void 0 : ne.current[l],
+ jobId: t ? void 0 : P.current[l],
refreshMetadata: t,
cancelMetadata: n
});
@@ -1178,28 +1197,28 @@ function zt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
refetchInterval: (e) => e.state.data?.metadata_job?.status === "running" && Math.max(1e3, e.state.data.poll_after_ms || 3e3)
}), z = R.data?.metadata_job;
(0, Q.useEffect)(() => {
- z?.job_id && (ne.current[l] = z.job_id);
+ z?.job_id && (P.current[l] = z.job_id);
}, [l, z?.job_id]);
- let B = Y(), V = Y(), ie = (e) => {
+ let B = J(), V = J(), re = (e) => {
V.run(e, async () => (I.current = e === "stop", F.current = e !== "stop", R.refetch({
cancelRefetch: !0,
throwOnError: !0
})), () => {});
- }, H = R.data?.items || [], oe = [...new Set(H.flatMap((e) => e.tags || []))], U = H.filter((e) => (!d || e.tags?.includes(d)) && (!r || [
+ }, H = R.data?.items || [], oe = [...new Set(H.flatMap((e) => e.tags || []))], se = H.filter((e) => (!d || e.tags?.includes(d)) && (!r || [
e.code,
e.title,
e.performers,
e.studio,
...e.tags || [],
...(e.performer_refs || []).map((e) => e.name)
- ].join(" ").toLocaleLowerCase().includes(r.toLocaleLowerCase()))), W = R.isPending;
+ ].join(" ").toLocaleLowerCase().includes(r.toLocaleLowerCase()))), U = R.isPending;
return /* @__PURE__ */ (0, $.jsxs)("section", {
- ref: k,
+ ref: O,
"aria-label": "为你推荐",
- "aria-busy": W,
+ "aria-busy": U,
className: "flex min-w-0 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, $.jsx)(C, {
+ /* @__PURE__ */ (0, $.jsx)(w, {
label: "发现筛选与排序",
topLabel: "发现范围与标签",
attrs: {
@@ -1207,19 +1226,19 @@ function zt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
"data-jav-filter": "",
"data-catalog-frame": ""
},
- busy: W,
+ busy: U,
topClassName: "gap-1.5 overflow-visible",
bottomClassName: "min-h-12",
top: /* @__PURE__ */ (0, $.jsxs)("div", {
"data-catalog-scroll": "",
children: [/* @__PURE__ */ (0, $.jsxs)("div", {
"data-catalog-views": "",
- children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(T, {
+ children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, $.jsx)(E, {
"data-entity-tag": e,
"data-entity-press": "",
pressed: l === e,
onPress: () => {
- y(e), x("");
+ y(e), b("");
},
children: t
}, e)), /* @__PURE__ */ (0, $.jsx)("span", {
@@ -1228,12 +1247,12 @@ function zt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
})]
}), /* @__PURE__ */ (0, $.jsx)("div", {
"data-catalog-tags": "",
- dangerouslySetInnerHTML: W ? { __html: He() } : void 0,
- children: W ? null : oe.map((e) => /* @__PURE__ */ (0, $.jsxs)(T, {
+ dangerouslySetInnerHTML: U ? { __html: We() } : void 0,
+ children: U ? null : oe.map((e) => /* @__PURE__ */ (0, $.jsxs)(E, {
"data-catalog-tag": e,
"data-entity-press": "",
pressed: d === e,
- onPress: () => x(d === e ? "" : e),
+ onPress: () => b(d === e ? "" : e),
children: [e, /* @__PURE__ */ (0, $.jsx)("span", {
"data-count-badge": "",
children: H.filter((t) => t.tags?.includes(e)).length
@@ -1244,37 +1263,37 @@ function zt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
bottom: /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [
/* @__PURE__ */ (0, $.jsx)("span", {
"data-catalog-readout": "",
- children: W ? /* @__PURE__ */ (0, $.jsx)("span", {
+ children: U ? /* @__PURE__ */ (0, $.jsx)("span", {
"data-skeleton": "count",
"aria-hidden": !0,
className: "relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"
- }) : `${U.length} 部`
+ }) : `${se.length} 部`
}),
/* @__PURE__ */ (0, $.jsx)(j, { currentHref: () => location.pathname + location.search }),
- r || d ? /* @__PURE__ */ (0, $.jsx)(E, {
+ r || d ? /* @__PURE__ */ (0, $.jsx)(ee, {
onPress: () => {
- x(""), a();
+ b(""), a();
},
children: "清除筛选"
}) : null,
/* @__PURE__ */ (0, $.jsxs)("span", {
"data-entity-sorts": "",
children: [
- l === "external" ? /* @__PURE__ */ (0, $.jsx)(w, {
+ l === "external" ? /* @__PURE__ */ (0, $.jsx)(T, {
"data-entity-batch": "",
"data-jav-metadata-update": "",
label: z?.status === "running" ? "停止读取" : "更新资料",
- disabled: W,
- "data-skeleton-action": W ? "" : void 0,
+ disabled: U,
+ "data-skeleton-action": U ? "" : void 0,
busy: !!V.busy,
- icon: z?.status === "running" ? Ft : It,
- onPress: () => ie(z?.status === "running" ? "stop" : "update")
+ icon: z?.status === "running" ? It : Lt,
+ onPress: () => re(z?.status === "running" ? "stop" : "update")
}) : null,
- /* @__PURE__ */ (0, $.jsx)(re, {
+ /* @__PURE__ */ (0, $.jsx)(ie, {
label: "JAV 卡片版式",
- value: M,
- options: ee,
- onChange: at
+ value: A,
+ options: te,
+ onChange: st
}),
/* @__PURE__ */ (0, $.jsx)(ae, {
sorts: g.map(([e, t, n]) => ({
@@ -1285,27 +1304,27 @@ function zt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
dir: L
})),
onSort: (e) => {
- e === m ? O(!_) : (D(e), O(e === "code"));
+ e === m ? D(!_) : (S(e), D(e === "code"));
}
})
]
})
] })
}),
- W ? /* @__PURE__ */ (0, $.jsx)("div", {
+ U ? /* @__PURE__ */ (0, $.jsx)("div", {
role: "status",
"aria-label": "正在读取推荐",
- dangerouslySetInnerHTML: { __html: Be("discover", M) }
+ dangerouslySetInnerHTML: { __html: He("discover", A) }
}) : null,
R.error ? /* @__PURE__ */ (0, $.jsx)(N, {
tone: "error",
title: "推荐未取得",
- children: q(R.error)
+ children: K(R.error)
}) : null,
l === "external" && z?.status === "running" ? /* @__PURE__ */ (0, $.jsx)("div", {
"data-jav-metadata": "",
className: "min-w-0",
- children: /* @__PURE__ */ (0, $.jsx)(se, {
+ children: /* @__PURE__ */ (0, $.jsx)(le, {
label: `正在读取作品资料 · ${z.completed} / ${z.total} 部`,
value: z.completed,
total: z.total
@@ -1315,9 +1334,9 @@ function zt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
tone: "neutral",
action: /* @__PURE__ */ (0, $.jsx)(s, {
variant: "secondary",
- ...G(V.busy === "retry"),
+ ...W(V.busy === "retry"),
"aria-label": "立即重试读取作品资料",
- onClick: () => ie("retry"),
+ onClick: () => re("retry"),
children: "立即重试"
}),
children: z.message || `作品资料 ${z.completed} / ${z.total} 部`
@@ -1326,8 +1345,8 @@ function zt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
tone: "error",
children: V.error
}) : null,
- !W && !R.error && !U.length ? /* @__PURE__ */ (0, $.jsx)(S, {
- icon: b,
+ !U && !R.error && !se.length ? /* @__PURE__ */ (0, $.jsx)(C, {
+ icon: x,
title: r || d ? "没有符合条件的推荐" : "暂无匹配口味的作品",
actions: /* @__PURE__ */ (0, $.jsxs)($.Fragment, { children: [/* @__PURE__ */ (0, $.jsx)(c, {
size: "small",
@@ -1363,31 +1382,31 @@ function zt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
}) : null,
/* @__PURE__ */ (0, $.jsx)("div", {
"data-media-grid": "",
- className: te,
- style: { "--card-ratio": P },
- children: U.map((r) => {
- let a = Je(r.taste_score ?? r.score), o = [
+ className: ne,
+ style: { "--card-ratio": M },
+ children: se.map((r) => {
+ let a = Xe(r.taste_score ?? r.score), o = [
a.label,
- `口味 ${Oe(r.taste_score ?? r.score)}`,
- R.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${Oe(r.ranking_score)}` : "",
+ `口味 ${Ae(r.taste_score ?? r.score)}`,
+ R.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${Ae(r.ranking_score)}` : "",
r.source_score == null ? "" : `来源评分 ${r.source_score.toFixed(1)} / 5`,
...r.reasons || []
].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, $.jsx)(Tt, {
+ return /* @__PURE__ */ (0, $.jsx)(Et, {
item: r,
- layout: M,
- javImage: A.value.javImage,
+ layout: A,
+ javImage: k.value.javImage,
readOnly: e,
navigate: i,
tag: d,
- onTag: x,
+ onTag: b,
wanting: B.busy === String(r.id),
onWant: () => {
- B.run(String(r.id), (e) => fe({ code: r.code }, e), () => {
- t("已加入想要"), J(), R.refetch();
+ B.run(String(r.id), (e) => me({ code: r.code }, e), () => {
+ t("已加入想要"), q(), R.refetch();
});
},
- onResource: () => n(St(r)),
+ onResource: () => n(Ct(r)),
badge: /* @__PURE__ */ (0, $.jsx)("button", {
"data-jav-taste-score": "",
type: "button",
@@ -1405,6 +1424,6 @@ function zt({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clear
]
});
}
-export { Rt as JavPage };
+export { zt as JavPage };
-//# debugId=7e0eae8a-7640-4624-9521-07ab40b59a7e
\ No newline at end of file
+//# debugId=2fc06de6-1b10-45de-ad63-4c35a41511a9
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 04d39fe98..0a0f3d78b 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -2,7 +2,7 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9b0d5d94-ae4c-4f1e-8b97-ec421f84553c", e._sentryDebugIdIdentifier = "sentry-dbid-9b0d5d94-ae4c-4f1e-8b97-ec421f84553c");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3af1056a-f933-4605-926f-e958a90202e2", e._sentryDebugIdIdentifier = "sentry-dbid-3af1056a-f933-4605-926f-e958a90202e2");
} catch {}
})();
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {
@@ -37452,38 +37452,29 @@ function wpe(e, t = () => "") {
}
return [...n.values()];
}
-var Tpe = (e, t) => B(`${RI}?${new URLSearchParams({
- before_finished_at: e.finished_at || "",
- before_id: String(e.id)
-})}`, t);
-function Epe(...e) {
- let t = /* @__PURE__ */ new Map();
- for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);
- return [...t.values()].sort((e, t) => {
- let n = e.finished_at || "", r = t.finished_at || "";
- return n === r ? t.id - e.id : n < r ? 1 : -1;
- });
-}
-var BI = 2e3, VI = 1e4, Dpe = (e) => e?.running?.length ? BI : VI, HI = (e) => B(RI, e), Ope = ["result-updates"], kpe = (e) => B("/api/result-updates", e), Ape = (e, t, n) => V(`${RI}/${e}/control`, { action: t }, "POST", n);
-async function jpe(e) {
+var BI = 2e3, VI = 1e4, Tpe = (e) => e?.running?.length ? BI : VI, HI = (e, t = 1, n = 20) => B(t === 1 && n === 20 ? RI : `${RI}?page=${t}&limit=${n}`, e), Epe = ["result-updates"], Dpe = (e) => B("/api/result-updates", e), Ope = (e, t, n) => V(`${RI}/${e}/control`, { action: t }, "POST", n), kpe = (e, t) => V(`${RI}/${e}/control`, {
+ action: "set_speed",
+ speed_mode: t
+}, "POST");
+async function Ape(e) {
await H.fetchQuery({
queryKey: zI,
queryFn: () => HI(e)
});
}
-var Mpe = {
+var jpe = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Npe = {
+}, Mpe = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "意外中断"
-}, Ppe = (e) => Npe[e] || e, UI = {
+}, Npe = (e) => Mpe[e] || e, UI = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -37560,7 +37551,7 @@ var Mpe = {
without_code: "未识别番号",
incomplete: "资料或封面未取得",
result: "结果"
-}, Fpe = [
+}, Ppe = [
"gone_count",
"unclear_count",
"source_failed",
@@ -37582,13 +37573,13 @@ var Mpe = {
"paused_count",
"miss",
"incomplete"
-], Ipe = ["face_match_unavailable"], WI = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Ipe.some((t) => e.result_summary?.[t] === !0) || Fpe.some((t) => Number(e.result_summary?.[t]) > 0);
-function Lpe(e) {
+], Fpe = ["face_match_unavailable"], WI = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Fpe.some((t) => e.result_summary?.[t] === !0) || Ppe.some((t) => Number(e.result_summary?.[t]) > 0);
+function Ipe(e) {
let t = e.result_summary?.issues;
return Array.isArray(t) ? t.filter((e) => !!e && typeof e == "object" && typeof e.error == "string" && typeof e.label == "string") : [];
}
var GI = /* @__PURE__ */ new Set(["library-processing"]);
-function Rpe(e, t = !0) {
+function Lpe(e, t = !0) {
if (!WI(e) && e.status !== "failed" || GI.has(e.task_key) && !t) return null;
let n = {
"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],
@@ -37607,19 +37598,19 @@ function Rpe(e, t = !0) {
label: n[1]
} : null;
}
-function zpe(e) {
+function Rpe(e) {
let t = e.result_summary?.asset_id, n = e.result_summary?.name;
return typeof t == "number" && Number.isInteger(t) && t > 0 && typeof n == "string" && n ? {
href: `/assets/${t}`,
label: n
} : null;
}
-function Bpe(e) {
+function zpe(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) GI.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);
return new Set(t.values());
}
-function Vpe(e) {
+function Bpe(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -37628,7 +37619,7 @@ function Vpe(e) {
}
return t;
}
-function Hpe(e, t) {
+function Vpe(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -37650,10 +37641,10 @@ function Hpe(e, t) {
}
return n;
}
-var Upe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !WI(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), KI = (e) => e.status === "pending" || e.status === "running";
-function Wpe(e) {
+var Hpe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !WI(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), KI = (e) => e.status === "pending" || e.status === "running";
+function Upe(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = String(e.result_summary?.name || "") || (n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n), i = e.progress_total || 0, { name: a, ...o } = e.result_summary || {};
- return [r, YI(e.error) || Zpe(o) || (KI(e) && i > 0 ? `${JI(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, YI(e.error) || Xpe(o) || (KI(e) && i > 0 ? `${JI(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
function qI(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
@@ -37668,15 +37659,15 @@ function JI(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function Gpe(e) {
+function Wpe(e) {
let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);
return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";
}
function YI(e) {
- let t = Gpe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
+ let t = Wpe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
return n ? xn(n[1]) : t;
}
-var Kpe = {
+var Gpe = {
partial: "处理已结束,部分项目需处理",
complete: "处理完成",
interrupted: "处理已中断",
@@ -37698,7 +37689,7 @@ var Kpe = {
avwikidb: "AVWikiDB",
javdb: "JavDB",
"minnano-av": "みんなのAV"
-}, qpe = {
+}, Kpe = {
like: "标记喜欢",
seen: "标记看过",
later: "加入稍后看",
@@ -37709,7 +37700,7 @@ var Kpe = {
"dismiss-junk": "确认不是垃圾",
"reconsider-junk": "重新判定垃圾",
region: "判定产地"
-}, Jpe = (e) => Kpe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${XI[t.toLowerCase()]} 资料页` : `已保存来自 ${XI[t.toLowerCase()]} 的资料`);
+}, qpe = (e) => Gpe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${XI[t.toLowerCase()]} 资料页` : `已保存来自 ${XI[t.toLowerCase()]} 的资料`);
function ZI(e) {
if (!e) return "";
let t = new Date(e);
@@ -37720,7 +37711,7 @@ function ZI(e) {
minute: "2-digit"
});
}
-var Ype = /* @__PURE__ */ new Set([
+var Jpe = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -37730,13 +37721,13 @@ var Ype = /* @__PURE__ */ new Set([
"finished_at"
]);
function QI(e) {
- let t = Xpe(e);
+ let t = Ype(e);
return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;
}
-function Xpe(e) {
- return Object.entries(e || {}).filter(([e, t]) => !Ype.has(e) && (e in UI || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? YI(String(t)) : e === "outcome" || e === "result" ? Jpe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${UI[e]} ${Xn(Number(t))}` : e === "operation" ? `操作:${qpe[String(t)] || "批量操作"}` : `${UI[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
+function Ype(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !Jpe.has(e) && (e in UI || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? YI(String(t)) : e === "outcome" || e === "result" ? qpe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${UI[e]} ${Xn(Number(t))}` : e === "operation" ? `操作:${Kpe[String(t)] || "批量操作"}` : `${UI[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
}
-var Zpe = (e) => QI(e).join(" · ");
+var Xpe = (e) => QI(e).join(" · ");
// src/react/use-entity-names.ts
function $I() {
return (0, F.useSyncExternalStore)(Yt, Jt, Jt);
@@ -37832,7 +37823,7 @@ function aL(e, t = !0) {
}, [n, t]), i;
}
// src/react/components/filter-glass.tsx
-var Qpe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var Zpe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
className: e,
dangerouslySetInnerHTML: { __html: Hs("正在处理") }
@@ -37842,7 +37833,7 @@ function oL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress
...a,
"data-filter-action": "",
size: "small",
- icon: n && r === "spinner" ? Qpe : t,
+ icon: n && r === "spinner" ? Zpe : t,
"aria-label": e,
title: a.title || e,
"aria-busy": n || void 0,
@@ -37852,7 +37843,7 @@ function oL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress
}
});
}
-function $pe({ title: e, children: t }) {
+function Qpe({ title: e, children: t }) {
let n = (0, F.useRef)(null);
return iL(n), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: n,
@@ -37902,23 +37893,23 @@ function sL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
]
});
}
-var eme = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
+var $pe = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
function cL({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: q(eme, r),
+ className: q($pe, r),
onClick: n,
children: e
});
}
-var tme = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+var eme = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
function lL({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: tme,
+ className: eme,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -38178,7 +38169,7 @@ function xL(e) {
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function nme(e, t, n) {
+function tme(e, t, n) {
let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => HC(n, a), [n, a]);
BS(() => {}, [e, r]);
let s = {
@@ -38190,7 +38181,7 @@ function nme(e, t, n) {
var SL = {}, CL = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
let n = SL[t];
- return n || (n = /*#__PURE__*/ (0, F.forwardRef)(nme.bind(null, t)), SL[t] = n), n;
+ return n || (n = /*#__PURE__*/ (0, F.forwardRef)(tme.bind(null, t)), SL[t] = n), n;
} }), wL = /*#__PURE__*/ (0, F.createContext)(null), TL = /*#__PURE__*/ (0, F.createContext)(null), EL = /*#__PURE__*/ (0, F.createContext)(null), DL = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
return OL(e, null, t);
@@ -38210,11 +38201,11 @@ function OL(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, rme(e, t, n));
+ }), r, nme(e, t, n));
}
});
}
-function rme(e, t, n) {
+function nme(e, t, n) {
let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);
for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);
let o = t.nextKey == null ? null : e.getItem(t.nextKey);
@@ -38246,10 +38237,10 @@ var jL = /*#__PURE__*/ (0, F.createContext)({}), ML = /*#__PURE__*/ nw(function(
...r,
ref: t
});
-}), ime = /*#__PURE__*/ (0, F.createContext)(null), NL = /*#__PURE__*/ (0, F.createContext)({}), PL = /*#__PURE__*/ nw(function(e, t) {
+}), rme = /*#__PURE__*/ (0, F.createContext)(null), NL = /*#__PURE__*/ (0, F.createContext)({}), PL = /*#__PURE__*/ nw(function(e, t) {
[e, t] = yL(e, t, NL);
let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Zoe(e, t);
- i = ome(i, r);
+ i = ame(i, r);
let { focusProps: o, isFocused: s, isFocusVisible: c } = AD(e), { hoverProps: l, isHovered: u } = PD({
...e,
isDisabled: e.isDisabled || r
@@ -38291,11 +38282,11 @@ var jL = /*#__PURE__*/ (0, F.createContext)({}), ML = /*#__PURE__*/ nw(function(
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ F.createElement(ime.Provider, { value: { id: m } }, f.children));
-}), ame = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function ome(e, t) {
+ }, /*#__PURE__*/ F.createElement(rme.Provider, { value: { id: m } }, f.children));
+}), ime = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function ame(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !ame.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !ime.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
@@ -38309,7 +38300,7 @@ var FL = /*#__PURE__*/ (0, F.createContext)({}), IL = /*#__PURE__*/ (0, F.forwar
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), LL = /*#__PURE__*/ (0, F.createContext)({}), sme = /*#__PURE__*/ nw(function(e, t) {
+}), LL = /*#__PURE__*/ (0, F.createContext)({}), ome = /*#__PURE__*/ nw(function(e, t) {
[e, t] = yL(e, t, LL);
let { elementType: n = "span", ...r } = e, i = CL[n];
return /*#__PURE__*/ F.createElement(i, {
@@ -38317,9 +38308,9 @@ var FL = /*#__PURE__*/ (0, F.createContext)({}), IL = /*#__PURE__*/ (0, F.forwar
...r,
ref: t
});
-}), RL = /*#__PURE__*/ (0, F.createContext)(null), zL = /*#__PURE__*/ (0, F.createContext)(null), BL = /*#__PURE__*/ (0, F.createContext)(null), VL = /*#__PURE__*/ (0, F.createContext)(null), cme = /*#__PURE__*/ (0, F.createContext)(null), HL = /*#__PURE__*/ (0, F.createContext)(null);
-function lme(e, t) {
- let { validationBehavior: n } = vL(zL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(cme), a = ZC((0, F.useMemo)(() => HC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+}), RL = /*#__PURE__*/ (0, F.createContext)(null), zL = /*#__PURE__*/ (0, F.createContext)(null), BL = /*#__PURE__*/ (0, F.createContext)(null), VL = /*#__PURE__*/ (0, F.createContext)(null), sme = /*#__PURE__*/ (0, F.createContext)(null), HL = /*#__PURE__*/ (0, F.createContext)(null);
+function cme(e, t) {
+ let { validationBehavior: n } = vL(zL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(sme), a = ZC((0, F.useMemo)(() => HC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
...xL(e),
children: typeof e.children == "function" || e.children,
value: e.value,
@@ -38327,21 +38318,21 @@ function lme(e, t) {
};
return [i ? bse(o, i, a) : QT(o, rE(e), a), a];
}
-var ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var lme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
[e, t] = yL(r, t, BL);
- let [i, a] = lme(e, n);
+ let [i, a] = cme(e, n);
return /*#__PURE__*/ F.createElement(HL.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ F.createElement(dme, {
+ } }, /*#__PURE__*/ F.createElement(ume, {
...e,
ref: t
}));
-}), dme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}), ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, F.useContext)(HL), { isFocused: p, isFocusVisible: m, focusProps: h } = AD(), g = a || o, { hoverProps: _, isHovered: v } = PD({
...e,
isDisabled: g
@@ -38412,10 +38403,10 @@ var ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), GL = /*#__PURE__*/ (0, F.createContext)({}), fme = (e) => {
+}), GL = /*#__PURE__*/ (0, F.createContext)({}), dme = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, pme = /*#__PURE__*/ nw(function(e, t) {
+}, fme = /*#__PURE__*/ nw(function(e, t) {
[e, t] = yL(e, t, GL);
let { hoverProps: n, isHovered: r } = PD({
...e,
@@ -38435,7 +38426,7 @@ var ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
defaultClassName: "react-aria-Input"
});
return /*#__PURE__*/ F.createElement(CL.input, {
- ...K(fme(e), o, n),
+ ...K(dme(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -38444,9 +38435,9 @@ var ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), mme = 0, hme = 100, gme = 1;
-function _me(e) {
- let { isDisabled: t = !1, minValue: n = mme, maxValue: r = hme, numberFormatter: i, step: a = gme, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {
+}), pme = 0, mme = 100, hme = 1;
+function gme(e) {
+ let { isDisabled: t = !1, minValue: n = pme, maxValue: r = mme, numberFormatter: i, step: a = hme, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {
let e = (r - n) / 10;
return e = oE(e, 0, e + a, a), Math.max(e, a);
}, [
@@ -38566,9 +38557,9 @@ function JL(e, t, n) {
};
}
// node_modules/react-aria-components/dist/private/Slider.mjs
-var vme = /*#__PURE__*/ (0, F.createContext)(null), YL = /*#__PURE__*/ (0, F.createContext)(null), XL = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ (0, F.createContext)(null), bme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = yL(e, t, vme);
- let n = (0, F.useRef)(null), r = Tse(e.formatOptions), i = _me({
+var _me = /*#__PURE__*/ (0, F.createContext)(null), YL = /*#__PURE__*/ (0, F.createContext)(null), XL = /*#__PURE__*/ (0, F.createContext)(null), vme = /*#__PURE__*/ (0, F.createContext)(null), yme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = yL(e, t, _me);
+ let n = (0, F.useRef)(null), r = Tse(e.formatOptions), i = gme({
...e,
numberFormatter: r
}), [a, o] = bL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Ese({
@@ -38589,7 +38580,7 @@ var vme = /*#__PURE__*/ (0, F.createContext)(null), YL = /*#__PURE__*/ (0, F.cre
...c,
ref: n
}],
- [yme, u],
+ [vme, u],
[jL, {
...l,
ref: a
@@ -38601,7 +38592,7 @@ var vme = /*#__PURE__*/ (0, F.createContext)(null), YL = /*#__PURE__*/ (0, F.cre
"data-orientation": i.orientation,
"data-disabled": i.isDisabled || void 0
}));
-}), xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}), bme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
[e, t] = yL(e, t, XL);
let n = (0, F.useContext)(YL), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = PD({
onHoverStart: r,
@@ -38625,7 +38616,7 @@ var vme = /*#__PURE__*/ (0, F.createContext)(null), YL = /*#__PURE__*/ (0, F.cre
"data-orientation": n.orientation || void 0,
"data-disabled": n.isDisabled || void 0
});
-}), Sme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}), xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null } = e, r = (0, F.useContext)(YL), { ref: i } = vL(XL), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = bL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Dse({
...e,
index: a,
@@ -38974,13 +38965,13 @@ jR = {
"zh-TW": AR
};
// node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var MR = /*#__PURE__*/ (0, F.createContext)({}), NR = /*#__PURE__*/ (0, F.createContext)(null), Cme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var MR = /*#__PURE__*/ (0, F.createContext)({}), NR = /*#__PURE__*/ (0, F.createContext)(null), Sme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { render: n } = (0, F.useContext)(NR);
return /*#__PURE__*/ F.createElement(F.Fragment, null, n(e, t));
});
function PR(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, F.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Cme, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Sme, { target: e });
}, [
t?.target,
r,
@@ -39009,13 +39000,13 @@ function FR(e, t, n) {
return (0, F.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);
}
// node_modules/react-aria-components/dist/private/Header.mjs
-var IR = /*#__PURE__*/ (0, F.createContext)({}), wme = /*#__PURE__*/ (0, F.createContext)(null);
+var IR = /*#__PURE__*/ (0, F.createContext)({}), Cme = /*#__PURE__*/ (0, F.createContext)(null);
function LR(e) {
let t = (0, F.useRef)({});
- return /*#__PURE__*/ F.createElement(wme.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ F.createElement(Cme.Provider, { value: t }, e.children);
}
// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var RR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), zR = /*#__PURE__*/ (0, F.createContext)({}), Tme = /*#__PURE__*/ uw(class extends mS {
+var RR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), zR = /*#__PURE__*/ (0, F.createContext)({}), wme = /*#__PURE__*/ uw(class extends mS {
static {
this.type = "separator";
}
@@ -39101,7 +39092,7 @@ var VR = class {
}
};
// node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function Eme(e, t) {
+function Tme(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
@@ -39134,7 +39125,7 @@ function UR(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Eme(e, d)) && f(e);
+ (r || !Tme(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
@@ -39340,7 +39331,7 @@ var GR = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Dme = class {
+}, Eme = class {
build(e, t) {
return this.context = t, KR(() => this.iterateCollection(e));
}
@@ -39424,7 +39415,7 @@ var GR = class e {
...a,
key: l,
index: s,
- wrapper: Ome(e.wrapper, a.wrapper)
+ wrapper: Dme(e.wrapper, a.wrapper)
}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];
for (let t of u) {
if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${qR(t.type)}> in <${qR(r?.type ?? "unknown parent type")}>. Only <${qR(e.type)}> is supported.`);
@@ -39476,7 +39467,7 @@ function KR(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Ome(e, t) {
+function Dme(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
@@ -39486,7 +39477,7 @@ function qR(e) {
}
// node_modules/react-stately/dist/private/collections/useCollection.mjs
function JR(e, t, n) {
- let r = (0, F.useMemo)(() => new Dme(), []), { children: i, items: a, collection: o } = e;
+ let r = (0, F.useMemo)(() => new Eme(), []), { children: i, items: a, collection: o } = e;
return (0, F.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -39512,7 +39503,7 @@ function YR(e) {
selectionManager: o
};
}
-function kme(e, t) {
+function Ome(e, t) {
let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return XR(n, r), {
collection: n,
@@ -39570,20 +39561,20 @@ function ZR(e, t) {
]);
}
// node_modules/react-aria-components/dist/private/ListBox.mjs
-var QR = /*#__PURE__*/ (0, F.createContext)(null), $R = /*#__PURE__*/ (0, F.createContext)(null), Ame = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var QR = /*#__PURE__*/ (0, F.createContext)(null), $R = /*#__PURE__*/ (0, F.createContext)(null), kme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
[e, t] = yL(e, t, QR);
let n = (0, F.useContext)($R);
return n ? /*#__PURE__*/ F.createElement(ez, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ F.createElement(sw, { content: /*#__PURE__*/ F.createElement(mw, e) }, (n) => /*#__PURE__*/ F.createElement(jme, {
+ }) : /*#__PURE__*/ F.createElement(sw, { content: /*#__PURE__*/ F.createElement(mw, e) }, (n) => /*#__PURE__*/ F.createElement(Ame, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function jme({ props: e, listBoxRef: t, collection: n }) {
+function Ame({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
@@ -39602,7 +39593,7 @@ function jme({ props: e, listBoxRef: t, collection: n }) {
}
function ez({ state: e, props: t, listBoxRef: n }) {
[t, n] = yL(t, n, wL);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = kme(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Iw(), { disabledBehavior: p, disabledKeys: m } = l, h = CD({
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Ome(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Iw(), { disabledBehavior: p, disabledKeys: m } = l, h = CD({
usage: "search",
sensitivity: "base"
}), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(kL), b = (0, F.useMemo)(() => t.keyboardDelegate || new TE({
@@ -39697,10 +39688,10 @@ function ez({ state: e, props: t, listBoxRef: n }) {
dropState: C
}],
[zR, { elementType: "div" }],
- [NR, { render: Pme }],
+ [NR, { render: Nme }],
[EL, {
name: "ListBoxSection",
- render: Mme
+ render: jme
}]
] }, /*#__PURE__*/ F.createElement(LR, null, /*#__PURE__*/ F.createElement(y, {
collection: c,
@@ -39709,7 +39700,7 @@ function ez({ state: e, props: t, listBoxRef: n }) {
renderDropIndicator: PR(r, C)
}))), N, E));
}
-function Mme(e, t, n, r = "react-aria-ListBoxSection") {
+function jme(e, t, n, r = "react-aria-ListBoxSection") {
let i = (0, F.useContext)($R), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(MR), { CollectionBranch: s } = (0, F.useContext)(kL), [c, l] = bL(), { headingProps: u, groupProps: d } = tce({
heading: l,
"aria-label": e["aria-label"] ?? void 0
@@ -39732,7 +39723,7 @@ function Mme(e, t, n, r = "react-aria-ListBoxSection") {
renderDropIndicator: PR(a, o)
})));
}
-var Nme = /*#__PURE__*/ uw(_S, function(e, t, n) {
+var Mme = /*#__PURE__*/ uw(_S, function(e, t, n) {
let r = ZC(t), i = (0, F.useContext)($R), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(MR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = nce({
key: n.key,
"aria-label": e?.["aria-label"]
@@ -39790,17 +39781,17 @@ var Nme = /*#__PURE__*/ uw(_S, function(e, t, n) {
description: d
} }], [RR, { isSelected: f.isSelected }]] }, b.children));
});
-function Pme(e, t) {
+function Nme(e, t) {
t = ZC(t);
let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(MR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ F.createElement(Ime, {
+ return a ? null : /*#__PURE__*/ F.createElement(Fme, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function Fme(e, t) {
+function Pme(e, t) {
let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = _L({
...i,
defaultClassName: "react-aria-DropIndicator",
@@ -39814,7 +39805,7 @@ function Fme(e, t) {
"data-drop-target": r || void 0
}));
}
-var Ime = /*#__PURE__*/ (0, F.forwardRef)(Fme);
+var Fme = /*#__PURE__*/ (0, F.forwardRef)(Pme);
uw(gS, function(e, t, n) {
let r = (0, F.useContext)($R), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
ZR((0, F.useMemo)(() => ({
@@ -39857,7 +39848,7 @@ uw(gS, function(e, t, n) {
}, l.children)));
});
// node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var Lme = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });
+var Ime = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });
// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
function tz(e) {
let [t, n] = nE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);
@@ -39940,7 +39931,7 @@ var az = /*#__PURE__*/ (0, F.createContext)(null), oz = /*#__PURE__*/ (0, F.crea
defaultChildren: null
})), /*#__PURE__*/ F.createElement(F.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(Rme, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(Lme, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -39949,7 +39940,7 @@ var az = /*#__PURE__*/ (0, F.createContext)(null), oz = /*#__PURE__*/ (0, F.crea
dir: c
});
});
-function Rme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+function Lme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(oz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Rce({
...i,
offset: i.offset ?? 8,
@@ -40008,7 +39999,7 @@ function Rme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": m,
"data-entering": v || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ F.createElement(mk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(Lme.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ F.createElement(mk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(Ime.Provider, { value: {
...p,
placement: m,
ref: a
@@ -40036,7 +40027,7 @@ function Rme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}, /*#__PURE__*/ F.createElement(oz.Provider, { value: o }, O)));
}
// node_modules/react-aria-components/dist/private/Keyboard.mjs
-var zme = /*#__PURE__*/ (0, F.createContext)({});
+var Rme = /*#__PURE__*/ (0, F.createContext)({});
// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
function cz(e) {
let t = tz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {
@@ -40064,7 +40055,7 @@ function cz(e) {
};
}
// node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var Bme = class {
+var zme = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -40108,7 +40099,7 @@ var Bme = class {
};
// node_modules/react-stately/dist/private/tree/useTreeState.mjs
function lz(e) {
- let { onExpandedChange: t } = e, [n, r] = nE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = UR(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = JR(e, (0, F.useCallback)((e) => new Bme(e, { expandedKeys: n }), [n]), null);
+ let { onExpandedChange: t } = e, [n, r] = nE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = UR(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = JR(e, (0, F.useCallback)((e) => new zme(e, { expandedKeys: n }), [n]), null);
return (0, F.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -40116,19 +40107,19 @@ function lz(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(Vme(n, e));
+ r(Bme(n, e));
},
setExpandedKeys: r,
selectionManager: new GR(o, i)
};
}
-function Vme(e, t) {
+function Bme(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
// node_modules/react-aria-components/dist/private/Menu.mjs
var uz = /*#__PURE__*/ (0, F.createContext)(null), dz = /*#__PURE__*/ (0, F.createContext)(null), fz = /*#__PURE__*/ (0, F.createContext)(null), pz = /*#__PURE__*/ (0, F.createContext)(null);
-function Hme(e) {
+function Vme(e) {
let t = cz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = lD({
...e,
type: "menu"
@@ -40154,7 +40145,7 @@ function Hme(e) {
isPressed: t.isOpen
}, e.children));
}
-var Ume = /*#__PURE__*/ (0, F.createContext)(null);
+var Hme = /*#__PURE__*/ (0, F.createContext)(null);
(class extends mS {
static {
this.type = "submenutrigger";
@@ -40168,14 +40159,14 @@ var Ume = /*#__PURE__*/ (0, F.createContext)(null);
return null;
}
});
-var Wme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return [e, t] = yL(e, t, uz), /*#__PURE__*/ F.createElement(sw, { content: /*#__PURE__*/ F.createElement(mw, e) }, (n) => /*#__PURE__*/ F.createElement(Gme, {
+var Ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return [e, t] = yL(e, t, uz), /*#__PURE__*/ F.createElement(sw, { content: /*#__PURE__*/ F.createElement(mw, e) }, (n) => /*#__PURE__*/ F.createElement(Wme, {
props: e,
collection: n,
menuRef: t
}));
});
-function Gme({ props: e, collection: t, menuRef: n }) {
+function Wme({ props: e, collection: t, menuRef: n }) {
[e, n] = yL(e, n, wL);
let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = lz({
...e,
@@ -40209,7 +40200,7 @@ function Gme({ props: e, collection: t, menuRef: n }) {
name: "MenuSection",
render: mz
}],
- [Ume, {
+ [Hme, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
@@ -40224,7 +40215,7 @@ function Gme({ props: e, collection: t, menuRef: n }) {
scrollRef: n
}))), f));
}
-var Kme = class extends GR {
+var Gme = class extends GR {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -40256,7 +40247,7 @@ function mz(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, F.useContext)(pz), f = UR(e), p = e.selectionMode == null ? d : new Kme(d, f), m = vL(gz)?.shouldCloseOnSelect, h = Ww(e, { global: !0 });
+ }), d = (0, F.useContext)(pz), f = UR(e), p = e.selectionMode == null ? d : new Gme(d, f), m = vL(gz)?.shouldCloseOnSelect, h = Ww(e, { global: !0 });
return delete h.id, /*#__PURE__*/ F.createElement(CL.section, {
...K(h, u, l),
ref: t
@@ -40313,7 +40304,7 @@ var hz = /*#__PURE__*/ dw(_ae, mz), gz = /*#__PURE__*/ (0, F.createContext)(null
label: l,
description: u
} }],
- [zme, d],
+ [Rme, d],
[RR, { isSelected: f.isSelected }]
] }, h.children));
});
@@ -40397,7 +40388,7 @@ var vz = /*#__PURE__*/ (0, F.createContext)(null), yz = /*#__PURE__*/ (0, F.crea
} }]
] }, s.children));
}), xz = typeof document < "u" && window.visualViewport;
-function qme() {
+function Kme() {
let e = cC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {
width: 0,
height: 0
@@ -40427,7 +40418,7 @@ function Sz() {
};
}
// node_modules/react-aria-components/dist/private/Modal.mjs
-var Jme = /*#__PURE__*/ (0, F.createContext)(null), Cz = /*#__PURE__*/ (0, F.createContext)(null), Yme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var qme = /*#__PURE__*/ (0, F.createContext)(null), Cz = /*#__PURE__*/ (0, F.createContext)(null), Jme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
if ((0, F.useContext)(Cz)) return /*#__PURE__*/ F.createElement(Tz, {
...e,
modalRef: t
@@ -40448,10 +40439,10 @@ var Jme = /*#__PURE__*/ (0, F.createContext)(null), Cz = /*#__PURE__*/ (0, F.cre
modalRef: t
}, s));
});
-function Xme(e, t) {
- [e, t] = yL(e, t, Jme);
+function Yme(e, t) {
+ [e, t] = yL(e, t, qme);
let n = (0, F.useContext)(yz), r = tz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ZC(t), o = (0, F.useRef)(null), s = rz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = rz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = cC();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(Zme, {
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(Xme, {
...e,
state: i,
isExiting: u,
@@ -40460,12 +40451,12 @@ function Xme(e, t) {
onExitRef: c
});
}
-var wz = /*#__PURE__*/ (0, F.forwardRef)(Xme);
-function Zme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+var wz = /*#__PURE__*/ (0, F.forwardRef)(Yme);
+function Xme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = nz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = bce({
...n,
isEntering: c
- }, i, r), d = (0, F.useContext)(vz), f = t ? Qme(d, { isEntering: c }) : d, p = _L({
+ }, i, r), d = (0, F.useContext)(vz), f = t ? Zme(d, { isEntering: c }) : d, p = _L({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -40473,7 +40464,7 @@ function Zme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = qme(), h, g;
+ }), m = Kme(), h, g;
if (typeof document < "u") {
let e = NT(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
h = e.scrollWidth - t, g = e.scrollHeight - n;
@@ -40508,7 +40499,7 @@ function Zme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
[vz, f]
] }, p.children)));
}
-function Qme(e, t) {
+function Zme(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -40546,9 +40537,9 @@ function Tz(e) {
}, a && /*#__PURE__*/ F.createElement(mk, { onDismiss: s.close }), u.children);
}
// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var $me = Math.round(Math.random() * 1e10), ehe = 0;
-function the(e) {
- let t = (0, F.useMemo)(() => e.name || `radio-group-${$me}-${++ehe}`, [e.name]), [n, r] = nE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = qT({
+var Qme = Math.round(Math.random() * 1e10), $me = 0;
+function ehe(e) {
+ let t = (0, F.useMemo)(() => e.name || `radio-group-${Qme}-${++$me}`, [e.name]), [n, r] = nE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = qT({
...e,
value: n
}), c = (t) => {
@@ -40570,9 +40561,9 @@ function the(e) {
};
}
// node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var nhe = /*#__PURE__*/ (0, F.createContext)(null), rhe = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = yL(e, t, nhe);
- let { validationBehavior: n } = vL(zL) || {}, r = e.validationBehavior ?? n ?? "native", i = the({
+var the = /*#__PURE__*/ (0, F.createContext)(null), nhe = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = yL(e, t, the);
+ let { validationBehavior: n } = vL(zL) || {}, r = e.validationBehavior ?? n ?? "native", i = ehe({
...e,
validationBehavior: r
}), [a, o] = bL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Bce({
@@ -40615,7 +40606,7 @@ var nhe = /*#__PURE__*/ (0, F.createContext)(null), rhe = /*#__PURE__*/ (0, F.cr
] }, /*#__PURE__*/ F.createElement(LR, null, f.children)));
}), Oz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = yL(r, t, rhe);
+ [e, t] = yL(r, t, nhe);
let i = F.useContext(Ez), a = ZC((0, F.useMemo)(() => HC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = zce({
...xL(e),
children: typeof e.children == "function" || e.children
@@ -40624,11 +40615,11 @@ var nhe = /*#__PURE__*/ (0, F.createContext)(null), rhe = /*#__PURE__*/ (0, F.cr
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ F.createElement(ihe, {
+ } }, /*#__PURE__*/ F.createElement(rhe, {
...e,
ref: t
}));
-}), kz = /*#__PURE__*/ (0, F.createContext)(null), ihe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}), kz = /*#__PURE__*/ (0, F.createContext)(null), rhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(kz), l = F.useContext(Ez), { isFocused: u, isFocusVisible: d, focusProps: f } = AD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = PD({
...e,
isDisabled: p
@@ -40665,7 +40656,7 @@ var nhe = /*#__PURE__*/ (0, F.createContext)(null), rhe = /*#__PURE__*/ (0, F.cr
})), g.children);
});
// node_modules/react-stately/dist/private/select/useSelectState.mjs
-function ahe(e) {
+function ihe(e) {
let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = tz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
@@ -40687,7 +40678,7 @@ function ahe(e) {
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, F.useMemo)(() => ohe(l), [l]),
+ selectedKeys: (0, F.useMemo)(() => ahe(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -40724,14 +40715,14 @@ function ahe(e) {
setFocused: g
};
}
-function ohe(e) {
+function ahe(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
// node_modules/react-aria-components/dist/private/Select.mjs
-function she(e) {
+function ohe(e) {
return e && e.__esModule ? e.default : e;
}
-var Az = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.createContext)(null), che = /*#__PURE__*/ nw(function(e, t) {
+var Az = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.createContext)(null), she = /*#__PURE__*/ nw(function(e, t) {
[e, t] = yL(e, t, Az);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, F.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
@@ -40747,18 +40738,18 @@ var Az = /*#__PURE__*/ (0, F.createContext)(null), jz = /*#__PURE__*/ (0, F.crea
i,
a
]);
- return /*#__PURE__*/ F.createElement(sw, { content: o }, (n) => /*#__PURE__*/ F.createElement(uhe, {
+ return /*#__PURE__*/ F.createElement(sw, { content: o }, (n) => /*#__PURE__*/ F.createElement(lhe, {
props: e,
collection: n,
selectRef: t
}));
-}), lhe = [
+}), che = [
jL,
NL,
LL
];
-function uhe({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = vL(zL) || {}, i = e.validationBehavior ?? r ?? "native", a = ahe({
+function lhe({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = vL(zL) || {}, i = e.validationBehavior ?? r ?? "native", a = ihe({
...e,
collection: n,
children: void 0,
@@ -40810,7 +40801,7 @@ function uhe({ props: e, selectRef: t, collection: n }) {
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: lhe
+ clearContexts: che
}],
[QR, {
...m,
@@ -40837,7 +40828,7 @@ function uhe({ props: e, selectRef: t, collection: n }) {
autoComplete: e.autoComplete
})));
}
-for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), dhe = /*#__PURE__*/ nw(function(e, t) {
+for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), uhe = /*#__PURE__*/ nw(function(e, t) {
[e, t] = yL(e, t, Mz);
let n = (0, F.useContext)(jz), { placeholder: r } = vL(Az), i = n.selectedItems.map((e) => {
let t = e.props?.children;
@@ -40866,7 +40857,7 @@ for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), dhe = /*#__PURE__*/ nw(f
a,
o,
i
- ]), u = Hw(she(jR), "react-aria-components"), d = _L({
+ ]), u = Hw(ohe(jR), "react-aria-components"), d = _L({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -40884,9 +40875,9 @@ for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), dhe = /*#__PURE__*/ nw(f
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
}, /*#__PURE__*/ F.createElement(LL.Provider, { value: void 0 }, d.children));
-}), fhe = /*#__PURE__*/ (0, F.createContext)(null), Nz = /*#__PURE__*/ (0, F.createContext)(null), phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}), dhe = /*#__PURE__*/ (0, F.createContext)(null), Nz = /*#__PURE__*/ (0, F.createContext)(null), fhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = yL(r, t, fhe);
+ [e, t] = yL(r, t, dhe);
let i = ZC((0, F.useMemo)(() => HC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = rE(e), o = Gce({
...xL(e),
children: typeof e.children == "function" || e.children
@@ -40895,11 +40886,11 @@ for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), dhe = /*#__PURE__*/ nw(f
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ F.createElement(mhe, {
+ }]] }, /*#__PURE__*/ F.createElement(phe, {
...e,
ref: t
}));
-}), Pz = /*#__PURE__*/ (0, F.createContext)(null), mhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}), Pz = /*#__PURE__*/ (0, F.createContext)(null), phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, F.useContext)(Pz), { isFocused: f, isFocusVisible: p, focusProps: m } = AD(), h = a || o, g = (0, F.useContext)(Nz), { hoverProps: _, isHovered: v } = PD({
...e,
isDisabled: h
@@ -41044,7 +41035,7 @@ for (var Mz = /*#__PURE__*/ (0, F.createContext)(null), dhe = /*#__PURE__*/ nw(f
boundaryContext: null
};
}
-}, hhe = class {
+}, mhe = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -41199,7 +41190,7 @@ function Bz(e, t) {
textValue: ""
}));
}
-var ghe = class extends hhe {
+var hhe = class extends mhe {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
@@ -41307,10 +41298,10 @@ var ghe = class extends hhe {
}
};
// node_modules/react-stately/dist/private/table/TableUtils.mjs
-function _he(e) {
+function ghe(e) {
return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);
}
-function vhe(e) {
+function _he(e) {
if (!e || typeof e == "number") return 1;
let t = e.match(/^(.+)(?=fr$)/);
return t ? parseFloat(t[0]) : 1;
@@ -41329,12 +41320,12 @@ function Hz(e, t) {
function Uz(e, t) {
return e == null ? 0 : Vz(e, t);
}
-function yhe(e, t, n, r, i) {
+function vhe(e, t, n, r, i) {
let a = e, o = Math.floor(e), s = e - o > 0;
e = o;
let c = !1, l = t.map((t, a) => {
let o = n.get(t.key) == null ? t.width ?? t.defaultWidth ?? r?.(a) ?? "1fr" : n.get(t.key) ?? "1fr", s = !1, l = 0, u = 0, d = 0;
- _he(o) ? (l = Vz(o, e), s = !0) : (u = vhe(o), u <= 0 && (s = !0));
+ ghe(o) ? (l = Vz(o, e), s = !0) : (u = _he(o), u <= 0 && (s = !0));
let f = Uz(t.minWidth ?? i?.(a) ?? 0, e), p = Hz(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {
frozen: s,
@@ -41369,14 +41360,14 @@ function yhe(e, t, n, r, i) {
i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);
});
}
- let u = bhe(l);
+ let u = yhe(l);
if (s && u.length > 0) {
let e = a.toString().split(".")[1], t = u[u.length - 1].toString();
u[u.length - 1] = Number(t + "." + e);
}
return u;
}
-function bhe(e) {
+function yhe(e) {
let t = 0, n = 0, r = [];
return e.forEach(function(e) {
let i = e.targetMainSize, a = Math.round(i + t) - n;
@@ -41384,7 +41375,7 @@ function bhe(e) {
}), r;
}
// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs
-var xhe = class {
+var bhe = class {
constructor(e) {
this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), this.getDefaultWidth = e?.getDefaultWidth ?? (() => "1fr"), this.getDefaultMinWidth = e?.getDefaultMinWidth ?? (() => 75);
}
@@ -41413,7 +41404,7 @@ var xhe = class {
}), o;
}
buildColumnWidths(e, t, n) {
- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), yhe(e, t.columns.map((e) => ({
+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), vhe(e, t.columns.map((e) => ({
...e.props,
key: e.key
})), n, (e) => this.getDefaultWidth(t.columns[e]), (e) => this.getDefaultMinWidth(t.columns[e])).forEach((n, r) => {
@@ -41423,8 +41414,8 @@ var xhe = class {
}
};
// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs
-function She(e, t) {
- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new xhe({
+function xhe(e, t) {
+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new bhe({
getDefaultWidth: n,
getDefaultMinWidth: r
}), [n, r]), [c, l] = (0, F.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, F.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, F.useState)(t.collection.columns);
@@ -41475,7 +41466,7 @@ function She(e, t) {
]);
}
// node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Che(e) {
+function She(e) {
let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || UR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
@@ -41525,11 +41516,11 @@ function Che(e) {
};
}
// node_modules/react-stately/dist/private/table/useTableState.mjs
-var whe = {
+var Che = {
ascending: "descending",
descending: "ascending"
};
-function The(e) {
+function whe(e) {
let [t, n] = (0, F.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, F.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -41540,7 +41531,7 @@ function The(e) {
i,
r,
a
- ]), c = JR(e, (0, F.useCallback)((e) => new ghe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Che({
+ ]), c = JR(e, (0, F.useCallback)((e) => new hhe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = She({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -41556,7 +41547,7 @@ function The(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? whe[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Che[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -41569,7 +41560,7 @@ function The(e) {
treeColumn: o
};
}
-function Ehe(e, t) {
+function The(e, t) {
let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -41578,10 +41569,10 @@ function Ehe(e, t) {
};
}
// node_modules/react-aria-components/dist/private/Table.mjs
-function Dhe(e) {
+function Ehe(e) {
return e && e.__esModule ? e.default : e;
}
-var Ohe = class extends vS {
+var Dhe = class extends vS {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -41705,7 +41696,7 @@ var Ohe = class extends vS {
constructor(...e) {
super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new Jz(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, Wz = /*#__PURE__*/ (0, F.createContext)(null), khe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}, Wz = /*#__PURE__*/ (0, F.createContext)(null), Ohe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let n = ZC(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);
BS(() => {
let e = r.current;
@@ -41724,7 +41715,7 @@ var Ohe = class extends vS {
tableRef: r,
scrollRef: i,
tableWidth: a,
- useTableColumnResizeState: She,
+ useTableColumnResizeState: xhe,
onResizeStart: e.onResizeStart,
onResize: e.onResize,
onResizeEnd: e.onResizeEnd
@@ -41743,8 +41734,8 @@ var Ohe = class extends vS {
style: e.style,
onScroll: e.onScroll
}, /*#__PURE__*/ F.createElement(Wz.Provider, { value: s }, e.children));
-}), Ahe = /*#__PURE__*/ (0, F.createContext)(null), Gz = /*#__PURE__*/ (0, F.createContext)(null), Kz = /*#__PURE__*/ (0, F.createContext)(null), jhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = yL(e, t, Ahe);
+}), khe = /*#__PURE__*/ (0, F.createContext)(null), Gz = /*#__PURE__*/ (0, F.createContext)(null), Kz = /*#__PURE__*/ (0, F.createContext)(null), Ahe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = yL(e, t, khe);
let n = UR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
@@ -41755,17 +41746,17 @@ var Ohe = class extends vS {
i,
a,
o
- ]), c = /*#__PURE__*/ F.createElement(Phe.Provider, { value: s }, /*#__PURE__*/ F.createElement(mw, e));
+ ]), c = /*#__PURE__*/ F.createElement(Nhe.Provider, { value: s }, /*#__PURE__*/ F.createElement(mw, e));
return /*#__PURE__*/ F.createElement(sw, {
content: c,
- createCollection: () => new Ohe()
- }, (r) => /*#__PURE__*/ F.createElement(Nhe, {
+ createCollection: () => new Dhe()
+ }, (r) => /*#__PURE__*/ F.createElement(Mhe, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Mhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}), jhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, F.useContext)(kL);
return n ? /*#__PURE__*/ F.createElement(CL.div, {
...e,
@@ -41784,20 +41775,20 @@ var Ohe = class extends vS {
rtl: "ArrowRight"
}
};
-function Nhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+function Mhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
[e, t] = yL(e, t, wL);
let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(Wz);
t = ZC((0, F.useMemo)(() => HC(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = nE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, F.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = The({
+ let d = whe({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Ehe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(kL), { dragAndDropHooks: _ } = e, { gridProps: v } = Xce({
+ }), f = The(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(kL), { dragAndDropHooks: _ } = e, { gridProps: v } = Xce({
...s,
layoutDelegate: m,
isVirtualized: p
@@ -41868,10 +41859,10 @@ function Nhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
dragState: S,
dropState: C
}],
- [NR, { render: Whe }],
+ [NR, { render: Uhe }],
[wL, null],
[TL, null]
- ] }, /*#__PURE__*/ F.createElement(mT, null, /*#__PURE__*/ F.createElement(Mhe, {
+ ] }, /*#__PURE__*/ F.createElement(mT, null, /*#__PURE__*/ F.createElement(jhe, {
...K(ne, ee, v, A, w?.collectionProps),
style: te,
ref: t,
@@ -41887,11 +41878,11 @@ function Nhe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
persistedKeys: FR(y, _, C)
})))), E);
}
-var Phe = /*#__PURE__*/ (0, F.createContext)(null), Jz = class extends mS {
+var Nhe = /*#__PURE__*/ (0, F.createContext)(null), Jz = class extends mS {
static {
this.type = "tableheader";
}
-}, Fhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}, Phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, F.useContext)(kL);
return n ? /*#__PURE__*/ F.createElement(CL.div, {
...e,
@@ -41905,7 +41896,7 @@ var Phe = /*#__PURE__*/ (0, F.createContext)(null), Jz = class extends mS {
items: n.headerRows,
children: (0, F.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ F.createElement(Lhe, { item: e });
+ case "headerrow": return /*#__PURE__*/ F.createElement(Ihe, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
@@ -41919,7 +41910,7 @@ var Phe = /*#__PURE__*/ (0, F.createContext)(null), Jz = class extends mS {
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ F.createElement(Fhe, {
+ return /*#__PURE__*/ F.createElement(Phe, {
...K(Ww(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -41928,7 +41919,7 @@ var Phe = /*#__PURE__*/ (0, F.createContext)(null), Jz = class extends mS {
}, (e) => /*#__PURE__*/ F.createElement(mw, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Ihe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}, e.children)), Fhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, F.useContext)(kL);
return n ? /*#__PURE__*/ F.createElement("div", {
...e,
@@ -41938,12 +41929,12 @@ var Phe = /*#__PURE__*/ (0, F.createContext)(null), Jz = class extends mS {
ref: t
});
});
-function Lhe({ item: e }) {
+function Ihe({ item: e }) {
let t = (0, F.useRef)(null), n = (0, F.useContext)(Gz), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(kL), { rowProps: a } = nle({
node: e,
isVirtualized: r
}, n, t), { checkboxProps: o } = lle(n);
- return /*#__PURE__*/ F.createElement(Ihe, {
+ return /*#__PURE__*/ F.createElement(Fhe, {
...a,
ref: t
}, /*#__PURE__*/ F.createElement(gL, { values: [[BL, { slots: { selection: o } }], [VL, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {
@@ -41951,11 +41942,11 @@ function Lhe({ item: e }) {
parent: e
})));
}
-var Rhe = class extends mS {
+var Lhe = class extends mS {
static {
this.type = "column";
}
-}, zhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}, Rhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, F.useContext)(kL);
return n ? /*#__PURE__*/ F.createElement(CL.div, {
...e,
@@ -41964,7 +41955,7 @@ var Rhe = class extends mS {
...e,
ref: t
});
-}), Xz = /*#__PURE__*/ uw(Rhe, (e, t, n) => {
+}), Xz = /*#__PURE__*/ uw(Lhe, (e, t, n) => {
let r = ZC(t), i = (0, F.useContext)(Gz), { isVirtualized: a } = (0, F.useContext)(kL), { columnHeaderProps: o, isPressed: s } = $ce({
node: n,
isVirtualized: a,
@@ -41999,7 +41990,7 @@ var Rhe = class extends mS {
width: d.getColumnWidth(n.key)
});
let _ = Ww(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ F.createElement(zhe, {
+ return delete _.id, /*#__PURE__*/ F.createElement(Rhe, {
...K(_, o, u, p),
...h,
style: g,
@@ -42015,10 +42006,10 @@ var Rhe = class extends mS {
column: n,
triggerRef: r
}], [kL, DL]] }, h.children));
-}), Zz = /*#__PURE__*/ (0, F.createContext)(null), Bhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}), Zz = /*#__PURE__*/ (0, F.createContext)(null), zhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let n = (0, F.useContext)(Kz);
if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
- let r = Hw(Dhe(jR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(Wz), { column: s, triggerRef: c } = (0, F.useContext)(Zz), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = tle({
+ let r = Hw(Ehe(jR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(Wz), { column: s, triggerRef: c } = (0, F.useContext)(Zz), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = tle({
column: s,
"aria-label": e["aria-label"] || r.format("tableResizer"),
onResizeStart: i,
@@ -42071,7 +42062,7 @@ var Rhe = class extends mS {
static {
this.type = "tablebody";
}
-}, Vhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}, Bhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, F.useContext)(kL);
return n ? /*#__PURE__*/ F.createElement(CL.div, {
...e,
@@ -42104,11 +42095,11 @@ var Rhe = class extends mS {
}, e.renderEmptyState(f)));
}
let { rowGroupProps: g } = DA(), _ = Ww(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(Vhe, {
+ return /*#__PURE__*/ F.createElement(Bhe, {
...K(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ F.createElement(Yhe, null), /*#__PURE__*/ F.createElement(o, {
+ }, l && /*#__PURE__*/ F.createElement(Jhe, null), /*#__PURE__*/ F.createElement(o, {
collection: a,
parent: n,
renderDropIndicator: PR(s, c)
@@ -42119,7 +42110,7 @@ var Rhe = class extends mS {
this.type = "tablefooter";
}
});
-var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Hhe = class extends mS {
+var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Vhe = class extends mS {
static {
this.type = "item";
}
@@ -42140,7 +42131,7 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Hh
...e,
ref: t
});
-}), nB = /*#__PURE__*/ dw(Hhe, (e, t, n) => {
+}), nB = /*#__PURE__*/ dw(Vhe, (e, t, n) => {
let r = ZC(t), i = (0, F.useContext)(Gz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(MR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(kL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ale({
node: n,
shouldSelectOnPressUp: !!o,
@@ -42247,7 +42238,7 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Hh
items: e.columns,
idScope: e.id
}, e.children);
-}), Uhe = class extends mS {
+}), Hhe = class extends mS {
static {
this.type = "cell";
}
@@ -42260,7 +42251,7 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Hh
...e,
ref: t
});
-}), iB = /*#__PURE__*/ uw(Uhe, (e, t, n) => {
+}), iB = /*#__PURE__*/ uw(Hhe, (e, t, n) => {
let r = ZC(t), i = (0, F.useContext)(Gz), { dragState: a } = (0, F.useContext)(MR), { isVirtualized: o } = (0, F.useContext)(kL);
n.column = i.collection.columns[n.index];
let { gridCellProps: s, isPressed: c } = Zce({
@@ -42305,12 +42296,12 @@ var eB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), Hh
"data-disabled": b || void 0
}, /*#__PURE__*/ F.createElement(kL.Provider, { value: DL }, x.children));
});
-function Whe(e, t) {
+function Uhe(e, t) {
t = ZC(t);
let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(MR), i = (0, F.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;
- return /*#__PURE__*/ F.createElement(Jhe, {
+ return /*#__PURE__*/ F.createElement(qhe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -42319,7 +42310,7 @@ function Whe(e, t) {
ref: t
});
}
-var Ghe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var Whe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, F.useContext)(kL);
return n ? /*#__PURE__*/ F.createElement(CL.div, {
...e,
@@ -42328,7 +42319,7 @@ var Ghe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
...e,
ref: t
});
-}), Khe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}), Ghe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, F.useContext)(kL);
return n ? /*#__PURE__*/ F.createElement(CL.div, {
...e,
@@ -42338,21 +42329,21 @@ var Ghe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
ref: t
});
});
-function qhe(e, t) {
+function Khe(e, t) {
let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(Gz), { visuallyHiddenProps: c } = dE(), l = _L({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(Ghe, {
+ return /*#__PURE__*/ F.createElement(Whe, {
...Ww(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ F.createElement(Khe, {
+ }, /*#__PURE__*/ F.createElement(Ghe, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -42363,8 +42354,8 @@ function qhe(e, t) {
ref: i
}), l.children));
}
-var Jhe = /*#__PURE__*/ (0, F.forwardRef)(qhe);
-function Yhe() {
+var qhe = /*#__PURE__*/ (0, F.forwardRef)(Khe);
+function Jhe() {
let e = (0, F.useContext)(Gz), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(MR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = dE();
return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(tB, {
role: "row",
@@ -42429,7 +42420,7 @@ uw(gS, function(e, t, n) {
}, d.children)));
});
// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function Xhe(e) {
+function Yhe(e) {
let [t, n] = nE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = YR({
...e,
selectionMode: "single",
@@ -42452,8 +42443,8 @@ function Xhe(e) {
};
}
// node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function Zhe(e) {
- let t = Xhe({
+function Xhe(e) {
+ let t = Yhe({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
@@ -42478,20 +42469,20 @@ function aB(e, t) {
return n;
}
// node_modules/react-aria-components/dist/private/Tabs.mjs
-var oB = /*#__PURE__*/ (0, F.createContext)(null), sB = /*#__PURE__*/ (0, F.createContext)(null), Qhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var oB = /*#__PURE__*/ (0, F.createContext)(null), sB = /*#__PURE__*/ (0, F.createContext)(null), Zhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
[e, t] = yL(e, t, oB);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, F.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ F.createElement(sw, { content: n }, (n) => /*#__PURE__*/ F.createElement($he, {
+ }) : n, [n, r]), /*#__PURE__*/ F.createElement(sw, { content: n }, (n) => /*#__PURE__*/ F.createElement(Qhe, {
props: e,
collection: n,
tabsRef: t
}));
});
-function $he({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = Zhe({
+function Qhe({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = Xhe({
...e,
collection: n,
children: void 0
@@ -42519,12 +42510,12 @@ function $he({ props: e, tabsRef: t, collection: n }) {
}, /*#__PURE__*/ F.createElement(gL, { values: [[oB, e], [sB, i]] }, l.children));
}
var cB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return (0, F.useContext)(sB) ? /*#__PURE__*/ F.createElement(ege, {
+ return (0, F.useContext)(sB) ? /*#__PURE__*/ F.createElement($he, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ F.createElement(mw, e);
});
-function ege({ props: e, forwardedRef: t }) {
+function $he({ props: e, forwardedRef: t }) {
let n = (0, F.useContext)(sB), { CollectionRoot: r } = (0, F.useContext)(kL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = vL(oB), o = ZC(t), { tabListProps: s } = fle({
...e,
orientation: i,
@@ -42547,7 +42538,7 @@ function ege({ props: e, forwardedRef: t }) {
persistedKeys: AL(n.selectionManager.focusedKey)
})));
}
-var tge = /*#__PURE__*/ uw(class extends mS {
+var ege = /*#__PURE__*/ uw(class extends mS {
static {
this.type = "item";
}
@@ -42584,18 +42575,18 @@ var tge = /*#__PURE__*/ uw(class extends mS {
"data-pressed": c || void 0,
"data-hovered": p || void 0
}, /*#__PURE__*/ F.createElement(RR.Provider, { value: { isSelected: o } }, m.children));
-}), nge = /*#__PURE__*/ nw(function(e, t) {
+}), tge = /*#__PURE__*/ nw(function(e, t) {
let n = (0, F.useContext)(sB), r = ZC(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
let s = rz(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(rge, {
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(nge, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function rge(e) {
+function nge(e) {
let t = (0, F.useContext)(sB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = ple(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = AD(), d = t.selectedKey === e.id, f = nz(r) && !i, p = _L({
...e,
defaultClassName: "react-aria-TabPanel",
@@ -42622,10 +42613,10 @@ function rge(e) {
}, /*#__PURE__*/ F.createElement(gL, { values: [[oB, null], [sB, null]] }, /*#__PURE__*/ F.createElement(kL.Provider, { value: DL }, p.children)));
}
// node_modules/react-aria-components/dist/private/TextArea.mjs
-var lB = /*#__PURE__*/ (0, F.createContext)({}), ige = (e) => {
+var lB = /*#__PURE__*/ (0, F.createContext)({}), rge = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, age = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+}, ige = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
[e, t] = yL(e, t, lB);
let { hoverProps: n, isHovered: r } = PD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = AD({
isTextInput: !0,
@@ -42642,7 +42633,7 @@ var lB = /*#__PURE__*/ (0, F.createContext)({}), ige = (e) => {
defaultClassName: "react-aria-TextArea"
});
return /*#__PURE__*/ F.createElement(CL.textarea, {
- ...K(ige(e), o, n),
+ ...K(rge(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -42651,8 +42642,8 @@ var lB = /*#__PURE__*/ (0, F.createContext)({}), ige = (e) => {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), oge = /*#__PURE__*/ (0, F.createContext)(null), sge = /*#__PURE__*/ nw(function(e, t) {
- [e, t] = yL(e, t, oge);
+}), age = /*#__PURE__*/ (0, F.createContext)(null), oge = /*#__PURE__*/ nw(function(e, t) {
+ [e, t] = yL(e, t, age);
let { validationBehavior: n } = vL(zL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);
[e, i] = yL(e, i, TL);
let [a, o] = bL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = wse({
@@ -42705,7 +42696,7 @@ var lB = /*#__PURE__*/ (0, F.createContext)({}), ige = (e) => {
} }],
[RL, p]
] }, h.children));
-}), cge = class e extends vS {
+}), sge = class e extends vS {
withExpandedKeys(t, n) {
let r = this.clone();
return r.expandedKeys = n, e.cloneAncestorSections(n, t, r), e.cloneAncestorSections(t, n, r), r.frozen = this.frozen, r;
@@ -42777,11 +42768,11 @@ var lB = /*#__PURE__*/ (0, F.createContext)({}), ige = (e) => {
constructor(...e) {
super(...e), this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, lge = /*#__PURE__*/ (0, F.createContext)(null), uB = /*#__PURE__*/ (0, F.createContext)(null), uge = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return [e, t] = yL(e, t, lge), /*#__PURE__*/ F.createElement(sw, {
+}, cge = /*#__PURE__*/ (0, F.createContext)(null), uB = /*#__PURE__*/ (0, F.createContext)(null), lge = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return [e, t] = yL(e, t, cge), /*#__PURE__*/ F.createElement(sw, {
content: /*#__PURE__*/ F.createElement(mw, e),
- createCollection: () => new cge()
- }, (n) => /*#__PURE__*/ F.createElement(dge, {
+ createCollection: () => new sge()
+ }, (n) => /*#__PURE__*/ F.createElement(uge, {
props: e,
collection: n,
treeRef: t
@@ -42796,7 +42787,7 @@ var lB = /*#__PURE__*/ (0, F.createContext)({}), ige = (e) => {
rtl: "ArrowRight"
}
};
-function dge({ props: e, collection: t, treeRef: n }) {
+function uge({ props: e, collection: t, treeRef: n }) {
let { dragAndDropHooks: r } = e, { direction: i } = Iw(), a = CD({
usage: "search",
sensitivity: "base"
@@ -42805,7 +42796,7 @@ function dge({ props: e, collection: t, treeRef: n }) {
c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
}, [o, s]);
let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(kL), [y, b] = nE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));
- vge(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));
+ _ge(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));
let D = lz({
...e,
selectionMode: u,
@@ -42906,15 +42897,15 @@ function dge({ props: e, collection: t, treeRef: n }) {
dragState: k,
dropState: A
}],
- [NR, { render: mge }]
- ] }, s && /*#__PURE__*/ F.createElement(_ge, null), /*#__PURE__*/ F.createElement(LR, null, /*#__PURE__*/ F.createElement(h, {
+ [NR, { render: pge }]
+ ] }, s && /*#__PURE__*/ F.createElement(gge, null), /*#__PURE__*/ F.createElement(LR, null, /*#__PURE__*/ F.createElement(h, {
collection: D.collection,
persistedKeys: FR(D.selectionManager, r, A),
scrollRef: n,
renderDropIndicator: PR(r, A)
}))), oe)), ee);
}
-var fge = /*#__PURE__*/ uw(class extends mS {
+var dge = /*#__PURE__*/ uw(class extends mS {
static {
this.type = "content";
}
@@ -42924,7 +42915,7 @@ var fge = /*#__PURE__*/ uw(class extends mS {
values: t
});
return /*#__PURE__*/ F.createElement(kL.Provider, { value: DL }, n.children);
-}), fB = /*#__PURE__*/ (0, F.createContext)(null), pge = /*#__PURE__*/ dw(class extends mS {
+}), fB = /*#__PURE__*/ (0, F.createContext)(null), fge = /*#__PURE__*/ dw(class extends mS {
static {
this.type = "item";
}
@@ -43127,12 +43118,12 @@ uw(gS, function(e, t, n) {
style: h
}, m.children)));
});
-function mge(e, t) {
+function pge(e, t) {
t = ZC(t);
let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(MR), i = (0, F.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;
- return /*#__PURE__*/ F.createElement(gge, {
+ return /*#__PURE__*/ F.createElement(hge, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -43141,7 +43132,7 @@ function mge(e, t) {
level: c
});
}
-function hge(e, t) {
+function mge(e, t) {
let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = dE(), c = _L({
...o,
defaultClassName: "react-aria-DropIndicator",
@@ -43164,8 +43155,8 @@ function hge(e, t) {
ref: i
}), c.children));
}
-var gge = /*#__PURE__*/ (0, F.forwardRef)(hge);
-function _ge() {
+var hge = /*#__PURE__*/ (0, F.forwardRef)(mge);
+function gge() {
let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(MR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = dE();
return !i && r["aria-hidden"] ? null : /*#__PURE__*/ F.createElement("div", {
role: "row",
@@ -43178,13 +43169,13 @@ function _ge() {
ref: n
})));
}
-function vge(e, t) {
+function _ge(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
// node_modules/@remixicon/react/index.mjs
-var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+var vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43192,7 +43183,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43200,7 +43191,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M6.38231 3.9681C7.92199 2.73647 9.87499 2 12 2C14.125 2 16.078 2.73647 17.6177 3.9681L19.0711 2.51472L20.4853 3.92893L19.0319 5.38231C20.2635 6.92199 21 8.87499 21 11V12H3V11C3 8.87499 3.73647 6.92199 4.9681 5.38231L3.51472 3.92893L4.92893 2.51472L6.38231 3.9681ZM3 14H21V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V14ZM9 9C9.55228 9 10 8.55228 10 8C10 7.44772 9.55228 7 9 7C8.44772 7 8 7.44772 8 8C8 8.55228 8.44772 9 9 9ZM15 9C15.5523 9 16 8.55228 16 8C16 7.44772 15.5523 7 15 7C14.4477 7 14 7.44772 14 8C14 8.55228 14.4477 9 15 9Z" })), xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M6.38231 3.9681C7.92199 2.73647 9.87499 2 12 2C14.125 2 16.078 2.73647 17.6177 3.9681L19.0711 2.51472L20.4853 3.92893L19.0319 5.38231C20.2635 6.92199 21 8.87499 21 11V12H3V11C3 8.87499 3.73647 6.92199 4.9681 5.38231L3.51472 3.92893L4.92893 2.51472L6.38231 3.9681ZM3 14H21V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V14ZM9 9C9.55228 9 10 8.55228 10 8C10 7.44772 9.55228 7 9 7C8.44772 7 8 7.44772 8 8C8 8.55228 8.44772 9 9 9ZM15 9C15.5523 9 16 8.55228 16 8C16 7.44772 15.5523 7 15 7C14.4477 7 14 7.44772 14 8C14 8.55228 14.4477 9 15 9Z" })), bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43208,7 +43199,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11.6734 7.22198C10.7974 7.22198 9.44138 6.22598 8.01338 6.26198C6.12938 6.28598 4.40138 7.35397 3.42938 9.04597C1.47338 12.442 2.92538 17.458 4.83338 20.218C5.76938 21.562 6.87338 23.074 8.33738 23.026C9.74138 22.966 10.2694 22.114 11.9734 22.114C13.6654 22.114 14.1454 23.026 15.6334 22.99C17.1454 22.966 18.1054 21.622 19.0294 20.266C20.0974 18.706 20.5414 17.194 20.5654 17.11C20.5294 17.098 17.6254 15.982 17.5894 12.622C17.5654 9.81397 19.8814 8.46998 19.9894 8.40998C18.6694 6.47798 16.6414 6.26198 15.9334 6.21398C14.0854 6.06998 12.5374 7.22198 11.6734 7.22198ZM14.7934 4.38998C15.5734 3.45398 16.0894 2.14598 15.9454 0.849976C14.8294 0.897976 13.4854 1.59398 12.6814 2.52998C11.9614 3.35798 11.3374 4.68998 11.5054 5.96198C12.7414 6.05798 14.0134 5.32598 14.7934 4.38998Z" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11.6734 7.22198C10.7974 7.22198 9.44138 6.22598 8.01338 6.26198C6.12938 6.28598 4.40138 7.35397 3.42938 9.04597C1.47338 12.442 2.92538 17.458 4.83338 20.218C5.76938 21.562 6.87338 23.074 8.33738 23.026C9.74138 22.966 10.2694 22.114 11.9734 22.114C13.6654 22.114 14.1454 23.026 15.6334 22.99C17.1454 22.966 18.1054 21.622 19.0294 20.266C20.0974 18.706 20.5414 17.194 20.5654 17.11C20.5294 17.098 17.6254 15.982 17.5894 12.622C17.5654 9.81397 19.8814 8.46998 19.9894 8.40998C18.6694 6.47798 16.6414 6.26198 15.9334 6.21398C14.0854 6.06998 12.5374 7.22198 11.6734 7.22198ZM14.7934 4.38998C15.5734 3.45398 16.0894 2.14598 15.9454 0.849976C14.8294 0.897976 13.4854 1.59398 12.6814 2.52998C11.9614 3.35798 11.3374 4.68998 11.5054 5.96198C12.7414 6.05798 14.0134 5.32598 14.7934 4.38998Z" })), xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43240,7 +43231,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43272,7 +43263,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43280,7 +43271,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43288,7 +43279,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43296,7 +43287,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43304,7 +43295,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43312,7 +43303,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43336,7 +43327,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43352,7 +43343,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), Age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43360,7 +43351,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43376,7 +43367,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43384,7 +43375,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43392,7 +43383,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M19 8H21C21.5523 8 22 8.44772 22 9V21C22 21.5523 21.5523 22 21 22H13C12.4477 22 12 21.5523 12 21V20H4C3.44772 20 3 19.5523 3 19V3C3 2.44772 3.44772 2 4 2H18C18.5523 2 19 2.44772 19 3V8ZM17 8V4H5V18H12V9C12 8.44772 12.4477 8 13 8H17ZM14 10V20H20V10H14Z" })), Fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M19 8H21C21.5523 8 22 8.44772 22 9V21C22 21.5523 21.5523 22 21 22H13C12.4477 22 12 21.5523 12 21V20H4C3.44772 20 3 19.5523 3 19V3C3 2.44772 3.44772 2 4 2H18C18.5523 2 19 2.44772 19 3V8ZM17 8V4H5V18H12V9C12 8.44772 12.4477 8 13 8H17ZM14 10V20H20V10H14Z" })), Pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43408,7 +43399,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), Ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), Fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43416,7 +43407,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 13.1716L19.0711 7.1005L20.4853 8.51472L12 17L3.51472 8.51472L4.92893 7.1005L11 13.1716V2H13V13.1716Z" })), Lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 13.1716L19.0711 7.1005L20.4853 8.51472L12 17L3.51472 8.51472L4.92893 7.1005L11 13.1716V2H13V13.1716Z" })), Ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43440,7 +43431,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43448,7 +43439,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43456,7 +43447,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), Bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43464,7 +43455,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43472,7 +43463,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), Hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), Vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43488,7 +43479,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), Uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), Hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43520,7 +43511,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), Wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), Uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43544,7 +43535,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43552,7 +43543,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), Kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), Gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43560,7 +43551,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43576,7 +43567,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43584,7 +43575,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43592,7 +43583,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43608,7 +43599,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43616,7 +43607,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43624,7 +43615,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), $ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), Qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43672,7 +43663,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), e_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), $ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43688,7 +43679,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), t_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), e_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43696,7 +43687,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), n_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), t_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43728,7 +43719,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), r_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), n_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43744,7 +43735,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), i_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), r_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43760,7 +43751,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), a_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), i_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43768,7 +43759,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), o_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), a_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43776,7 +43767,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M6 4V20H18V4H6ZM5 2H19C19.5523 2 20 2.44772 20 3V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V3C4 2.44772 4.44772 2 5 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), s_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M6 4V20H18V4H6ZM5 2H19C19.5523 2 20 2.44772 20 3V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V3C4 2.44772 4.44772 2 5 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), o_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43784,7 +43775,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), c_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), s_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43792,7 +43783,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), l_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), c_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43808,7 +43799,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), u_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), l_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43840,7 +43831,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), d_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), u_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43848,7 +43839,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3.00098 5.47902L10.3778 4.4625V11.5902H3.00098V5.47902ZM3.00098 18.521L10.3778 19.5375V12.4982H3.00098V18.521ZM11.1894 19.646L21.001 21V12.4982H11.1894V19.646ZM11.1894 4.35402V11.5902H21.001V3L11.1894 4.35402Z" })), f_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3.00098 5.47902L10.3778 4.4625V11.5902H3.00098V5.47902ZM3.00098 18.521L10.3778 19.5375V12.4982H3.00098V18.521ZM11.1894 19.646L21.001 21V12.4982H11.1894V19.646ZM11.1894 4.35402V11.5902H21.001V3L11.1894 4.35402Z" })), d_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43864,7 +43855,7 @@ var yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" })), p_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" })), f_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43886,7 +43877,7 @@ function XB({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, I.jsx)(Jge, {
+ n && /* @__PURE__ */ (0, I.jsx)(qge, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -43895,7 +43886,7 @@ function XB({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
// src/react/boardui/components/base/input/hint-text.tsx
function ZB({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, I.jsx)(sme, {
+ return /* @__PURE__ */ (0, I.jsx)(ome, {
slot: e ? "errorMessage" : "description",
...n,
className: q("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
@@ -43910,7 +43901,7 @@ function $B({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, I.jsx)(sge, {
+ children: /* @__PURE__ */ (0, I.jsx)(oge, {
...a,
"data-input-size": e,
className: q("group flex h-max w-full flex-col items-start gap-1", r),
@@ -43946,7 +43937,7 @@ function tV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
children: [d ? r : t ? /* @__PURE__ */ (0, I.jsx)(t, {
className: eV.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, I.jsx)(pme, {
+ }) : null, /* @__PURE__ */ (0, I.jsx)(fme, {
ref: o,
...c,
className: q(eV.input, l.inputClassName, a)
@@ -43989,7 +43980,7 @@ function nV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
}
nV.displayName = "Input";
// src/react/components/modal-frame.tsx
-var m_e = {
+var p_e = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal",
@@ -44006,10 +43997,10 @@ function rV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa
"data-modal-kind": n,
"data-motion-instant": o || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, I.jsx)(Yme, {
+ children: /* @__PURE__ */ (0, I.jsx)(Jme, {
"data-modal-surface": "",
"data-modal-width": n,
- className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", m_e[n], a),
+ className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", p_e[n], a),
children: /* @__PURE__ */ (0, I.jsx)(bz, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
@@ -44074,11 +44065,11 @@ function aV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:
}
}
// src/react/components/empty-state.tsx
-var h_e = {
+var m_e = {
standard: "min-h-80 px-6 py-12",
compact: "min-h-60 px-4 py-6"
};
-function g_e({ target: e, children: t }) {
+function h_e({ target: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "secondary",
@@ -44090,7 +44081,7 @@ function oV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-empty-state": "",
"data-empty-size": i,
- className: `col-span-full flex w-full min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${h_e[i]}`,
+ className: `col-span-full flex w-full min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${m_e[i]}`,
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
@@ -44180,11 +44171,11 @@ function mV() {
function hV(e, t) {
return e.some((e) => t.scope === "online" ? e.scope === "online" && e.tag_id === t.tag_id : e.scope !== "online" && (t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name));
}
-function __e(e) {
+function g_e(e) {
return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : Pn(e.kind, e.name, e.entity_id);
}
// src/react/library-shortcuts/shortcut-controls.tsx
-var gV = cV("star"), v_e = cV("bookmark-plus"), _V = cV("chevron-right"), vV = {
+var gV = cV("star"), __e = cV("bookmark-plus"), _V = cV("chevron-right"), vV = {
performer: "艺人",
creator: "创作者",
studio: "片商与厂牌",
@@ -44216,9 +44207,9 @@ function xV({ label: e, children: t, ...n }) {
});
}
function SV({ item: e }) {
- return /* @__PURE__ */ (0, I.jsx)(y_e, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
+ return /* @__PURE__ */ (0, I.jsx)(v_e, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
}
-function y_e({ item: e }) {
+function v_e({ item: e }) {
$I();
let t = pV(!1), n = (0, F.useRef)(t.data), r = mV(), i = t.data && t.data !== n.current ? hV(t.data.favorites || [], e) : e.favorite ?? (t.data ? hV(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -44272,14 +44263,14 @@ function CV({ currentHref: e, kind: t }) {
onOpenChange: r,
width: "collections",
label: "我的收藏",
- children: n ? /* @__PURE__ */ (0, I.jsx)(b_e, {
+ children: n ? /* @__PURE__ */ (0, I.jsx)(y_e, {
currentHref: e,
kind: t,
close: () => r(!1)
}) : null
})] });
}
-function b_e({ currentHref: e, kind: t, close: n }) {
+function y_e({ currentHref: e, kind: t, close: n }) {
$I();
let r = pV(), i = mV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);
(0, F.useEffect)(() => {
@@ -44393,7 +44384,7 @@ function b_e({ currentHref: e, kind: t, close: n }) {
href: "/watch-later",
onClick: n,
children: [
- /* @__PURE__ */ (0, I.jsx)(v_e, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, I.jsx)(__e, { "aria-hidden": !0 }),
"稍后看",
/* @__PURE__ */ (0, I.jsx)(_V, { "aria-hidden": !0 })
]
@@ -44519,11 +44510,11 @@ function b_e({ currentHref: e, kind: t, close: n }) {
"data-shortcuts-row": "",
className: "flex min-w-0 items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, I.jsxs)("a", {
- href: __e(e),
+ href: g_e(e),
"aria-label": nn(e.kind, e.name, e.entity_id),
onClick: n,
className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",
- children: [/* @__PURE__ */ (0, I.jsx)(x_e, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(b_e, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "truncate",
@@ -44555,7 +44546,7 @@ function b_e({ currentHref: e, kind: t, close: n }) {
]
});
}
-function x_e({ item: e }) {
+function b_e({ item: e }) {
let t = yV[e.kind] || gV;
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-shortcuts-avatar": "",
@@ -44574,11 +44565,11 @@ function x_e({ item: e }) {
});
}
// src/react/components/board-navigation-link.tsx
-function S_e(e) {
+function x_e(e) {
return /* @__PURE__ */ (0, I.jsx)("a", { ...e });
}
// src/react/boardui/components/foundations/icons/chevrons.tsx
-function C_e(e) {
+function S_e(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -44592,7 +44583,7 @@ function C_e(e) {
})
});
}
-function w_e(e) {
+function C_e(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 12 12",
fill: "none",
@@ -44619,7 +44610,7 @@ function wV(e) {
});
}
// src/react/boardui/components/base/breadcrumb/breadcrumb.tsx
-function T_e({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
+function w_e({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
let i = F.Children.toArray(e).filter(F.isValidElement);
return /* @__PURE__ */ (0, I.jsx)("nav", {
ref: r,
@@ -44627,7 +44618,7 @@ function T_e({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r
className: q("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
children: /* @__PURE__ */ (0, I.jsx)("ol", {
className: "flex items-center gap-2.5 px-1",
- children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(w_e, {
+ children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(C_e, {
className: "size-3 shrink-0 text-text-tertiary",
"aria-hidden": !0
}), e] }, e.key ?? t))
@@ -44647,7 +44638,7 @@ function TV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
let s = q("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);
return /* @__PURE__ */ (0, I.jsx)("li", {
className: "flex items-center",
- children: n ? /* @__PURE__ */ (0, I.jsx)(S_e, {
+ children: n ? /* @__PURE__ */ (0, I.jsx)(x_e, {
href: n,
className: s,
children: o
@@ -44664,9 +44655,9 @@ function EV() {
return Iw().direction;
}
// src/react/boardui/components/base/dropdown/menu-styles.ts
-var DV = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", E_e = "w-[266px]", D_e = "flex w-full flex-col gap-1 outline-none", OV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", kV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+var DV = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", T_e = "w-[266px]", E_e = "flex w-full flex-col gap-1 outline-none", OV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", kV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
// src/react/boardui/components/base/tree-view/tree-view.tsx
-function O_e({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
+function D_e({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
let c = EV(), l = (0, F.useContext)(kL), u = l === DL && !s.dragAndDropHooks ? jV : l;
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "contents",
@@ -44686,7 +44677,7 @@ function O_e({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
},
children: /* @__PURE__ */ (0, I.jsx)(kL.Provider, {
value: u,
- children: /* @__PURE__ */ (0, I.jsx)(uge, {
+ children: /* @__PURE__ */ (0, I.jsx)(lge, {
...s,
ref: o,
selectionMode: n,
@@ -44700,7 +44691,7 @@ function O_e({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
}
function AV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
let d = EV();
- return /* @__PURE__ */ (0, I.jsxs)(pge, {
+ return /* @__PURE__ */ (0, I.jsxs)(fge, {
...u,
ref: l,
textValue: t,
@@ -44709,10 +44700,10 @@ function AV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
...typeof c == "function" ? c(e) : c
}),
className: (e) => q("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),
- children: [/* @__PURE__ */ (0, I.jsx)(fge, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
- let f = n === null ? null : o && r ? r : n ?? (t ? o ? kB : DB : zge);
+ children: [/* @__PURE__ */ (0, I.jsx)(dge, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? kB : DB : Rge);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(A_e, {
+ /* @__PURE__ */ (0, I.jsx)(k_e, {
state: l,
id: u,
level: c,
@@ -44752,13 +44743,13 @@ function AV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
}
var jV = {
...DL,
- CollectionRoot: k_e
+ CollectionRoot: O_e
};
-function k_e({ collection: e, ...t }) {
+function O_e({ collection: e, ...t }) {
let n = (0, F.useContext)(uB);
return n ? /* @__PURE__ */ (0, I.jsx)(jx, {
initial: !1,
- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(j_e, {
+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(A_e, {
state: n,
children: e.render?.(e)
}, e.key))
@@ -44767,7 +44758,7 @@ function k_e({ collection: e, ...t }) {
...t
});
}
-function A_e({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {
+function k_e({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {
let o = e.collection.getItem(t);
if (!o) return null;
let s = [], c = o.parentKey == null ? null : e.collection.getItem(o.parentKey), l = n - 1;
@@ -44826,7 +44817,7 @@ function A_e({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
]
});
}
-function j_e({ state: e, children: t }) {
+function A_e({ state: e, children: t }) {
let n = Ox(), r = tS(), [i, a] = (0, F.useState)(e);
return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(pS.div, {
role: "presentation",
@@ -44917,7 +44908,7 @@ function NV({ state: e, size: t = "md" }) {
// src/react/boardui/components/base/checkbox/checkbox.tsx
function PV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
let a = MV[n];
- return /* @__PURE__ */ (0, I.jsx)(ume, {
+ return /* @__PURE__ */ (0, I.jsx)(lme, {
ref: r,
...i,
className: (t) => q("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
@@ -44944,7 +44935,7 @@ function FV() {
}
// src/react/providers.tsx
var IV = null;
-function M_e() {
+function j_e() {
return IV?.isConnected || (IV = document.createElement("div"), IV.className = "peach-react", IV.dataset.reactOverlays = "", document.body.append(IV)), IV;
}
function LV({ children: e }) {
@@ -44953,33 +44944,33 @@ function LV({ children: e }) {
children: /* @__PURE__ */ (0, I.jsx)(lie, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, I.jsx)(TD, {
- getContainer: M_e,
+ getContainer: j_e,
children: e
})
})
});
}
// node_modules/sonner/dist/index.mjs
-function N_e(e) {
+function M_e(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var P_e = (e) => {
+var N_e = (e) => {
switch (e) {
- case "success": return L_e;
- case "info": return z_e;
- case "warning": return R_e;
- case "error": return B_e;
+ case "success": return I_e;
+ case "info": return R_e;
+ case "warning": return L_e;
+ case "error": return z_e;
default: return null;
}
-}, F_e = Array(12).fill(0), I_e = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {
+}, P_e = Array(12).fill(0), F_e = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, F_e.map((e, t) => /*#__PURE__*/ F.createElement("div", {
+}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, P_e.map((e, t) => /*#__PURE__*/ F.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), L_e = /*#__PURE__*/ F.createElement("svg", {
+})))), I_e = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44990,7 +44981,7 @@ var P_e = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), R_e = /*#__PURE__*/ F.createElement("svg", {
+})), L_e = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -45001,7 +44992,7 @@ var P_e = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), z_e = /*#__PURE__*/ F.createElement("svg", {
+})), R_e = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -45012,7 +45003,7 @@ var P_e = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), B_e = /*#__PURE__*/ F.createElement("svg", {
+})), z_e = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -45023,7 +45014,7 @@ var P_e = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), V_e = /*#__PURE__*/ F.createElement("svg", {
+})), B_e = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -45044,7 +45035,7 @@ var P_e = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), H_e = () => {
+})), V_e = () => {
let [e, t] = F.useState(document.hidden);
return F.useEffect(() => {
let e = () => {
@@ -45052,7 +45043,7 @@ var P_e = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, U_e = 1, W_e = 100, RV = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : U_e++, zV = new class {
+}, H_e = 1, U_e = 100, RV = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : H_e++, zV = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -45062,7 +45053,7 @@ var P_e = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - W_e;
+ let e = this.toasts.length - U_e;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
let { message: t, ...n } = e, r = RV(e), i = this.pendingDismissals.get(r);
@@ -45140,7 +45131,7 @@ var P_e = (e) => {
type: "default",
message: e
});
- else if (K_e(e) && !e.ok) {
+ else if (G_e(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !F.isValidElement(r) ? r : { message: r };
this.create({
@@ -45193,7 +45184,7 @@ var P_e = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), G_e = (e, t) => zV.message(e, t), K_e = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", BV = Object.assign(G_e, {
+}(), W_e = (e, t) => zV.message(e, t), G_e = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", BV = Object.assign(W_e, {
success: zV.success,
info: zV.info,
warning: zV.warning,
@@ -45207,20 +45198,20 @@ var P_e = (e) => {
getHistory: () => zV.toasts,
getToasts: () => zV.getActiveToasts()
});
-N_e("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+M_e("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function VV(e) {
return e.label !== void 0;
}
-var q_e = 3, J_e = "24px", Y_e = "16px", HV = 4e3, X_e = 356, Z_e = 14, Q_e = 45, $_e = 200;
+var K_e = 3, q_e = "24px", J_e = "16px", HV = 4e3, Y_e = 356, X_e = 14, Z_e = 45, Q_e = 200;
function UV(...e) {
return e.filter(Boolean).join(" ");
}
-function eve(e) {
+function $_e(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var tve = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || HV), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || HV, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = H_e(), ke = F.useMemo(() => e.swipeDirections ?? eve(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";
+var eve = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || HV), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || HV, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = V_e(), ke = F.useMemo(() => e.swipeDirections ?? $_e(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";
Se.current = F.useMemo(() => ve * x + De, [ve, De]), F.useEffect(() => {
ce.current = be;
}, [be]), F.useEffect(() => {
@@ -45261,7 +45252,7 @@ var tve = (e) => {
let Me = F.useCallback(() => {
ee(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, $_e);
+ }, Q_e);
}, [
n,
d,
@@ -45294,12 +45285,12 @@ var tve = (e) => {
return w?.loading ? /*#__PURE__*/ F.createElement("div", {
className: UV(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": pe === "loading"
- }, w.loading) : /*#__PURE__*/ F.createElement(I_e, {
+ }, w.loading) : /*#__PURE__*/ F.createElement(F_e, {
className: UV(C?.loader, n?.classNames?.loader),
visible: pe === "loading"
});
}
- let Pe = n.icon || w?.[pe] || P_e(pe);
+ let Pe = n.icon || w?.[pe] || N_e(pe);
return /*#__PURE__*/ F.createElement("li", {
tabIndex: 0,
ref: ue,
@@ -45346,7 +45337,7 @@ var tve = (e) => {
if (P || !he) return;
we.current = null;
let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Q_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!0);
+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Z_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!0);
else {
var o, s;
(o = ue.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = ue.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), I(!1), te(!1), D(null);
@@ -45386,7 +45377,7 @@ var tve = (e) => {
Me(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: UV(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? V_e) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {
+ }, w?.close ?? B_e) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {
"data-icon": "",
className: UV(C?.icon, n?.classNames?.icon)
}, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ F.createElement("div", {
@@ -45421,10 +45412,10 @@ function WV() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function nve(e, t) {
+function tve(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Y_e : J_e;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? J_e : q_e;
function o(e) {
[
"top",
@@ -45446,7 +45437,7 @@ function nve(e, t) {
}), n;
}
var GV = /*#__PURE__*/ F.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = q_e, toastOptions: g, dir: _ = WV(), gap: v = Z_e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = K_e, toastOptions: g, dir: _ = WV(), gap: v = X_e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || zV.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return F.useEffect(() => zV.subscribe((e) => {
@@ -45528,10 +45519,10 @@ var GV = /*#__PURE__*/ F.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${X_e}px`,
+ "--width": `${Y_e}px`,
"--gap": `${v}px`,
...m,
- ...nve(l, u)
+ ...tve(l, u)
},
onBlur: (e) => {
ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -45549,7 +45540,7 @@ var GV = /*#__PURE__*/ F.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(tve, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(eve, {
key: n.id,
icons: y,
index: i,
@@ -45579,19 +45570,19 @@ var GV = /*#__PURE__*/ F.forwardRef(function(e, t) {
swipeDirections: e.swipeDirections
}))) : null;
}));
-}), KV = "/api/library-processing", qV = ["library-processing"], rve = (e, t, n) => {
+}), KV = "/api/library-processing", qV = ["library-processing"], nve = (e, t, n) => {
let r = new URLSearchParams({
estimate: "1",
stage: e.stage || "all"
});
return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${KV}?${r}`, t);
-}, ive = {
+}, rve = {
fetching_cover: "封面",
querying_metadata: "资料"
};
function JV(e) {
if (e?.status !== "running" || e.current_asset_id == null) return null;
- let t = ive[e.current_action || ""];
+ let t = rve[e.current_action || ""];
return !t || (e.waited_seconds || 0) < 120 ? null : {
what: t,
source: e.current_source
@@ -45625,23 +45616,23 @@ async function nH(e) {
queryFn: () => tH(e)
});
}
-var ave = 2e3, ove = 1e4, rH = "连接中断,正在重新读取处理进度", sve = {
+var ive = 2e3, ave = 1e4, rH = "连接中断,正在重新读取处理进度", ove = {
manual: "在网页发起",
scheduled: "定时发起",
startup: "服务启动时自动发起",
cli: "由命令行或托盘发起"
};
-function cve(e, t) {
+function sve(e, t) {
return `保存后 Peach 会重新启动。${e.trigger === "cli" ? "这个任务由命令行或托盘发起,在独立进程里运行,不受重启影响。" : e.status === "paused" ? "已暂停的任务会保持暂停,重启后点继续即可接着处理。" : "正在进行的任务会随重启中断,重启后从中断处继续。"}${t ? "勾选的「保存后扫描并补全资料」会排在当前任务之后。" : ""}`;
}
-function lve(e) {
- let t = sve[e.trigger || ""];
+function cve(e) {
+ let t = ove[e.trigger || ""];
return `当前的扫描与采集任务${t ? `(${t})` : ""}还没结束,等它完成或取消后再开始新的同步`;
}
function iH(e, t) {
- return XV(e) ? ave : t ? ove : !1;
+ return XV(e) ? ive : t ? ave : !1;
}
-var uve = {
+var lve = {
scanning_files: "扫描文件",
reading_local: "检查配套文件",
reading_local_cover: "读取配套图片",
@@ -45654,21 +45645,21 @@ var uve = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function dve(e) {
+function uve(e) {
let t = Object.entries(e).filter(([e, t]) => aH[e] && t > 0).map(([e, t]) => `${aH[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function fve(e) {
+function dve(e) {
if (e.status === "paused") return "已暂停";
if (e.status === "pausing") return "正在暂停";
- let t = uve[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${qI(e.waited_seconds)}` : "";
+ let t = lve[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${qI(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function pve(e) {
+function fve(e) {
let t = e.total ? `${JI(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
- return fve(e) + (t ? ` · ${t}` : "");
+ return dve(e) + (t ? ` · ${t}` : "");
}
-function mve(e) {
+function pve(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -45682,12 +45673,12 @@ function mve(e) {
log: e.issues_log || ""
} : null;
}
-var oH = "peach.library-processing.announced", hve = 120;
+var oH = "peach.library-processing.announced", mve = 120;
function sH(e) {
let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;
- return !!e.job_id && t >= 0 && t < hve;
+ return !!e.job_id && t >= 0 && t < mve;
}
-function gve(e, t, n) {
+function hve(e, t, n) {
if (e.status === "complete" && (n || sH(e))) {
try {
if (e.job_id && localStorage.getItem(oH) === e.job_id) return;
@@ -45812,14 +45803,14 @@ function dH({ state: e }) {
]
});
}
-function _ve({ state: e, slow: t }) {
+function gve({ state: e, slow: t }) {
return /* @__PURE__ */ (0, I.jsx)(aV, {
tone: "warning",
action: /* @__PURE__ */ (0, I.jsx)(dH, { state: e }),
children: YV(t)
});
}
-function vve({ state: e, slow: t }) {
+function _ve({ state: e, slow: t }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-processing-slow": "",
className: "flex min-w-0 flex-wrap items-center justify-between gap-3",
@@ -45830,7 +45821,7 @@ function vve({ state: e, slow: t }) {
});
}
// src/react/components/use-moving-surface.ts
-var yve = {
+var vve = {
selection: {
type: zg,
duration: .16,
@@ -45863,7 +45854,7 @@ function fH(e) {
let E = `translate(${b}px, ${x}px) scale(1, 1)`;
if (u && a && !r.matches && T && s !== h) {
let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;
- l = gae(n, { transform: [r, E] }, yve[e]);
+ l = gae(n, { transform: [r, E] }, vve[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -45947,12 +45938,12 @@ function vH({ className: e }) {
]
});
}
-var bve = [
+var yve = [
gH,
_H,
vH
];
-function xve({ animate: e }) {
+function bve({ animate: e }) {
let [t, n] = (0, F.useState)(document.hidden);
return (0, F.useEffect)(() => {
let e = () => n(document.hidden);
@@ -46016,7 +46007,7 @@ function yH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
})
]
}),
- /* @__PURE__ */ (0, I.jsxs)(bme, {
+ /* @__PURE__ */ (0, I.jsxs)(yme, {
"aria-label": "处理速度",
minValue: 0,
maxValue: 2,
@@ -46048,10 +46039,10 @@ function yH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
/* @__PURE__ */ (0, I.jsx)("i", {})
]
}),
- a === 2 ? /* @__PURE__ */ (0, I.jsx)(xve, { animate: r }) : null,
- /* @__PURE__ */ (0, I.jsx)(xme, {
+ a === 2 ? /* @__PURE__ */ (0, I.jsx)(bve, { animate: r }) : null,
+ /* @__PURE__ */ (0, I.jsx)(bme, {
className: "processing-effort-hit",
- children: /* @__PURE__ */ (0, I.jsx)(Sme, {
+ children: /* @__PURE__ */ (0, I.jsx)(xme, {
"aria-label": hH[a],
className: "processing-effort-thumb"
})
@@ -46066,7 +46057,7 @@ function yH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
]
});
}
-function Sve({ value: e, busy: t, onChange: n, animate: r = !0 }) {
+function bH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, mH.indexOf(e));
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "processing-effort-trigger",
@@ -46079,7 +46070,7 @@ function Sve({ value: e, busy: t, onChange: n, animate: r = !0 }) {
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-disabled": t,
- leadingIcon: bve[s],
+ leadingIcon: yve[s],
trailingIcon: pB,
onClick: () => {
t || o(!a);
@@ -46106,7 +46097,7 @@ function Sve({ value: e, busy: t, onChange: n, animate: r = !0 }) {
})] });
}
// src/react/library-processing/processing-controls.tsx
-function bH({ state: e, disabled: t = !1 }) {
+function xH({ state: e, disabled: t = !1 }) {
let n = uH(), r = (0, F.useRef)(!1), i = XV(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {
t || n.busy || n.run(e.action, (t) => V(KV, e, "POST", t), (e) => {
H.setQueryData(qV, e), H.invalidateQueries({ queryKey: qV });
@@ -46133,7 +46124,7 @@ function bH({ state: e, disabled: t = !1 }) {
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(Sve, {
+ /* @__PURE__ */ (0, I.jsx)(bH, {
value: e.speed_mode || "standard",
busy: t || !!n.busy || a,
animate: e.status !== "paused" && e.status !== "pausing",
@@ -46179,7 +46170,7 @@ function bH({ state: e, disabled: t = !1 }) {
});
}
// src/react/library-processing/use-library-processing.ts
-function xH({ toast: e, mode: t, monitor: n }) {
+function SH({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = Ft({
queryKey: qV,
queryFn: ({ signal: e }) => tH(e),
@@ -46195,7 +46186,7 @@ function xH({ toast: e, mode: t, monitor: n }) {
"paused",
"stopping"
].includes(n) && !XV(c);
- r && o(c), (r || t === "notice") && gve(c, e, r);
+ r && o(c), (r || t === "notice") && hve(c, e, r);
}, [
c,
t,
@@ -46207,7 +46198,7 @@ function xH({ toast: e, mode: t, monitor: n }) {
};
}
// src/react/components/loading-dots.tsx
-function SH({ label: e }) {
+function CH({ label: e }) {
return /* @__PURE__ */ (0, I.jsxs)("p", {
role: "status",
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
@@ -46226,21 +46217,21 @@ function SH({ label: e }) {
});
}
// src/react/components/progress.tsx
-var CH = 100, Cve = .4;
-function wH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1, meter: a = !1 }) {
- let o = n > 0 ? n : 1, s = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), o), c = (e) => s(e) / o * CH;
+var wH = 100, xve = .4;
+function TH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1, meter: a = !1 }) {
+ let o = n > 0 ? n : 1, s = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), o), c = (e) => s(e) / o * wH;
return /* @__PURE__ */ (0, I.jsxs)("svg", {
role: a ? "meter" : "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": o,
"aria-valuenow": s(t),
- viewBox: `0 0 ${CH} 1`,
+ viewBox: `0 0 ${wH} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, I.jsx)("rect", {
- width: CH,
+ width: wH,
height: 1,
className: i ? "fill-text-primary/10" : "fill-background-tertiary-default"
}),
@@ -46251,7 +46242,7 @@ function wH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1, m
}),
r.map((e) => /* @__PURE__ */ (0, I.jsx)("rect", {
x: c(e),
- width: Cve,
+ width: xve,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -46259,11 +46250,11 @@ function wH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1, m
});
}
// src/react/components/task-progress.tsx
-function TH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function EH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-task-progress": r ? "embedded" : "framed",
className: q("flex flex-col gap-1.5", !r && "gap-2 rounded-2lg bg-background-tertiary-default px-4 py-3 text-text-secondary"),
- children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(wH, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(TH, {
label: e,
value: t,
max: n,
@@ -46271,11 +46262,11 @@ function TH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
}), /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
children: e
- })] }) : /* @__PURE__ */ (0, I.jsx)(SH, { label: e })
+ })] }) : /* @__PURE__ */ (0, I.jsx)(CH, { label: e })
});
}
// src/react/library-processing/processing-line.tsx
-function EH(e) {
+function DH(e) {
let [t, n] = (0, F.useState)({
snapshot: e,
seconds: 0
@@ -46291,17 +46282,17 @@ function EH(e) {
return () => window.clearInterval(r);
}, [e, i]);
let a = i && t.snapshot === e ? t.seconds : 0;
- return pve(a ? {
+ return fve(a ? {
...e,
waited_seconds: r + a
} : e);
}
-function wve({ state: e }) {
- return EH(e);
+function Sve({ state: e }) {
+ return DH(e);
}
-function Tve({ state: e }) {
- let t = EH(e);
- return /* @__PURE__ */ (0, I.jsx)(TH, {
+function Cve({ state: e }) {
+ let t = DH(e);
+ return /* @__PURE__ */ (0, I.jsx)(EH, {
embedded: !0,
label: t,
value: Math.min(e.checked || 0, e.total || 0),
@@ -46309,7 +46300,7 @@ function Tve({ state: e }) {
});
}
// src/react/components/collapse-region.tsx
-function DH({ open: e, children: t, ...n }) {
+function OH({ open: e, children: t, ...n }) {
let r = (0, F.useRef)(null), i = (0, F.useRef)(!1);
return (0, F.useLayoutEffect)(() => {
let t = r.current;
@@ -46320,7 +46311,7 @@ function DH({ open: e, children: t, ...n }) {
children: t
});
}
-function OH(e) {
+function kH(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
...e,
"aria-hidden": !0,
@@ -46335,19 +46326,19 @@ function OH(e) {
});
}
// src/react/boardui/components/application/settings/settings-rows.tsx
-function kH({ className: e, children: t }) {
+function AH({ className: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
className: q("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function AH({ className: e, children: t }) {
+function jH({ className: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
className: q("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function Eve({ label: e, description: t, children: n }) {
+function wve({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: q("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, I.jsxs)("div", {
@@ -46363,7 +46354,7 @@ function Eve({ label: e, description: t, children: n }) {
});
}
// src/react/settings/section.tsx
-function Dve({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {
+function Tve({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {
let s = n ? /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex items-center gap-1.5",
children: [n, e]
@@ -46371,12 +46362,12 @@ function Dve({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childr
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, I.jsx)("div", {
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, I.jsx)(AH, { children: s })
+ children: /* @__PURE__ */ (0, I.jsx)(jH, { children: s })
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex min-w-0 max-w-full",
children: i
})]
- }) : /* @__PURE__ */ (0, I.jsx)(AH, { children: s }), /* @__PURE__ */ (0, I.jsx)(kH, { children: o })] });
+ }) : /* @__PURE__ */ (0, I.jsx)(jH, { children: s }), /* @__PURE__ */ (0, I.jsx)(AH, { children: o })] });
return a ? /* @__PURE__ */ (0, I.jsx)("form", {
id: r,
"data-guide-target": t,
@@ -46393,13 +46384,13 @@ function Dve({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childr
children: c
});
}
-function Ove({ children: e }) {
+function Eve({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "ui-settings-rows flex flex-col empty:hidden",
children: e
});
}
-function kve({ divided: e = !1, children: t }) {
+function Dve({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden [&>.ui-settings-facts]:-mr-3",
children: t
@@ -46408,7 +46399,7 @@ function kve({ divided: e = !1, children: t }) {
children: t
});
}
-function Ave({ label: e, html: t }) {
+function Ove({ label: e, html: t }) {
let [n] = (0, F.useState)(t);
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "contents",
@@ -46418,7 +46409,7 @@ function Ave({ label: e, html: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-function jve({ status: e, children: t }) {
+function kve({ status: e, children: t }) {
return /* @__PURE__ */ (0, I.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 empty:hidden",
children: [e ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -46427,21 +46418,21 @@ function jve({ status: e, children: t }) {
}) : null, t]
});
}
-function jH({ role: e, children: t }) {
+function MH({ role: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function MH({ children: e }) {
+function NH({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function Mve({ label: e, steps: t }) {
+function Ave({ label: e, steps: t }) {
return /* @__PURE__ */ (0, I.jsx)("ol", {
className: "flex list-decimal flex-col gap-2 pl-5 text-body-2-regular text-text-secondary",
"aria-label": e,
@@ -46451,13 +46442,13 @@ function Mve({ label: e, steps: t }) {
})] }, e.command))
});
}
-function NH({ children: e }) {
+function PH({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function Nve({ href: e, children: t, leadingIcon: n }) {
+function jve({ href: e, children: t, leadingIcon: n }) {
return /* @__PURE__ */ (0, I.jsx)(lH, {
href: e,
target: "_blank",
@@ -46472,7 +46463,7 @@ function Nve({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function Pve() {
+function Mve() {
return /* @__PURE__ */ (0, I.jsx)(lH, {
href: "/tasks",
size: "small",
@@ -46481,13 +46472,13 @@ function Pve() {
children: "在任务中心查看进度"
});
}
-function Fve({ children: e }) {
+function Nve({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("dl", {
className: "ui-settings-facts flex flex-col empty:hidden",
children: e
});
}
-function Ive({ term: e, children: t }) {
+function Pve({ term: e, children: t }) {
return /* @__PURE__ */ (0, I.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, I.jsx)("dt", {
@@ -46499,44 +46490,44 @@ function Ive({ term: e, children: t }) {
})]
});
}
-function PH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {
- let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), [d, f] = (0, F.useState)(n ?? t);
+function FH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, row: a = !1, onOpenChange: o, contentClassName: s }) {
+ let c = (0, F.useId)(), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(!1), [f, p] = (0, F.useState)(n ?? t);
return (0, F.useLayoutEffect)(() => {
- n !== void 0 && n !== d && c.current && l.current && (Vo(c.current, l.current, n), f(n));
- }, [n, d]), /* @__PURE__ */ (0, I.jsxs)("details", {
+ n !== void 0 && n !== f && l.current && u.current && (Vo(l.current, u.current, n), p(n));
+ }, [n, f]), /* @__PURE__ */ (0, I.jsxs)("details", {
ref: (e) => {
- c.current = e, e && (n ?? t) && !u.current && (u.current = !0, e.open = !0);
+ l.current = e, e && (n ?? t) && !d.current && (d.current = !0, e.open = !0);
},
children: [/* @__PURE__ */ (0, I.jsxs)("summary", {
- "aria-expanded": d,
- "aria-controls": s,
+ "aria-expanded": f,
+ "aria-controls": c,
onClick: (e) => {
- e.preventDefault(), c.current && l.current && (Vo(c.current, l.current, !d), f(!d), a?.(!d));
+ e.preventDefault(), l.current && u.current && (Vo(l.current, u.current, !f), p(!f), o?.(!f));
},
- className: `${i ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
+ className: q("flex w-full cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring", a && "px-5 py-2.5"),
children: [
i ? null : /* @__PURE__ */ (0, I.jsx)(hB, {
"aria-hidden": !0,
- className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"
+ className: f ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"
}),
e,
i ? /* @__PURE__ */ (0, I.jsx)(hB, {
"aria-hidden": !0,
- className: d ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"
+ className: f ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"
}) : null
]
}), /* @__PURE__ */ (0, I.jsx)("div", {
- ref: l,
- id: s,
- inert: !d,
+ ref: u,
+ id: c,
+ inert: !f,
children: /* @__PURE__ */ (0, I.jsx)("div", {
- className: q("flex flex-col gap-2 pt-3", o),
+ className: q("flex flex-col gap-2", a ? "px-5 pt-0.5" : "pt-3", s),
children: r
})
})]
});
}
-function Lve({ name: e }) {
+function Fve({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
"data-source-mark": e,
@@ -46546,34 +46537,34 @@ function Lve({ name: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function FH({ mark: e }) {
+function IH({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, I.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-(--icon-inline) shrink-0"
- }) : /* @__PURE__ */ (0, I.jsx)(Lve, { name: e });
+ }) : /* @__PURE__ */ (0, I.jsx)(Fve, { name: e });
}
// src/react/components/source-label.tsx
-var IH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, Rve = Object.fromEntries(Object.entries(vs).map(([e, t]) => [e, function({ className: e }) {
+var LH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, Ive = Object.fromEntries(Object.entries(vs).map(([e, t]) => [e, function({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, I.jsx)(FH, { mark: t })
+ children: /* @__PURE__ */ (0, I.jsx)(IH, { mark: t })
});
}]));
-function zve({ className: e }) {
+function Lve({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, I.jsx)(FH, { mark: "database" })
+ children: /* @__PURE__ */ (0, I.jsx)(IH, { mark: "database" })
});
}
-var LH = (e) => Rve[IH(e)] ?? zve;
-function Bve({ site: e, label: t }) {
+var RH = (e) => Ive[LH(e)] ?? Lve;
+function Rve({ site: e, label: t }) {
let [n, r] = (0, F.useState)(!1), i = e === "javdb" || e === "dmm" ? `/site-mark?source=${e}` : e === "missav" ? "/site-mark?domain=missav.com" : null;
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(FH, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {
+ children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(IH, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {
src: i,
alt: "",
className: "size-(--icon-inline) shrink-0 object-contain",
@@ -46584,23 +46575,23 @@ function Bve({ site: e, label: t }) {
})]
});
}
-function RH({ source: e, label: t }) {
- let n = IH(e);
+function zH({ source: e, label: t }) {
+ let n = LH(e);
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(FH, { mark: vs[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(IH, { mark: vs[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 truncate",
children: t
})]
});
}
// src/react/library-processing/processing-traffic.tsx
-var zH = (e) => Xn(e).replace(/\s/g, ""), BH = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : zH(e), Vve = (e, t) => {
- if (e === t) return zH(t);
+var BH = (e) => Xn(e).replace(/\s/g, ""), VH = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : BH(e), zve = (e, t) => {
+ if (e === t) return BH(t);
let [n, r] = Xn(e).split(" "), [i, a] = Xn(t).split(" ");
- return r === a ? `${n}-${i}${a}` : `${zH(e)}-${zH(t)}`;
-}, VH = (e, t, n) => e === void 0 ? Vve(t, n) : `${e > 0 ? "约 " : ""}${zH(e)}`;
-function HH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDetailsChange: i }) {
+ return r === a ? `${n}-${i}${a}` : `${BH(e)}-${BH(t)}`;
+}, HH = (e, t, n) => e === void 0 ? zve(t, n) : `${e > 0 ? "约 " : ""}${BH(e)}`;
+function UH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDetailsChange: i }) {
let a = FV(), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = r ?? o;
if (!e) return null;
let u = (e) => e.toLocaleString("zh-CN"), d = !!e.workload || !(!e.inventory || e.inventory.complete) || !!(e.unknown_files && e.inventory?.complete !== !1) || !!e.inventory?.errors;
@@ -46638,7 +46629,7 @@ function HH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
children: "部分目录无法读取,数量和预估不完整"
}) : null
]
- }), /* @__PURE__ */ (0, I.jsx)(DH, {
+ }), /* @__PURE__ */ (0, I.jsx)(OH, {
open: !n,
"data-processing-estimate": "",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -46659,18 +46650,18 @@ function HH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-title-3-semibold text-text-primary",
- children: VH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)
+ children: HH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)
}),
/* @__PURE__ */ (0, I.jsxs)("p", { children: [
e.unknown_route_estimated_bytes ? "已确认代理" : "代理",
" ",
- VH(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)
+ HH(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)
] }),
t ? null : /* @__PURE__ */ (0, I.jsxs)("p", { children: [
"已用 ",
- /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", zH(e.used_bytes)] }),
+ /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", BH(e.used_bytes)] }),
" · 代理 ",
- zH(e.metered_used_bytes)
+ BH(e.metered_used_bytes)
] })
]
}), e.disk ? /* @__PURE__ */ (0, I.jsxs)("section", {
@@ -46686,18 +46677,18 @@ function HH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
}),
/* @__PURE__ */ (0, I.jsxs)("p", {
className: "text-title-3-semibold text-text-primary",
- children: ["约 ", zH(e.disk.estimated_bytes)]
+ children: ["约 ", BH(e.disk.estimated_bytes)]
}),
- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", BH(e.disk.temporary_bytes)] }) : null,
+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", VH(e.disk.temporary_bytes)] }) : null,
e.disk.volumes.map((e) => /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsxs)("p", { children: [
e.path,
" 剩余 ",
- e.free_bytes == null ? "未取得" : zH(e.free_bytes)
+ e.free_bytes == null ? "未取得" : BH(e.free_bytes)
] }), e.can_fit === !1 ? /* @__PURE__ */ (0, I.jsxs)("p", {
role: "status",
- children: ["空间不足,还差 ", zH(e.shortfall_bytes || 0)]
+ children: ["空间不足,还差 ", BH(e.shortfall_bytes || 0)]
}) : null]
}, e.path)),
e.disk.cache_unknown ? /* @__PURE__ */ (0, I.jsx)("p", {
@@ -46732,12 +46723,12 @@ function HH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-start justify-between gap-2",
- children: [e.root ? /* @__PURE__ */ (0, I.jsx)(RH, {
+ children: [e.root ? /* @__PURE__ */ (0, I.jsx)(zH, {
source: e.location,
label: e.label
}) : /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(FH, { mark: "globe" }), e.label]
+ children: [/* @__PURE__ */ (0, I.jsx)(IH, { mark: "globe" }), e.label]
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "shrink-0",
children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"
@@ -46759,7 +46750,7 @@ function HH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
"待补资料 ",
u(e.workload.pending_jav_titles),
" 部 · 平均约 ",
- BH(e.workload.metadata_average_bytes || 0),
+ VH(e.workload.metadata_average_bytes || 0),
"/部"
]
}) : null,
@@ -46769,8 +46760,8 @@ function HH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
"已用",
e.unobserved.length ? "约" : "",
" ",
- zH(e.used_bytes)
- ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", VH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]
+ BH(e.used_bytes)
+ ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", HH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]
})
]
}, e.key))
@@ -46783,15 +46774,15 @@ function HH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
});
}
// src/react/library-processing/library-processing-notice.tsx
-var UH = "peach.library-processing.collapsed";
-function WH(e) {
+var WH = "peach.library-processing.collapsed";
+function GH(e) {
try {
- return !e || sessionStorage.getItem(UH) !== e;
+ return !e || sessionStorage.getItem(WH) !== e;
} catch {
return !0;
}
}
-function Hve({ value: e, max: t }) {
+function Bve({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, I.jsxs)("svg", {
role: "progressbar",
@@ -46821,17 +46812,17 @@ function Hve({ value: e, max: t }) {
})]
});
}
-function GH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
- let [i, a] = (0, F.useState)(() => WH(e?.job_id)), [o, s] = (0, F.useState)(!1), c = (0, F.useRef)(!1), l = (0, F.useRef)(0), u = i && !o, d = (0, F.useRef)(u);
+function KH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
+ let [i, a] = (0, F.useState)(() => GH(e?.job_id)), [o, s] = (0, F.useState)(!1), c = (0, F.useRef)(!1), l = (0, F.useRef)(0), u = i && !o, d = (0, F.useRef)(u);
d.current = u;
let f = (0, F.useId)(), [p, m] = (0, F.useState)(!1), h = (0, F.useRef)(null), g = !t && ZV(e), _ = e?.status === "failed" && !g, v = XV(e);
(0, F.useEffect)(() => {
- a(WH(e?.job_id)), m(!1);
+ a(GH(e?.job_id)), m(!1);
}, [e?.job_id]);
let y = () => {
if (!(o && (c.current = !0, s(!1), i))) {
try {
- i && e?.job_id ? sessionStorage.setItem(UH, e.job_id) : sessionStorage.removeItem(UH);
+ i && e?.job_id ? sessionStorage.setItem(WH, e.job_id) : sessionStorage.removeItem(WH);
} catch {}
i && m(!1), a(!i);
}
@@ -46875,13 +46866,13 @@ function GH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [
- v && e?.total ? /* @__PURE__ */ (0, I.jsx)(Hve, {
+ v && e?.total ? /* @__PURE__ */ (0, I.jsx)(Bve, {
value: e.checked || 0,
max: e.total
- }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(Lge, {
+ }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(Ige, {
"aria-hidden": !0,
className: "size-5 shrink-0"
- }) : /* @__PURE__ */ (0, I.jsx)(Yge, {
+ }) : /* @__PURE__ */ (0, I.jsx)(Jge, {
"aria-hidden": !0,
className: "size-5 shrink-0"
}),
@@ -46900,7 +46891,7 @@ function GH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: OH,
+ leadingIcon: kH,
"data-processing-toggle": "",
"data-collapse-upward": "",
"aria-label": u ? "收起任务详情" : "展开任务详情",
@@ -46918,18 +46909,18 @@ function GH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(HH, {
+ /* @__PURE__ */ (0, I.jsx)(UH, {
traffic: e?.traffic,
compact: !u,
detailsOpen: p,
onDetailsChange: m
}),
- b ? /* @__PURE__ */ (0, I.jsx)(vve, {
+ b ? /* @__PURE__ */ (0, I.jsx)(_ve, {
state: e,
slow: b
}) : null
]
- }), /* @__PURE__ */ (0, I.jsx)(DH, {
+ }), /* @__PURE__ */ (0, I.jsx)(OH, {
id: f,
open: u,
"data-processing-body": "",
@@ -46946,10 +46937,10 @@ function GH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
"aria-current": e.status === "current" ? "step" : void 0,
className: q("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),
children: [
- e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(Oge, {
+ e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(Dge, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
- }) : /* @__PURE__ */ (0, I.jsx)(kge, {
+ }) : /* @__PURE__ */ (0, I.jsx)(Oge, {
"aria-hidden": !0,
className: q("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
}),
@@ -46966,7 +46957,7 @@ function GH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}) : null,
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
- children: t || (_ || g ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(wve, { state: e }))
+ children: t || (_ || g ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(Sve, { state: e }))
}),
g ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
@@ -46997,7 +46988,7 @@ function GH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
trailingIcon: mB,
children: "查看全部内容"
}) : null,
- v ? /* @__PURE__ */ (0, I.jsx)(bH, {
+ v ? /* @__PURE__ */ (0, I.jsx)(xH, {
state: e,
disabled: !!t
}) : null
@@ -47007,67 +46998,67 @@ function GH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
})]
});
}
-function Uve(e) {
- let { job: t } = xH(e);
- return /* @__PURE__ */ (0, I.jsx)(GH, {
+function Vve(e) {
+ let { job: t } = SH(e);
+ return /* @__PURE__ */ (0, I.jsx)(KH, {
state: t.data,
problem: t.isError ? t.data ? rH : lr(t.error) : ""
});
}
// src/react/library-processing/processing-notice-visibility.ts
-var KH = "peach.library-processing.visibility", qH = /* @__PURE__ */ new Set(), JH = "";
-function Wve() {
+var qH = "peach.library-processing.visibility", JH = /* @__PURE__ */ new Set(), YH = "";
+function Hve() {
try {
- return sessionStorage.getItem(KH) || "";
+ return sessionStorage.getItem(qH) || "";
} catch {
- return JH;
+ return YH;
}
}
-function Gve(e) {
- return qH.add(e), () => {
- qH.delete(e);
+function Uve(e) {
+ return JH.add(e), () => {
+ JH.delete(e);
};
}
-function YH(e, t) {
- JH = `${t ? "shown" : "hidden"}:${e}`;
+function XH(e, t) {
+ YH = `${t ? "shown" : "hidden"}:${e}`;
try {
- sessionStorage.setItem(KH, JH);
+ sessionStorage.setItem(qH, YH);
} catch {}
- qH.forEach((e) => e());
+ JH.forEach((e) => e());
}
-function XH(e) {
- let t = (0, F.useSyncExternalStore)(Gve, Wve, () => "");
+function ZH(e) {
+ let t = (0, F.useSyncExternalStore)(Uve, Hve, () => "");
return {
hidden: t === `hidden:${e}`,
requested: t === `shown:${e}`
};
}
// src/react/library-processing/library-processing-dock.tsx
-var ZH = "peach-library-processing";
-function Kve({ toast: e }) {
- let { job: t, settled: n } = xH({
+var QH = "peach-library-processing";
+function Wve({ toast: e }) {
+ let { job: t, settled: n } = SH({
toast: e,
mode: "notice"
- }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = XH(a), c = t.isError ? i ? rH : lr(t.error) : "";
+ }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = ZH(a), c = t.isError ? i ? rH : lr(t.error) : "";
return (0, F.useEffect)(() => {
let e = XV(i), t = i?.status === "failed" && (n?.job_id === i.job_id || sH(i));
- o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && BV.dismiss(ZH), r.current = !1) : (BV.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {
+ o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && BV.dismiss(QH), r.current = !1) : (BV.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, I.jsx)(GH, {
+ children: /* @__PURE__ */ (0, I.jsx)(KH, {
state: i,
problem: c,
measure: !0,
- onHide: () => YH(a, !1)
+ onHide: () => XH(a, !1)
})
}), {
- id: ZH,
+ id: QH,
toasterId: "processing",
duration: Infinity,
dismissible: !1,
closeButton: !1,
className: "processing-task-toast",
onDismiss: () => {
- YH(a, !1), r.current = !1;
+ XH(a, !1), r.current = !1;
}
}), r.current = !0);
}, [
@@ -47078,19 +47069,19 @@ function Kve({ toast: e }) {
o,
s
]), (0, F.useEffect)(() => () => {
- r.current && BV.dismiss(ZH), r.current = !1;
+ r.current && BV.dismiss(QH), r.current = !1;
}, []), null;
}
// src/react/network-banner.tsx
-var qve = ["network-status"], Jve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
-function Yve(e) {
+var Gve = ["network-status"], Kve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
+function qve(e) {
return e?.state === "online" ? 12e4 : 3e4;
}
-function Xve() {
+function Jve() {
let e = Ft({
- queryKey: qve,
+ queryKey: Gve,
queryFn: ({ signal: e }) => B("/api/network-status", e),
- refetchInterval: (e) => Yve(e.state.data),
+ refetchInterval: (e) => qve(e.state.data),
retry: !1
}), t = document.querySelector("[data-network-banner]");
return e.data?.state !== "offline" || !t ? null : (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsxs)("aside", {
@@ -47101,56 +47092,56 @@ function Xve() {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-alert" })
- }), /* @__PURE__ */ (0, I.jsx)("p", { children: Jve })] }), /* @__PURE__ */ (0, I.jsx)("a", {
+ }), /* @__PURE__ */ (0, I.jsx)("p", { children: Kve })] }), /* @__PURE__ */ (0, I.jsx)("a", {
href: "/settings/network#peachProxy",
children: "检查 Peach 代理"
})]
}), t);
}
// src/react/components/segmented.tsx
-function Zve(e) {
+function Yve(e) {
let t = aL(fH("selection"));
return /* @__PURE__ */ (0, I.jsx)(cB, {
...e,
ref: t
});
}
-function QH(e) {
+function $H(e) {
let t = aL(fH("selection"));
return /* @__PURE__ */ (0, I.jsx)(Dz, {
...e,
ref: t
});
}
-var $H = "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", eU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 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-focus-visible:ring-2 data-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", Qve = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-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", tU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", nU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", rU = [
+var eU = "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", tU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 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-focus-visible:ring-2 data-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", Xve = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-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", nU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", rU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", iU = [
["library", "馆藏"],
["releases", "新作"],
["discover", "发现"],
["wants", "想要"]
-], iU = (e) => rU.some(([t]) => t === e) ? e : "library", aU = (e) => iU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function $ve(e) {
+], aU = (e) => iU.some(([t]) => t === e) ? e : "library", oU = (e) => aU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function Zve(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
// src/onboarding/guide-catalog.ts
-var oU = (e, t, n, r, i, a) => ({
+var sU = (e, t, n, r, i, a) => ({
id: e,
title: t,
body: n,
route: r,
target: i,
scope: a
-}), sU = (e, t, n, r, i) => oU(e, t, n, r, i), cU = [
+}), cU = (e, t, n, r, i) => sU(e, t, n, r, i), lU = [
{
id: "basics",
kind: "interface",
title: "认识界面",
summary: "4 步认识搜索、导航、作品详情和设置。",
steps: [
- sU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),
- sU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),
- sU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
- sU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")
+ cU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),
+ cU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),
+ cU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
+ cU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")
]
},
{
@@ -47159,23 +47150,23 @@ var oU = (e, t, n, r, i, a) => ({
title: "找到并播放",
summary: "搜索、筛选、详情、版本、字幕和播放器。",
steps: [
- sU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),
- sU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),
- sU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),
+ cU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),
+ cU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),
+ cU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),
{
- ...oU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),
+ ...sU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),
surface: "detail"
},
{
- ...oU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),
+ ...sU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),
surface: "player"
},
{
- ...oU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),
+ ...sU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),
surface: "subtitles"
},
{
- ...oU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),
+ ...sU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),
surface: "detail"
}
]
@@ -47187,15 +47178,15 @@ var oU = (e, t, n, r, i, a) => ({
summary: "评分、标记、播放列表与当前播放队列。",
steps: [
{
- ...sU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),
+ ...cU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),
surface: "detail"
},
{
- ...sU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),
+ ...cU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),
surface: "detail"
},
- sU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),
- sU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")
+ cU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),
+ cU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")
]
},
{
@@ -47204,10 +47195,10 @@ var oU = (e, t, n, r, i, a) => ({
title: "按人物与主题浏览",
summary: "从人物、厂牌和标签继续发现相关馆藏。",
steps: [
- sU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
- sU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
- sU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),
- sU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")
+ cU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
+ cU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
+ cU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),
+ cU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")
]
},
{
@@ -47216,10 +47207,10 @@ var oU = (e, t, n, r, i, a) => ({
title: "JAV 与追新",
summary: "馆藏、新作、想要清单与高清版。",
steps: [
- sU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", aU("library"), "[data-catalog-frame]"),
- sU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", aU("discover"), "[data-jav-filter] [data-catalog-views]"),
- sU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", aU("discover"), "[aria-label=\"JAV 分区\"]"),
- sU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")
+ cU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", oU("library"), "[data-catalog-frame]"),
+ cU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", oU("discover"), "[data-jav-filter] [data-catalog-views]"),
+ cU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", oU("discover"), "[aria-label=\"JAV 分区\"]"),
+ cU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")
]
},
{
@@ -47228,9 +47219,9 @@ var oU = (e, t, n, r, i, a) => ({
title: "关注创作者",
summary: "多来源更新、同作品合并和来源状态。",
steps: [
- sU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),
- sU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),
- sU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")
+ cU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),
+ cU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),
+ cU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")
]
},
{
@@ -47239,9 +47230,9 @@ var oU = (e, t, n, r, i, a) => ({
title: "专注观看",
summary: "播放墙、沉浸模式与详情小窗。",
steps: [
- sU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),
- sU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),
- sU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")
+ cU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),
+ cU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),
+ cU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")
]
},
{
@@ -47250,11 +47241,11 @@ var oU = (e, t, n, r, i, a) => ({
title: "整理与维护",
summary: "扫描、补资料、复核、文件整理与回收站。",
steps: [
- sU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),
- sU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),
- sU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),
- sU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
- sU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")
+ cU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),
+ cU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),
+ cU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),
+ cU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
+ cU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")
]
},
{
@@ -47263,10 +47254,10 @@ var oU = (e, t, n, r, i, a) => ({
title: "了解自己的馆藏",
summary: "统计、口味,以及浏览历史和书签来源。",
steps: [
- sU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),
- sU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),
- sU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),
- sU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")
+ cU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),
+ cU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),
+ cU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),
+ cU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")
]
},
{
@@ -47275,9 +47266,9 @@ var oU = (e, t, n, r, i, a) => ({
title: "从外部加入内容",
summary: "云下载、目录映射与浏览器添加。",
steps: [
- sU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),
- sU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),
- sU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")
+ cU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),
+ cU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),
+ cU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")
]
},
{
@@ -47286,18 +47277,18 @@ var oU = (e, t, n, r, i, a) => ({
title: "手机与其他设备",
summary: "访问地址、密码、局域网和公网入口。",
steps: [
- sU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),
- sU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),
- sU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")
+ cU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),
+ cU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),
+ cU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")
]
}
-], eye = "当前浏览器 · 修改后自动保存", lU = "跟随馆藏 · 修改后自动保存", uU = "运行 Peach 的电脑 · 确认后保存配置", dU = (e, t, n = eye) => t.map(([t, r, i, a, o]) => oU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), fU = [
+], Qve = "当前浏览器 · 修改后自动保存", uU = "跟随馆藏 · 修改后自动保存", dU = "运行 Peach 的电脑 · 确认后保存配置", fU = (e, t, n = Qve) => t.map(([t, r, i, a, o]) => sU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), pU = [
{
id: "appearance",
kind: "settings",
title: Ff.appearance,
summary: "主题、光晕与导航入口。",
- steps: dU("appearance", [
+ steps: fU("appearance", [
[
"theme",
"主题",
@@ -47327,7 +47318,7 @@ var oU = (e, t, n, r, i, a) => ({
"导航入口与顺序",
"把常用入口放到侧栏,拖动调整顺序。",
"[data-sidebar-setting]",
- lU
+ uU
]
])
},
@@ -47336,7 +47327,7 @@ var oU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Ff.playback,
summary: "列表呈现、悬停预览与播放行为。",
- steps: dU("playback", [
+ steps: fU("playback", [
[
"batch",
"每批作品",
@@ -47392,13 +47383,13 @@ var oU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Ff.jav,
summary: "封面与新作筛选。",
- steps: dU("jav", [
+ steps: fU("jav", [
[
"names",
"女优名称",
"选择中文或日文名称;偏好跟随馆藏,其他设备读取同一份设置。",
"#performerNameLanguageSetting",
- lU
+ uU
],
[
"image",
@@ -47423,21 +47414,21 @@ var oU = (e, t, n, r, i, a) => ({
"隐藏大合集",
"过滤新作中的大合集,只影响新作展示,馆藏仍可查找。",
"#feedHideGroupSetting",
- lU
+ uU
],
[
"solo-compilations",
"隐藏单人合集",
"过滤新作中的单人合集,只影响新作展示,馆藏仍可查找。",
"#feedHideSoloSetting",
- lU
+ uU
],
[
"excerpts",
"隐藏切片",
"过滤新作中的切片,只影响新作展示,馆藏仍可查找。",
"#feedHideExcerptSetting",
- lU
+ uU
]
])
},
@@ -47446,12 +47437,12 @@ var oU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Ff.search,
summary: "搜索记录、推荐数量与口味入口。",
- steps: [...dU("search", [[
+ steps: [...fU("search", [[
"history",
"搜索记录",
"设置保留的搜索记录上限,0 表示不记录。",
"#searchHistoryLimitSetting"
- ]], lU), ...dU("search", [[
+ ]], uU), ...fU("search", [[
"related",
"相关推荐数量",
"决定详情中显示多少项相关推荐。口味和记录来源在口味页面管理。",
@@ -47463,7 +47454,7 @@ var oU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Ff.content,
summary: "SFW 模式与画面显示。",
- steps: dU("content", [[
+ steps: fU("content", [[
"sfw",
"SFW 模式",
"隐藏敏感画面并停止悬停预览,适合需要遮挡画面的环境。访问控制请另设访问密码。",
@@ -47475,7 +47466,7 @@ var oU = (e, t, n, r, i, a) => ({
kind: "settings",
title: If.library,
summary: "媒体库、目录、读取与处理方式。",
- steps: dU("library", [
+ steps: fU("library", [
[
"media",
"媒体库名称与外观",
@@ -47526,14 +47517,14 @@ var oU = (e, t, n, r, i, a) => ({
"视频预览",
"生成视频预览会读取视频并产生缓存。时间轴预览的开关与采集间隔控制本机磁盘缩略图;抽帧解码方式决定生成预览使用的解码器。修改后自动保存,并受媒体库处理方式与读取策略约束。"
]
- ], uU)
+ ], dU)
},
{
id: "subscriptions",
kind: "settings",
title: If.subscriptions,
summary: "资料来源、关注、索引器与站点入口。",
- steps: dU("subscriptions", [
+ steps: fU("subscriptions", [
[
"sources",
"采集来源与登录状态",
@@ -47560,14 +47551,14 @@ var oU = (e, t, n, r, i, a) => ({
"作品资料站点",
"配置资料站点和镜像入口,用于打开相关作品页面。地址和登录凭据分别管理。"
]
- ], uU)
+ ], dU)
},
{
id: "downloads",
kind: "settings",
title: If.downloads,
summary: "云下载目录、账号与浏览器配对。",
- steps: dU("downloads", [
+ steps: fU("downloads", [
[
"download",
"云下载",
@@ -47583,14 +47574,14 @@ var oU = (e, t, n, r, i, a) => ({
"浏览器添加 JAV",
"安装用户脚本并配对 Peach。默认渠道决定提交到哪里;启用开关控制功能,专用令牌可更新或关闭,脚本检测帮助确认配对。"
]
- ], uU)
+ ], dU)
},
{
id: "network",
kind: "settings",
title: If.network,
summary: "访问端口、代理、密码和公网入口。",
- steps: dU("network", [
+ steps: fU("network", [
[
"port",
"访问地址与端口",
@@ -47611,14 +47602,14 @@ var oU = (e, t, n, r, i, a) => ({
"Cloudflare 公网入口",
"临时链接用于临时连接,命名隧道使用主机名与隧道令牌。连接状态显示是否已可用,按需要启用。"
]
- ], uU)
+ ], dU)
},
{
id: "app-maintenance",
kind: "settings",
title: If.maintenance,
summary: "更新、存储、数据选择与应用维护。",
- steps: dU("maintenance", [
+ steps: fU("maintenance", [
[
"updates",
"检查更新",
@@ -47664,14 +47655,14 @@ var oU = (e, t, n, r, i, a) => ({
"卸载 Peach",
"卸载移除程序;完全卸载还移除设置、资料库、记录、凭据和缓存。执行前核对页面列出的数据目录与确认内容。"
]
- ], uU)
+ ], dU)
},
{
id: "diagnostics",
kind: "settings",
title: If.diagnostics,
summary: "遇到问题时查看检查项与诊断报告。",
- steps: dU("diagnostics", [
+ steps: fU("diagnostics", [
[
"attention",
"需要关注的检查项",
@@ -47696,7 +47687,7 @@ var oU = (e, t, n, r, i, a) => ({
]
], "只读检查 · 重新检查与下载由你主动执行")
}
-], tye = {
+], $ve = {
glow: [
["配色预设", "一次应用一组配色和参数,适合先挑选整体外观。"],
["强度", "控制光晕的明亮程度;太抢眼时降低。"],
@@ -47803,8 +47794,8 @@ var oU = (e, t, n, r, i, a) => ({
["上传预览", "查看本次会包含的内容,再决定是否启用明细上传。"]
]
};
-for (let e of fU) for (let t of e.steps) t.details = tye[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage" || t.id === "ledger-backups") && (t.scope = "按页面中各项的保存或确认动作生效");
-var pU = [...cU, ...fU], nye = [
+for (let e of pU) for (let t of e.steps) t.details = $ve[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage" || t.id === "ledger-backups") && (t.scope = "按页面中各项的保存或确认动作生效");
+var mU = [...lU, ...pU], eye = [
{
id: "browse",
kind: "interface",
@@ -47882,35 +47873,35 @@ var pU = [...cU, ...fU], nye = [
]
}
];
-function rye(e) {
- return e === "/" ? cU[0] : fU.find((t) => t.steps[0]?.route === e) || cU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || cU[0];
+function tye(e) {
+ return e === "/" ? lU[0] : pU.find((t) => t.steps[0]?.route === e) || lU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || lU[0];
}
// src/onboarding/guide-state.ts
-var iye = () => ({
+var nye = () => ({
version: 1,
campaign: "",
invited: !1,
completed: !1,
chapters: {}
});
-function mU(e, t) {
+function hU(e, t) {
let n = e.chapters[t.id]?.read || [];
return t.steps.every((e) => n.includes(e.id));
}
-function aye(e, t) {
+function rye(e, t) {
let n = e.chapters[t.id];
- return !n || mU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));
+ return !n || hU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));
}
-function oye() {
+function iye() {
return B("/api/tutorial-progress");
}
-function sye(e, t) {
+function aye(e, t) {
return V("/api/tutorial-progress", {
campaign: e,
...t
});
}
-function cye(e, t, n, r, i) {
+function oye(e, t, n, r, i) {
let a = e.chapters[t] || {
next: 0,
read: [],
@@ -47928,55 +47919,55 @@ function cye(e, t, n, r, i) {
}
};
}
-var hU = null, gU = /* @__PURE__ */ new Set();
-function _U(e = {}) {
- gU.size || (hU = e);
- for (let t of gU) t(e);
-}
-function lye(e) {
- if (gU.add(e), hU) {
- let t = hU;
- hU = null, queueMicrotask(() => {
- gU.has(e) && e(t);
+var gU = null, _U = /* @__PURE__ */ new Set();
+function vU(e = {}) {
+ _U.size || (gU = e);
+ for (let t of _U) t(e);
+}
+function sye(e) {
+ if (_U.add(e), gU) {
+ let t = gU;
+ gU = null, queueMicrotask(() => {
+ _U.has(e) && e(t);
});
}
return () => {
- gU.delete(e);
+ _U.delete(e);
};
}
// src/react/components/card.tsx
-var uye = "min-w-0", dye = {
+var cye = "min-w-0", lye = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, fye = {
+}, uye = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, pye = {
+}, dye = {
line: "border border-border-button-default",
soft: "border border-separator-border",
error: "outline-1 -outline-offset-1 outline-border-error-default"
-}, mye = {
+}, fye = {
none: "",
default: "p-5"
-}, hye = "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", gye = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
-function vU(e = {}) {
+}, pye = "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", mye = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
+function yU(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 [
- uye,
- dye[t],
- fye[s],
- mye[n],
- a ? pye[a] : "",
- r ? hye : "",
- i ? gye : "",
+ cye,
+ lye[t],
+ uye[s],
+ fye[n],
+ a ? dye[a] : "",
+ r ? pye : "",
+ i ? mye : "",
o ?? ""
].filter(Boolean).join(" ");
}
// src/react/onboarding/guide-directory.tsx
-var _ye = {
+var hye = {
browse: VB,
collect: vB,
watch: IB,
@@ -47985,7 +47976,7 @@ var _ye = {
discovery: BB,
storage: SB,
system: HB
-}, vye = {
+}, gye = {
basics: xB,
"find-play": VB,
entities: KB,
@@ -48007,20 +47998,20 @@ var _ye = {
downloads: CB,
network: UB,
"app-maintenance": GB,
- diagnostics: e_e
+ diagnostics: $ge
};
-function yye({ chapter: e, className: t = "size-5" }) {
- let n = vye[e] || xB;
+function _ye({ chapter: e, className: t = "size-5" }) {
+ let n = gye[e] || xB;
return /* @__PURE__ */ (0, I.jsx)(n, {
"aria-hidden": !0,
className: q(t, "shrink-0")
});
}
-function yU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {
+function bU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-guide-banner": "",
"data-guide-completed": i || void 0,
- className: vU({
+ className: yU({
radius: "plain",
className: "flex flex-col gap-4"
}),
@@ -48049,8 +48040,8 @@ function yU({ icon: e, title: t, description: n, children: r, completed: i = !1
})]
});
}
-function bU({ chapter: e, progress: t, loading: n, start: r }) {
- let i = mU(t, e), a = !i && !!t.chapters[e.id];
+function xU({ chapter: e, progress: t, loading: n, start: r }) {
+ let i = hU(t, e), a = !i && !!t.chapters[e.id];
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
disabled: n,
@@ -48060,7 +48051,7 @@ function bU({ chapter: e, progress: t, loading: n, start: r }) {
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(yye, { chapter: e.id })
+ children: /* @__PURE__ */ (0, I.jsx)(_ye, { chapter: e.id })
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col gap-1",
@@ -48072,7 +48063,7 @@ function bU({ chapter: e, progress: t, loading: n, start: r }) {
children: e.summary
})]
}),
- i ? /* @__PURE__ */ (0, I.jsx)(xU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
+ i ? /* @__PURE__ */ (0, I.jsx)(SU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
className: "shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: [
a ? "继续 · " : "",
@@ -48087,7 +48078,7 @@ function bU({ chapter: e, progress: t, loading: n, start: r }) {
]
});
}
-function xU() {
+function SU() {
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex shrink-0 items-center gap-1 rounded-full bg-notification-success-background px-2 py-1 text-caption-1-medium text-notification-success-foreground",
children: [/* @__PURE__ */ (0, I.jsx)(yB, {
@@ -48099,17 +48090,17 @@ function xU() {
})]
});
}
-function bye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {
- let [s, c] = (0, F.useState)(null), l = pU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = mU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = pU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));
+function vye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {
+ let [s, c] = (0, F.useState)(null), l = mU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = hU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = mU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, I.jsxs)(yU, {
+ /* @__PURE__ */ (0, I.jsxs)(bU, {
completed: u,
icon: e === "interface" ? xB : HB,
title: e === "interface" ? "先认识 Peach" : "按习惯调整 Peach",
description: e === "interface" ? "先用 4 步认识常用入口,其余功能用到时再看。" : "先了解外观与导航,其余设置按需要查看。",
- children: [u ? /* @__PURE__ */ (0, I.jsx)(xU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [u ? /* @__PURE__ */ (0, I.jsx)(SU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
className: "text-body-2-regular text-text-secondary",
children: [l.steps.length, " 步 · 随时可以退出"]
}), /* @__PURE__ */ (0, I.jsx)(J, {
@@ -48134,7 +48125,7 @@ function bye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
}),
f ? p.length ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-chapters",
- children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(bU, {
+ children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(xU, {
chapter: e,
progress: i,
loading: a,
@@ -48159,12 +48150,12 @@ function bye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
}) : null]
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-topics",
- children: nye.filter((t) => t.kind === e).map((e) => {
- let t = _ye[e.id];
+ children: eye.filter((t) => t.kind === e).map((e) => {
+ let t = hye[e.id];
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-guide-topic": e.id,
className: "peach-guide-topic",
- children: /* @__PURE__ */ (0, I.jsx)(PH, {
+ children: /* @__PURE__ */ (0, I.jsx)(FH, {
trailing: !0,
isOpen: s === e.id,
onOpenChange: (t) => c(t ? e.id : null),
@@ -48189,8 +48180,8 @@ function bye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
}),
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-topic-chapters",
- children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(bU, {
- chapter: pU.find((t) => t.id === e),
+ children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(xU, {
+ chapter: mU.find((t) => t.id === e),
progress: i,
loading: a,
start: o
@@ -48204,14 +48195,14 @@ function bye({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
});
}
// src/onboarding/guide-entry.ts
-var SU = "侧栏收起时,先点左上角的导航按钮。", CU = (...e) => ({
+var CU = "侧栏收起时,先点左上角的导航按钮。", wU = (...e) => ({
path: ["侧栏", ...e],
- hint: SU
-}), wU = (e) => ({
+ hint: CU
+}), TU = (e) => ({
path: ["侧栏底部的设置", e],
- hint: SU
+ hint: CU
});
-function xye(e) {
+function yye(e) {
if (e.surface) return e.id === "external" ? { path: [
"作品卡片",
"作品详情",
@@ -48229,7 +48220,7 @@ function xye(e) {
let [t = "/", n = ""] = e.route.split("#")[0].split("?"), r = t.split("/")[2];
if (t.startsWith("/settings/")) {
let e = Ff[r];
- if (e) return wU(e);
+ if (e) return TU(e);
let t = If[r];
if (t) return {
path: [
@@ -48237,11 +48228,11 @@ function xye(e) {
"Peach 配置",
t
],
- hint: SU
+ hint: CU
};
}
let i = new URLSearchParams(n);
- if (t === "/jav" || i.get("jav") === "1") return CU("JAV", rU.find(([e]) => e === (i.get("tab") || "library"))?.[1] || rU[0][1]);
+ if (t === "/jav" || i.get("jav") === "1") return wU("JAV", iU.find(([e]) => e === (i.get("tab") || "library"))?.[1] || iU[0][1]);
if (t === "/") {
switch (e.id) {
case "search": return {
@@ -48251,9 +48242,9 @@ function xye(e) {
case "navigation": return { path: ["左上角导航按钮", "侧栏中的浏览入口"] };
case "library": return {
path: ["侧栏顶部", "媒体库选择器"],
- hint: SU
+ hint: CU
};
- case "preferences": return wU(Ff.appearance);
+ case "preferences": return TU(Ff.appearance);
case "wall": return { path: ["页面顶部", "播放墙按钮"] };
case "immerse": return { path: ["页面顶部", "沉浸模式按钮"] };
case "cards":
@@ -48275,22 +48266,22 @@ function xye(e) {
hint: "来源、时长等更多筛选位于侧栏。"
};
}
- return CU("首页");
+ return wU("首页");
}
if ([
"/review",
"/quality-goals",
"/trash"
- ].includes(t)) return CU("管理", op["/data-cleanup"].title, t === "/trash" ? "回收站" : op[t].title);
+ ].includes(t)) return wU("管理", op["/data-cleanup"].title, t === "/trash" ? "回收站" : op[t].title);
let a = op[t];
if (a?.nav && a.title) {
- let e = CU(a.title);
+ let e = wU(a.title);
return t === "/playlists" && (e.hint = "若侧栏没有播放列表,到设置 → 外观与导航 → 导航入口与顺序添加;手机上先展开侧栏。"), e;
}
- if (a?.section && a.title) return CU("管理", a.title);
+ if (a?.section && a.title) return wU("管理", a.title);
}
// src/react/onboarding/guide-help.tsx
-function Sye({ details: e }) {
+function bye({ details: e }) {
return e?.length ? /* @__PURE__ */ (0, I.jsx)("dl", {
className: "flex flex-col gap-3",
children: e.map(([e, t]) => /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -48306,8 +48297,8 @@ function Sye({ details: e }) {
}) : null;
}
// src/react/onboarding/guide-popover.tsx
-function Cye({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {
- let c = FV(), l = xye(e);
+function xye({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {
+ let c = FV(), l = yye(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "peach-guide-popover-content",
onPointerDown: (e) => e.stopPropagation(),
@@ -48335,7 +48326,7 @@ function Cye({ step: e, position: t, total: n, missing: r, next: i, previous: a,
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex items-center gap-2 text-body-2-medium text-text-secondary",
- children: [/* @__PURE__ */ (0, I.jsx)(n_e, {
+ children: [/* @__PURE__ */ (0, I.jsx)(t_e, {
className: "size-4 shrink-0",
"aria-hidden": "true"
}), "打开方式"]
@@ -48365,9 +48356,9 @@ function Cye({ step: e, position: t, total: n, missing: r, next: i, previous: a,
className: "text-caption-1-regular text-text-secondary",
children: "导览期间不自动播放;退出后仍按原来的播放设置使用。"
}) : null,
- e.details?.length ? /* @__PURE__ */ (0, I.jsx)(PH, {
+ e.details?.length ? /* @__PURE__ */ (0, I.jsx)(FH, {
summary: "更多说明",
- children: /* @__PURE__ */ (0, I.jsx)(Sye, { details: e.details })
+ children: /* @__PURE__ */ (0, I.jsx)(bye, { details: e.details })
}) : null,
e.scope ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
@@ -48427,14 +48418,14 @@ function Cye({ step: e, position: t, total: n, missing: r, next: i, previous: a,
]
});
}
-function TU(e, t, n) {
+function EU(e, t, n) {
let r = document.createElement("div");
e.replaceChildren(r, t);
let i = (0, zt.createRoot)(r);
- return (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(Cye, { ...n }))), () => i.unmount();
+ return (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(xye, { ...n }))), () => i.unmount();
}
// src/react/onboarding/tutorial-center.tsx
-function wye({ go: e }) {
+function Sye({ go: e }) {
let [t, n] = (0, F.useState)(null), [r, i] = (0, F.useState)(""), [a, o] = (0, F.useState)(0);
(0, F.useEffect)(() => {
let e = new AbortController();
@@ -48448,8 +48439,8 @@ function wye({ go: e }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, I.jsxs)(yU, {
- icon: t_e,
+ /* @__PURE__ */ (0, I.jsxs)(bU, {
+ icon: e_e,
title: "从第一份收藏开始",
description: "连接媒体目录,查看入库结果,再打开馆藏。",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
@@ -48495,7 +48486,7 @@ function wye({ go: e }) {
/* @__PURE__ */ (0, I.jsxs)("li", { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(p_e, {
+ children: /* @__PURE__ */ (0, I.jsx)(f_e, {
"aria-hidden": !0,
className: "size-5"
})
@@ -48532,7 +48523,7 @@ function wye({ go: e }) {
] })
]
}),
- /* @__PURE__ */ (0, I.jsx)(PH, {
+ /* @__PURE__ */ (0, I.jsx)(FH, {
summary: "更多接入方式",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-routes",
@@ -48592,16 +48583,16 @@ function wye({ go: e }) {
]
});
}
-var EU = "tutorial-sync";
-function Tye({ actions: e }) {
- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(iye), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = FV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);
+var DU = "tutorial-sync";
+function Cye({ actions: e }) {
+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(nye), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = FV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);
C.current = l;
let w = (0, F.useRef)(0), T = (0, F.useRef)(null), E = (0, F.useRef)(""), D = (0, F.useRef)(!1), O = (0, F.useRef)(() => {}), k = (0, F.useRef)(Promise.resolve()), A = (0, F.useRef)(0), j = (0, F.useRef)(0), M = (0, F.useRef)(!0), ee = (e) => {
C.current = e, u(e);
}, N = async (e = !0) => {
let t = j.current;
try {
- let n = await oye();
+ let n = await iye();
return !M.current || t !== j.current ? !1 : (ee(n), f(!0), e && m(""), b.current || i(!n.invited && !n.completed), !0);
} catch {
return M.current && m("未取得账本中的教程状态,请重新读取。"), !1;
@@ -48611,7 +48602,7 @@ function Tye({ actions: e }) {
let n = ++j.current;
A.current += 1, k.current = k.current.then(async () => {
try {
- let r = await sye(e.campaign, t);
+ let r = await aye(e.campaign, t);
M.current && n === j.current && ee(r);
} catch {
M.current && (m("教程进度未保存到本机账本,其他设备尚未同步。请重新读取后继续。"), n === j.current && await N(!1));
@@ -48621,8 +48612,8 @@ function Tye({ actions: e }) {
});
}, P = (0, F.useRef)(N);
P.current = N, (0, F.useEffect)(() => {
- !p || t ? BV.dismiss(EU) : BV.error(p, {
- id: EU,
+ !p || t ? BV.dismiss(DU) : BV.error(p, {
+ id: DU,
toasterId: "receipts",
duration: Infinity,
action: {
@@ -48633,7 +48624,7 @@ function Tye({ actions: e }) {
}
});
}, [p, t]), (0, F.useEffect)(() => () => {
- BV.dismiss(EU);
+ BV.dismiss(DU);
}, []), (0, F.useEffect)(() => {
if (!d && !p) return;
let e = document.getElementById("tutorialBtn");
@@ -48654,7 +48645,7 @@ function Tye({ actions: e }) {
let i = !1, a = null;
return import("./peach-app.guide-driver-BZX0VpRC.js").then(({ createGuideSession: t }) => {
i || (a = t({
- mountPopover: TU,
+ mountPopover: EU,
invitation: !0,
navigate: e.navigate,
previous: () => {},
@@ -48693,12 +48684,12 @@ function Tye({ actions: e }) {
D.current = !1;
});
document.addEventListener("input", e), document.addEventListener("change", e);
- let r = lye((e) => {
+ let r = sye((e) => {
(async () => {
let t = document.activeElement;
if (await k.current, !M.current || !await N() || e.invitation) return;
ie(), T.current = t, g(""), c("");
- let r = pU.find((t) => t.id === e.chapter);
+ let r = mU.find((t) => t.id === e.chapter);
e.reopen ? (i(!1), te({
...C.current,
invited: !0,
@@ -48727,11 +48718,11 @@ function Tye({ actions: e }) {
g("请先关闭当前详情或对话框,再开始导览。");
return;
}
- if (t.steps.some((e) => e.surface) && h8()?.miniplayerActive()) {
+ if (t.steps.some((e) => e.surface) && g8()?.miniplayerActive()) {
g("请先关闭正在播放的小窗,再开始播放器导览。");
return;
}
- let i = r ? aye(C.current, t) : 0;
+ let i = r ? rye(C.current, t) : 0;
if (D.current && t.steps.some((e) => e.route && e.route !== location.pathname)) {
g("当前配置表单有编辑内容。请先处理表单,再开启需要切换页面的章节。");
return;
@@ -48765,7 +48756,7 @@ function Tye({ actions: e }) {
}), b.current?.show(t.steps[w.current], w.current, t.steps.length);
};
b.current = r({
- mountPopover: TU,
+ mountPopover: EU,
navigate: e.navigate,
close: () => {
ie(!0), o(t.kind);
@@ -48776,18 +48767,18 @@ function Tye({ actions: e }) {
},
next: async (e = !1) => {
let n = w.current + 1;
- if (te(cye(C.current, t.id, t.steps[w.current].id, n, e), {
+ if (te(oye(C.current, t.id, t.steps[w.current].id, n, e), {
action: "step",
chapter: t.id,
step: t.steps[w.current].id,
next: n,
skipped: e
}), n >= t.steps.length) {
- if (t.id === "basics" && mU(C.current, t) && te({
+ if (t.id === "basics" && hU(C.current, t) && te({
...C.current,
completed: !0
}, { action: "complete" }), await k.current, a !== S.current) return;
- ie(!0), o(t.kind), g(mU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");
+ ie(!0), o(t.kind), g(hU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");
} else w.current = n, l();
}
}), l();
@@ -48800,7 +48791,7 @@ function Tye({ actions: e }) {
O.current = (e, t) => {
se(e, t);
};
- let ce = rye(location.pathname);
+ let ce = tye(location.pathname);
return (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: /* @__PURE__ */ (0, I.jsxs)(rV, {
isOpen: t,
onOpenChange: (e) => {
@@ -48823,11 +48814,11 @@ function Tye({ actions: e }) {
}),
/* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-tools flex shrink-0 flex-col gap-4 px-6 pt-4 pb-3",
- children: /* @__PURE__ */ (0, I.jsx)(QH, {
+ children: /* @__PURE__ */ (0, I.jsx)($H, {
"aria-label": "教程路径",
name: "guide-path",
orientation: "horizontal",
- className: $H,
+ className: eU,
value: a,
onChange: (e) => {
o(e), c(""), g("");
@@ -48838,7 +48829,7 @@ function Tye({ actions: e }) {
["settings", "设置导览"]
].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Oz, {
value: e,
- className: eU,
+ className: tU,
children: t
}, e))
})
@@ -48866,7 +48857,7 @@ function Tye({ actions: e }) {
className: "mb-4",
children: h
}) : null,
- a === "start" ? /* @__PURE__ */ (0, I.jsx)(wye, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(bye, {
+ a === "start" ? /* @__PURE__ */ (0, I.jsx)(Sye, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(vye, {
kind: a,
query: s,
setQuery: c,
@@ -48884,15 +48875,15 @@ function Tye({ actions: e }) {
}) }), document.body);
}
// src/react/client-updates.tsx
-var Eye = 12e4, Dye = 15e3, DU = () => document.visibilityState !== "hidden", OU = /* @__PURE__ */ new Set([
+var wye = 12e4, Tye = 15e3, OU = () => document.visibilityState !== "hidden", kU = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), kU = "/settings/maintenance#releaseUpdates";
-function Oye() {
+]), AU = "/settings/maintenance#releaseUpdates";
+function Eye() {
try {
let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");
return typeof e?.version == "string" && typeof e?.build_id == "string" ? {
@@ -48903,23 +48894,23 @@ function Oye() {
return null;
}
}
-function AU() {
- let e = (0, F.useRef)(Oye()), [t, n] = (0, F.useState)(null);
+function jU() {
+ let e = (0, F.useRef)(Eye()), [t, n] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
let t = !1, r, i, a = async () => {
- if (t || !DU()) return;
+ if (t || !OU()) return;
let o = new AbortController();
i = o;
- let s = setTimeout(() => o.abort(), Dye);
+ let s = setTimeout(() => o.abort(), Tye);
o.signal.addEventListener("abort", () => clearTimeout(s), { once: !0 });
try {
let r = await B("/api/client-updates", o.signal);
!t && !o.signal.aborted && typeof r?.runtime?.version == "string" && typeof r.runtime.build_id == "string" && (e.current ??= { ...r.runtime }, n(r));
} catch {} finally {
- clearTimeout(s), i === o && (i = void 0, !t && DU() && (r = setTimeout(a, Eye)));
+ clearTimeout(s), i === o && (i = void 0, !t && OU() && (r = setTimeout(a, wye)));
}
}, o = () => {
- clearTimeout(r), i?.abort(), i = void 0, DU() && a();
+ clearTimeout(r), i?.abort(), i = void 0, OU() && a();
};
return document.addEventListener("visibilitychange", o), document.addEventListener("peach:client-updates", o), a(), () => {
t = !0, clearTimeout(r), i?.abort(), document.removeEventListener("visibilitychange", o), document.removeEventListener("peach:client-updates", o);
@@ -48929,12 +48920,12 @@ function AU() {
refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)
};
}
-function kye({ navigate: e }) {
- let { snapshot: t, refresh: n } = AU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");
+function Dye({ navigate: e }) {
+ let { snapshot: t, refresh: n } = jU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");
if (!t || !a) return null;
- let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : OU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;
+ let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : kU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;
if (!l) return null;
- let u = (s.state === "ready" || OU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [
+ let u = (s.state === "ready" || kU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [
l,
c.version,
c.build_id
@@ -48966,9 +48957,9 @@ function kye({ navigate: e }) {
}) : /* @__PURE__ */ (0, I.jsx)(lH, {
variant: "secondary",
size: "small",
- href: kU,
+ href: AU,
onClick: (t) => {
- t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(kU));
+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(AU));
},
"data-copy-key": `clientUpdates.${l}.action`,
children: l === "preparing" ? "查看进度" : "查看更新"
@@ -48983,8 +48974,8 @@ function kye({ navigate: e }) {
}, d), a);
}
// src/react/router/pages/settings.tsx
-function Aye() {
- let e = (0, F.useContext)(XW), { pathname: t } = cf();
+function Oye() {
+ let e = (0, F.useContext)(uG), { pathname: t } = cf();
return (0, F.useEffect)(() => {
e?.openSettings?.(Bf(t));
}, [e, t]), (0, F.useEffect)(() => () => {
@@ -48994,7 +48985,7 @@ function Aye() {
}, [e]), null;
}
// src/junk-queue.ts
-var jU = [
+var MU = [
[
"",
"全部",
@@ -49030,40 +49021,40 @@ var jU = [
"其它",
"hard-drive"
]
-], jye = (e) => jU.find(([t]) => t === e)?.[0] ?? "";
-function MU(e) {
+], kye = (e) => MU.find(([t]) => t === e)?.[0] ?? "";
+function NU(e) {
let t = new URLSearchParams(e);
return {
- kind: jye(t.get("type")),
+ kind: kye(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function NU(e = "", t = "pending") {
+function PU(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function PU(e) {
+function FU(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: NU("", "pending")
+ href: PU("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: NU("", "dismissed")
+ href: PU("", "dismissed")
};
}
-var FU = (e) => e === "dismissed" ? "已排除" : "待判断", IU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function Mye({ kind: e, view: t }) {
- let n = jU.map(([n, r, i]) => `<a href="${NU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${IU(i)}${z(r)}</a>`).join(""), r = PU(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Ls(FU(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${IU(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var IU = (e) => e === "dismissed" ? "已排除" : "待判断", LU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function Aye({ kind: e, view: t }) {
+ let n = MU.map(([n, r, i]) => `<a href="${PU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${LU(i)}${z(r)}</a>`).join(""), r = FU(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Ls(IU(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${LU(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
// src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Nye(e, t, n) {
+function jye(e, t, n) {
(0, F.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -49077,7 +49068,7 @@ function Nye(e, t, n) {
n
]);
}
-function Pye(e, t) {
+function Mye(e, t) {
let n = (0, F.useRef)(!1);
return (0, F.useEffect)(() => {
if (!e) return;
@@ -49090,12 +49081,12 @@ function Pye(e, t) {
}, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;
}
// src/react/boardui/components/base/select/select.tsx
-var LU = (0, F.createContext)("md");
-function RU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var RU = (0, F.createContext)("md");
+function zU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, F.useRef)(null), u = (0, F.useRef)(null), [d, f] = (0, F.useState)(!1);
- Nye(d, () => f(!1), [l, u]);
- let p = Pye(d, l);
- return /* @__PURE__ */ (0, I.jsx)(che, {
+ jye(d, () => f(!1), [l, u]);
+ let p = Mye(d, l);
+ return /* @__PURE__ */ (0, I.jsx)(she, {
ref: s,
...c,
isOpen: d,
@@ -49104,19 +49095,19 @@ function RU({ className: e, triggerClassName: t, popoverClassName: n, size: r =
children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(PL, {
ref: l,
className: q("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, I.jsx)(dhe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(uhe, {
className: q("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, I.jsx)(C_e, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, I.jsx)(S_e, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
}), /* @__PURE__ */ (0, I.jsx)(sz, {
ref: u,
isNonModal: !0,
offset: 4,
- className: q(E_e, DV, "p-2", n),
- children: /* @__PURE__ */ (0, I.jsx)(Ame, {
+ className: q(T_e, DV, "p-2", n),
+ children: /* @__PURE__ */ (0, I.jsx)(kme, {
items: a,
- className: q(D_e, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, I.jsx)(LU.Provider, {
+ className: q(E_e, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, I.jsx)(RU.Provider, {
value: r,
children: i
})
@@ -49124,16 +49115,91 @@ function RU({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function zU({ className: e, children: t, ...n }) {
- let r = (0, F.useContext)(LU);
- return /* @__PURE__ */ (0, I.jsx)(Nme, {
+function BU({ className: e, children: t, ...n }) {
+ let r = (0, F.useContext)(RU);
+ return /* @__PURE__ */ (0, I.jsx)(Mme, {
...n,
className: (t) => q(OV, 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
});
}
-// src/react/boardui/components/base/badges/chip.tsx
-var BU = OI({
+// src/react/toaster.tsx
+var VU = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
+ "data-toast-glyph": t ? "draw" : "still",
+ "aria-hidden": "true",
+ dangerouslySetInnerHTML: { __html: e }
+}), HU = null, UU = { "--floating-radius": "var(--radius-2xl)" }, WU = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;
+function GU() {
+ let e = HU;
+ HU = null, e?.root.unmount();
+}
+var KU = (e, t) => {
+ if (HU?.host === e) return;
+ GU();
+ let n = (0, zt.createRoot)(e);
+ HU = {
+ host: e,
+ root: n
+ }, n.render(/* @__PURE__ */ (0, I.jsxs)(LV, { children: [/* @__PURE__ */ (0, I.jsx)(GV, {
+ id: "receipts",
+ position: "bottom-right",
+ closeButton: !0,
+ gap: 8,
+ style: {
+ ...UU,
+ "--width": "min(560px, calc(100vw - 48px))"
+ },
+ offset: {
+ right: 24,
+ bottom: `calc(${WU(24)} + var(--processing-toast-space, 0px))`
+ },
+ mobileOffset: {
+ right: 16,
+ left: 16,
+ bottom: `calc(${WU(16)} + var(--processing-toast-space, 0px))`
+ },
+ toastOptions: { closeButtonAriaLabel: "关闭提示" },
+ containerAriaLabel: "通知",
+ icons: {
+ success: VU(t.success, !0),
+ error: VU(t.error, !1)
+ }
+ }), /* @__PURE__ */ (0, I.jsx)(GV, {
+ id: "processing",
+ position: "bottom-right",
+ gap: 8,
+ expand: !0,
+ style: {
+ ...UU,
+ "--width": "min(400px, calc(100vw - 32px))"
+ },
+ offset: {
+ right: 24,
+ bottom: WU(24)
+ },
+ mobileOffset: {
+ right: 16,
+ left: 16,
+ bottom: WU(16)
+ },
+ toastOptions: { closeButtonAriaLabel: "关闭任务提示" },
+ containerAriaLabel: "后台任务"
+ })] }));
+}, Nye = 6e3, qU = (e, t) => {
+ if (!String(t.html ?? "").trim()) return;
+ let n = t.alert ? BV.error : BV.success, r = t.action;
+ n(/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
+ id: e,
+ toasterId: "receipts",
+ duration: t.timeout > 0 ? t.timeout : Nye,
+ action: r ? {
+ label: r.label,
+ onClick: (e) => {
+ e.preventDefault(), r.run(e.currentTarget);
+ }
+ } : void 0
+ });
+}, JU = OI({
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",
@@ -49152,15 +49218,176 @@ var BU = OI({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function VU({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function YU({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
ref: r,
- className: q(BU.base, BU.variant[e], BU.color[t], n),
+ className: q(JU.base, JU.variant[e], JU.color[t], n),
...i
});
}
+// src/react/components/select.tsx
+function XU({ prefix: e, renderValue: t, size: n, ...r }) {
+ if (e == null) return /* @__PURE__ */ (0, I.jsx)(zU, {
+ ...r,
+ size: n,
+ renderValue: t
+ });
+ let i = n === "sm" ? "me-0.5" : "me-0.75", a = (n) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
+ "aria-hidden": !0,
+ className: `shrink-0 text-text-tertiary ${i}`,
+ children: e
+ }), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });
+ return /* @__PURE__ */ (0, I.jsx)(zU, {
+ ...r,
+ size: n,
+ renderValue: a
+ });
+}
+// src/react/components/table-pagination.tsx
+function Pye({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+ return t <= 1 ? null : /* @__PURE__ */ (0, I.jsxs)("nav", {
+ "aria-label": r,
+ "data-pagination-layout": "",
+ className: "inline-grid min-w-0 max-w-full items-center gap-2",
+ children: [
+ /* @__PURE__ */ (0, I.jsx)(J, {
+ variant: "secondary",
+ size: "small",
+ disabled: e <= 1,
+ onClick: () => n(e - 1),
+ children: "上一页"
+ }),
+ /* @__PURE__ */ (0, I.jsx)("ul", {
+ className: "flex min-w-0 flex-wrap items-center justify-center gap-1",
+ children: hr(e, t).map((t, r) => /* @__PURE__ */ (0, I.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, I.jsx)("span", {
+ "aria-hidden": !0,
+ className: "px-1 text-body-2-regular text-text-tertiary",
+ children: "…"
+ }) : /* @__PURE__ */ (0, I.jsx)(J, {
+ variant: t === e ? "secondary" : "ghost",
+ size: "small",
+ "aria-label": `第 ${t} 页`,
+ "aria-current": t === e ? "page" : void 0,
+ onClick: () => n(Number(t)),
+ children: t
+ }) }, t === "…" ? `dots-${r}` : t))
+ }),
+ /* @__PURE__ */ (0, I.jsx)(J, {
+ variant: "secondary",
+ size: "small",
+ disabled: e >= t,
+ onClick: () => n(e + 1),
+ children: "下一页"
+ })
+ ]
+ });
+}
+// src/react/components/icon-swap.tsx
+function ZU({ a: e, b: t, state: n, className: r }) {
+ let { isFocusVisible: i } = DC();
+ return /* @__PURE__ */ (0, I.jsxs)("span", {
+ "aria-hidden": !0,
+ className: `iconswap ${r || ""}`,
+ "data-icon-swap": "",
+ "data-icon-state": n,
+ "data-motion-instant": i || void 0,
+ children: [/* @__PURE__ */ (0, I.jsx)("span", {
+ "data-icon": "a",
+ children: /* @__PURE__ */ (0, I.jsx)(e, { className: "size-full" })
+ }), /* @__PURE__ */ (0, I.jsx)("span", {
+ "data-icon": "b",
+ children: /* @__PURE__ */ (0, I.jsx)(t, { className: "size-full" })
+ })]
+ });
+}
+function QU({ className: e }) {
+ return /* @__PURE__ */ (0, I.jsx)(ZU, {
+ a: Sge,
+ b: xge,
+ className: e
+ });
+}
+// src/react/components/table-controls.tsx
+function $U({ label: e, options: t, sorting: n, onChange: r }) {
+ let i = n[0];
+ return /* @__PURE__ */ (0, I.jsxs)("span", {
+ className: "flex flex-none items-center gap-2",
+ children: [/* @__PURE__ */ (0, I.jsxs)(XU, {
+ "aria-label": `${e}排序`,
+ prefix: "排序",
+ selectedKey: i?.id ?? "default",
+ onSelectionChange: (e) => {
+ e !== null && r(e === "default" ? [] : [{
+ id: String(e),
+ desc: i?.desc ?? !1
+ }]);
+ },
+ children: [/* @__PURE__ */ (0, I.jsx)(BU, {
+ id: "default",
+ children: "默认顺序"
+ }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(BU, {
+ id: e.id,
+ children: e.label
+ }, e.id))]
+ }), /* @__PURE__ */ (0, I.jsx)(J, {
+ variant: "secondary",
+ iconOnly: !0,
+ disabled: !i,
+ leadingIcon: QU,
+ "data-icon-state": i?.desc ? "b" : "a",
+ "aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,
+ onClick: () => {
+ i && r([{
+ ...i,
+ desc: !i.desc
+ }]);
+ }
+ })]
+ });
+}
+function eW({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [
+ 10,
+ 20,
+ 50,
+ 100
+] }) {
+ let s = Math.max(1, Math.ceil(t / n.pageSize)), c = Math.min(n.pageIndex, s - 1), l = t ? c * n.pageSize + 1 : 0, u = Math.min((c + 1) * n.pageSize, t);
+ return /* @__PURE__ */ (0, I.jsxs)("div", {
+ "data-table-pagination": !0,
+ className: "flex flex-wrap items-center justify-between gap-3",
+ children: [/* @__PURE__ */ (0, I.jsx)("span", {
+ className: "mr-auto text-body-2-regular tabular-nums text-text-secondary",
+ children: `${l.toLocaleString()}–${u.toLocaleString()} / ${t.toLocaleString()} ${i}`
+ }), /* @__PURE__ */ (0, I.jsxs)("div", {
+ "data-toolbar-actions": "",
+ children: [/* @__PURE__ */ (0, I.jsx)(XU, {
+ "aria-label": "每页显示数量",
+ size: "sm",
+ selectedKey: String(n.pageSize),
+ onSelectionChange: (e) => {
+ e !== null && r({
+ pageIndex: 0,
+ pageSize: Number(e)
+ });
+ },
+ children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(BU, {
+ id: String(e),
+ children: `每页 ${e} ${a}`
+ }, e))
+ }), /* @__PURE__ */ (0, I.jsx)(Pye, {
+ label: `${e}分页`,
+ page: c + 1,
+ pages: s,
+ onPage: (e) => r({
+ ...n,
+ pageIndex: e - 1
+ })
+ })]
+ })]
+ });
+}
// src/react/components/art-slot.tsx
-function HU({ artwork: e, identity: t = e.html, relayout: n }) {
+function tW({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, F.useState)({
identity: t,
artwork: e
@@ -49179,7 +49406,7 @@ function HU({ artwork: e, identity: t = e.html, relayout: n }) {
});
}
// src/react/activity/downloads-panel.tsx
-var UU = "/api/downloads", WU = ["downloads"], Fye = "/api/downloads/cancel", Iye = "/api/downloads/postprocess", GU = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Lye = {
+var nW = "/api/downloads", rW = ["downloads"], Fye = "/api/downloads/cancel", Iye = "/api/downloads/postprocess", iW = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Lye = {
ingested: "lime",
failed: "rose",
cancelled: "neutral",
@@ -49189,23 +49416,29 @@ var UU = "/api/downloads", WU = ["downloads"], Fye = "/api/downloads/cancel", Iy
landed: "lime",
submitted: "neutral",
submit_pending: "yellow"
-}, KU = (e) => {
+}, aW = (e) => {
let t = e.display_code || e.code || "", { title: n } = FI({
is_jav: !!t,
code: t,
name: e.display_title ?? e.title ?? e.display_name ?? e.remote_name
});
return [t, n].filter(Boolean).join(" · ") || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`;
-}, qU = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Rye = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
+}, oW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Rye = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
function zye() {
- let e = (0, F.useId)(), t = Lt({
- queryKey: [...WU, "pages"],
- initialPageParam: null,
- queryFn: ({ signal: e, pageParam: t }) => B(`${UU}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),
- getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,
- refetchInterval: (e) => e.state.data?.pages.some((e) => GU(e) === 5e3) ? 5e3 : 3e4
- }), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];
- return !r.length && !t.error ? null : /* @__PURE__ */ (0, I.jsxs)("section", {
+ let e = (0, F.useId)(), [t, n] = (0, F.useState)(1), [r, i] = (0, F.useState)(20), a = Ft({
+ queryKey: [
+ ...rW,
+ "page",
+ t,
+ r
+ ],
+ queryFn: ({ signal: e }) => B(`${nW}?limit=${r}&page=${t}`, e),
+ refetchInterval: (e) => iW(e.state.data),
+ placeholderData: (e) => e
+ }), [o, s] = (0, F.useState)(a.data);
+ a.data && a.data !== o && s(a.data);
+ let c = a.data || o, l = c?.tasks || [];
+ return !l.length && !a.error ? null : /* @__PURE__ */ (0, I.jsxs)("section", {
id: "cloudDownloads",
"aria-labelledby": e,
className: "flex min-w-0 flex-col gap-3",
@@ -49215,43 +49448,43 @@ function zye() {
className: "text-title-2-medium text-text-primary",
children: "云下载"
}),
- t.error ? /* @__PURE__ */ (0, I.jsx)(aV, {
+ a.error ? /* @__PURE__ */ (0, I.jsx)(aV, {
tone: "error",
- children: lr(t.error)
+ children: lr(a.error)
}) : null,
- r.length ? /* @__PURE__ */ (0, I.jsx)("ul", {
+ l.length ? /* @__PURE__ */ (0, I.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(Bye, {
+ children: l.map((e) => /* @__PURE__ */ (0, I.jsx)(Bye, {
task: e,
- writable: n[0]?.available ?? !1
+ writable: c?.available ?? !1
}, e.id))
}) : null,
- t.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {
- variant: "secondary",
- size: "small",
- leadingIcon: pB,
- className: "self-start",
- ...uV(t.isFetchingNextPage),
- onClick: () => {
- t.isFetching || t.fetchNextPage();
+ /* @__PURE__ */ (0, I.jsx)(eW, {
+ label: "云下载",
+ total: c?.total ?? l.length,
+ pagination: {
+ pageIndex: (c?.page || t) - 1,
+ pageSize: r
},
- children: "加载更多"
- }) : null
+ onChange: (e) => {
+ e.pageIndex + 1 === t && e.pageSize === r ? a.refetch() : (n(e.pageIndex + 1), i(e.pageSize));
+ }
+ })
]
});
}
function Bye({ task: e, writable: t }) {
$I();
- let n = ae(), r = uH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = qU(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [
+ let n = ae(), r = uH(), [i, a] = (0, F.useState)(!1), o = (0, F.useId)(), s = oW(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), c = e.artwork, l = c?.performer_entities || [], u = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, d = e.state === "failed" || e.postprocess_state === "failed", f = [
e.display_code || e.code ? "" : "番号未识别",
e.target,
ZI(e.submitted_at)
- ].filter(Boolean).join(" · "), h = () => {
- n.invalidateQueries({ queryKey: WU });
- }, g = () => {
- r.run("cancel", (t) => V(Fye, { id: e.id }, "POST", t), h);
- }, _ = () => {
+ ].filter(Boolean).join(" · "), p = () => {
+ n.invalidateQueries({ queryKey: rW });
+ }, m = () => {
+ r.run("cancel", (t) => V(Fye, { id: e.id }, "POST", t), p);
+ }, h = () => {
let t = {
magnet: e.source_uri,
provider: e.provider,
@@ -49260,18 +49493,28 @@ function Bye({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => V(UU, t, "POST", e), h);
- }, v = () => {
- navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
- }, y = () => {
- r.run("postprocess", (t) => V(Iye, { id: e.id }, "POST", t), h);
+ r.run("resubmit", (e) => V(nW, t, "POST", e), p);
+ }, g = () => {
+ navigator.clipboard.writeText(e.source_uri).then(() => qU(`download-copy-${e.id}`, {
+ html: "已复制磁力",
+ alert: !1,
+ timeout: 4e3,
+ action: null
+ }), () => qU(`download-copy-${e.id}`, {
+ html: "复制失败,请检查剪贴板权限",
+ alert: !0,
+ timeout: 6e3,
+ action: null
+ }));
+ }, _ = () => {
+ r.run("postprocess", (t) => V(Iye, { id: e.id }, "POST", t), p);
};
return /* @__PURE__ */ (0, I.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: vU({
+ className: yU({
padding: "none",
- bordered: p ? "error" : void 0,
+ bordered: d ? "error" : void 0,
className: "flex flex-col"
}),
children: [
@@ -49283,21 +49526,21 @@ function Bye({ task: e, writable: t }) {
style: { "--card-ratio": String(iM) },
className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",
children: [
- u?.has_cover ? null : /* @__PURE__ */ (0, I.jsx)("span", {
+ c?.has_cover ? null : /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-nopic": "",
children: "无封面"
}),
- u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(HU, {
+ c?.has_cover ? /* @__PURE__ */ (0, I.jsx)(tW, {
artwork: {
kind: "cover",
- html: Co(u, "big")
+ html: Co(c, "big")
},
relayout: (e) => Ol(e, "big")
}) : null,
- f ? /* @__PURE__ */ (0, I.jsx)("a", {
+ u ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-download-cover-link": "",
- href: f,
- "aria-label": `打开作品详情:${KU(e)}`,
+ href: u,
+ "aria-label": `打开作品详情:${aW(e)}`,
className: "absolute inset-0 z-1 rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring"
}) : null
]
@@ -49308,19 +49551,19 @@ function Bye({ task: e, writable: t }) {
className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",
children: [/* @__PURE__ */ (0, I.jsx)("strong", {
className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",
- title: KU(e),
- children: f ? /* @__PURE__ */ (0, I.jsx)("a", {
+ title: aW(e),
+ children: u ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-download-title-link": "",
- href: f,
+ href: u,
className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",
- children: KU(e)
- }) : KU(e)
+ children: aW(e)
+ }) : aW(e)
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(VU, {
+ children: [/* @__PURE__ */ (0, I.jsx)(YU, {
color: Lye[e.state] ?? "neutral",
children: e.state_label
- }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(VU, {
+ }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(YU, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",
children: e.postprocess_label
}) : null]
@@ -49330,21 +49573,21 @@ function Bye({ task: e, writable: t }) {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "flex shrink-0",
- children: /* @__PURE__ */ (0, I.jsx)(RH, {
+ children: /* @__PURE__ */ (0, I.jsx)(zH, {
source: e.provider,
label: e.provider_label
})
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 truncate",
- title: m,
- children: m
+ title: f,
+ children: f
})]
}),
- d.length ? /* @__PURE__ */ (0, I.jsxs)("div", {
+ l.length ? /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-center gap-2",
children: [/* @__PURE__ */ (0, I.jsx)("div", {
className: "flex shrink-0 items-center gap-1",
- children: d.slice(0, 3).map((e) => /* @__PURE__ */ (0, I.jsx)("a", {
+ children: l.slice(0, 3).map((e) => /* @__PURE__ */ (0, I.jsx)("a", {
"data-media-avatar": "",
href: Pn("performer", e.name, e.id),
"aria-label": `打开女优页:${nn("performer", e.name, e.id)}`,
@@ -49353,11 +49596,11 @@ function Bye({ task: e, writable: t }) {
}, e.id || e.name))
}), /* @__PURE__ */ (0, I.jsxs)("span", {
className: "min-w-0 truncate text-caption-1-regular text-text-secondary",
- title: d.map((e) => nn("performer", e.name, e.id)).join("、"),
- children: [d.map((e) => nn("performer", e.name, e.id)).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]
+ title: l.map((e) => nn("performer", e.name, e.id)).join("、"),
+ children: [l.map((e) => nn("performer", e.name, e.id)).join("、"), (c?.performer_total || 0) > l.length ? ` 等 ${c.performer_total} 人` : ""]
})]
}) : null,
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(wH, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(TH, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -49367,7 +49610,7 @@ function Bye({ task: e, writable: t }) {
title: e.ledger_path,
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, I.jsx)(MH, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, I.jsx)(NH, { children: r.error }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-download-actions": "",
className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",
@@ -49375,16 +49618,16 @@ function Bye({ task: e, writable: t }) {
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "ghost",
size: "small",
- "aria-expanded": o,
- "aria-controls": o ? c : void 0,
- onClick: () => s(!o),
- children: o ? "收起标题" : "展开标题"
+ "aria-expanded": i,
+ "aria-controls": o,
+ onClick: () => a(!i),
+ children: i ? "收起标题" : "展开标题"
}),
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "ghost",
size: "small",
- onClick: v,
- children: i ? "已复制磁力" : "复制磁力"
+ onClick: g,
+ children: "复制磁力"
}),
t && (e.cancellable || e.resubmittable || e.postprocess_retryable) ? /* @__PURE__ */ (0, I.jsxs)("div", {
className: "ml-auto flex flex-wrap items-center gap-2",
@@ -49393,21 +49636,21 @@ function Bye({ task: e, writable: t }) {
variant: "secondary",
size: "small",
...uV(r.busy === "cancel"),
- onClick: g,
+ onClick: m,
children: "取消"
}) : null,
e.resubmittable ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
...uV(r.busy === "resubmit"),
- onClick: _,
+ onClick: h,
children: "重新提交"
}) : null,
e.postprocess_retryable ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
...uV(r.busy === "postprocess"),
- onClick: y,
+ onClick: _,
children: "重试入库后整理"
}) : null
]
@@ -49417,26 +49660,29 @@ function Bye({ task: e, writable: t }) {
]
})]
}),
- o ? /* @__PURE__ */ (0, I.jsx)("p", {
- id: c,
- "data-download-title-full": !0,
- className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",
- children: KU(e)
- }) : null,
- l || e.postprocess_detail ? /* @__PURE__ */ (0, I.jsx)("div", {
+ /* @__PURE__ */ (0, I.jsx)(OH, {
+ open: i,
+ id: o,
+ children: /* @__PURE__ */ (0, I.jsx)("p", {
+ "data-download-title-full": !0,
+ className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",
+ children: aW(e)
+ })
+ }),
+ s || e.postprocess_detail ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
children: /* @__PURE__ */ (0, I.jsx)("p", {
className: "wrap-anywhere text-caption-1-regular text-text-secondary",
- children: l || Rye(e)
+ children: s || Rye(e)
})
}) : null
]
});
}
// src/react/activity/work-code.ts
-var JU = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), YU = (e, t) => !!JU(e) && JU(e) === JU(t);
+var sW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), cW = (e, t) => !!sW(e) && sW(e) === sW(t);
// src/react/components/ime.ts
-function XU(e) {
+function lW(e) {
return e.isComposing || e.keyCode === 229;
}
// src/react/activity/resource-search.tsx
@@ -49471,7 +49717,7 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
b.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => YU(e.code, t));
+ let r = (n.items || []).find((e) => cW(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -49492,7 +49738,7 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
"aria-busy": !!y.busy,
className: "flex min-w-0 flex-col gap-4",
children: [
- t ? /* @__PURE__ */ (0, I.jsxs)(jH, { children: [
+ t ? /* @__PURE__ */ (0, I.jsxs)(MH, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
@@ -49508,12 +49754,12 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
"aria-busy": !!y.busy,
onChange: o,
onKeyDown: (e) => {
- e.key === "Enter" && !XU(e.nativeEvent) && (e.preventDefault(), x());
+ e.key === "Enter" && !lW(e.nativeEvent) && (e.preventDefault(), x());
}
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, I.jsx)(NH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(RU, {
+ children: [/* @__PURE__ */ (0, I.jsx)(PH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(zU, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -49521,15 +49767,15 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, I.jsx)(zU, {
+ /* @__PURE__ */ (0, I.jsx)(BU, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, I.jsx)(zU, {
+ /* @__PURE__ */ (0, I.jsx)(BU, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, I.jsx)(zU, {
+ /* @__PURE__ */ (0, I.jsx)(BU, {
id: "uncensored",
children: "无码"
})
@@ -49550,20 +49796,20 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
onChange: f
})]
}),
- y.busy ? /* @__PURE__ */ (0, I.jsx)(jH, {
+ y.busy ? /* @__PURE__ */ (0, I.jsx)(MH, {
role: "status",
children: "正在搜索资源"
}) : null,
- y.error ? /* @__PURE__ */ (0, I.jsx)(MH, { children: y.error }) : null,
- p?.error ? /* @__PURE__ */ (0, I.jsx)(jH, {
+ y.error ? /* @__PURE__ */ (0, I.jsx)(NH, { children: y.error }) : null,
+ p?.error ? /* @__PURE__ */ (0, I.jsx)(MH, {
role: "status",
children: p.error
}) : null,
- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(jH, {
+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(MH, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(jH, { children: e }, e)),
+ p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(MH, { children: e }, e)),
p?.items.length ? /* @__PURE__ */ (0, I.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: p.items.map((e) => /* @__PURE__ */ (0, I.jsxs)("li", {
@@ -49573,7 +49819,7 @@ function Uye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
className: "break-words text-body-2-medium text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, I.jsx)(jH, { children: [
+ /* @__PURE__ */ (0, I.jsx)(MH, { children: [
e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",
e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",
e.resolution ? `${e.resolution}p` : "",
@@ -49603,7 +49849,7 @@ var Wye = {
adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度",
deferred: "网盘暂时没有响应,Peach 会自动重新提交,进度在任务中心"
};
-function ZU({ prefill: e, close: t, receipt: n, provider: r }) {
+function uW({ prefill: e, close: t, receipt: n, provider: r }) {
return /* @__PURE__ */ (0, I.jsx)(rV, {
isOpen: !!e,
onOpenChange: (e) => {
@@ -49620,9 +49866,9 @@ function ZU({ prefill: e, close: t, receipt: n, provider: r }) {
}
function Gye({ prefill: e, close: t, receipt: n, provider: r }) {
let i = Ft({
- queryKey: WU,
- queryFn: ({ signal: e }) => B(`${UU}?limit=50`, e),
- refetchInterval: (e) => GU(e.state.data)
+ queryKey: rW,
+ queryFn: ({ signal: e }) => B(`${nW}?limit=50`, e),
+ refetchInterval: (e) => iW(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
children: [/* @__PURE__ */ (0, I.jsx)(IL, {
@@ -49683,14 +49929,14 @@ function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- b(""), S.run("submit", (e) => V(UU, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: WU });
+ b(""), S.run("submit", (e) => V(nW, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: rW });
let t = Wye[e.outcome];
if (e.ok && t) {
i(t), r();
return;
}
- let n = qU(e.task);
+ let n = oW(e.task);
b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");
});
},
@@ -49714,7 +49960,7 @@ function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: [/* @__PURE__ */ (0, I.jsx)("p", {
className: "break-words text-body-medium text-text-primary",
children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"
- }), _ ? /* @__PURE__ */ (0, I.jsx)(jH, { children: [
+ }), _ ? /* @__PURE__ */ (0, I.jsx)(MH, { children: [
_.performers,
_.studio,
_.release_date,
@@ -49726,13 +49972,13 @@ function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- YU(e, _?.code) || (v(YU(e, n.code) ? n : null), f("")), m(e);
+ cW(e, _?.code) || (v(cW(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? YU(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? cW(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : YU(t?.code, n.code) ? t : null),
+ } : e : cW(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), C.current?.focus();
}
@@ -49749,24 +49995,24 @@ function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
children: [
- /* @__PURE__ */ (0, I.jsx)(NH, { children: "下载到" }),
- /* @__PURE__ */ (0, I.jsx)(RU, {
+ /* @__PURE__ */ (0, I.jsx)(PH, { children: "下载到" }),
+ /* @__PURE__ */ (0, I.jsx)(zU, {
"aria-label": "下载到",
selectedKey: l || null,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && w(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(zU, {
+ children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(BU, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, I.jsx)(RH, {
+ children: /* @__PURE__ */ (0, I.jsx)(zH, {
source: e.key,
label: e.label
})
}, e.key))
}),
- l === "115" ? /* @__PURE__ */ (0, I.jsx)(jH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
+ l === "115" ? /* @__PURE__ */ (0, I.jsx)(MH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
]
}),
t.available ? null : /* @__PURE__ */ (0, I.jsx)(aV, {
@@ -49795,10 +50041,10 @@ function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), YU(e, _?.code) || v(null);
+ m(e), cW(e, _?.code) || v(null);
}
}),
- y || S.error ? /* @__PURE__ */ (0, I.jsx)(MH, { children: y || S.error }) : null
+ y || S.error ? /* @__PURE__ */ (0, I.jsx)(NH, { children: y || S.error }) : null
]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -49818,7 +50064,7 @@ function Kye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
});
}
// src/react/wants/wants.ts
-var QU = "/api/wants", $U = ["wants"], qye = (e) => [
+var dW = "/api/wants", fW = ["wants"], qye = (e) => [
"wants",
"follow",
e
@@ -49827,9 +50073,9 @@ var QU = "/api/wants", $U = ["wants"], qye = (e) => [
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], eW = (e) => B(QU, e);
+], pW = (e) => B(dW, e);
function Yye(e, t) {
- H.setQueryData($U, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+ H.setQueryData(fW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -49837,21 +50083,21 @@ function Yye(e, t) {
} : n)
} : n);
}
-var Xye = (e, t) => B(`${QU}?follow=${encodeURIComponent(e)}`, t), tW = (e, t) => V(QU, {
+var Xye = (e, t) => B(`${dW}?follow=${encodeURIComponent(e)}`, t), mW = (e, t) => V(dW, {
action: "add",
...e
-}, "POST", t), nW = (e, t) => V(QU, {
+}, "POST", t), hW = (e, t) => V(dW, {
action: "remove",
ids: e
-}, "POST", t), Zye = (e, t) => V(QU, {
+}, "POST", t), Zye = (e, t) => V(dW, {
action: "reset",
ids: e
-}, "POST", t), rW = () => H.invalidateQueries({ queryKey: $U }), Qye = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+}, "POST", t), gW = () => H.invalidateQueries({ queryKey: fW }), Qye = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
function $ye(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
// src/react/jav/discovery-sorts.ts
-var iW = [
+var _W = [
[
"taste",
"口味",
@@ -49877,7 +50123,7 @@ var iW = [
"番号",
"按番号排序"
]
-], aW = [
+], vW = [
[
"release_date",
Sj[1],
@@ -49940,20 +50186,20 @@ function nbe(e) {
state: Bp.navigation.location.state
});
}
-var oW = /* @__PURE__ */ new Set(), sW = /* @__PURE__ */ new Set(), cW = 0, lW = () => {
- cW += 1, sW.forEach((e) => e());
+var yW = /* @__PURE__ */ new Set(), bW = /* @__PURE__ */ new Set(), xW = 0, SW = () => {
+ xW += 1, bW.forEach((e) => e());
}, rbe = {
subscribe(e) {
- return sW.add(e), () => {
- sW.delete(e);
+ return bW.add(e), () => {
+ bW.delete(e);
};
},
- revision: () => cW,
- has: (e) => oW.has(e)
+ revision: () => xW,
+ has: (e) => yW.has(e)
};
-function uW(e, t) {
- return oW.add(e), lW(), V("/api/jav/cover", { code: e }, "POST", t).finally(() => {
- oW.delete(e), lW();
+function CW(e, t) {
+ return yW.add(e), SW(), V("/api/jav/cover", { code: e }, "POST", t).finally(() => {
+ yW.delete(e), SW();
});
}
async function ibe(e, t, n, r, i = 2) {
@@ -49983,13 +50229,13 @@ function abe(e, t) {
};
for (let e of ["jav-releases", "jav-discoveries"]) H.setQueriesData({ queryKey: [e] }, n);
}
-var dW = (e, t = "taste", n = "desc") => [
+var wW = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function fW(e, t, n = {}) {
+function TW(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -49998,22 +50244,31 @@ function fW(e, t, n = {}) {
});
return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), B(`/api/jav/discoveries?${r}`, t);
}
-function pW(e) {
- let t = new URLSearchParams(e), n = t.get("sort"), r = t.get("seed") || "";
+var EW = [
+ 10,
+ 20,
+ 24,
+ 50,
+ 100
+];
+function DW(e) {
+ let t = new URLSearchParams(e), n = t.get("sort"), r = t.get("seed") || "", i = Number(t.get("page")), a = EW.find((e) => e === Number(t.get("size"))) || 24;
return {
- page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),
+ page: Number.isFinite(i) ? Math.max(1, Math.floor(i)) : 1,
+ size: a,
performer: t.get("performer") || "",
studio: t.get("studio") || "",
tag: t.get("tag") || "",
q: (t.get("q") || "").trim(),
- sort: n === "random" && r ? "random" : aW.find(([e]) => e === n)?.[0] || "release_date",
+ sort: n === "random" && r ? "random" : vW.find(([e]) => e === n)?.[0] || "release_date",
dir: t.get("dir") === "asc" ? "asc" : "desc",
seed: r
};
}
-var mW = (e) => [
+var OW = (e) => [
"jav-releases",
e.page,
+ e.size,
e.performer,
e.studio,
e.tag,
@@ -50022,10 +50277,10 @@ var mW = (e) => [
e.dir,
e.seed
];
-function hW(e, t, n = "") {
+function kW(e, t, n = "") {
let r = new URLSearchParams({
page: String(e.page),
- size: "24",
+ size: String(e.size),
sort: e.sort,
direction: e.dir
});
@@ -50049,29 +50304,29 @@ function obe(e, t, n) {
}
async function sbe(e, t) {
if (e === "wants") await H.ensureQueryData({
- queryKey: $U,
- queryFn: () => eW(t),
+ queryKey: fW,
+ queryFn: () => pW(t),
staleTime: 3e4,
revalidateIfStale: !0
});
else if (e === "discover") await H.ensureQueryData({
- queryKey: dW("external"),
- queryFn: () => fW("external", t),
+ queryKey: wW("external"),
+ queryFn: () => TW("external", t),
staleTime: 3e4,
revalidateIfStale: !0
});
else if (e === "releases") {
- let e = pW(location.search);
+ let e = DW(location.search);
await H.ensureQueryData({
- queryKey: mW(e),
- queryFn: () => hW(e, t),
+ queryKey: OW(e),
+ queryFn: () => kW(e, t),
staleTime: 3e4,
revalidateIfStale: !0
});
}
}
// src/react/components/board-tabs.tsx
-function gW({ value: e }) {
+function AW({ value: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
@@ -50079,7 +50334,7 @@ function gW({ value: e }) {
});
}
var cbe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function _W({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+function jW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
let a = (0, F.useRef)(null), o = aL(a);
return (0, F.useLayoutEffect)(() => {
let e = a.current;
@@ -50123,7 +50378,7 @@ function _W({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
});
}
// src/react/jav/jav-header.tsx
-function vW({ tab: e, navigate: t, find: n, search: r }) {
+function MW({ tab: e, navigate: t, find: n, search: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -50142,25 +50397,25 @@ function vW({ tab: e, navigate: t, find: n, search: r }) {
children: "查找资源"
})
]
- }), /* @__PURE__ */ (0, I.jsx)(_W, {
- tabs: rU.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, I.jsx)(jW, {
+ tabs: iU.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(aU(e))
+ onChange: (e) => t(oU(e))
})]
});
}
function lbe({ navigate: e, receipt: t }) {
let [n, r] = (0, F.useState)(null);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(vW, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(MW, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, I.jsx)(ZU, {
+ }), /* @__PURE__ */ (0, I.jsx)(uW, {
prefill: n,
close: () => r(null),
receipt: t
@@ -53728,7 +53983,7 @@ var ube = [
}
]
]
-], yW = [
+], NW = [
[
{
x: 0,
@@ -54025,85 +54280,85 @@ var ube = [
rows: 2
}
]
-], bW = (e) => e.map((e) => ({
+], PW = (e) => e.map((e) => ({
...e,
x: 12 - e.x - e.cols
-})), xW = (e) => e.map((e) => ({
+})), FW = (e) => e.map((e) => ({
...e,
y: 8 - e.y - e.rows
-})), SW = [
+})), IW = [
(e) => e,
- bW,
- xW,
- (e) => bW(xW(e))
-], CW = yW.flatMap((e) => SW.map((t) => t(e))), dbe = ube.flatMap((e) => SW.map((t) => e.map(t)));
-CW.length;
+ PW,
+ FW,
+ (e) => PW(FW(e))
+], LW = NW.flatMap((e) => IW.map((t) => t(e))), dbe = ube.flatMap((e) => IW.map((t) => e.map(t)));
+LW.length;
var fbe = (e, t) => {
let n = Math.imul(e, 2654435761) ^ Math.imul(t, 2246822507);
return n = Math.imul(n ^ n >>> 15, 739982445), n ^= n >>> 12, n >>> 0;
-}, wW = (e, t) => {
- let n = yW.length;
- return ((e + t * 2) % n + n) % n * SW.length + fbe(e, t) % SW.length;
-}, pbe = (e, t) => CW[wW(e, t)], mbe = (e, t, n) => n < 0 || n >= 12 ? null : dbe[wW(e, t)][n], TW = 103.36, EW = 6.08, DW = 12 * TW, OW = 8 * TW, kW = 12, AW = (e, t) => (e % t + t) % t, hbe = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
-function jW(e, t) {
- let n = Math.max(1, Math.ceil(e / kW)), r = t ? 3 : Math.min(3, n);
+}, RW = (e, t) => {
+ let n = NW.length;
+ return ((e + t * 2) % n + n) % n * IW.length + fbe(e, t) % IW.length;
+}, pbe = (e, t) => LW[RW(e, t)], mbe = (e, t, n) => n < 0 || n >= 12 ? null : dbe[RW(e, t)][n], zW = 103.36, BW = 6.08, VW = 12 * zW, HW = 8 * zW, UW = 12, WW = (e, t) => (e % t + t) % t, hbe = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
+function GW(e, t) {
+ let n = Math.max(1, Math.ceil(e / UW)), r = t ? 3 : Math.min(3, n);
return {
columns: r,
- width: r * DW,
- height: Math.ceil(n / r) * OW
+ width: r * VW,
+ height: Math.ceil(n / r) * HW
};
}
-function MW(e, t, n) {
+function KW(e, t, n) {
let { x: r, y: i, cols: a, rows: o } = pbe(e, t)[n];
return {
- x: e * DW + r * TW,
- y: t * OW + i * TW,
- width: a * TW - EW,
- height: o * TW - EW
+ x: e * VW + r * zW,
+ y: t * HW + i * zW,
+ width: a * zW - BW,
+ height: o * zW - BW
};
}
function gbe(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
-function NW(e, t, n) {
+function qW(e, t, n) {
if (!e) return null;
let [r, i, a] = n.split(":").map(Number);
if (![
r,
i,
a
- ].every(Number.isInteger) || a < 0 || a >= kW) return null;
- let o = jW(e, t), s = o.height / OW;
+ ].every(Number.isInteger) || a < 0 || a >= UW) return null;
+ let o = GW(e, t), s = o.height / HW;
if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;
- let c = t ? r : AW(r, o.columns), l = ((t ? i : AW(i, s)) * o.columns + c) * kW + a;
+ let c = t ? r : WW(r, o.columns), l = ((t ? i : WW(i, s)) * o.columns + c) * UW + a;
return t && l >= e ? null : {
- ...MW(r, i, a),
+ ...KW(r, i, a),
index: l % e,
key: n
};
}
function _be(e, t) {
if (t < 0 || t >= e) return null;
- let n = Math.floor(t / kW);
- return NW(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % kW}`);
+ let n = Math.floor(t / UW);
+ return qW(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % UW}`);
}
-function PW(e, t, n) {
+function JW(e, t, n) {
let [r, i, a] = n.key.split(":").map(Number), o = mbe(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
- x: r * DW + e.x * TW,
- y: i * OW + e.y * TW,
- width: e.cols * TW - EW,
- height: e.rows * TW - EW
+ x: r * VW + e.x * zW,
+ y: i * HW + e.y * zW,
+ width: e.cols * zW - BW,
+ height: e.rows * zW - BW
}]));
}
function vbe(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
- let e = Math.floor(r / kW), i = MW(e % 3, Math.floor(e / 3), r % kW);
+ let e = Math.floor(r / UW), i = KW(e % 3, Math.floor(e / 3), r % UW);
t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);
}
return {
- width: e >= 36 ? 3 * DW - EW : t,
+ width: e >= 36 ? 3 * VW - BW : t,
height: n
};
}
@@ -54116,21 +54371,21 @@ function ybe(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function FW(e, t, n, r) {
+function YW(e, t, n, r) {
if (!e || !r.width || !r.height) return [];
let i = 180 / n.scale, a = {
x: -n.x / n.scale - i,
y: -n.y / n.scale - i,
width: r.width / n.scale + i * 2,
height: r.height / n.scale + i * 2
- }, o = jW(e, t), s = o.height / OW, c = [];
- for (let n = Math.floor(a.y / OW); n <= Math.floor((a.y + a.height) / OW); n += 1) for (let r = Math.floor(a.x / DW); r <= Math.floor((a.x + a.width) / DW); r += 1) {
+ }, o = GW(e, t), s = o.height / HW, c = [];
+ for (let n = Math.floor(a.y / HW); n <= Math.floor((a.y + a.height) / HW); n += 1) for (let r = Math.floor(a.x / VW); r <= Math.floor((a.x + a.width) / VW); r += 1) {
if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;
- let i = t ? r : AW(r, o.columns), l = t ? n : AW(n, s);
- for (let s = 0; s < kW; s += 1) {
- let u = (l * o.columns + i) * kW + s;
+ let i = t ? r : WW(r, o.columns), l = t ? n : WW(n, s);
+ for (let s = 0; s < UW; s += 1) {
+ let u = (l * o.columns + i) * UW + s;
if (t && u >= e) continue;
- let d = MW(r, n, s);
+ let d = KW(r, n, s);
hbe(d, a) && c.push({
...d,
index: u % e,
@@ -54152,7 +54407,7 @@ var bbe = class {
this.cursor = e;
}
tile(e, t) {
- let n = this.positions.get(e), r = n === void 0 ? null : NW(t, !1, e);
+ let n = this.positions.get(e), r = n === void 0 ? null : qW(t, !1, e);
return r ? {
...r,
index: n
@@ -54182,7 +54437,7 @@ var bbe = class {
let e = 0;
for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));
return {
- x: (e + 2) * DW,
+ x: (e + 2) * VW,
y: 0
};
}
@@ -54195,10 +54450,10 @@ var bbe = class {
c < i && (r = s, i = c);
}
if (r) return r;
- let a = this.fresh(), o = `${Math.round(a.x / DW)}:0:0`;
+ let a = this.fresh(), o = `${Math.round(a.x / VW)}:0:0`;
return this.positions.set(o, t), this.used.add(t), this.tile(o, e);
}
-}, IW = [
+}, XW = [
"q",
"performer",
"series",
@@ -54214,7 +54469,7 @@ var bbe = class {
"region"
];
function xbe(e = {}) {
- return IW.some((t) => !!e[t]);
+ return XW.some((t) => !!e[t]);
}
// src/react/video-wall/wall-boot.ts
function Sbe() {
@@ -54222,30 +54477,30 @@ function Sbe() {
let e = innerWidth < 640 ? .68 : 1, t = document.createElement("div");
t.className = "peach-react", t.dataset.wallBoot = "", t.innerHTML = `<div data-video-wall="" data-fullscreen=""><div data-wall-viewport="" data-skeleton="wall" role="status" aria-busy="true" aria-label="正在读取播放墙"><div data-wall-world="" style="transform:translate3d(0px, 0px, 0) scale(${e})"></div></div></div>`, document.body.append(t);
let n = t.querySelector("[data-wall-viewport]").getBoundingClientRect();
- t.querySelector("[data-wall-world]").innerHTML = FW(12, !1, {
+ t.querySelector("[data-wall-world]").innerHTML = YW(12, !1, {
x: 0,
y: 0,
scale: e
}, n).map((e) => `<span data-wall-skeleton="" aria-hidden="true" style="--wall-left:${e.x}px;--wall-top:${e.y}px;--wall-width:${e.width}px;--wall-height:${e.height}px"></span>`).join("");
}
-function LW() {
+function ZW() {
document.querySelectorAll("[data-wall-boot]").forEach((e) => e.remove());
}
// src/react/router/pages/catalog.tsx
-var Cbe = () => yu, RW = Bp.navigation.seq, zW = Bp.navigation.openEpoch, BW = Bp.navigation.location.pathname, VW = {
- seq: RW,
+var Cbe = () => yu, QW = Bp.navigation.seq, $W = Bp.navigation.openEpoch, eG = Bp.navigation.location.pathname, tG = {
+ seq: QW,
claimed: !0,
- from: BW
+ from: eG
};
Bp.listen((e) => {
- VW = {
+ tG = {
seq: e.seq,
- claimed: e.openEpoch === zW,
- from: BW
- }, zW = e.openEpoch, BW = e.location.pathname;
+ claimed: e.openEpoch === $W,
+ from: eG
+ }, $W = e.openEpoch, eG = e.location.pathname;
});
-var HW = !1;
-function UW(e) {
+var nG = !1;
+function rG(e) {
let { seq: t, openEpoch: n, location: r } = Bp.navigation, i = qf(r.pathname), a = Up() ?? r, o = U ?? {};
return {
seq: t,
@@ -54294,14 +54549,14 @@ function wbe(e, t, n, r) {
folder_recursive: o.get("folder_recursive") === "0" ? "0" : ""
};
}
-function WW(e) {
+function iG(e) {
let t = Bp.navigation.seq;
xm("catalog", { ...U });
let n = e(), r = () => Bp.navigation.seq === t, i = () => document.querySelector("#grid");
Tm(r, i(), { pending: !0 }), Promise.resolve(n).then(() => Tm(r, i()));
}
function Tbe(e, t) {
- let n = { ...e }, r = UW(n.opened);
+ let n = { ...e }, r = rG(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
@@ -54313,33 +54568,33 @@ function Tbe(e, t) {
if (r.opens === n.opens) {
if (r.epoch === n.epoch && n.opened) {
if (r.seq === n.seq || n.covered && r.address === n.address && r.filters === n.filters) return;
- WW(() => i.load());
+ iG(() => i.load());
return;
}
- r.epoch !== n.epoch && (a = Bp.navigation.action === "POP" && VW.from !== "/");
+ r.epoch !== n.epoch && (a = Bp.navigation.action === "POP" && tG.from !== "/");
}
let { pathname: o, search: s } = Bp.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = MU(s);
- HW = !0, Vp(NU(e, t), { replace: !0 });
+ let { kind: e, view: t } = NU(s);
+ nG = !0, Vp(PU(e, t), { replace: !0 });
return;
}
- let c = HW;
- HW = !1, a &&= o === "/" && !Cm(), e.opened = !0, Ou({ state: wbe(o, s, a, i) }), WW(() => i.open(o, {
+ let c = nG;
+ nG = !1, a &&= o === "/" && !Cm(), e.opened = !0, Ou({ state: wbe(o, s, a, i) }), iG(() => i.open(o, {
entering: a,
retitle: c
}));
}
function Ebe() {
- let e = (0, F.useContext)(XW), t = YW(), n = (0, F.useSyncExternalStore)(Au, Cbe), r = cf(), i = (0, F.useRef)(null), a = (0, F.useRef)({
+ let e = (0, F.useContext)(uG), t = lG(), n = (0, F.useSyncExternalStore)(Au, Cbe), r = cf(), i = (0, F.useRef)(null), a = (0, F.useRef)({
mounted: !0,
queued: !1
});
return (0, F.useEffect)(() => {
let e = a.current;
e.mounted = !0;
- let t = UW(!qf(Bp.navigation.location.pathname));
- return !t.covered && t.opens > 0 && (HW || VW.seq === RW ? t.opens = -1 : VW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {
+ let t = rG(!qf(Bp.navigation.location.pathname));
+ return !t.covered && t.opens > 0 && (nG || tG.seq === QW ? t.opens = -1 : tG.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {
e.mounted = !1;
};
}, []), (0, F.useEffect)(() => {
@@ -54354,7 +54609,7 @@ function Ebe() {
e
]), null;
}
-function GW() {
+function aG() {
let { pathname: e } = cf();
return (0, F.useLayoutEffect)(() => {
if (e !== "/wall") return;
@@ -54363,23 +54618,23 @@ function GW() {
return t.forEach((e) => {
e.inert = !0;
}), () => {
- document.body.removeAttribute("data-wall-open"), LW(), t.forEach((e, t) => {
+ document.body.removeAttribute("data-wall-open"), ZW(), t.forEach((e, t) => {
e.inert = n[t] || !1;
});
};
- }, [e]), qf(e) && !Kf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Ebe, {}, e === "/junk-files" ? "/junk-files" : "/"), jn(e) ? /* @__PURE__ */ (0, I.jsx)(tG, {}) : null] });
+ }, [e]), qf(e) && !Kf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Ebe, {}, e === "/junk-files" ? "/junk-files" : "/"), jn(e) ? /* @__PURE__ */ (0, I.jsx)(hG, {}) : null] });
}
function Dbe() {
- let e = (0, F.useContext)(XW), t = document.getElementById("javLibraryHeader");
+ let e = (0, F.useContext)(uG), t = document.getElementById("javLibraryHeader");
return t && e ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(lbe, {
navigate: e.navigate,
receipt: (t) => e.receipt(t)
}), t) : null;
}
// src/react/router/pages/overlay.tsx
-var KW = () => yu, Obe = () => bu;
+var oG = () => yu, Obe = () => bu;
function kbe() {
- let e = (0, F.useContext)(XW), t = (0, F.useSyncExternalStore)(Au, Obe), n = (0, F.useSyncExternalStore)(Au, KW);
+ let e = (0, F.useContext)(uG), t = (0, F.useSyncExternalStore)(Au, Obe), n = (0, F.useSyncExternalStore)(Au, oG);
return (0, F.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -54394,8 +54649,8 @@ function kbe() {
e
]), null;
}
-function qW(e, t = !1) {
- let n = (0, F.useSyncExternalStore)(Au, KW), r = (0, F.useRef)(void 0);
+function sG(e, t = !1) {
+ let n = (0, F.useSyncExternalStore)(Au, oG), r = (0, F.useRef)(void 0);
if (r.current === void 0) {
let { claimed: e } = Bp.navigation;
r.current = yu === 0 || Hp() ? "boot" : e && !t ? null : "history";
@@ -54415,10 +54670,10 @@ function qW(e, t = !1) {
}, [n]);
}
function Abe() {
- let e = (0, F.useContext)(XW), t = (0, F.useRef)(e);
+ let e = (0, F.useContext)(uG), t = (0, F.useRef)(e);
return (0, F.useLayoutEffect)(() => {
t.current = e;
- }, [e]), qW((t) => {
+ }, [e]), sG((t) => {
let n = Bp.navigation.location, { pathname: r, search: i } = zf(n.pathname) && Hf(n.state) || n, a = Kf(r, i);
e && a && (Qf(), t || $f(Bp.navigation.location.state), e.openOverlay(a));
}, !0), (0, F.useEffect)(() => () => {
@@ -54428,7 +54683,7 @@ function Abe() {
}, []), null;
}
function jbe({ path: e }) {
- YW();
+ lG();
let { location: t, seq: n, action: r } = Bp.navigation, i = zf(t.pathname) ? Hf(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, F.useRef)({
identity: a,
seq: i?.seq ?? n,
@@ -54443,21 +54698,21 @@ function jbe({ path: e }) {
}), /* @__PURE__ */ (0, I.jsx)(Abe, {}, `${e} ${o.current.seq}`);
}
function Mbe() {
- let e = (0, F.useContext)(XW);
- return qW(() => {
+ let e = (0, F.useContext)(uG);
+ return sG(() => {
e?.follow?.ground();
}), null;
}
function Nbe() {
- return /* @__PURE__ */ (0, I.jsx)(Mbe, {}, YW());
+ return /* @__PURE__ */ (0, I.jsx)(Mbe, {}, lG());
}
// src/react/router/router.tsx
-var JW = (0, F.createContext)(0), YW = () => (0, F.useContext)(JW), XW = (0, F.createContext)(null);
+var cG = (0, F.createContext)(0), lG = () => (0, F.useContext)(cG), uG = (0, F.createContext)(null);
function Pbe({ children: e }) {
let [t, n] = (0, F.useState)(() => Bp.navigation);
return (0, F.useLayoutEffect)(() => (n(Bp.navigation), Bp.listen((e) => {
(0, Rt.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, I.jsx)(JW.Provider, {
+ })), []), /* @__PURE__ */ (0, I.jsx)(cG.Provider, {
value: t.openEpoch,
children: /* @__PURE__ */ (0, I.jsx)(Mf, {
location: t.location,
@@ -54475,10 +54730,10 @@ function Fbe({ target: e }) {
}
function Ibe(e, t, n) {
let r = new URL(e, window.location.href);
- G6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
+ K6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
function Lbe() {
- let e = (0, F.useContext)(XW), [t, n] = (0, F.useState)(Cp), r = (0, F.useRef)(null);
+ let e = (0, F.useContext)(uG), [t, n] = (0, F.useState)(Cp), r = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => (n(Cp()), wp((e, t) => {
t ? (0, Rt.flushSync)(() => n(e)) : n(e);
})), []);
@@ -54506,47 +54761,47 @@ var Rbe = class extends F.Component {
return this.state.failed ? null : this.props.children;
}
}, zbe = (0, F.memo)(function({ entry: e, actions: t, go: n }) {
- return a8(e.path) ? (0, Rt.createPortal)(ELe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+ return o8(e.path) ? (0, Rt.createPortal)(TLe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
function Bbe({ children: e }) {
let t = cf();
- YW();
+ lG();
let n = Up(), r = zf(t.pathname) && !Hp() ? Hf(t.state) : null;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)(Nf, {
location: n ?? t,
children: [
- Object.entries(W6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {
+ Object.entries(G6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {
path: e,
element: t.element
}, e)),
- Object.entries(SLe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {
+ Object.entries(xLe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {
path: e,
element: t.element
}, e)),
- Object.entries(K6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {
+ Object.entries(q6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {
path: e,
element: t.element
}, e)),
- Object.entries(Y6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {
+ Object.entries(X6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {
path: e,
element: t.element
}, e)),
- Object.entries(Z6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {
+ Object.entries(Q6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {
path: e,
element: t.element
}, e)),
- i8.map((e) => /* @__PURE__ */ (0, I.jsx)(jf, {
+ a8.map((e) => /* @__PURE__ */ (0, I.jsx)(jf, {
path: e,
- element: Q6["/"].element
+ element: $6["/"].element
}, e)),
- Object.entries(CLe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {
+ Object.entries(SLe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(jf, {
path: e,
element: t.element
}, e)),
Uf.map((e) => /* @__PURE__ */ (0, I.jsx)(jf, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(Nbe, {}) : Q6["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(Nbe, {}) : $6["/"].element
}, e)),
Rf.map((e) => /* @__PURE__ */ (0, I.jsx)(jf, {
path: e,
@@ -54570,7 +54825,7 @@ function Bbe({ children: e }) {
}),
/* @__PURE__ */ (0, I.jsxs)(Nf, { children: [Rf.map((e) => /* @__PURE__ */ (0, I.jsx)(jf, {
path: e,
- element: /* @__PURE__ */ (0, I.jsx)(Aye, {})
+ element: /* @__PURE__ */ (0, I.jsx)(Oye, {})
}, e)), /* @__PURE__ */ (0, I.jsx)(jf, {
path: "*",
element: null
@@ -54578,30 +54833,30 @@ function Bbe({ children: e }) {
] });
}
function Vbe({ children: e, actions: t = null, background: n, processing: r = !1 }) {
- return /* @__PURE__ */ (0, I.jsxs)(LV, { children: [n, /* @__PURE__ */ (0, I.jsx)(XW.Provider, {
+ return /* @__PURE__ */ (0, I.jsxs)(LV, { children: [n, /* @__PURE__ */ (0, I.jsx)(uG.Provider, {
value: t,
children: /* @__PURE__ */ (0, I.jsxs)(Pbe, { children: [
/* @__PURE__ */ (0, I.jsx)(Lbe, {}),
/* @__PURE__ */ (0, I.jsx)(Dbe, {}),
/* @__PURE__ */ (0, I.jsx)(kbe, {}),
- r && t ? /* @__PURE__ */ (0, I.jsx)(Kve, { toast: t.toast }) : null,
- r && t ? /* @__PURE__ */ (0, I.jsx)(Xve, {}) : null,
- r && t ? /* @__PURE__ */ (0, I.jsx)(kye, { navigate: t.navigate }) : null,
- r && t ? /* @__PURE__ */ (0, I.jsx)(Tye, { actions: t }) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(Wve, { toast: t.toast }) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(Jve, {}) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(Dye, { navigate: t.navigate }) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(Cye, { actions: t }) : null,
/* @__PURE__ */ (0, I.jsx)(Bbe, { children: e })
] })
})] });
}
var Hbe = { onCaughtError: (e) => {
globalThis.reportError?.(e);
-} }, ZW = {
+} }, dG = {
category: "个人分类",
creator: "创作者/账号",
performer: "人物",
seller: "卖家",
studio: "厂牌"
};
-function QW(e, t = "", n = "") {
+function fG(e, t = "", n = "") {
let r = new URLSearchParams({
...e,
folder: t,
@@ -54613,14 +54868,14 @@ function QW(e, t = "", n = "") {
queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)
};
}
-function $W(e, t) {
+function pG(e, t) {
let n = new URLSearchParams(e.search);
for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);
return e.pathname + (n.size ? `?${n}` : "");
}
// src/react/catalog-folders/folder-rule-dialog.tsx
function Ube({ folder: e, rule: t, revision: n, close: r }) {
- let i = (0, F.useContext)(XW), a = uH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {
+ let i = (0, F.useContext)(uG), a = uH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {
folder: e.id,
purpose: o,
name: c,
@@ -54683,14 +54938,14 @@ function Ube({ folder: e, rule: t, revision: n, close: r }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, I.jsx)(XB, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(RU, {
+ children: [/* @__PURE__ */ (0, I.jsx)(XB, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(zU, {
"aria-label": "这个文件夹用于",
selectedKey: o,
isDisabled: w,
onSelectionChange: (e) => {
s(e), y();
},
- children: Object.entries(ZW).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(zU, {
+ children: Object.entries(dG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(BU, {
id: e,
children: t
}, e))
@@ -54754,7 +55009,7 @@ function Ube({ folder: e, rule: t, revision: n, close: r }) {
}) : null,
m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(aV, {
tone: "warning",
- extra: /* @__PURE__ */ (0, I.jsx)(PH, {
+ extra: /* @__PURE__ */ (0, I.jsx)(FH, {
summary: "查看归属冲突",
children: /* @__PURE__ */ (0, I.jsx)("ul", {
className: "mt-2 flex flex-col gap-2",
@@ -54841,11 +55096,11 @@ function Wbe(e, t) {
}, [e, t]);
}
// src/react/catalog-folders/catalog-folders-page.tsx
-function eG() {
+function mG() {
return sf() ? /* @__PURE__ */ (0, I.jsx)(Gbe, {}) : null;
}
function Gbe() {
- let e = cf(), t = (0, F.useContext)(XW);
+ let e = cf(), t = (0, F.useContext)(uG);
if (!jn(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;
let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");
return /* @__PURE__ */ (0, I.jsx)(nL, {
@@ -54855,7 +55110,7 @@ function Gbe() {
title: "文件夹模式",
"aria-pressed": r,
icon: DB,
- onClick: () => t?.navigate($W(e, r ? {
+ onClick: () => t?.navigate(pG(e, r ? {
browse: null,
folder: null,
folder_recursive: null
@@ -54888,7 +55143,7 @@ function qbe({ children: e, enabled: t }) {
hidden: !c
}), e]
}),
- n && i ? /* @__PURE__ */ (0, I.jsx)(tG, {
+ n && i ? /* @__PURE__ */ (0, I.jsx)(hG, {
treeTarget: n,
headerTarget: i,
enabled: t
@@ -54896,14 +55151,14 @@ function qbe({ children: e, enabled: t }) {
]
});
}
-function tG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
- let r = cf(), i = (0, F.useContext)(XW), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
+function hG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
+ let r = cf(), i = (0, F.useContext)(uG), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
loc: a.get("loc") ?? "",
library: a.get("library") ?? ""
};
Wbe(o, e);
let c = a.get("folder") || "", l = Ft({
- ...QW(s, c),
+ ...fG(s, c),
enabled: o
}), [u, d] = (0, F.useState)(!1), [f, p] = (0, F.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");
if ((0, F.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {
@@ -54917,7 +55172,7 @@ function tG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
d(!1), p(!1);
}, [c, o]), !o || !m || !h || !i) return null;
let g = (e) => {
- d(!1), i.navigate($W(r, {
+ d(!1), i.navigate(pG(r, {
browse: "folders",
folder: e
}));
@@ -54940,12 +55195,12 @@ function tG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
className: "folder-drawer-trigger",
children: /* @__PURE__ */ (0, I.jsx)(nL, {
"aria-label": "打开文件夹目录",
- icon: r_e,
+ icon: n_e,
size: "small",
onClick: () => d(!0)
})
}),
- /* @__PURE__ */ (0, I.jsxs)(T_e, {
+ /* @__PURE__ */ (0, I.jsxs)(w_e, {
"aria-label": "文件夹路径",
children: [/* @__PURE__ */ (0, I.jsx)(TV, {
current: !c,
@@ -54964,7 +55219,7 @@ function tG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}),
_?.selected ? /* @__PURE__ */ (0, I.jsx)(nL, {
"aria-label": "设置目录用途",
- icon: Wge,
+ icon: Uge,
size: "small",
onClick: () => p(!0)
}) : null
@@ -54997,11 +55252,11 @@ function tG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [/* @__PURE__ */ (0, I.jsx)(PV, {
size: "sm",
isSelected: a.get("folder_recursive") !== "0",
- onChange: (e) => i.navigate($W(r, { folder_recursive: e ? null : "0" })),
+ onChange: (e) => i.navigate(pG(r, { folder_recursive: e ? null : "0" })),
children: "包含子文件夹"
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular text-text-tertiary",
- children: _.rule ? `${ZW[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
+ children: _.rule ? `${dG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
})]
}) : null,
l.isPending ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -55073,14 +55328,14 @@ function Jbe({ nodes: e, go: t }) {
});
}
function Ybe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
- let a = Ft(QW(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Ft({
- ...QW(e, "", u),
+ let a = Ft(fG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Ft({
+ ...fG(e, "", u),
enabled: !!u.trim()
}), f = FV();
(0, F.useEffect)(() => {
n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));
}, [n?.ancestors]);
- let p = [...o].map(String), m = Nt({ queries: p.map((t) => QW(e, t)) }), h = /* @__PURE__ */ new Map();
+ let p = [...o].map(String), m = Nt({ queries: p.map((t) => fG(e, t)) }), h = /* @__PURE__ */ new Map();
m.forEach((e, t) => {
e.data && h.set(p[t], e.data.children);
}), n?.selected && h.set(n.selected.id, n.children);
@@ -55174,7 +55429,7 @@ function Ybe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
}),
children: "换个目录名称试试。"
})
- }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(O_e, {
+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(D_e, {
"aria-label": "媒体目录",
size: "sm",
expandedKeys: o,
@@ -55199,45 +55454,45 @@ function Ybe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
});
}
// src/react/catalog-grid/catalog-view.ts
-var nG = "peach.catalog-view.v1", rG = /* @__PURE__ */ new Set(), iG = "cards";
-function aG() {
+var gG = "peach.catalog-view.v1", _G = /* @__PURE__ */ new Set(), vG = "cards";
+function yG() {
try {
- return localStorage.getItem(nG) === "list" ? "list" : "cards";
+ return localStorage.getItem(gG) === "list" ? "list" : "cards";
} catch {
- return iG;
+ return vG;
}
}
function Xbe(e) {
- iG = e === "list" ? "list" : "cards";
+ vG = e === "list" ? "list" : "cards";
try {
- localStorage.setItem(nG, iG);
+ localStorage.setItem(gG, vG);
} catch {}
- rG.forEach((e) => e());
+ _G.forEach((e) => e());
}
function Zbe(e) {
- rG.add(e);
+ _G.add(e);
let t = (t) => {
- (t.key === nG || t.key === null) && e();
+ (t.key === gG || t.key === null) && e();
};
return addEventListener("storage", t), () => {
- rG.delete(e), removeEventListener("storage", t);
+ _G.delete(e), removeEventListener("storage", t);
};
}
-var oG = () => (0, F.useSyncExternalStore)(Zbe, aG, () => "cards");
+var bG = () => (0, F.useSyncExternalStore)(Zbe, yG, () => "cards");
// src/react/catalog-grid/catalog-view-toggle.tsx
-function sG() {
- let e = oG();
+function xG() {
+ let e = bG();
return /* @__PURE__ */ (0, I.jsxs)(Dz, {
"aria-label": "馆藏显示方式",
orientation: "horizontal",
value: e,
onChange: Xbe,
"data-entity-layout": "",
- className: tU,
+ className: nU,
children: [/* @__PURE__ */ (0, I.jsx)(Oz, {
value: "cards",
"aria-label": "卡片",
- className: nU,
+ className: rU,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: "卡片",
@@ -55250,12 +55505,12 @@ function sG() {
}), /* @__PURE__ */ (0, I.jsx)(Oz, {
value: "list",
"aria-label": "列表",
- className: nU,
+ className: rU,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: "列表",
className: "pointer-events-none contents",
- children: /* @__PURE__ */ (0, I.jsx)($ge, {
+ children: /* @__PURE__ */ (0, I.jsx)(Qge, {
"aria-hidden": "true",
className: "size-4"
})
@@ -55263,101 +55518,76 @@ function sG() {
})]
});
}
-// src/react/components/icon-swap.tsx
-function cG({ a: e, b: t, state: n, className: r }) {
- let { isFocusVisible: i } = DC();
- return /* @__PURE__ */ (0, I.jsxs)("span", {
- "aria-hidden": !0,
- className: `iconswap ${r || ""}`,
- "data-icon-swap": "",
- "data-icon-state": n,
- "data-motion-instant": i || void 0,
- children: [/* @__PURE__ */ (0, I.jsx)("span", {
- "data-icon": "a",
- children: /* @__PURE__ */ (0, I.jsx)(e, { className: "size-full" })
- }), /* @__PURE__ */ (0, I.jsx)("span", {
- "data-icon": "b",
- children: /* @__PURE__ */ (0, I.jsx)(t, { className: "size-full" })
- })]
- });
-}
-function lG({ className: e }) {
- return /* @__PURE__ */ (0, I.jsx)(cG, {
- a: Cge,
- b: Sge,
- className: e
- });
-}
// src/react/follow-feed/follow-marks.ts
-var uG = (e) => typeof e == "string" ? e : "", dG = (e) => e.aliases;
-function fG(e, t = "") {
+var SG = (e) => typeof e == "string" ? e : "", CG = (e) => e.aliases;
+function wG(e, t = "") {
let n = Yi(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function pG(e, t = "") {
+function TG(e, t = "") {
let n = z(si(t || e)), r = Yi(e);
return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;
}
-var mG = (e) => uG(e.title).trim() || "未命名内容", hG = (e, t) => oi(e, dG(t));
-function gG(e) {
+var EG = (e) => SG(e.title).trim() || "未命名内容", DG = (e, t) => oi(e, CG(t));
+function OG(e) {
let t = e.filter((e) => e.entity_id && e.entity_name);
if (new Set(t.map((e) => e.entity_id)).size !== 1) return "";
- let n = t[0], r = uG(n.entity_name);
+ let n = t[0], r = SG(n.entity_name);
return ln("creator", r, n.entity_id), r;
}
-function _G(e, t) {
+function kG(e, t) {
let { src: n, fallback: r } = ci(e), i = si(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${z(i)}</span>`;
let a = r ? ` data-fallbacks="${z(r)}"` : "";
return `<img class="favatar" src="${z(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${z(i)}" data-drop-class="favatar none">`;
}
-function vG(e, t, n) {
- let r = dG(n), i = e.credit, a = i?.poster;
+function AG(e, t, n) {
+ let r = CG(n), i = e.credit, a = i?.poster;
if (!a) {
let n = oi(t, r);
return {
- author: n || uG(e.author) || uG(e.source_label) || "创作者未取得",
- avatar: _G(t, n),
+ author: n || SG(e.author) || SG(e.source_label) || "创作者未取得",
+ avatar: kG(t, n),
credited: "",
- entityName: gG(t)
+ entityName: OG(t)
};
}
let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && oi(c, r) || a;
return {
author: l,
- avatar: _G(c, l),
+ avatar: kG(c, l),
credited: i.credited || "",
- entityName: gG(c)
+ entityName: OG(c)
};
}
-function yG(e, t = e.primary) {
+function jG(e, t = e.primary) {
let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;
e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));
- let i = uG(e.primary.version);
+ let i = SG(e.primary.version);
i && n.push(r("version", z(i)));
- let a = uG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = SG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function bG(e, t = e.primary) {
+function MG(e, t = e.primary) {
let n = new Map([
e.primary,
...e.variants,
...e.duplicates
].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));
if (!n.size) return "";
- let r = [...n].map(([e, t]) => fG(e, t) || `<span>${z(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => wG(e, t) || `<span>${z(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${z([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;
}
-function xG(e, t) {
- let n = uG(e.media_error);
+function NG(e, t) {
+ let n = SG(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
var Qbe = 864e5, $be = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
return Number.isFinite(n) && n - t > Qbe;
};
-function SG(e, t) {
- let n = uG(e.published_at);
+function PG(e, t) {
+ let n = SG(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = Cr(n);
return {
@@ -55366,29 +55596,29 @@ function SG(e, t) {
suffix: $be(n, t) ? " · 晚于现在" : ""
};
}
-function CG(e, t = Date.now()) {
- let n = SG(e, t);
+function FG(e, t = Date.now()) {
+ let n = PG(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function wG(e, t = Date.now()) {
- let n = SG(e, t);
+function IG(e, t = Date.now()) {
+ let n = PG(e, t);
if (!n) return "时间未取得";
if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;
let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);
return `${n.prefix}${r}${n.suffix}`;
}
-var TG = /* @__PURE__ */ new Set(), EG = [], DG = null;
-function OG() {
- if (DG = null, !EG.length) return;
- let e = EG.splice(0, 200);
+var LG = /* @__PURE__ */ new Set(), RG = [], zG = null;
+function BG() {
+ if (zG = null, !RG.length) return;
+ let e = RG.splice(0, 200);
Tn("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), EG.length && (DG = setTimeout(OG, 800));
+ }).catch(() => {}), RG.length && (zG = setTimeout(BG, 800));
}
function exe(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- TG.has(i) || (TG.add(i), EG.push(t === null ? {
+ LG.has(i) || (LG.add(i), RG.push(t === null ? {
item: e,
width: n,
height: r
@@ -55397,10 +55627,10 @@ function exe(e, t, n, r) {
width: n,
height: r,
media: t
- }), DG ||= setTimeout(OG, 800));
+ }), zG ||= setTimeout(BG, 800));
}
// src/react/entity-filter/entity-filter.ts
-var txe = (e) => e === "videos", kG = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var txe = (e) => e === "videos", VG = () => /* @__PURE__ */ (0, I.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
}), nxe = cV("shuffle"), rxe = cV("arrow-up"), ixe = cV("arrow-down");
@@ -55411,7 +55641,7 @@ function axe(e) {
})) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = fL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = fL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = fL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
return (0, F.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);
- }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(AG, {
+ }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(HG, {
items: o,
hidden: !l,
actions: s
@@ -55450,13 +55680,13 @@ function axe(e) {
row: _,
glide: S,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, I.jsx)(kG, {}) : null] }) : null,
+ }), d ? /* @__PURE__ */ (0, I.jsx)(VG, {}) : null] }) : null,
T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(sxe, {
head: T,
row: w,
glide: E,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, I.jsx)(kG, {})] }) : null,
+ }), /* @__PURE__ */ (0, I.jsx)(VG, {})] }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -55477,7 +55707,7 @@ function axe(e) {
f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));
},
children: e.label
- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(kG, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(VG, {}) : null]
}), /* @__PURE__ */ (0, I.jsx)("div", {
ref: y,
"data-entity-tags": "",
@@ -55547,9 +55777,9 @@ function cxe({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: fG(n) }
+ dangerouslySetInnerHTML: { __html: wG(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(kG, {}) : null,
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(VG, {}) : null,
e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(cL, {
"data-follow-tag": e.k,
"data-entity-press": "",
@@ -55611,7 +55841,7 @@ function lxe({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function AG({ items: e, hidden: t, actions: n }) {
+function HG({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -55677,7 +55907,7 @@ function dxe({ text: e, busy: t }) {
})
});
}
-function jG({ name: e, label: t, value: n, options: r, onChange: i }) {
+function UG({ name: e, label: t, value: n, options: r, onChange: i }) {
return /* @__PURE__ */ (0, I.jsx)(Dz, {
name: e,
"aria-label": t,
@@ -55685,14 +55915,14 @@ function jG({ name: e, label: t, value: n, options: r, onChange: i }) {
value: n,
onChange: i,
"data-entity-layout": "",
- className: tU,
+ className: nU,
children: r.map(([e, t, n]) => {
let r = cV(n);
return /* @__PURE__ */ (0, I.jsx)(Oz, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: nU,
+ className: rU,
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: t,
className: "contents",
@@ -55702,7 +55932,7 @@ function jG({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function MG({ onPress: e, busy: t = !1 }) {
+function WG({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, I.jsx)(oL, {
"data-entity-batch": "",
label: "换一批",
@@ -55713,27 +55943,27 @@ function MG({ onPress: e, busy: t = !1 }) {
});
}
function fxe({ head: e, actions: t }) {
- let n = oG();
+ let n = bG();
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(MG, { onPress: () => void t.reshuffle() }),
- e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(jG, {
+ /* @__PURE__ */ (0, I.jsx)(WG, { onPress: () => void t.reshuffle() }),
+ e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(UG, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, I.jsx)(sG, {}),
- /* @__PURE__ */ (0, I.jsx)(eG, {}),
- /* @__PURE__ */ (0, I.jsx)(NG, {
+ /* @__PURE__ */ (0, I.jsx)(xG, {}),
+ /* @__PURE__ */ (0, I.jsx)(mG, {}),
+ /* @__PURE__ */ (0, I.jsx)(GG, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function NG({ sorts: e, onSort: t }) {
+function GG({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -55741,7 +55971,7 @@ function NG({ sorts: e, onSort: t }) {
"aria-pressed": e.pressed,
"aria-label": e.ariaLabel || void 0,
onClick: () => t(e.key),
- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(cG, {
+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(ZU, {
a: rxe,
b: ixe,
state: e.dir === "asc" ? "a" : "b",
@@ -55753,8 +55983,8 @@ function pxe({ head: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(MG, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(jG, {
+ /* @__PURE__ */ (0, I.jsx)(WG, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UG, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -55774,7 +56004,7 @@ function pxe({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: R("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, I.jsx)(NG, {
+ /* @__PURE__ */ (0, I.jsx)(GG, {
sorts: e.sorts,
onSort: t.onlineSort
})
@@ -55788,13 +56018,13 @@ function mxe({ head: e, actions: t, helpers: n }) {
}, [n, o]), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, I.jsx)(MG, {
+ e.shuffle ? /* @__PURE__ */ (0, I.jsx)(WG, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, I.jsx)(jG, {
+ /* @__PURE__ */ (0, I.jsx)(UG, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -55810,7 +56040,7 @@ function mxe({ head: e, actions: t, helpers: n }) {
}
// src/react/catalog-filter/catalog-filter.ts
var hxe = "peach.catalog.tiers.v1";
-function PG() {
+function KG() {
try {
let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");
return {
@@ -55842,7 +56072,7 @@ function _xe(e) {
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(AG, {
+ n ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(HG, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
@@ -55857,7 +56087,7 @@ function vxe(e) {
(0, F.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let d = !e.tiers, f = IG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let d = !e.tiers, f = JG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, F.useLayoutEffect)(() => {
if (d) {
l(!1);
@@ -55925,7 +56155,7 @@ function vxe(e) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(FG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(yxe, {
+ children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(qG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(yxe, {
tag: n,
pending: e.tiersPending,
onPress: t.toggleTag
@@ -55956,7 +56186,7 @@ function bxe(e) {
key: "",
performers: [],
studios: []
- }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = IG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = IG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? PG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;
+ }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = JG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = JG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? KG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;
return (0, F.useEffect)(() => {
i || gxe({
performers: f,
@@ -55979,7 +56209,7 @@ function bxe(e) {
children: [f ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: o,
"data-catalog-tier": "performers",
- children: a ? /* @__PURE__ */ (0, I.jsx)(FG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: a ? /* @__PURE__ */ (0, I.jsx)(qG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -55999,7 +56229,7 @@ function bxe(e) {
}) : null, p ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: s,
"data-catalog-tier": "studios",
- children: a ? /* @__PURE__ */ (0, I.jsx)(FG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: a ? /* @__PURE__ */ (0, I.jsx)(qG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
@@ -56031,7 +56261,7 @@ function xxe({ studio: e }) {
}) : e.fallback
});
}
-function FG({ kind: e }) {
+function qG({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -56048,29 +56278,29 @@ function FG({ kind: e }) {
}, t)) });
}
function Sxe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
- let a = oG(), [o, s] = (0, F.useState)(!1);
+ let a = bG(), [o, s] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {
"data-catalog-summary": "",
children: [/* @__PURE__ */ (0, I.jsx)(Cxe, { count: e }), /* @__PURE__ */ (0, I.jsx)(CV, { currentHref: i.currentHref })]
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(MG, {
+ /* @__PURE__ */ (0, I.jsx)(WG, {
onPress: () => {
s(!0), i.reshuffle().finally(() => s(!1));
},
busy: o || t
}),
- n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(jG, {
+ n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(UG, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, I.jsx)(sG, {}),
- /* @__PURE__ */ (0, I.jsx)(eG, {}),
- /* @__PURE__ */ (0, I.jsx)(NG, {
+ /* @__PURE__ */ (0, I.jsx)(xG, {}),
+ /* @__PURE__ */ (0, I.jsx)(mG, {}),
+ /* @__PURE__ */ (0, I.jsx)(GG, {
sorts: r,
onSort: i.setSort
})
@@ -56104,7 +56334,7 @@ function wxe(e) {
};
}, [e]), t;
}
-function IG(e, t, n, r, i) {
+function JG(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -56147,7 +56377,7 @@ function IG(e, t, n, r, i) {
}), l.slice(0, c.limit);
}
// src/react/components/grid-reveal.tsx
-var LG = "100% 0px";
+var YG = "100% 0px";
function Txe(e, t) {
let [n, r] = (0, F.useState)(e ? "skeleton" : "none"), [i] = (0, F.useState)(() => e ? t() : ""), a = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
@@ -56174,7 +56404,7 @@ function Txe(e, t) {
fading: n === "fade"
};
}
-function RG({ message: e, onRetry: t }) {
+function XG({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -56187,7 +56417,7 @@ function RG({ message: e, onRetry: t }) {
});
}
// src/react/components/skeleton-content.tsx
-function zG({ pending: e, skeletonHtml: t, children: n }) {
+function ZG({ pending: e, skeletonHtml: t, children: n }) {
let r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = t();
return (0, F.useLayoutEffect)(() => {
e || (r.current = n);
@@ -56211,25 +56441,25 @@ function zG({ pending: e, skeletonHtml: t, children: n }) {
});
}
// src/react/components/card-meta.tsx
-function BG({ name: e }) {
+function QG({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function VG({ name: e }) {
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(BG, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })] });
+function $G({ name: e }) {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(QG, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })] });
}
-function HG({ value: e, label: t, title: n }) {
+function eK({ value: e, label: t, title: n }) {
return /* @__PURE__ */ (0, I.jsxs)("time", {
"data-media-release": "",
dateTime: e,
title: n || t,
- children: [/* @__PURE__ */ (0, I.jsx)(BG, { name: "calendar" }), t]
+ children: [/* @__PURE__ */ (0, I.jsx)(QG, { name: "calendar" }), t]
});
}
-function UG({ tags: e, label: t, readOnly: n = !1, attrs: r, ...i }) {
+function tK({ tags: e, label: t, readOnly: n = !1, attrs: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
...i,
"data-media-tags": "",
@@ -56251,7 +56481,7 @@ var Exe = 3;
function Dxe(e, t, n = Exe) {
return [...e, t.slice(0, n).join("、")].filter(Boolean).join(" · ");
}
-function WG({ reasons: e, tags: t = [] }) {
+function nK({ reasons: e, tags: t = [] }) {
let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), a = Dxe(e, t);
if (!a) return null;
let o = [e.join(" · "), t.length ? `共同标签:${t.join("、")}` : ""].filter(Boolean).join("\n");
@@ -56284,63 +56514,63 @@ function WG({ reasons: e, tags: t = [] }) {
})] });
}
// src/library-catalog.ts
-var GG = "peach.library-colors.v1", KG = null, qG = /* @__PURE__ */ new Set();
+var rK = "peach.library-colors.v1", iK = null, aK = /* @__PURE__ */ new Set();
function Oxe() {
try {
- let e = JSON.parse(localStorage.getItem(GG) || "{}");
+ let e = JSON.parse(localStorage.getItem(rK) || "{}");
return e && typeof e == "object" ? e : {};
} catch {
return {};
}
}
-function JG(e) {
- KG = e;
+function oK(e) {
+ iK = e;
try {
- localStorage.setItem(GG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));
+ localStorage.setItem(rK, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));
} catch {}
- qG.forEach((t) => t(e));
+ aK.forEach((t) => t(e));
}
-function YG() {
- return KG;
+function sK() {
+ return iK;
}
function kxe(e) {
- return qG.add(e), () => {
- qG.delete(e);
+ return aK.add(e), () => {
+ aK.delete(e);
};
}
// src/react/components/library-tint.ts
-var XG = /* @__PURE__ */ new Map(), ZG = !1, QG = /* @__PURE__ */ new Set();
+var cK = /* @__PURE__ */ new Map(), lK = !1, uK = /* @__PURE__ */ new Set();
function Axe(e) {
let t = document.createElement("span");
t.setAttribute("data-accent-ball", e), t.hidden = !0, document.body.append(t);
let n = getComputedStyle(t).getPropertyValue("--color-accent-500").trim();
return t.remove(), n;
}
-function $G(e) {
- XG = e;
+function dK(e) {
+ cK = e;
let t = document.getElementById("peach-library-tints");
- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...XG.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Axe(e.color)}}`).join("\n");
+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...cK.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Axe(e.color)}}`).join("\n");
}
-function eK(e) {
- $G(e), QG.forEach((e) => e());
+function fK(e) {
+ dK(e), uK.forEach((e) => e());
}
-var tK = (e) => new Map(e.map((e) => [e.id, {
+var pK = (e) => new Map(e.map((e) => [e.id, {
id: e.id,
name: e.name,
icon: vs[e.icon || ""] || e.icon || "database",
location: e.roots?.[0]?.location || "",
color: e.color || ""
-}])), nK = !1;
+}])), mK = !1;
function jxe() {
- if (nK) return;
- nK = !0, kxe((e) => eK(tK(e)));
- let e = YG();
+ if (mK) return;
+ mK = !0, kxe((e) => fK(pK(e)));
+ let e = sK();
if (e) {
- $G(tK(e));
+ dK(pK(e));
return;
}
let t = Object.entries(Oxe()).filter(([, e]) => e);
- t.length && $G(new Map(t.map(([e, t]) => [e, {
+ t.length && dK(new Map(t.map(([e, t]) => [e, {
id: e,
name: "",
icon: "database",
@@ -56349,44 +56579,44 @@ function jxe() {
}])));
}
function Mxe() {
- ZG || YG() || (ZG = !0, B("/api/libraries").then((e) => JG(e.libraries || [])).catch(() => {
- ZG = !1;
+ lK || sK() || (lK = !0, B("/api/libraries").then((e) => oK(e.libraries || [])).catch(() => {
+ lK = !1;
}));
}
function Nxe(e, t) {
- let n = XG.get(e) ?? {
+ let n = cK.get(e) ?? {
id: e,
name: "",
icon: "database",
location: "",
color: ""
};
- eK(new Map([...XG, [e, {
+ fK(new Map([...cK, [e, {
...n,
color: t
}]]));
}
function Pxe(e) {
- return QG.add(e), () => {
- QG.delete(e);
+ return uK.add(e), () => {
+ uK.delete(e);
};
}
-function rK({ names: e = !1 } = {}) {
- return jxe(), e && Mxe(), (0, F.useSyncExternalStore)(Pxe, () => XG, () => XG);
+function hK({ names: e = !1 } = {}) {
+ return jxe(), e && Mxe(), (0, F.useSyncExternalStore)(Pxe, () => cK, () => cK);
}
// src/react/components/row-click.ts
var Fxe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";
-function iK(e, t) {
+function gK(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
let r = n.closest(Fxe);
return !r || !t.contains(r) || r === t;
}
-function aK(e) {
+function _K(e) {
e.shiftKey && e.preventDefault();
}
// src/react/components/media-card.tsx
-var oK = 9 / 16, sK = "未命名视频", Ixe = {
+var vK = 9 / 16, yK = "未命名视频", Ixe = {
image: "图片",
audio: "音频",
archive: "压缩包",
@@ -56425,7 +56655,7 @@ function Rxe(e) {
label: "尚未探查"
};
}
-function cK({ item: e }) {
+function bK({ item: e }) {
if (e.disposal !== "trash") return null;
let t = e.disposal_reason && Lxe[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, I.jsx)("span", {
@@ -56434,7 +56664,7 @@ function cK({ item: e }) {
children: t
});
}
-function lK({ item: e, actions: t }) {
+function xK({ item: e, actions: t }) {
let [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -56453,10 +56683,10 @@ function lK({ item: e, actions: t }) {
children: i
}) : null] });
}
-function uK(e, t, n) {
- return t === "short" ? oK : mM(n);
+function SK(e, t, n) {
+ return t === "short" ? vK : mM(n);
}
-function dK(e) {
+function CK(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = jo(e), s = i[0] || "", c = go(e);
return {
avatar: r ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -56488,7 +56718,7 @@ function dK(e) {
"data-entity-kind": "performer",
"data-entity-name": s,
title: nn("performer", s),
- children: /* @__PURE__ */ (0, I.jsx)(VG, { name: nn("performer", s) })
+ children: /* @__PURE__ */ (0, I.jsx)($G, { name: nn("performer", s) })
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-who-more": "",
children: `等 ${o} 人`
@@ -56498,12 +56728,12 @@ function dK(e) {
"data-entity-kind": t,
"data-entity-name": n,
title: nn(t, n),
- children: /* @__PURE__ */ (0, I.jsx)(VG, { name: nn(t, n) })
+ children: /* @__PURE__ */ (0, I.jsx)($G, { name: nn(t, n) })
}) : /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-media-who": "",
"data-open-unowned": "",
- children: /* @__PURE__ */ (0, I.jsx)(VG, { name: n })
+ children: /* @__PURE__ */ (0, I.jsx)($G, { name: n })
})
};
}
@@ -56541,22 +56771,22 @@ function Bxe({ item: e, actions: t, on: n, onChange: r }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, I.jsx)(BG, { name: n ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, I.jsx)(QG, { name: n ? "check" : "bookmark-plus" })
})
});
}
-function fK(e, t) {
+function wK(e, t) {
let n = e?.querySelector("video.hv");
n && Number.isFinite(n.duration) && (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
$I();
- let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = rK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);
+ let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = hK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);
_.current = e;
let v = (0, F.useCallback)((e) => {
let t = _.current;
u.current && u.current !== e && Bl(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Hl(e, t);
- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = uK(e, t, n), w = S ? n.size : "small", T = C === oK && !!e.is_jav, E = T ? Oo(e, !1) : Eo(e, w, !1, n.javImage), D = T || w === "small" ? E.html : Eo(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || sK, A = o.titleHtml(e, O).trim() || z(sK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : Rxe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = dK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {
+ }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = SK(e, t, n), w = S ? n.size : "small", T = C === vK && !!e.is_jav, E = T ? Oo(e, !1) : Eo(e, w, !1, n.javImage), D = T || w === "small" ? E.html : Eo(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || yK, A = o.titleHtml(e, O).trim() || z(yK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : Rxe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = CK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {
let n = t.target;
if (n.closest("[data-media-reason-dialog]")) return;
let r = u.current;
@@ -56583,10 +56813,10 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
l && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);
}, ie = /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
- "data-pic-portrait": C === oK ? "" : void 0,
+ "data-pic-portrait": C === vK ? "" : void 0,
style: { "--card-ratio": String(C) },
children: [
- E.html ? /* @__PURE__ */ (0, I.jsx)(HU, {
+ E.html ? /* @__PURE__ */ (0, I.jsx)(tW, {
artwork: E,
identity: D,
relayout: (e) => Ol(e, w)
@@ -56600,11 +56830,11 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(BG, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "check" })
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, I.jsx)(BG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(QG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
}),
y && !b ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-group": "",
@@ -56620,7 +56850,7 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-copy-key": ee ? `media.duration.${ee.key}` : void 0,
children: ee ? ee.label : Jn(M)
}),
- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(lK, {
+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(xK, {
item: e,
actions: s
}) : null,
@@ -56643,12 +56873,12 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-status": "later",
title: "稍后看",
"aria-label": "稍后看",
- children: /* @__PURE__ */ (0, I.jsx)(BG, { name: "bookmark" })
+ children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "bookmark" })
}) : null, g.length ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-status": "flagged",
title: `已标记:${g.join("、")}`,
"aria-label": `已标记:${g.join("、")}`,
- children: /* @__PURE__ */ (0, I.jsx)(BG, { name: "heart" })
+ children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "heart" })
}) : null]
}) : null,
i ? null : /* @__PURE__ */ (0, I.jsx)(Bxe, {
@@ -56666,27 +56896,27 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), fK(u.current, -a);
+ e.stopPropagation(), wK(u.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, I.jsx)(BG, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), fK(u.current, a);
+ e.stopPropagation(), wK(u.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, I.jsx)(BG, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, I.jsx)(BG, { name: "expand" })
+ children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "expand" })
})
]
})
@@ -56706,7 +56936,7 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": r ? "" : void 0,
onClick: re,
- onMouseDown: aK,
+ onMouseDown: _K,
children: [
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -56744,25 +56974,25 @@ function Vxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}) : null,
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-facts": "",
- children: [e.is_jav && e.release_date ? /* @__PURE__ */ (0, I.jsx)(HG, {
+ children: [e.is_jav && e.release_date ? /* @__PURE__ */ (0, I.jsx)(eK, {
value: e.release_date,
label: e.release_date
}) : null, /* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-size": "",
- children: [/* @__PURE__ */ (0, I.jsx)(BG, { name: "hard-drive" }), Number(j) > 0 ? Xn(Number(j)) : "大小未知"]
+ children: [/* @__PURE__ */ (0, I.jsx)(QG, { name: "hard-drive" }), Number(j) > 0 ? Xn(Number(j)) : "大小未知"]
})]
})
]
}),
- t === "next" ? /* @__PURE__ */ (0, I.jsx)(WG, {
+ t === "next" ? /* @__PURE__ */ (0, I.jsx)(nK, {
reasons: e.why ? e.why.split(" · ") : [],
tags: (e.why_tags || []).map(o.tagLabel)
- }) : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(UG, {
+ }) : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(tK, {
tags: ne,
label: o.tagLabel,
readOnly: !!e.follow_item_id
}) : null,
- /* @__PURE__ */ (0, I.jsx)(cK, { item: e })
+ /* @__PURE__ */ (0, I.jsx)(bK, { item: e })
]
})]
})
@@ -56782,14 +57012,14 @@ function Hxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
onClick: (t) => {
o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));
},
- onMouseDown: aK,
+ onMouseDown: _K,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
style: { "--card-ratio": "1.7777777777777777" },
children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, I.jsx)(BG, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]
+ children: [/* @__PURE__ */ (0, I.jsx)(QG, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]
}),
s ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-art": "thumb",
@@ -56801,13 +57031,13 @@ function Hxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(BG, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(QG, { name: "check" })
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, I.jsx)(BG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(QG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
}),
- n ? null : /* @__PURE__ */ (0, I.jsx)(lK, {
+ n ? null : /* @__PURE__ */ (0, I.jsx)(xK, {
item: e,
actions: i
})
@@ -56818,7 +57048,7 @@ function Hxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(BG, { name: u })
+ children: /* @__PURE__ */ (0, I.jsx)(QG, { name: u })
}), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-text": "",
children: [
@@ -56846,7 +57076,7 @@ function Hxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
]
}),
e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", { "data-media-tags": "" }) : null,
- /* @__PURE__ */ (0, I.jsx)(cK, { item: e })
+ /* @__PURE__ */ (0, I.jsx)(bK, { item: e })
]
})]
})]
@@ -56855,7 +57085,7 @@ function Hxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
function Uxe(e) {
return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(Hxe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(Vxe, { ...e });
}
-var pK = (0, F.memo)(Uxe), Wxe = 1100, Gxe = 340, Kxe = 5e3;
+var TK = (0, F.memo)(Uxe), Wxe = 1100, Gxe = 340, Kxe = 5e3;
function qxe(e, t, n) {
return new Promise((r) => {
let i = new Image();
@@ -56868,7 +57098,7 @@ function qxe(e, t, n) {
}, i.src = e;
});
}
-function mK({ load: e, canFlip: t, referrerPolicy: n }) {
+function EK({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, F.useState)([]), [a, o] = (0, F.useState)(0), [s, c] = (0, F.useState)(null), l = (0, F.useRef)({
live: !1,
generation: 0,
@@ -56933,7 +57163,7 @@ function mK({ load: e, canFlip: t, referrerPolicy: n }) {
};
}
// src/react/components/mix-card.tsx
-var hK = cV("play");
+var DK = cV("play");
function Jxe({ src: e }) {
let [t, n] = (0, F.useState)(!1);
return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {
@@ -56947,7 +57177,7 @@ function Jxe({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var gK = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
+var OK = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
function Yxe({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-mix-avatars": "",
@@ -56956,18 +57186,18 @@ function Yxe({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${gK} cursor-pointer outline-none`,
+ className: `${OK} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: vo(e.name, e, Qa(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, I.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${gK} mt-0.5`,
+ className: `${OK} mt-0.5`,
children: t
});
}
-function _K({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
- let b = mK({
+function kK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
+ let b = EK({
load: i,
canFlip: a
}), x = (0, F.useRef)(b.onPointerLeave);
@@ -56994,7 +57224,7 @@ function _K({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: d === void 0 ? void 0 : { "--card-ratio": String(d) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",
children: [
- f?.html ? /* @__PURE__ */ (0, I.jsx)(HU, {
+ f?.html ? /* @__PURE__ */ (0, I.jsx)(tW, {
artwork: f,
identity: p,
relayout: m
@@ -57028,7 +57258,7 @@ function _K({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-mix-badge": "",
className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",
- children: [/* @__PURE__ */ (0, I.jsx)(hK, {
+ children: [/* @__PURE__ */ (0, I.jsx)(DK, {
"aria-hidden": !0,
className: "size-(--icon-inline)"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -57041,7 +57271,7 @@ function _K({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, I.jsx)(hK, {})
+ children: /* @__PURE__ */ (0, I.jsx)(DK, {})
}) : /* @__PURE__ */ (0, I.jsx)(Yxe, {
faces: o,
fallback: er(e),
@@ -57065,11 +57295,11 @@ function _K({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
});
}
// src/react/video-wall/use-wall-camera.ts
-var vK = {
+var AK = {
x: 16,
y: 16,
scale: 1
-}, Xxe = .65, Zxe = 1.6, yK = (e) => Math.min(Zxe, Math.max(Xxe, e)), bK = (e, t, n, r) => ({
+}, Xxe = .65, Zxe = 1.6, jK = (e) => Math.min(Zxe, Math.max(Xxe, e)), MK = (e, t, n, r) => ({
scale: t,
x: n - (n - e.x) * t / e.scale,
y: r - (r - e.y) * t / e.scale
@@ -57078,7 +57308,7 @@ function Qxe(e, t, n) {
let r = 120 / t.scale, i = -e.x / e.scale, a = -e.y / e.scale, o = -t.x / t.scale - r, s = -t.y / t.scale - r;
return i >= o && a >= s && i + n.width / e.scale <= o + n.width / t.scale + r * 2 && a + n.height / e.scale <= s + n.height / t.scale + r * 2;
}
-function $xe(e, t, n = vK, r = !1) {
+function $xe(e, t, n = AK, r = !1) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)({
width: 0,
height: 0
@@ -57145,7 +57375,7 @@ function $xe(e, t, n = vK, r = !1) {
let r = s.current, i = r;
if (t.scale) {
let e = Math.abs(t.scale - r.scale) < .002;
- i = bK(r, e ? t.scale : r.scale + (t.scale - r.scale) * n, t.anchorX, t.anchorY), e && (t.scale = 0);
+ i = MK(r, e ? t.scale : r.scale + (t.scale - r.scale) * n, t.anchorX, t.anchorY), e && (t.scale = 0);
}
let a = Math.hypot(t.x, t.y) < .5, o = a ? t.x : t.x * n, c = a ? t.y : t.y * n;
y({
@@ -57158,13 +57388,13 @@ function $xe(e, t, n = vK, r = !1) {
let n = h.current;
if (b()) {
let n = s.current;
- t && (n = bK(n, yK(n.scale * t.factor), t.x, t.y)), e && (n = {
+ t && (n = MK(n, jK(n.scale * t.factor), t.x, t.y)), e && (n = {
...n,
x: n.x + e.x,
y: n.y + e.y
}), y(n);
} else t && Object.assign(n, {
- scale: yK((n.scale || s.current.scale) * t.factor),
+ scale: jK((n.scale || s.current.scale) * t.factor),
anchorX: t.x,
anchorY: t.y
}), e && (n.x += e.x, n.y += e.y), f.current === null && (n.scale || n.x || n.y) && (n.previous = 0, f.current = requestAnimationFrame(x));
@@ -57231,7 +57461,7 @@ function $xe(e, t, n = vK, r = !1) {
}),
snapshot: () => ({ ...s.current }),
reset: () => {
- v(), y({ ...vK }, !0);
+ v(), y({ ...AK }, !0);
},
pan: (e, t) => {
v(), y({
@@ -57464,7 +57694,7 @@ function rSe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
});
}
// src/react/components/mix-queue.tsx
-function xK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function NK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
let c = (0, F.useRef)(null), l = (0, F.useCallback)((e) => {
c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
}, [a]);
@@ -57500,7 +57730,7 @@ function xK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function SK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function PK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, I.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -57536,12 +57766,12 @@ function aSe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
- children: /* @__PURE__ */ (0, I.jsx)(xK, {
+ children: /* @__PURE__ */ (0, I.jsx)(NK, {
kind: n,
title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",
summary: `${e.length} 个视频`,
onClose: a,
- children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(SK, {
+ children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(PK, {
current: e.id === t,
"data-wall-source": e.id,
"aria-label": [
@@ -57550,7 +57780,7 @@ function aSe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
- pic: /* @__PURE__ */ (0, I.jsx)(HU, { artwork: Eo(e, "small", !0, "cover") }),
+ pic: /* @__PURE__ */ (0, I.jsx)(tW, { artwork: Eo(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, I.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, I.jsx)("span", { children: [
e.edition_label,
e.part_label ? MP(e.part_label) : "",
@@ -57576,17 +57806,17 @@ function oSe(e = `${location.pathname}${location.search}`, t = {}) {
}
return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;
}
-function CK(e = `${location.pathname}${location.search}`) {
+function FK(e = `${location.pathname}${location.search}`) {
let t = new URL(e, location.origin).searchParams;
- for (let e of IW) t.delete(e);
+ for (let e of XW) t.delete(e);
return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;
}
-function wK() {
+function IK() {
let e = new URLSearchParams(Bp.navigation.location.search).get("returnTo") || "/";
Bp.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
}
// src/react/video-wall/video-wall.tsx
-var TK = /* @__PURE__ */ new Map(), EK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
+var LK = /* @__PURE__ */ new Map(), RK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
let i = Eo(!e.is_jav && t === "thumbnail" && e.has_thumb ? {
...e,
has_cover: !1
@@ -57599,7 +57829,7 @@ var TK = /* @__PURE__ */ new Map(), EK = (0, F.memo)(function({ item: e, image:
ref: a,
"data-media-pic": "",
style: { "--card-ratio": String(r) },
- children: /* @__PURE__ */ (0, I.jsx)(HU, {
+ children: /* @__PURE__ */ (0, I.jsx)(tW, {
artwork: i,
relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {
e.complete && e.naturalWidth && ml(e, r);
@@ -57609,7 +57839,7 @@ var TK = /* @__PURE__ */ new Map(), EK = (0, F.memo)(function({ item: e, image:
});
function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
let p = String(e[0]?.id), [m] = (0, F.useState)(() => {
- let e = TK.get(f);
+ let e = LK.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
}), [h] = (0, F.useState)(() => m?.exploration || new bbe()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {
kind: "editions",
@@ -57646,7 +57876,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
return e.className = "peach-react", e;
});
(0, F.useLayoutEffect)(() => {
- document.body.append(Ce), LW(), P.viewport.current?.focus({ preventScroll: !0 });
+ document.body.append(Ce), ZW(), P.viewport.current?.focus({ preventScroll: !0 });
}, [Ce]), (0, F.useEffect)(() => () => Ce.remove(), [Ce]);
let [we, Te] = (0, F.useState)(() => qf(Bp.navigation.location.pathname)), [Ee, De] = (0, F.useState)(m?.image || d), Oe = (0, F.useRef)(null), ke = (0, F.useRef)(p), Ae = (0, F.useRef)(!!e.length);
Ae.current = !!e.length;
@@ -57665,20 +57895,20 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
pool: p
};
let Me = () => {
- Ae.current && (TK.delete(f), TK.set(f, {
+ Ae.current && (LK.delete(f), LK.set(f, {
...je.current,
camera: P.snapshot(),
exploration: h
- }), TK.size > 8 && TK.delete(TK.keys().next().value));
+ }), LK.size > 8 && LK.delete(LK.keys().next().value));
};
(0, F.useLayoutEffect)(Me);
- let Ne = FW(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Pe = i ? Ne.map((e) => ({
+ let Ne = YW(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Pe = i ? Ne.map((e) => ({
...e,
index: -1
})) : t ? Ne : h.assign(Ne, e.length, n).map((t) => t.index < e.length || w && t.key === E ? t : {
...t,
index: -1
- }), Fe = w && (t ? NW(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? PW(e.length, t, Fe) : /* @__PURE__ */ new Map();
+ }), Fe = w && (t ? qW(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? JW(e.length, t, Fe) : /* @__PURE__ */ new Map();
Fe && !Pe.some((e) => e.key === Fe.key) && Pe.push(Fe);
let Le = (e = !1) => {
C.current?.abort(), C.current = null, S.current?.(e), S.current = null, se(null), de(!1);
@@ -57719,7 +57949,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
w?.id !== n.id && Le(!1), Oe.current = {
key: r.key,
id: n.id
- }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(PW(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
+ }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(JW(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
}, Ve = () => {
te && y.current && (Me(), Le(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));
}, He = async (e = te) => {
@@ -57855,7 +58085,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
/* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-focus-backdrop": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(EK, {
+ children: /* @__PURE__ */ (0, I.jsx)(RK, {
item: w,
image: Ee,
big: !0
@@ -57863,7 +58093,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-scene": "",
- children: /* @__PURE__ */ (0, I.jsx)(EK, {
+ children: /* @__PURE__ */ (0, I.jsx)(RK, {
item: w,
image: Ee,
big: !0
@@ -57957,7 +58187,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-refreshing": _ !== null || void 0,
hidden: we,
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? ze() : be ? Re() : wK());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? ze() : be ? Re() : IK());
},
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -57968,7 +58198,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-wall-back": "",
"aria-label": "退出播放墙",
title: "返回",
- onClick: wK,
+ onClick: IK,
children: /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -57977,7 +58207,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
!t && (n || e.length > 0) ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-refresh": "",
- children: /* @__PURE__ */ (0, I.jsx)(MG, {
+ children: /* @__PURE__ */ (0, I.jsx)(WG, {
busy: r,
onPress: () => void Ye()
})
@@ -58043,7 +58273,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), /* @__PURE__ */ (0, I.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "ghost",
- onClick: () => Bp.push(CK()),
+ onClick: () => Bp.push(FK()),
children: "清除筛选"
})]
}) : null
@@ -58153,7 +58383,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
!n && ["Enter", " "].includes(e.key) && (e.preventDefault(), Be(r, t, !1));
},
children: n ? $e : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(EK, {
+ /* @__PURE__ */ (0, I.jsx)(RK, {
item: r,
image: Ee,
ratio: i.width / i.height
@@ -58244,7 +58474,7 @@ function sSe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
return (0, Rt.createPortal)(et, Ce);
}
// src/catalog-onboarding.ts
-var DK = [
+var zK = [
"loc",
"creator",
"performer",
@@ -58266,7 +58496,7 @@ var DK = [
function cSe(e = typeof location > "u" ? "/" : location.href) {
let t = new URL(e, "http://localhost");
for (let e of [
- ...DK,
+ ...zK,
"q",
"category",
"cat"
@@ -58275,7 +58505,7 @@ function cSe(e = typeof location > "u" ? "/" : location.href) {
}
async function lSe(e, t) {
let n = new URLSearchParams();
- for (let t of DK) e[t] && n.set(t, e[t]);
+ for (let t of zK) e[t] && n.set(t, e[t]);
let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([
...r.creators || [],
...r.tagperformers || [],
@@ -58286,7 +58516,7 @@ async function lSe(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function OK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function BK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";
if (t || n) return Ks("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(cSe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
if (e !== "catalog") {
@@ -58307,10 +58537,10 @@ function OK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:
}
// src/react/video-wall/wall-empty.ts
function uSe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
- return e ? r || OK() : t ? Ks("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ks("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${CK()}">清除筛选</a>` });
+ return e ? r || BK() : t ? Ks("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ks("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${FK()}">清除筛选</a>` });
}
// src/react/library-processing/processing-actions.tsx
-function kK({ label: e, maintenance: t = !1, children: n }) {
+function VK({ label: e, maintenance: t = !1, children: n }) {
let r = fH("hover");
return /* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
@@ -58321,7 +58551,7 @@ function kK({ label: e, maintenance: t = !1, children: n }) {
children: n
});
}
-function AK({ option: e, metadataOnly: t, onRun: n }) {
+function HK({ option: e, metadataOnly: t, onRun: n }) {
let r = t && e.command.stage === "previews", i = r || e.disabled;
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -58343,7 +58573,7 @@ function dSe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
(0, F.useEffect)(() => {
let t = new AbortController(), r, i = async (a) => {
try {
- let o = await rve(e, t.signal, a);
+ let o = await nve(e, t.signal, a);
if (!o.traffic) throw Error("服务端未提供流量预估");
if (t.signal.aborted) return;
c(o.traffic), n.confirmButton.disabled = !1, o.traffic.inventory?.token && (r = setTimeout(() => {
@@ -58376,7 +58606,7 @@ function dSe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
}
})
}),
- s ? /* @__PURE__ */ (0, I.jsx)(HH, {
+ s ? /* @__PURE__ */ (0, I.jsx)(UH, {
traffic: s,
initial: !0
}) : null,
@@ -58388,7 +58618,7 @@ function dSe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
]
});
}
-function jK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {
+function UK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {
let c = (0, F.useRef)(null), l = (0, F.useRef)(null), [u, d] = (0, F.useState)(null), f = (0, F.useRef)(i);
(0, F.useEffect)(() => () => l.current?.close(), []);
let [p, m] = (0, F.useState)(!1), h = {
@@ -58522,17 +58752,17 @@ function jK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
children: /* @__PURE__ */ (0, I.jsxs)(bz, {
"aria-label": "同步方式",
className: "flex w-80 flex-col gap-1 outline-none",
- children: [n ? /* @__PURE__ */ (0, I.jsxs)(kK, {
+ children: [n ? /* @__PURE__ */ (0, I.jsxs)(VK, {
label: "日常同步",
children: [/* @__PURE__ */ (0, I.jsx)("p", {
className: "px-2 py-1 text-caption-1-medium text-text-secondary",
children: "日常同步"
- }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(AK, {
+ }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(HK, {
option: e,
metadataOnly: r,
onRun: b
}, e.label))]
- }) : null, /* @__PURE__ */ (0, I.jsxs)(kK, {
+ }) : null, /* @__PURE__ */ (0, I.jsxs)(VK, {
label: n ? "全库维护" : "补全方式",
maintenance: n,
children: [n ? /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -58544,7 +58774,7 @@ function jK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
className: "text-caption-1-regular text-text-secondary",
children: "检查全部文件,复用已有资料和预览"
})]
- }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(AK, {
+ }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(HK, {
option: e,
metadataOnly: r,
onRun: b
@@ -58555,10 +58785,10 @@ function jK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
] });
}
// src/react/library-processing/library-completion.tsx
-function MK(e, t) {
+function WK(e, t) {
return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !Eo(e, "small", !1, t).html).map((e) => e.id))];
}
-function NK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
+function GK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
return e.length ? /* @__PURE__ */ (0, I.jsx)(fSe, {
assetIds: e,
onComplete: t,
@@ -58596,7 +58826,7 @@ function fSe({ assetIds: e, onComplete: t, className: n }) {
tone: f ? "warning" : "neutral",
action: /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex flex-wrap items-center gap-2",
- children: /* @__PURE__ */ (0, I.jsx)(jK, {
+ children: /* @__PURE__ */ (0, I.jsx)(UK, {
busy: d,
metadataOnly: u?.metadata_only,
onRun: (e) => {
@@ -58630,15 +58860,15 @@ function mSe(e) {
function hSe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function PK(e, t) {
+function KK(e, t) {
return e == null ? null : pSe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;
}
function gSe(e) {
if ("cell" in e && e.cell) {
let t = e.cell, n = t.column.columnDef, r = t, i = n;
- return r.getIsAggregated?.() ? PK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : PK(n.cell, t.getContext());
+ return r.getIsAggregated?.() ? KK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : KK(n.cell, t.getContext());
}
- return "header" in e && e.header ? PK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? PK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
+ return "header" in e && e.header ? KK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? KK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
}
// node_modules/@tanstack/store/dist/alien.js
/* @__NO_SIDE_EFFECTS__ */
@@ -58767,35 +58997,35 @@ function vSe(e, t, n) {
complete: (r ? e.complete : n)?.bind(i)
};
}
-var FK = [], IK = 0, { link: LK, unlink: ySe, propagate: bSe, checkDirty: RK, shallowPropagate: zK } = /* @__PURE__ */ _Se({
+var qK = [], JK = 0, { link: YK, unlink: ySe, propagate: bSe, checkDirty: XK, shallowPropagate: ZK } = /* @__PURE__ */ _Se({
update(e) {
return e._update();
},
notify(e) {
- FK[VK++] = e, e.flags &= -3;
+ qK[$K++] = e, e.flags &= -3;
},
unwatched(e) {
- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, WK(e));
+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, nq(e));
}
-}), BK = 0, VK = 0, HK, UK = 0;
+}), QK = 0, $K = 0, eq, tq = 0;
function xSe(e) {
try {
- ++UK, e();
+ ++tq, e();
} finally {
- --UK || GK();
+ --tq || rq();
}
}
-function WK(e) {
+function nq(e) {
let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;
for (; n !== void 0;) n = ySe(n, e);
}
-function GK() {
- if (!(UK > 0)) {
- for (; BK < VK;) {
- let e = FK[BK];
- FK[BK++] = void 0, e.notify();
+function rq() {
+ if (!(tq > 0)) {
+ for (; QK < $K;) {
+ let e = qK[QK];
+ qK[QK++] = void 0, e.notify();
}
- BK = 0, VK = 0;
+ QK = 0, $K = 0;
}
}
function SSe(e, t) {
@@ -58807,53 +59037,53 @@ function SSe(e, t) {
depsTail: void 0,
flags: +!n,
get() {
- return HK !== void 0 && LK(i, HK, IK), i._snapshot;
+ return eq !== void 0 && YK(i, eq, JK), i._snapshot;
},
subscribe(e) {
let t = vSe(e), n = { current: !1 }, r = CSe(() => {
- i.get(), n.current ? (HK = void 0, t.next?.(i._snapshot)) : n.current = !0;
+ i.get(), n.current ? (eq = void 0, t.next?.(i._snapshot)) : n.current = !0;
});
return { unsubscribe: () => {
r.stop();
} };
},
_update(e) {
- let a = HK, o = t?.compare ?? Object.is;
- if (n) HK = i, ++IK, i.depsTail = void 0;
+ let a = eq, o = t?.compare ?? Object.is;
+ if (n) eq = i, ++JK, i.depsTail = void 0;
else if (e === void 0) return !1;
n && (i.flags = 5);
try {
let t = i._snapshot, a = typeof e == "function" ? e(t) : e === void 0 && n ? r(t) : e;
return t === void 0 || !o(t, a) ? (i._snapshot = a, !0) : !1;
} finally {
- HK = a, n && (i.flags &= -5), WK(i);
+ eq = a, n && (i.flags &= -5), nq(i);
}
}
};
return n ? (i.flags = 17, i.get = function() {
let e = i.flags;
- if (e & 16 || e & 32 && RK(i.deps, i)) {
+ if (e & 16 || e & 32 && XK(i.deps, i)) {
if (i._update()) {
let e = i.subs;
- e !== void 0 && zK(e);
+ e !== void 0 && ZK(e);
}
} else e & 32 && (i.flags = e & -33);
- return HK !== void 0 && LK(i, HK, IK), i._snapshot;
+ return eq !== void 0 && YK(i, eq, JK), i._snapshot;
}) : i.set = function(e) {
if (i._update(e)) {
let e = i.subs;
- e !== void 0 && (bSe(e), zK(e), GK());
+ e !== void 0 && (bSe(e), ZK(e), rq());
}
}, i;
}
function CSe(e) {
let t = () => {
- let t = HK;
- HK = n, ++IK, n.depsTail = void 0, n.flags = 6;
+ let t = eq;
+ eq = n, ++JK, n.depsTail = void 0, n.flags = 6;
try {
return e();
} finally {
- HK = t, n.flags &= -5, WK(n);
+ eq = t, n.flags &= -5, nq(n);
}
}, n = {
deps: void 0,
@@ -58863,16 +59093,16 @@ function CSe(e) {
flags: 6,
notify() {
let e = this.flags;
- e & 16 || e & 32 && RK(this.deps, this) ? t() : this.flags = 2;
+ e & 16 || e & 32 && XK(this.deps, this) ? t() : this.flags = 2;
},
stop() {
- this.flags = 0, this.depsTail = void 0, WK(this);
+ this.flags = 0, this.depsTail = void 0, nq(this);
}
};
return t(), n;
}
// node_modules/@tanstack/store/dist/shallow.js
-function KK(e, t) {
+function iq(e, t) {
if (Object.is(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
if (e instanceof Map && t instanceof Map) {
@@ -58886,12 +59116,12 @@ function KK(e, t) {
return !0;
}
if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();
- let n = qK(e);
- if (n.length !== qK(t).length) return !1;
+ let n = aq(e);
+ if (n.length !== aq(t).length) return !1;
for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Object.is(e[n[r]], t[n[r]])) return !1;
return !0;
}
-function qK(e) {
+function aq(e) {
return Object.keys(e).concat(Object.getOwnPropertySymbols(e));
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
@@ -58940,13 +59170,13 @@ var wSe = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), JK = /* @__PURE__ */ o(((e, t) => {
+})), oq = /* @__PURE__ */ o(((e, t) => {
t.exports = wSe();
-})), TSe = JK();
+})), TSe = oq();
function ESe(e, t) {
return e === t;
}
-function YK(e, t = (e) => e, n) {
+function sq(e, t = (e) => e, n) {
let r = n?.compare ?? ESe, i = (0, F.useCallback)((t) => {
let { unsubscribe: n } = e.subscribe(t);
return n;
@@ -58955,7 +59185,7 @@ function YK(e, t = (e) => e, n) {
}
// node_modules/@tanstack/react-table/dist/Subscribe.js
function DSe(e) {
- let t = YK(e.source, e.selector, { compare: KK });
+ let t = sq(e.source, e.selector, { compare: iq });
return typeof e.children == "function" ? e.children(t) : e.children;
}
// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js
@@ -59016,21 +59246,21 @@ function jSe() {
});
}
// node_modules/@tanstack/table-core/dist/utils.js
-function XK(e, t) {
+function cq(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function ZK(e) {
- if (Array.isArray(e)) return e.map(ZK);
+function lq(e) {
+ if (Array.isArray(e)) return e.map(lq);
if (e && typeof e == "object") {
let t = Object.getPrototypeOf(e);
if (t !== Object.prototype && t !== null) return e;
- let n = t === null ? $K() : {}, r = Object.keys(e);
+ let n = t === null ? dq() : {}, r = Object.keys(e);
for (let t = 0; t < r.length; t++) {
let i = r[t];
Object.defineProperty(n, i, {
configurable: !0,
enumerable: !0,
- value: ZK(e[i]),
+ value: lq(e[i]),
writable: !0
});
}
@@ -59038,7 +59268,7 @@ function ZK(e) {
}
return e;
}
-function QK(e, t) {
+function uq(e, t) {
let n = Object.keys(t), r = e;
for (let e = 0; e < n.length; e++) {
let i = n[e];
@@ -59046,46 +59276,46 @@ function QK(e, t) {
}
return e;
}
-function $K() {
+function dq() {
return Object.create(null);
}
-function eq(e, t) {
+function fq(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}
-function tq(e, t) {
+function pq(e, t) {
return (n) => {
- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => XK(n, e));
+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => cq(n, e));
};
}
-function nq(e) {
+function mq(e) {
if (typeof e != "object" || !e) return !1;
if (Array.isArray(e)) return !0;
let t = Object.getPrototypeOf(e);
return t === Object.prototype || t === null;
}
-function rq(e) {
+function hq(e) {
return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
var MSe = 3;
function NSe(e, t) {
- return iq(e, t, MSe);
+ return gq(e, t, MSe);
}
-function iq(e, t, n) {
+function gq(e, t, n) {
if (Object.is(e, t)) return !0;
- if (n <= 0 || !nq(e) || !nq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
- let r = rq(e), i = rq(t);
+ if (n <= 0 || !mq(e) || !mq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
+ let r = hq(e), i = hq(t);
if (r.length !== i.length) return !1;
let a = e, o = t;
for (let e = 0; e < r.length; e++) {
let i = r[e];
- if (!Object.prototype.propertyIsEnumerable.call(t, i) || !iq(a[i], o[i], n - 1)) return !1;
+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !gq(a[i], o[i], n - 1)) return !1;
}
return !0;
}
-function aq(e, t, n, r = NSe) {
+function _q(e, t, n, r = NSe) {
let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];
a && a((e) => {
- let t = XK(n, e);
+ let t = cq(n, e);
return r(e, t) ? e : t;
});
}
@@ -59116,13 +59346,13 @@ var ISe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCo
return n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;
};
};
-function oq(e) {
+function vq(e) {
let t = !1;
return () => {
t ? e() : t = !0;
};
}
-function sq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
+function yq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
let o = { onAfterUpdate: r ? () => {
let { schedule: e, untrack: t } = i._reactivity;
e(() => t(() => r()));
@@ -59132,7 +59362,7 @@ function sq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ..
...o
});
}
-function cq(e, t = "_") {
+function bq(e, t = "_") {
let [n, r] = e.replace(t, " ").split(" ");
return {
fnKey: r,
@@ -59140,10 +59370,10 @@ function cq(e, t = "_") {
parentName: n
};
}
-function lq(e, t, n) {
+function xq(e, t, n) {
for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {
- let { fnKey: n, fnName: o } = cq(r);
- t[n] = a ? sq({
+ let { fnKey: n, fnName: o } = bq(r);
+ t[n] = a ? yq({
memoDeps: a,
fn: i,
fnName: o,
@@ -59152,15 +59382,15 @@ function lq(e, t, n) {
}) : i;
}
}
-function uq(e, t, n, r) {
+function Sq(e, t, n, r) {
for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {
- let { fnKey: r, fnName: s } = cq(i);
+ let { fnKey: r, fnName: s } = bq(i);
if (o) {
let i = `_memo_${r}`;
t[r] = function(...t) {
if (!this[i]) {
let t = this;
- this[i] = sq({
+ this[i] = yq({
memoDeps: (e) => o(t, e),
fn: (...e) => a(t, ...e),
fnName: s,
@@ -59176,7 +59406,7 @@ function uq(e, t, n, r) {
};
}
}
-function dq(e, t, n, ...r) {
+function Cq(e, t, n, ...r) {
return e[t]?.(...r) ?? n(e, ...r);
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js
@@ -59198,7 +59428,7 @@ function zSe(e) {
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js
var BSe = { assignCellPrototype: (e, t) => {
- uq("coreCellsFeature", e, t, {
+ Sq("coreCellsFeature", e, t, {
cell_getValue: { fn: (e) => LSe(e) },
cell_renderValue: { fn: (e) => RSe(e) },
cell_getContext: {
@@ -59243,26 +59473,26 @@ function HSe(e, t, n, r) {
return u;
}
// node_modules/@tanstack/table-core/dist/core/featureStubs.js
-function fq(e) {
+function wq(e) {
return e.getIsVisible?.() ?? !0;
}
function USe(e) {
return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();
}
-function pq(e, t) {
+function Tq(e, t) {
let n = e, r = t;
return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;
}
-function mq(e, t, n, r) {
+function Eq(e, t, n, r) {
return e._orderByColumnPinning?.(t, n, r) ?? t;
}
-function hq(e, t) {
+function Dq(e, t) {
return e._expandRows?.(t) ?? t;
}
function WSe(e) {
e.autoResetExpanded?.();
}
-function gq(e) {
+function Oq(e) {
e.autoResetPageIndex?.();
}
function GSe(e) {
@@ -59278,7 +59508,7 @@ function qSe(e) {
function JSe(e) {
if (e.columns.length) {
let t = e.columns.flatMap((e) => e.getLeafColumns());
- return pq(e.table, t);
+ return Tq(e.table, t);
}
return [e];
}
@@ -59293,23 +59523,23 @@ function YSe(e) {
...e.options.defaultColumn
};
}
-function _q(e, t, n, r = 0) {
+function kq(e, t, n, r = 0) {
let i = Array(t.length);
for (let a = 0; a < t.length; a++) {
if (!(a in t)) continue;
let o = t[a], s = HSe(e, o, r, n), c = o;
- s.columns = c.columns ? _q(e, c.columns, s, r + 1) : [], i[a] = s;
+ s.columns = c.columns ? kq(e, c.columns, s, r + 1) : [], i[a] = s;
}
return i;
}
function XSe(e) {
- return _q(e, e.options.columns);
+ return kq(e, e.options.columns);
}
function ZSe(e) {
return e.getAllColumns().flatMap((e) => e.getFlatColumns());
}
function QSe(e) {
- let t = $K(), n = e.getAllFlatColumns();
+ let t = dq(), n = e.getAllFlatColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
@@ -59317,10 +59547,10 @@ function QSe(e) {
return t;
}
function $Se(e) {
- return pq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
+ return Tq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
}
function eCe(e) {
- let t = $K(), n = e.getAllLeafColumns();
+ let t = dq(), n = e.getAllLeafColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
@@ -59333,7 +59563,7 @@ function tCe(e, t) {
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js
var nCe = {
assignColumnPrototype: (e, t) => {
- uq("coreColumnsFeature", e, t, {
+ Sq("coreColumnsFeature", e, t, {
column_getFlatColumns: {
fn: (e) => qSe(e),
memoDeps: (e) => [e.table.options.columns]
@@ -59350,7 +59580,7 @@ var nCe = {
});
},
constructTableAPIs: (e) => {
- lq("coreColumnsFeature", e, {
+ xq("coreColumnsFeature", e, {
table_getDefaultColumnDef: {
fn: () => YSe(e),
memoDeps: () => [e.options.defaultColumn]
@@ -59393,7 +59623,7 @@ function rCe(e) {
}
return e._headerPrototype;
}
-function vq(e, t, n) {
+function Aq(e, t, n) {
let r = rCe(e), i = Object.create(r);
i.colSpan = 0, i.column = t, i.depth = n.depth, i.headerGroup = null, i.id = n.id ?? t.id, i.index = n.index, i.isPlaceholder = !!n.isPlaceholder, i.placeholderId = n.placeholderId, i.rowSpan = 0, i.subHeaders = [];
let a = e._headerInstanceInitFns;
@@ -59401,11 +59631,11 @@ function vq(e, t, n) {
return i;
}
// node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js
-function yq(e, t = 1) {
+function jq(e, t = 1) {
let n = t;
for (let r = 0; r < e.length; r++) {
let i = e[r];
- fq(i) && i.columns.length && (n = Math.max(n, yq(i.columns, t + 1)));
+ wq(i) && i.columns.length && (n = Math.max(n, jq(i.columns, t + 1)));
}
return n;
}
@@ -59421,7 +59651,7 @@ function oCe(e, t) {
for (let r = 0; r < e.length; r++) e[r].column === t && n++;
return n;
}
-function bq(e, t, n, r, i, a) {
+function Mq(e, t, n, r, i, a) {
let o = {
depth: t,
id: iCe(r, t),
@@ -59432,7 +59662,7 @@ function bq(e, t, n, r, i, a) {
let a = e[i], c = s[s.length - 1], l = a.column.depth === o.depth, u, d = !1;
if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);
else {
- let e = vq(n, u, {
+ let e = Aq(n, u, {
id: aCe(r, t, u.id, a.id),
isPlaceholder: d,
placeholderId: d ? String(oCe(s, u)) : void 0,
@@ -59444,18 +59674,18 @@ function bq(e, t, n, r, i, a) {
o.headers.push(a), a.headerGroup = o;
}
for (let e = 0; e < a.length; e++) a[e](o);
- i.push(o), t > 0 && bq(s, t - 1, n, r, i, a);
+ i.push(o), t > 0 && Mq(s, t - 1, n, r, i, a);
}
-function xq(e) {
+function Nq(e) {
for (let t = 0; t < e.length; t++) {
let n = e[t];
- if (!fq(n.column)) continue;
+ if (!wq(n.column)) continue;
let r = 0;
if (n.subHeaders.length) {
- xq(n.subHeaders);
+ Nq(n.subHeaders);
for (let e = 0; e < n.subHeaders.length; e++) {
let t = n.subHeaders[e];
- fq(t.column) && (r += t.colSpan);
+ wq(t.column) && (r += t.colSpan);
}
} else r = 1;
if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {
@@ -59466,21 +59696,21 @@ function xq(e) {
}
}
function sCe(e, t, n, r) {
- let i = yq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
- for (let e = 0; e < t.length; e++) e in t && (s[e] = vq(n, t[e], {
+ let i = jq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
+ for (let e = 0; e < t.length; e++) e in t && (s[e] = Aq(n, t[e], {
depth: i,
index: e
}));
- return bq(s, i - 1, n, r, a, o), a.reverse(), xq(a[0]?.headers ?? []), a;
+ return Mq(s, i - 1, n, r, a, o), a.reverse(), Nq(a[0]?.headers ?? []), a;
}
// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js
-function Sq(e, t) {
- for (let n = 0; n < e.subHeaders.length; n++) Sq(e.subHeaders[n], t);
+function Pq(e, t) {
+ for (let n = 0; n < e.subHeaders.length; n++) Pq(e.subHeaders[n], t);
t.push(e);
}
function cCe(e) {
let t = [];
- return Sq(e, t), t;
+ return Pq(e, t), t;
}
function lCe(e) {
return {
@@ -59490,7 +59720,7 @@ function lCe(e) {
};
}
function uCe(e) {
- return sCe(e.getAllColumns(), mq(e, USe(e), (e) => e.id), e);
+ return sCe(e.getAllColumns(), Eq(e, USe(e), (e) => e.id), e);
}
function dCe(e) {
return [...e.getHeaderGroups()].reverse();
@@ -59514,7 +59744,7 @@ function pCe(e) {
// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js
var mCe = {
assignHeaderPrototype: (e, t) => {
- uq("coreHeadersFeature", e, t, {
+ Sq("coreHeadersFeature", e, t, {
header_getLeafHeaders: {
fn: (e) => cCe(e),
memoDeps: (e) => [e.column.table.options.columns]
@@ -59526,7 +59756,7 @@ var mCe = {
});
},
constructTableAPIs: (e) => {
- lq("coreHeadersFeature", e, {
+ xq("coreHeadersFeature", e, {
table_getHeaderGroups: {
fn: () => uCe(e),
memoDeps: () => [
@@ -59564,29 +59794,29 @@ function hCe(e) {
}
var gCe = (e, t, n, r, i, a, o) => {
let s = hCe(e), c = Object.create(s);
- c._displayIndexCache = -1, c._uniqueValuesCache = $K(), c._valuesCache = $K(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
+ c._displayIndexCache = -1, c._uniqueValuesCache = dq(), c._valuesCache = dq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
let l = e._rowInstanceInitFns;
for (let e = 0; e < l.length; e++) l[e](c);
return c;
};
// node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js
function _Ce() {
- return (e) => sq({
+ return (e) => yq({
feature: "coreRowModelsFeature",
table: e,
fnName: "table.getCoreRowModel",
memoDeps: () => [e.options.data],
fn: () => vCe(e, e.options.data),
- onAfterUpdate: oq(() => {
- WSe(e), gq(e), GSe(e), KSe(e);
+ onAfterUpdate: vq(() => {
+ WSe(e), Oq(e), GSe(e), KSe(e);
})
});
}
-function Cq(e, t, n, r = 0, i) {
+function Fq(e, t, n, r = 0, i) {
let a = [];
for (let o = 0; o < n.length; o++) {
let s = n[o], c = gCe(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);
- t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Cq(e, t, c.originalSubRows, r + 1, c)));
+ t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Fq(e, t, c.originalSubRows, r + 1, c)));
}
return a;
}
@@ -59594,9 +59824,9 @@ function vCe(e, t) {
let n = {
rows: [],
flatRows: [],
- rowsById: $K()
+ rowsById: dq()
};
- return n.rows = Cq(e, n, t), n;
+ return n.rows = Fq(e, n, t), n;
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js
function yCe(e) {
@@ -59637,7 +59867,7 @@ function ACe(e) {
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js
var jCe = { constructTableAPIs: (e) => {
- lq("coreRowModelsFeature", e, {
+ xq("coreRowModelsFeature", e, {
table_getCoreRowModel: { fn: () => yCe(e) },
table_getPreFilteredRowModel: { fn: () => bCe(e) },
table_getFilteredRowModel: { fn: () => xCe(e) },
@@ -59674,17 +59904,17 @@ function PCe(e) {
return t[n] === e ? n : -1;
}
function FCe(e) {
- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? hq(e, t).rows : t.rows;
+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Dq(e, t).rows : t.rows;
for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;
return n;
}
function ICe(e, t) {
- if (eq(e._valuesCache, t)) return e._valuesCache[t];
+ if (fq(e._valuesCache, t)) return e._valuesCache[t];
let n = e.table.getColumn(t);
if (n?.accessorFn) return e._valuesCache[t] = n.accessorFn(e.original, e.index), e._valuesCache[t];
}
function LCe(e, t) {
- if (eq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
+ if (fq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
let n = e.table.getColumn(t);
if (n?.accessorFn) return n.columnDef.getUniqueValues ? (e._uniqueValuesCache[t] = n.columnDef.getUniqueValues(e.original, e.index), e._uniqueValuesCache[t]) : (e._uniqueValuesCache[t] = [e.getValue(t)], e._uniqueValuesCache[t]);
}
@@ -59722,7 +59952,7 @@ function UCe(e) {
return r;
}
function WCe(e) {
- let t = $K(), n = e.getAllCells();
+ let t = dq(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.column.id] = r;
@@ -59740,7 +59970,7 @@ function KCe(e, t, n) {
// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js
var qCe = {
assignRowPrototype: (e, t) => {
- uq("coreRowsFeature", e, t, {
+ Sq("coreRowsFeature", e, t, {
row_getDisplayIndex: { fn: (e) => PCe(e) },
row_getAllCellsByColumnId: {
fn: (e) => WCe(e),
@@ -59762,7 +59992,7 @@ var qCe = {
});
},
constructTableAPIs: (e) => {
- lq("coreRowsFeature", e, {
+ xq("coreRowsFeature", e, {
table_getRowsInDisplayOrder: {
fn: () => FCe(e),
memoDeps: () => [
@@ -59781,7 +60011,7 @@ var qCe = {
}
};
// node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js
-function wq(e, t, n = (e, t) => e === t) {
+function Iq(e, t, n = (e, t) => e === t) {
let r = t === void 0 ? e.options.state : t;
e._reactivity.batch(() => {
if (r) for (let t in r) {
@@ -59792,13 +60022,13 @@ function wq(e, t, n = (e, t) => e === t) {
}
});
}
-function Tq(e, t, n = (e, t) => e === t) {
+function Lq(e, t, n = (e, t) => e === t) {
e._reactivity.batch(() => {
- wq(e, t, n), e._reactivity.commit?.();
+ Iq(e, t, n), e._reactivity.commit?.();
});
}
function JCe(e) {
- let t = ZK(e.initialState);
+ let t = lq(e.initialState);
e._reactivity.batch(() => {
let n = Object.keys(t);
for (let r = 0; r < n.length; r++) {
@@ -59841,9 +60071,9 @@ function YCe(e, t) {
}
});
}
-function Eq(e, t, n) {
- let r = YCe(e, XK(t, e.options));
- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Tq(e, r.state ?? null);
+function Rq(e, t, n) {
+ let r = YCe(e, cq(t, e.options));
+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Lq(e, r.state ?? null);
}
// node_modules/@tanstack/table-core/dist/core/coreFeatures.js
var XCe = {
@@ -59853,14 +60083,14 @@ var XCe = {
coreRowModelsFeature: jCe,
coreRowsFeature: qCe,
coreTablesFeature: { constructTableAPIs: (e) => {
- lq("coreTablesFeature", e, {
+ xq("coreTablesFeature", e, {
table_reset: { fn: () => JCe(e) },
- table_setOptions: { fn: (t) => Eq(e, t) }
+ table_setOptions: { fn: (t) => Rq(e, t) }
});
} }
};
// node_modules/@tanstack/table-core/dist/helpers/columnHelper.js
-function Dq() {
+function zq() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -59875,14 +60105,14 @@ function Dq() {
};
}
// node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js
-function Oq(e) {
+function Bq(e) {
return e;
}
// node_modules/@tanstack/table-core/dist/core/table/constructTable.js
function ZCe(e, t = {}) {
return Object.values(e).forEach((e) => {
t = e.getInitialState?.(t) ?? t;
- }), ZK(t);
+ }), lq(t);
}
function QCe(e) {
let t = e.features.coreReactivityFeature, { aggregationFns: n, columnMeta: r, coreRowModel: i, expandedRowModel: a, facetedMinMaxValues: o, facetedRowModel: s, facetedUniqueValues: c, filterFns: l, filterMeta: u, filteredRowModel: d, groupedRowModel: f, paginatedRowModel: p, sortFns: m, sortedRowModel: h, tableMeta: g, ..._ } = e.features, v = {
@@ -59935,14 +60165,14 @@ function QCe(e) {
let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();
if (t) return r;
let i = e.state;
- if (i && eq(i, n)) {
+ if (i && fq(i, n)) {
let e = i[n];
return e === void 0 ? v.initialState[n] : e;
}
return r;
}, { debugName: `table/atoms/${n}` });
}
- wq(v), v.store = OSe(t.createReadonlyAtom(() => {
+ Iq(v), v.store = OSe(t.createReadonlyAtom(() => {
let e = {};
for (let t = 0; t < x.length; t++) {
let n = x[t];
@@ -59950,7 +60180,7 @@ function QCe(e) {
}
return e;
}, {
- compare: KK,
+ compare: iq,
debugName: "table/store"
}));
for (let e = 0; e < y.length; e++) {
@@ -59961,104 +60191,104 @@ function QCe(e) {
}
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js
function $Ce() {
- return $K();
+ return dq();
}
-function kq(e, t) {
- jq(e) && Nq(e.table, (n) => {
- let r = Object.assign($K(), n), i = t ?? !dq(e, "getIsVisible", Aq), a = e.getLeafColumns();
+function Vq(e, t) {
+ Uq(e) && Gq(e.table, (n) => {
+ let r = Object.assign(dq(), n), i = t ?? !Cq(e, "getIsVisible", Hq), a = e.getLeafColumns();
for (let e = 0; e < a.length; e++) {
let t = a[e];
- jq(t) && (r[t.id] = i);
+ Uq(t) && (r[t.id] = i);
}
return r;
});
}
-function Aq(e) {
+function Hq(e) {
let t = e.table.atoms.columnVisibility?.get();
if (!t) return !0;
let n = e.columns;
- return n.length ? n.some((e) => dq(e, "getIsVisible", Aq)) : (eq(t, e.id) ? t[e.id] : void 0) ?? !0;
+ return n.length ? n.some((e) => Cq(e, "getIsVisible", Hq)) : (fq(t, e.id) ? t[e.id] : void 0) ?? !0;
}
-function jq(e) {
+function Uq(e) {
return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);
}
function ewe(e) {
return (t) => {
- kq(e, t.target.checked);
+ Vq(e, t.target.checked);
};
}
function twe(e) {
let t = e.getAllCells(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e];
- dq(r.column, "getIsVisible", Aq) && n.push(r);
+ Cq(r.column, "getIsVisible", Hq) && n.push(r);
}
- return mq(e.table, n, (e) => e.column.id, () => dq(e, "getVisibleCellsByColumnId", Mq));
+ return Eq(e.table, n, (e) => e.column.id, () => Cq(e, "getVisibleCellsByColumnId", Wq));
}
-function Mq(e) {
- let t = $K(), n = e.getAllCells();
+function Wq(e) {
+ let t = dq(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
- dq(r.column, "getIsVisible", Aq) && (t[r.column.id] = r);
+ Cq(r.column, "getIsVisible", Hq) && (t[r.column.id] = r);
}
return t;
}
function nwe(e) {
- return e.getAllFlatColumns().filter((e) => dq(e, "getIsVisible", Aq));
+ return e.getAllFlatColumns().filter((e) => Cq(e, "getIsVisible", Hq));
}
function rwe(e) {
- return e.getAllLeafColumns().filter((e) => dq(e, "getIsVisible", Aq));
+ return e.getAllLeafColumns().filter((e) => Cq(e, "getIsVisible", Hq));
}
-function Nq(e, t) {
- aq(e, "columnVisibility", t);
+function Gq(e, t) {
+ _q(e, "columnVisibility", t);
}
function iwe(e, t) {
- Nq(e, t ? $K() : Object.assign($K(), ZK(e.initialState.columnVisibility ?? {})));
+ Gq(e, t ? dq() : Object.assign(dq(), lq(e.initialState.columnVisibility ?? {})));
}
-function Pq(e, t) {
- t ??= !Fq(e);
- let n = $K(), r = e.getAllLeafColumns();
+function Kq(e, t) {
+ t ??= !qq(e);
+ let n = dq(), r = e.getAllLeafColumns();
for (let e = 0; e < r.length; e++) {
let i = r[e];
- n[i.id] = t || !jq(i);
+ n[i.id] = t || !Uq(i);
}
- Nq(e, n);
+ Gq(e, n);
}
-function Fq(e) {
- return !e.getAllLeafColumns().some((e) => !dq(e, "getIsVisible", Aq));
+function qq(e) {
+ return !e.getAllLeafColumns().some((e) => !Cq(e, "getIsVisible", Hq));
}
function awe(e) {
- return e.getAllLeafColumns().some((e) => dq(e, "getIsVisible", Aq));
+ return e.getAllLeafColumns().some((e) => Cq(e, "getIsVisible", Hq));
}
function owe(e) {
return (t) => {
- Pq(e, t.target.checked);
+ Kq(e, t.target.checked);
};
}
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js
-var Iq = {
+var Jq = {
getInitialState: (e) => ({
columnVisibility: $Ce(),
...e
}),
- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: tq("columnVisibility", e) }),
+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: pq("columnVisibility", e) }),
assignColumnPrototype: (e, t) => {
- uq("columnVisibilityFeature", e, t, {
+ Sq("columnVisibilityFeature", e, t, {
column_getIsVisible: {
- fn: (e) => Aq(e),
+ fn: (e) => Hq(e),
memoDeps: (e) => [
t.options.columns,
t.atoms.columnVisibility?.get(),
e.columns
]
},
- column_getCanHide: { fn: (e) => jq(e) },
+ column_getCanHide: { fn: (e) => Uq(e) },
column_getToggleVisibilityHandler: { fn: (e) => ewe(e) },
- column_toggleVisibility: { fn: (e, t) => kq(e, t) }
+ column_toggleVisibility: { fn: (e, t) => Vq(e, t) }
});
},
assignRowPrototype: (e, t) => {
- uq("columnVisibilityFeature", e, t, {
+ Sq("columnVisibilityFeature", e, t, {
row_getVisibleCells: {
fn: (e) => twe(e),
memoDeps: (e) => [
@@ -60068,13 +60298,13 @@ var Iq = {
]
},
row_getVisibleCellsByColumnId: {
- fn: (e) => Mq(e),
+ fn: (e) => Wq(e),
memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]
}
});
},
constructTableAPIs: (e) => {
- lq("columnVisibilityFeature", e, {
+ xq("columnVisibilityFeature", e, {
table_getVisibleFlatColumns: {
fn: () => nwe(e),
memoDeps: () => [
@@ -60095,51 +60325,51 @@ var Iq = {
e.options.groupedColumnMode
]
},
- table_setColumnVisibility: { fn: (t) => Nq(e, t) },
+ table_setColumnVisibility: { fn: (t) => Gq(e, t) },
table_resetColumnVisibility: { fn: (t) => iwe(e, t) },
- table_toggleAllColumnsVisible: { fn: (t) => Pq(e, t) },
- table_getIsAllColumnsVisible: { fn: () => Fq(e) },
+ table_toggleAllColumnsVisible: { fn: (t) => Kq(e, t) },
+ table_getIsAllColumnsVisible: { fn: () => qq(e) },
table_getIsSomeColumnsVisible: { fn: () => awe(e) },
table_getToggleAllColumnsVisibilityHandler: { fn: () => owe(e) }
});
}
-}, Lq = 0, Rq = 10;
-function zq() {
+}, Yq = 0, Xq = 10;
+function Zq() {
return {
- pageIndex: Lq,
- pageSize: Rq
+ pageIndex: Yq,
+ pageSize: Xq
};
}
function swe(e) {
if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {
- if ((e.atoms.pagination?.get()?.pageIndex ?? Lq) === Lq) return;
- Hq(e, !0);
+ if ((e.atoms.pagination?.get()?.pageIndex ?? Yq) === Yq) return;
+ eJ(e, !0);
}
}
-function Bq(e, t) {
- aq(e, "pagination", t);
+function Qq(e, t) {
+ _q(e, "pagination", t);
}
function cwe(e, t) {
- Bq(e, t ? zq() : ZK(e.initialState.pagination ?? zq()));
+ Qq(e, t ? Zq() : lq(e.initialState.pagination ?? Zq()));
}
-function Vq(e, t) {
- Bq(e, (n) => {
- let r = XK(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+function $q(e, t) {
+ Qq(e, (n) => {
+ let r = cq(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
};
});
}
-function Hq(e, t) {
- Vq(e, t ? Lq : e.initialState.pagination?.pageIndex ?? Lq);
+function eJ(e, t) {
+ $q(e, t ? Yq : e.initialState.pagination?.pageIndex ?? Yq);
}
function lwe(e, t) {
- Uq(e, t ? Rq : e.initialState.pagination?.pageSize ?? Rq);
+ tJ(e, t ? Xq : e.initialState.pagination?.pageSize ?? Xq);
}
-function Uq(e, t) {
- Bq(e, (e) => {
- let n = Math.max(1, XK(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
+function tJ(e, t) {
+ Qq(e, (e) => {
+ let n = Math.max(1, cq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -60148,61 +60378,61 @@ function Uq(e, t) {
});
}
function uwe(e) {
- let t = Wq(e), n = [];
+ let t = nJ(e), n = [];
return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
}
function dwe(e) {
return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
}
function fwe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? Lq, n = Wq(e);
+ let t = e.atoms.pagination?.get()?.pageIndex ?? Yq, n = nJ(e);
return n === -1 || n !== 0 && t < n - 1;
}
function pwe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? Lq, n = Wq(e);
+ let t = e.atoms.pagination?.get()?.pageIndex ?? Yq, n = nJ(e);
return Number.isFinite(n) && n > 0 && t < n - 1;
}
function mwe(e) {
- return Vq(e, (e) => e - 1);
+ return $q(e, (e) => e - 1);
}
function hwe(e) {
- return Vq(e, (e) => e + 1);
+ return $q(e, (e) => e + 1);
}
function gwe(e) {
- return Vq(e, 0);
+ return $q(e, 0);
}
function _we(e) {
- let t = Wq(e);
- if (!(!Number.isFinite(t) || t <= 0)) return Vq(e, t - 1);
+ let t = nJ(e);
+ if (!(!Number.isFinite(t) || t <= 0)) return $q(e, t - 1);
}
-function Wq(e) {
+function nJ(e) {
let t = e.options.pageCount;
if (t != null) return t;
- let n = Gq(e), r = e.atoms.pagination?.get()?.pageSize ?? Rq;
+ let n = rJ(e), r = e.atoms.pagination?.get()?.pageSize ?? Xq;
return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);
}
-function Gq(e) {
+function rJ(e) {
return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;
}
// node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js
-var Kq = {
+var iJ = {
getInitialState: (e) => ({
...e,
pagination: {
- ...zq(),
+ ...Zq(),
...e.pagination
}
}),
- getDefaultTableOptions: (e) => ({ onPaginationChange: tq("pagination", e) }),
+ getDefaultTableOptions: (e) => ({ onPaginationChange: pq("pagination", e) }),
constructTableAPIs: (e) => {
- lq("rowPaginationFeature", e, {
+ xq("rowPaginationFeature", e, {
table_autoResetPageIndex: { fn: () => swe(e) },
- table_setPagination: { fn: (t) => Bq(e, t) },
+ table_setPagination: { fn: (t) => Qq(e, t) },
table_resetPagination: { fn: (t) => cwe(e, t) },
- table_setPageIndex: { fn: (t) => Vq(e, t) },
- table_resetPageIndex: { fn: (t) => Hq(e, t) },
- table_setPageSize: { fn: (t) => Uq(e, t) },
- table_getPageCount: { fn: () => Wq(e) },
+ table_setPageIndex: { fn: (t) => $q(e, t) },
+ table_resetPageIndex: { fn: (t) => eJ(e, t) },
+ table_setPageSize: { fn: (t) => tJ(e, t) },
+ table_getPageCount: { fn: () => nJ(e) },
table_resetPageSize: { fn: (t) => lwe(e, t) },
table_getPageOptions: { fn: () => uwe(e) },
table_getCanPreviousPage: { fn: () => dwe(e) },
@@ -60212,42 +60442,42 @@ var Kq = {
table_nextPage: { fn: () => hwe(e) },
table_firstPage: { fn: () => gwe(e) },
table_lastPage: { fn: () => _we(e) },
- table_getRowCount: { fn: () => Gq(e) }
+ table_getRowCount: { fn: () => rJ(e) }
});
}
};
// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js
function vwe() {
- return $K();
+ return dq();
}
-function qq(e, t) {
+function aJ(e, t) {
e.options.onRowSelectionChange?.(t);
}
function ywe(e, t) {
- e._lastSelectedRowId = null, qq(e, t ? $K() : Object.assign($K(), ZK(e.initialState.rowSelection ?? {})));
+ e._lastSelectedRowId = null, aJ(e, t ? dq() : Object.assign(dq(), lq(e.initialState.rowSelection ?? {})));
}
-function Jq(e, t, n) {
- e._lastSelectedRowId = null, qq(e, (r) => {
- if (t = t === void 0 ? !dq(e, "getIsAllRowsSelected", Zq) : t, n?.deselectAll && !t) return $K();
- let i = Object.assign($K(), r), a = e.getPreGroupedRowModel().flatRows;
+function oJ(e, t, n) {
+ e._lastSelectedRowId = null, aJ(e, (r) => {
+ if (t = t === void 0 ? !Cq(e, "getIsAllRowsSelected", lJ) : t, n?.deselectAll && !t) return dq();
+ let i = Object.assign(dq(), r), a = e.getPreGroupedRowModel().flatRows;
if (t) {
let e = /* @__PURE__ */ new Map();
a.forEach((t) => {
- sJ(t, e) && (i[t.id] = !0);
+ yJ(t, e) && (i[t.id] = !0);
});
} else a.forEach((e) => {
- rJ(e) && delete i[e.id];
+ hJ(e) && delete i[e.id];
});
return i;
});
}
-function Yq(e, t, n) {
- e._lastSelectedRowId = null, qq(e, (r) => {
- let i = t === void 0 ? !dq(e, "getIsAllPageRowsSelected", Qq) : t;
- if (n?.deselectAll && !i) return $K();
- let a = Object.assign($K(), r);
+function sJ(e, t, n) {
+ e._lastSelectedRowId = null, aJ(e, (r) => {
+ let i = t === void 0 ? !Cq(e, "getIsAllPageRowsSelected", uJ) : t;
+ if (n?.deselectAll && !i) return dq();
+ let a = Object.assign(dq(), r);
return e.getRowModel().rows.forEach((t) => {
- oJ(a, t.id, i, !0, e, !0);
+ vJ(a, t.id, i, !0, e, !0);
}), a;
});
}
@@ -60256,122 +60486,122 @@ function bwe(e) {
}
function xwe(e) {
let t = e.getCoreRowModel();
- return dq(e, "getIsSomeRowsSelected", $q) ? uJ(t, e) : {
+ return Cq(e, "getIsSomeRowsSelected", dJ) ? SJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: $K()
+ rowsById: dq()
};
}
function Swe(e) {
let t = e.getFilteredRowModel();
- return dq(e, "getIsSomeRowsSelected", $q) ? uJ(t, e) : {
+ return Cq(e, "getIsSomeRowsSelected", dJ) ? SJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: $K()
+ rowsById: dq()
};
}
function Cwe(e) {
let t = e.getSortedRowModel();
- return dq(e, "getIsSomeRowsSelected", $q) ? uJ(t, e) : {
+ return Cq(e, "getIsSomeRowsSelected", dJ) ? SJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: $K()
+ rowsById: dq()
};
}
-function Xq(e) {
+function cJ(e) {
return Object.keys(e.atoms.rowSelection?.get() ?? {});
}
-function Zq(e) {
+function lJ(e) {
let t = e.getFilteredRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = !!(t.length && Object.keys(n).length);
if (r) {
let e = /* @__PURE__ */ new Map();
- t.some((t) => !dJ(t, n) && sJ(t, e)) && (r = !1);
+ t.some((t) => !CJ(t, n) && yJ(t, e)) && (r = !1);
}
return r;
}
-function Qq(e) {
+function uJ(e) {
let t = e.getPaginatedRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = /* @__PURE__ */ new Map(), i = !1;
for (let e = 0; e < t.length; e++) {
let a = t[e];
- if (dJ(a, n)) !i && sJ(a, r) && (i = !0);
- else if (sJ(a, r)) return !1;
+ if (CJ(a, n)) !i && yJ(a, r) && (i = !0);
+ else if (yJ(a, r)) return !1;
}
return i;
}
-function $q(e) {
- return dq(e, "getSelectedRowIds", Xq).length > 0;
+function dJ(e) {
+ return Cq(e, "getSelectedRowIds", cJ).length > 0;
}
function wwe(e) {
- return e.getPaginatedRowModel().flatRows.filter((e) => rJ(e)).some((e) => tJ(e) || dq(e, "getIsSomeSelected", nJ));
+ return e.getPaginatedRowModel().flatRows.filter((e) => hJ(e)).some((e) => pJ(e) || Cq(e, "getIsSomeSelected", mJ));
}
function Twe(e) {
return (t) => {
- Jq(e, t.target.checked);
+ oJ(e, t.target.checked);
};
}
function Ewe(e) {
return (t) => {
- Yq(e, t.target.checked);
+ sJ(e, t.target.checked);
};
}
-function eJ(e, t, n) {
- let r = tJ(e);
- qq(e.table, (i) => {
+function fJ(e, t, n) {
+ let r = pJ(e);
+ aJ(e.table, (i) => {
t = t === void 0 ? !r : t;
- let a = Object.assign($K(), i);
- return oJ(a, e.id, t, (n?.selectChildren ?? !0) && aJ(e), e.table), !t && n?.deselectParents && cJ(a, e), a;
+ let a = Object.assign(dq(), i);
+ return vJ(a, e.id, t, (n?.selectChildren ?? !0) && _J(e), e.table), !t && n?.deselectParents && bJ(a, e), a;
});
}
-function tJ(e) {
- return dJ(e, e.table.atoms.rowSelection?.get() ?? {});
+function pJ(e) {
+ return CJ(e, e.table.atoms.rowSelection?.get() ?? {});
}
-function nJ(e) {
- return fJ(e) === "some";
+function mJ(e) {
+ return wJ(e) === "some";
}
function Dwe(e) {
- return fJ(e) === "all";
+ return wJ(e) === "all";
}
-function rJ(e) {
+function hJ(e) {
let t = e.table.options;
return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;
}
-function iJ(e) {
+function gJ(e) {
let t = e.table.options;
return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;
}
-function aJ(e) {
+function _J(e) {
let t = e.table.options;
return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;
}
function Owe(e, t) {
- let n = rJ(e);
+ let n = hJ(e);
return (r) => {
if (!n) return;
let i = r, a = e.table, o = i.target.checked, s = a._lastSelectedRowId;
- a.options.enableRowRangeSelection !== !1 && s !== null && aJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && kwe(e, s, o, t) || eJ(e, o, t), a._lastSelectedRowId = e.id;
+ a.options.enableRowRangeSelection !== !1 && s !== null && _J(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && kwe(e, s, o, t) || fJ(e, o, t), a._lastSelectedRowId = e.id;
};
}
function kwe(e, t, n, r) {
let i = r?.selectChildren ?? !0, a = e.table, o = a.getRowsInDisplayOrder(), s = a.getPrePaginatedRowModel().rowsById[t] ?? a.getCoreRowModel().rowsById[t];
if (!s) return !1;
let c = s.getDisplayIndex(), l = e.getDisplayIndex(), u = o[c], d = o[l];
- if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !aJ(s) || !aJ(e)) return !1;
+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !_J(s) || !_J(e)) return !1;
let f = Math.min(c, l), p = Math.max(c, l);
- return qq(a, (e) => {
- let t = Object.assign($K(), e);
+ return aJ(a, (e) => {
+ let t = Object.assign(dq(), e);
for (let e = f; e <= p; e++) {
let s = o[e];
- rJ(s) && aJ(s) && (oJ(t, s.id, n, i, a), !n && r?.deselectParents && cJ(t, s));
+ hJ(s) && _J(s) && (vJ(t, s.id, n, i, a), !n && r?.deselectParents && bJ(t, s));
}
return t;
}), !0;
}
-function oJ(e, t, n, r, i, a) {
+function vJ(e, t, n, r, i, a) {
let o = i.getRow(t, !0);
- n ? (aJ(o) || Object.keys(e).forEach((t) => delete e[t]), rJ(o) && (e[t] = !0)) : (!a || rJ(o)) && delete e[t], r && o.subRows.length && iJ(o) && o.subRows.forEach((t) => oJ(e, t.id, n, r, i, a));
+ n ? (_J(o) || Object.keys(e).forEach((t) => delete e[t]), hJ(o) && (e[t] = !0)) : (!a || hJ(o)) && delete e[t], r && o.subRows.length && gJ(o) && o.subRows.forEach((t) => vJ(e, t.id, n, r, i, a));
}
-function sJ(e, t) {
- if (!rJ(e)) return !1;
+function yJ(e, t) {
+ if (!hJ(e)) return !1;
let n = e.table;
if (n.options.enableSubRowSelection === !0) return !0;
let r = e.parentId;
@@ -60387,7 +60617,7 @@ function sJ(e, t) {
}
o.push(c);
let r = a[c] ?? n.getRow(c, !0);
- if (!iJ(r)) {
+ if (!gJ(r)) {
s = !1;
break;
}
@@ -60395,50 +60625,50 @@ function sJ(e, t) {
}
return o.forEach((e) => t.set(e, s)), s;
}
-function cJ(e, t) {
+function bJ(e, t) {
let n = t.table.getCoreRowModel().rowsById, r = t.parentId;
for (; r !== void 0;) delete e[r], r = (n[r] ?? t.table.getRow(r, !0)).parentId;
}
-function lJ(e, t, n, r) {
+function xJ(e, t, n, r) {
let i = [];
for (let a = 0; a < e.length; a++) {
- let o = e[a], s = dJ(o, t);
+ let o = e[a], s = CJ(o, t);
if (s && (n.push(o), r[o.id] = o), o.subRows.length) {
- let e = lJ(o.subRows, t, n, r);
+ let e = xJ(o.subRows, t, n, r);
if (s) {
let t = Object.create(Object.getPrototypeOf(o));
- QK(t, o), t.subRows = e, i.push(t);
+ uq(t, o), t.subRows = e, i.push(t);
}
} else s && i.push(o);
}
return i;
}
-function uJ(e, t) {
- let n = [], r = $K(), i = t.atoms.rowSelection?.get() ?? {};
+function SJ(e, t) {
+ let n = [], r = dq(), i = t.atoms.rowSelection?.get() ?? {};
return {
- rows: lJ(e.rows, i, n, r),
+ rows: xJ(e.rows, i, n, r),
flatRows: n,
rowsById: r
};
}
-function dJ(e, t) {
- return !!(eq(t, e.id) && t[e.id]);
+function CJ(e, t) {
+ return !!(fq(t, e.id) && t[e.id]);
}
-function fJ(e) {
+function wJ(e) {
if (!e.subRows.length) return !1;
let t = e.table.atoms.rowSelection?.get() ?? {}, n = !1, r = !0, i = !1;
for (let a = 0; a < e.subRows.length; a++) {
let o = e.subRows[a];
if (n && !r) break;
- if (rJ(o) && (i = !0, dJ(o, t) ? n = !0 : r = !1), o.subRows.length) {
- let e = fJ(o);
+ if (hJ(o) && (i = !0, CJ(o, t) ? n = !0 : r = !1), o.subRows.length) {
+ let e = wJ(o);
e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;
}
}
return i ? r ? "all" : n ? "some" : !1 : !1;
}
// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js
-var pJ = {
+var TJ = {
initTableInstanceData: (e) => {
e._lastSelectedRowId = null;
},
@@ -60450,7 +60680,7 @@ var pJ = {
...e
}),
getDefaultTableOptions: (e) => ({
- onRowSelectionChange: tq("rowSelection", e),
+ onRowSelectionChange: pq("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableRowRangeSelection: !0,
@@ -60461,11 +60691,11 @@ var pJ = {
}
}),
assignRowPrototype: (e, t) => {
- uq("rowSelectionFeature", e, t, {
- row_toggleSelected: { fn: (e, t, n) => eJ(e, t, n) },
- row_getIsSelected: { fn: (e) => tJ(e) },
+ Sq("rowSelectionFeature", e, t, {
+ row_toggleSelected: { fn: (e, t, n) => fJ(e, t, n) },
+ row_getIsSelected: { fn: (e) => pJ(e) },
row_getIsSomeSelected: {
- fn: (e) => nJ(e),
+ fn: (e) => mJ(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
@@ -60480,18 +60710,18 @@ var pJ = {
e.table.options.enableRowSelection
]
},
- row_getCanSelect: { fn: (e) => rJ(e) },
- row_getCanSelectSubRows: { fn: (e) => iJ(e) },
- row_getCanMultiSelect: { fn: (e) => aJ(e) },
+ row_getCanSelect: { fn: (e) => hJ(e) },
+ row_getCanSelectSubRows: { fn: (e) => gJ(e) },
+ row_getCanMultiSelect: { fn: (e) => _J(e) },
row_getToggleSelectedHandler: { fn: (e, t) => Owe(e, t) }
});
},
constructTableAPIs: (e) => {
- lq("rowSelectionFeature", e, {
- table_setRowSelection: { fn: (t) => qq(e, t) },
+ xq("rowSelectionFeature", e, {
+ table_setRowSelection: { fn: (t) => aJ(e, t) },
table_resetRowSelection: { fn: (t) => ywe(e, t) },
- table_toggleAllRowsSelected: { fn: (t, n) => Jq(e, t, n) },
- table_toggleAllPageRowsSelected: { fn: (t, n) => Yq(e, t, n) },
+ table_toggleAllRowsSelected: { fn: (t, n) => oJ(e, t, n) },
+ table_toggleAllPageRowsSelected: { fn: (t, n) => sJ(e, t, n) },
table_getPreSelectedRowModel: { fn: () => bwe(e) },
table_getSelectedRowModel: {
fn: () => xwe(e),
@@ -60506,11 +60736,11 @@ var pJ = {
memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]
},
table_getSelectedRowIds: {
- fn: () => Xq(e),
+ fn: () => cJ(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsAllRowsSelected: {
- fn: () => Zq(e),
+ fn: () => lJ(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getFilteredRowModel(),
@@ -60519,7 +60749,7 @@ var pJ = {
]
},
table_getIsAllPageRowsSelected: {
- fn: () => Qq(e),
+ fn: () => uJ(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
@@ -60528,7 +60758,7 @@ var pJ = {
]
},
table_getIsSomeRowsSelected: {
- fn: () => $q(e),
+ fn: () => dJ(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsSomePageRowsSelected: {
@@ -60552,7 +60782,7 @@ function jwe(e) {
}, e);
return t;
}
-var mJ = /* @__PURE__ */ jwe({ sort: (e, t) => Mwe(e, t) });
+var EJ = /* @__PURE__ */ jwe({ sort: (e, t) => Mwe(e, t) });
function Mwe(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
@@ -60560,16 +60790,16 @@ function Mwe(e, t) {
function Nwe() {
return [];
}
-function hJ(e, t) {
- aq(e, "sorting", t);
+function DJ(e, t) {
+ _q(e, "sorting", t);
}
-function gJ(e, t) {
- hJ(e, t ? [] : ZK(e.initialState.sorting ?? []));
+function OJ(e, t) {
+ DJ(e, t ? [] : lq(e.initialState.sorting ?? []));
}
function Pwe(e) {
- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && gJ(e);
+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && OJ(e);
}
-function _J(e) {
+function kJ(e) {
let t = e.table._rowModelFns.sortFns, n = e.table.getFilteredRowModel().flatRows.slice(0, 10), r, i = !1;
for (let t = 0; t < n.length; t++) {
let a = n[t].getValue(e.id);
@@ -60586,9 +60816,9 @@ function _J(e) {
let e = t?.[r];
if (e || r === "alphanumeric" && (e = t?.text), e) return e;
}
- return mJ;
+ return EJ;
}
-function vJ(e) {
+function AJ(e) {
let t = e.table.getFilteredRowModel().flatRows.slice(0, 10);
for (let n = 0; n < t.length; n++) {
let r = t[n].getValue(e.id);
@@ -60596,14 +60826,14 @@ function vJ(e) {
}
return "desc";
}
-function yJ(e) {
+function jJ(e) {
let t = e.table._rowModelFns.sortFns;
- return PSe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? _J(e) : t?.[e.columnDef.sortFn] ?? mJ;
+ return PSe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? kJ(e) : t?.[e.columnDef.sortFn] ?? EJ;
}
-function bJ(e, t, n) {
- let r = SJ(e, n && wJ(e)), i = t !== void 0;
- hJ(e.table, (a) => {
- let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && wJ(e) && n);
+function MJ(e, t, n) {
+ let r = PJ(e, n && IJ(e)), i = t !== void 0;
+ DJ(e.table, (a) => {
+ let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && IJ(e) && n);
return l = d ? s ? "toggle" : "add" : s ? "toggle" : "replace", l === "toggle" && (i || r || (l = "remove")), l === "add" ? (c = [...a, {
id: e.id,
desc: u
@@ -60619,20 +60849,20 @@ function bJ(e, t, n) {
}], c;
});
}
-function xJ(e) {
- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? vJ(e) === "desc" ? "desc" : "asc";
+function NJ(e) {
+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? AJ(e) === "desc" ? "desc" : "asc";
}
-function SJ(e, t) {
- let n = xJ(e), r = TJ(e);
+function PJ(e, t) {
+ let n = NJ(e), r = LJ(e);
return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;
}
-function CJ(e) {
+function FJ(e) {
return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;
}
-function wJ(e) {
+function IJ(e) {
return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;
}
-function TJ(e) {
+function LJ(e) {
let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);
return t ? t.desc ? "desc" : "asc" : !1;
}
@@ -60640,16 +60870,16 @@ function Fwe(e) {
return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
}
function Iwe(e) {
- hJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
+ DJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
}
function Lwe(e) {
- let t = CJ(e);
+ let t = FJ(e);
return (n) => {
- t && bJ(e, void 0, wJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
+ t && MJ(e, void 0, IJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
};
}
// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js
-var EJ = {
+var RJ = {
getInitialState(e) {
return {
sorting: Nwe(),
@@ -60665,35 +60895,35 @@ var EJ = {
getDefaultTableOptions(e) {
return {
autoResetSorting: !1,
- onSortingChange: tq("sorting", e),
+ onSortingChange: pq("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
};
},
assignColumnPrototype(e, t) {
- uq("rowSortingFeature", e, t, {
- column_getAutoSortFn: { fn: (e) => _J(e) },
- column_getAutoSortDir: { fn: (e) => vJ(e) },
- column_getSortFn: { fn: (e) => yJ(e) },
- column_toggleSorting: { fn: (e, t, n) => bJ(e, t, n) },
- column_getFirstSortDir: { fn: (e) => xJ(e) },
- column_getNextSortingOrder: { fn: (e, t) => SJ(e, t) },
- column_getCanSort: { fn: (e) => CJ(e) },
- column_getCanMultiSort: { fn: (e) => wJ(e) },
- column_getIsSorted: { fn: (e) => TJ(e) },
+ Sq("rowSortingFeature", e, t, {
+ column_getAutoSortFn: { fn: (e) => kJ(e) },
+ column_getAutoSortDir: { fn: (e) => AJ(e) },
+ column_getSortFn: { fn: (e) => jJ(e) },
+ column_toggleSorting: { fn: (e, t, n) => MJ(e, t, n) },
+ column_getFirstSortDir: { fn: (e) => NJ(e) },
+ column_getNextSortingOrder: { fn: (e, t) => PJ(e, t) },
+ column_getCanSort: { fn: (e) => FJ(e) },
+ column_getCanMultiSort: { fn: (e) => IJ(e) },
+ column_getIsSorted: { fn: (e) => LJ(e) },
column_getSortIndex: { fn: (e) => Fwe(e) },
column_clearSorting: { fn: (e) => Iwe(e) },
column_getToggleSortingHandler: { fn: (e) => Lwe(e) }
});
},
constructTableAPIs(e) {
- lq("rowSortingFeature", e, {
+ xq("rowSortingFeature", e, {
table_autoResetSorting: { fn: () => Pwe(e) },
- table_setSorting: { fn: (t) => hJ(e, t) },
- table_resetSorting: { fn: (t) => gJ(e, t) }
+ table_setSorting: { fn: (t) => DJ(e, t) },
+ table_resetSorting: { fn: (t) => OJ(e, t) }
});
}
}, Rwe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;
-function DJ(e, t) {
+function zJ(e, t) {
let [{ table: n, rootSource: r }] = (0, F.useState)(() => {
let t = QCe({
...e,
@@ -60707,16 +60937,16 @@ function DJ(e, t) {
source: e.source ?? t.store
})), t.FlexRender = gSe, {
table: t,
- rootSource: ASe(t.store, KK)
+ rootSource: ASe(t.store, iq)
};
}), i = n;
- Eq(i, (t) => ({
+ Rq(i, (t) => ({
...t,
...e
}), { syncExternalState: !1 });
- let a = i.options.state, o = r.get(), s = YK(r, t, { compare: KK });
+ let a = i.options.state, o = r.get(), s = sq(r, t, { compare: iq });
return Rwe(() => {
- r.markCommitted(o), Tq(i, a ?? null, KK);
+ r.markCommitted(o), Lq(i, a ?? null, iq);
}), (0, F.useMemo)(() => ({
...n,
options: e,
@@ -60728,10 +60958,10 @@ function DJ(e, t) {
]);
}
// src/react/boardui/components/base/table/table.tsx
-function OJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function BJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
className: q("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, I.jsx)(jhe, {
+ children: /* @__PURE__ */ (0, I.jsx)(Ahe, {
ref: r,
...i,
className: q("bui-table", e === "sm" && "bui-table-sm", t)
@@ -60739,7 +60969,7 @@ function OJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
});
}
// src/react/catalog-grid/catalog-table-columns.ts
-var kJ = "peach.catalog-column-widths.v1", AJ = "peach.catalog-column-visibility.v1", zwe = {
+var VJ = "peach.catalog-column-widths.v1", HJ = "peach.catalog-column-visibility.v1", zwe = {
select: {
width: 48,
min: 48,
@@ -60838,7 +61068,7 @@ var kJ = "peach.catalog-column-widths.v1", AJ = "peach.catalog-column-visibility
tags: "标签",
library: "媒体库",
people: "艺人"
-}, jJ = [
+}, UJ = [
"select",
"name",
"people",
@@ -60862,7 +61092,7 @@ var kJ = "peach.catalog-column-widths.v1", AJ = "peach.catalog-column-visibility
required: e === "select" || e === "name",
visible: Bwe[e] !== !1
}));
-function MJ(e) {
+function WJ(e) {
try {
let t = JSON.parse(localStorage.getItem(e) || "{}");
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
@@ -60871,10 +61101,10 @@ function MJ(e) {
}
}
function Hwe() {
- return NJ(jJ, kJ, AJ);
+ return GJ(UJ, VJ, HJ);
}
-function NJ(e, t, n) {
- let r = MJ(t), i = MJ(n);
+function GJ(e, t, n) {
+ let r = WJ(t), i = WJ(n);
return e.filter((e) => e.id !== "select" && (e.required || (typeof i[e.id] == "boolean" ? i[e.id] === !0 : e.visible))).map((e) => {
let t = r[e.id], n = typeof t == "number" && Number.isFinite(t) && !(e.flex && t === e.width);
return {
@@ -60886,33 +61116,33 @@ function NJ(e, t, n) {
});
}
// src/react/library-processing/completion-row.ts
-var PJ = "peach.catalog.completion-row";
-function FJ() {
+var KJ = "peach.catalog.completion-row";
+function qJ() {
try {
- return localStorage.getItem(PJ) === "1";
+ return localStorage.getItem(KJ) === "1";
} catch {
return !1;
}
}
function Uwe(e) {
try {
- e ? localStorage.setItem(PJ, "1") : localStorage.removeItem(PJ);
+ e ? localStorage.setItem(KJ, "1") : localStorage.removeItem(KJ);
} catch {}
}
var Wwe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
// src/catalog-content-skeleton.ts
-function IJ(e) {
+function JJ(e) {
return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : e === "people" || e === "library" || e === "studio" ? `<span data-list-skeleton-mark="${e}"><b class="skeleton-sheen"></b><i class="skeleton-sheen"></i></span>` : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";
}
function Gwe(e) {
- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}">` + LJ(Hwe(), FJ() ? Wwe : "") + "</div>";
+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}">` + YJ(Hwe(), qJ() ? Wwe : "") + "</div>";
}
-function LJ(e, t = "") {
- let n = e.some((e) => e.width === null), r = e.reduce((e, t) => e + (t.width ?? t.min), 0), i = e.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = e.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${e.map((e) => `<td>${IJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;
+function YJ(e, t = "") {
+ let n = e.some((e) => e.width === null), r = e.reduce((e, t) => e + (t.width ?? t.min), 0), i = e.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = e.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${e.map((e) => `<td>${JJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;
return "<div data-list-skeleton aria-hidden=\"true\"><div data-list-skeleton-tools><i class=\"skeleton-sheen\"></i></div>" + t + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div>`;
}
-function RJ(e, t) {
- return aG() === "list" ? Gwe(e) : sc(e, {
+function XJ(e, t) {
+ return yG() === "list" ? Gwe(e) : sc(e, {
variant: "cards",
className: "catalog-skeleton postercard-skeleton",
cardRatio: t
@@ -60922,7 +61152,7 @@ function RJ(e, t) {
var Kwe = () => {
document.documentElement.dataset.columnResizing = "";
};
-function zJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
+function ZJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
let i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
let e = i.current?.querySelector(".overflow-x-auto") ?? null;
@@ -60936,9 +61166,9 @@ function zJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && iK(e, r) && n(r.dataset.key);
+ r && gK(e, r) && n(r.dataset.key);
} : void 0,
- children: r ? /* @__PURE__ */ (0, I.jsx)(khe, {
+ children: r ? /* @__PURE__ */ (0, I.jsx)(Ohe, {
className: "relative min-w-0",
onResizeStart: Kwe,
onResize: r.resize,
@@ -60949,144 +61179,8 @@ function zJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
}) : e
});
}
-// src/react/components/select.tsx
-function BJ({ prefix: e, renderValue: t, size: n, ...r }) {
- if (e == null) return /* @__PURE__ */ (0, I.jsx)(RU, {
- ...r,
- size: n,
- renderValue: t
- });
- let i = n === "sm" ? "me-0.5" : "me-0.75", a = (n) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
- "aria-hidden": !0,
- className: `shrink-0 text-text-tertiary ${i}`,
- children: e
- }), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });
- return /* @__PURE__ */ (0, I.jsx)(RU, {
- ...r,
- size: n,
- renderValue: a
- });
-}
-// src/react/components/table-pagination.tsx
-function VJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
- return t <= 1 ? null : /* @__PURE__ */ (0, I.jsxs)("nav", {
- "aria-label": r,
- "data-pagination-layout": "",
- className: "inline-grid min-w-0 max-w-full items-center gap-2",
- children: [
- /* @__PURE__ */ (0, I.jsx)(J, {
- variant: "secondary",
- size: "small",
- disabled: e <= 1,
- onClick: () => n(e - 1),
- children: "上一页"
- }),
- /* @__PURE__ */ (0, I.jsx)("ul", {
- className: "flex min-w-0 flex-wrap items-center justify-center gap-1",
- children: hr(e, t).map((t, r) => /* @__PURE__ */ (0, I.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, I.jsx)("span", {
- "aria-hidden": !0,
- className: "px-1 text-body-2-regular text-text-tertiary",
- children: "…"
- }) : /* @__PURE__ */ (0, I.jsx)(J, {
- variant: t === e ? "secondary" : "ghost",
- size: "small",
- "aria-label": `第 ${t} 页`,
- "aria-current": t === e ? "page" : void 0,
- onClick: () => n(Number(t)),
- children: t
- }) }, t === "…" ? `dots-${r}` : t))
- }),
- /* @__PURE__ */ (0, I.jsx)(J, {
- variant: "secondary",
- size: "small",
- disabled: e >= t,
- onClick: () => n(e + 1),
- children: "下一页"
- })
- ]
- });
-}
-// src/react/components/table-controls.tsx
-function HJ({ label: e, options: t, sorting: n, onChange: r }) {
- let i = n[0];
- return /* @__PURE__ */ (0, I.jsxs)("span", {
- className: "flex flex-none items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsxs)(BJ, {
- "aria-label": `${e}排序`,
- prefix: "排序",
- selectedKey: i?.id ?? "default",
- onSelectionChange: (e) => {
- e !== null && r(e === "default" ? [] : [{
- id: String(e),
- desc: i?.desc ?? !1
- }]);
- },
- children: [/* @__PURE__ */ (0, I.jsx)(zU, {
- id: "default",
- children: "默认顺序"
- }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(zU, {
- id: e.id,
- children: e.label
- }, e.id))]
- }), /* @__PURE__ */ (0, I.jsx)(J, {
- variant: "secondary",
- iconOnly: !0,
- disabled: !i,
- leadingIcon: lG,
- "data-icon-state": i?.desc ? "b" : "a",
- "aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,
- onClick: () => {
- i && r([{
- ...i,
- desc: !i.desc
- }]);
- }
- })]
- });
-}
-function UJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [
- 10,
- 20,
- 50,
- 100
-] }) {
- let s = Math.max(1, Math.ceil(t / n.pageSize)), c = Math.min(n.pageIndex, s - 1), l = t ? c * n.pageSize + 1 : 0, u = Math.min((c + 1) * n.pageSize, t);
- return /* @__PURE__ */ (0, I.jsxs)("div", {
- "data-table-pagination": !0,
- className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, I.jsx)("span", {
- className: "mr-auto text-body-2-regular tabular-nums text-text-secondary",
- children: `${l.toLocaleString()}–${u.toLocaleString()} / ${t.toLocaleString()} ${i}`
- }), /* @__PURE__ */ (0, I.jsxs)("div", {
- "data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(BJ, {
- "aria-label": "每页显示数量",
- size: "sm",
- selectedKey: String(n.pageSize),
- onSelectionChange: (e) => {
- e !== null && r({
- pageIndex: 0,
- pageSize: Number(e)
- });
- },
- children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(zU, {
- id: String(e),
- children: `每页 ${e} ${a}`
- }, e))
- }), /* @__PURE__ */ (0, I.jsx)(VJ, {
- label: `${e}分页`,
- page: c + 1,
- pages: s,
- onPage: (e) => r({
- ...n,
- pageIndex: e - 1
- })
- })]
- })]
- });
-}
// src/react/components/table-column-preferences.ts
-function WJ(e) {
+function QJ(e) {
try {
let t = JSON.parse(localStorage.getItem(e) || "{}");
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
@@ -61094,7 +61188,7 @@ function WJ(e) {
return {};
}
}
-function GJ(e, t) {
+function $J(e, t) {
try {
localStorage.setItem(e, JSON.stringify(t));
} catch {}
@@ -61104,7 +61198,7 @@ function qwe(e, t) {
let r = e[t];
return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];
})), [r, i] = (0, F.useState)(() => {
- let r = WJ(e);
+ let r = QJ(e);
for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];
return n(r);
});
@@ -61121,7 +61215,7 @@ function qwe(e, t) {
...r,
...Object.fromEntries(t)
});
- i(a), GJ(e, a);
+ i(a), $J(e, a);
},
reset: () => {
i(n({}));
@@ -61135,16 +61229,16 @@ function Jwe(e, t, n, r = {}) {
let i = (e) => ({
...r,
...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))
- }), [a, o] = (0, F.useState)(() => i(WJ(e)));
+ }), [a, o] = (0, F.useState)(() => i(QJ(e)));
return {
visibility: a,
change: (t) => {
let n = i(typeof t == "function" ? t(a) : t);
- o(n), GJ(e, n);
+ o(n), $J(e, n);
}
};
}
-function KJ(e, t, n) {
+function eY(e, t, n) {
let r = (0, F.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {
width: e.width ?? 180,
min: e.min ?? 96,
@@ -61170,14 +61264,14 @@ function KJ(e, t, n) {
}
// src/react/catalog-grid/catalog-column-widths.ts
function Ywe() {
- return KJ("catalog", jJ, {
- widths: kJ,
- visibility: AJ
+ return eY("catalog", UJ, {
+ widths: VJ,
+ visibility: HJ
});
}
// src/react/components/rating-stars.tsx
-var qJ = cV("star");
-function JJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
+var tY = cV("star");
+function nY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
let i = Math.max(0, Math.min(5, e)), a = Math.round(i);
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-rating-stars": "",
@@ -61200,16 +61294,16 @@ function JJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
onClick: () => {
n || t(e);
},
- children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Hs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(qJ, {})
+ children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Hs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(tY, {})
}, e) : /* @__PURE__ */ (0, I.jsx)("span", {
"data-rate": e,
"data-on": String(i >= e),
children: /* @__PURE__ */ (0, I.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, I.jsx)(qJ, {}), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(tY, {}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-rating-fill": "",
style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },
- children: /* @__PURE__ */ (0, I.jsx)(qJ, {})
+ children: /* @__PURE__ */ (0, I.jsx)(tY, {})
})]
})
}, e))
@@ -61230,7 +61324,7 @@ function Xwe({ item: e, actions: t }) {
role: "group",
"aria-label": o,
title: o,
- children: [/* @__PURE__ */ (0, I.jsx)(JJ, {
+ children: [/* @__PURE__ */ (0, I.jsx)(nY, {
value: a,
onRate: c,
busyStar: r.busy ? Number(r.busy) : void 0
@@ -61247,7 +61341,7 @@ function Xwe({ item: e, actions: t }) {
}) : null]
});
}
-function YJ(e) {
+function rY(e) {
if (e == null || e === "") return "—";
let t = String(e);
if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;
@@ -61262,7 +61356,7 @@ function YJ(e) {
});
}
// src/react/components/selection-actions.tsx
-function XJ({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
+function iY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-selection-actions": "",
"data-action-layout": t,
@@ -61286,8 +61380,8 @@ function XJ({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
});
}
// src/react/components/selection-popover.tsx
-function ZJ({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {
- let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(XJ, {
+function aY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {
+ let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(iY, {
actions: a,
layout: o,
onNavigate: () => u(!1)
@@ -61330,13 +61424,13 @@ function ZJ({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,
})] });
}
// src/react/components/table-column-controls.tsx
-function QJ({ preferences: e, label: t = "表格" }) {
+function oY({ preferences: e, label: t = "表格" }) {
let n = e.columns.filter((e) => !e.required);
return /* @__PURE__ */ (0, I.jsxs)("div", {
role: "group",
"aria-label": `${t}列设置`,
className: "flex flex-none gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(ZJ, {
+ children: [/* @__PURE__ */ (0, I.jsx)(aY, {
label: `${t}显示列`,
triggerLabel: "显示列",
actionLayout: "fullWidth",
@@ -61364,20 +61458,20 @@ function QJ({ preferences: e, label: t = "表格" }) {
})]
});
}
-function $J({ preferences: e, id: t }) {
+function sY({ preferences: e, id: t }) {
let n = e.columns.find((e) => e.id === t);
- return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(Bhe, { "aria-label": `调整${n.label}列宽` }) : null;
+ return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(zhe, { "aria-label": `调整${n.label}列宽` }) : null;
}
// src/react/components/table-selection-header.tsx
-function eY(e, t) {
+function cY(e, t) {
let n = (t ? e.getPaginatedRowModel() : e.getFilteredRowModel()).flatRows.filter((e) => e.getCanSelect()), r = n.filter((e) => e.getIsSelected()).length;
return {
all: n.length > 0 && r === n.length,
some: r > 0 && r < n.length
};
}
-function tY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
- let { all: i, some: a } = eY(e, n);
+function lY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
+ let { all: i, some: a } = cY(e, n);
return /* @__PURE__ */ (0, I.jsx)(PV, {
slot: null,
"aria-label": t,
@@ -61385,18 +61479,18 @@ function tY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
isSelected: i,
isIndeterminate: a,
onChange: () => {
- let t = !eY(e, n).all;
+ let t = !cY(e, n).all;
n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);
}
});
}
// src/react/catalog-grid/catalog-list-page.tsx
-var Zwe = Oq({
- rowSortingFeature: EJ,
- rowSelectionFeature: pJ,
- rowPaginationFeature: Kq,
- columnVisibilityFeature: Iq
-}), nY = jJ.map((e) => e.id), Qwe = [
+var Zwe = Bq({
+ rowSortingFeature: RJ,
+ rowSelectionFeature: TJ,
+ rowPaginationFeature: iJ,
+ columnVisibilityFeature: Jq
+}), uY = UJ.map((e) => e.id), Qwe = [
{
id: "name",
label: "名称"
@@ -61433,12 +61527,12 @@ var Zwe = Oq({
id: "played",
label: "观看时间"
}
-], rY = /* @__PURE__ */ new Map();
+], dY = /* @__PURE__ */ new Map();
function $we(e) {
- let t = Ywe(), n = rK(), r = eP(e.filters || {}, !1), [i] = (0, F.useState)(() => {
+ let t = Ywe(), n = hK(), r = eP(e.filters || {}, !1), [i] = (0, F.useState)(() => {
let t = new URLSearchParams(r);
return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;
- }), [a, o] = (0, F.useState)(() => rY.get(i) || {
+ }), [a, o] = (0, F.useState)(() => dY.get(i) || {
sorting: [],
pagination: {
pageIndex: 0,
@@ -61446,7 +61540,7 @@ function $we(e) {
}
}), { sorting: s, pagination: c } = a;
(0, F.useEffect)(() => {
- rY.set(i, a);
+ dY.set(i, a);
}, [i, a]);
let l = c.pageIndex * c.pageSize, u = s[0], d = Ft({
queryKey: [
@@ -61477,7 +61571,7 @@ function $we(e) {
libraryEmpty: (await B("/api/items?limit=1&thumb=0", t)).total === 0
};
}
- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : MK(f, e.layout.javImage), [h] = (0, F.useState)(FJ);
+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : WK(f, e.layout.javImage), [h] = (0, F.useState)(qJ);
(0, F.useEffect)(() => {
d.data && !d.isPlaceholderData && Uwe(m.length > 0);
}, [
@@ -61511,14 +61605,14 @@ function $we(e) {
p,
c.pageIndex
]);
- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = DJ({
+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = zJ({
features: Zwe,
columns: (0, F.useMemo)(() => {
- let t = Dq();
+ let t = zq();
return t.columns([
t.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(tY, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(lY, {
table: e,
label: "全选本页作品",
disabled: d.isPlaceholderData
@@ -61626,13 +61720,13 @@ function $we(e) {
id: "played",
header: "观看时间",
enableSorting: !0,
- cell: ({ row: e }) => YJ(e.original.last_played)
+ cell: ({ row: e }) => rY(e.original.last_played)
}),
t.accessor((e) => e.first_seen, {
id: "new",
header: "入库时间",
enableSorting: !0,
- cell: ({ row: e }) => YJ(e.original.first_seen)
+ cell: ({ row: e }) => rY(e.original.first_seen)
}),
t.accessor((e) => e.release_date, {
id: "release",
@@ -61640,7 +61734,7 @@ function $we(e) {
enableSorting: !0,
cell: ({ row: e }) => e.original.release_date || "—"
})
- ]).sort((e, t) => nY.indexOf(e.id) - nY.indexOf(t.id));
+ ]).sort((e, t) => uY.indexOf(e.id) - uY.indexOf(t.id));
}, [
e.helpers,
e.actions,
@@ -61703,7 +61797,7 @@ function $we(e) {
"aria-label": "作品列表工具栏",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(QJ, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(HJ, {
+ children: [/* @__PURE__ */ (0, I.jsx)(oY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)($U, {
label: "作品列表",
options: Qwe,
sorting: s,
@@ -61715,21 +61809,21 @@ function $we(e) {
"data-completion-skeleton": "",
"aria-hidden": "true",
className: "skeleton-sheen"
- }) : null : /* @__PURE__ */ (0, I.jsx)(NK, {
+ }) : null : /* @__PURE__ */ (0, I.jsx)(GK, {
className: "",
assetIds: m
}),
- d.isError ? /* @__PURE__ */ (0, I.jsx)(RG, {
+ d.isError ? /* @__PURE__ */ (0, I.jsx)(XG, {
message: xn(d.error),
onRetry: () => void d.refetch()
}) : null,
- /* @__PURE__ */ (0, I.jsx)(zJ, {
+ /* @__PURE__ */ (0, I.jsx)(ZJ, {
follow: !0,
preferences: t,
onRowClick: e.selectMode ? (t) => {
d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);
} : void 0,
- children: /* @__PURE__ */ (0, I.jsxs)(OJ, {
+ children: /* @__PURE__ */ (0, I.jsxs)(BJ, {
"aria-label": "作品列表",
size: "sm",
sortDescriptor: u ? {
@@ -61747,12 +61841,12 @@ function $we(e) {
...t.columnProps(e.id),
children: ({ sortDirection: n }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [PK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [KK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": n || void 0,
children: /* @__PURE__ */ (0, I.jsx)(wV, {})
}) : null]
- }), /* @__PURE__ */ (0, I.jsx)($J, {
+ }), /* @__PURE__ */ (0, I.jsx)(sY, {
preferences: t,
id: e.id
})] })
@@ -61768,7 +61862,7 @@ function $we(e) {
id: `skeleton-${t}`,
"data-list-skeleton-row": "",
"aria-hidden": "true",
- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(iB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: IJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(iB, { "data-table-space": "" })]
+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(iB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: JJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(iB, { "data-table-space": "" })]
}, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(nB, {
id: e.id,
"data-catalog-row": "",
@@ -61776,12 +61870,12 @@ function $we(e) {
"data-guide-video": (!e.original.medium || e.original.medium === "video") && e.original.location !== "online" && !String(e.original.name || "").toLowerCase().endsWith(".iso") ? "" : void 0,
"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,
"data-board-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(iB, { children: PK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(iB, { "data-table-space": "" })]
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(iB, { children: KK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(iB, { "data-table-space": "" })]
}, e.id))
})]
})
}),
- d.data ? /* @__PURE__ */ (0, I.jsx)(UJ, {
+ d.data ? /* @__PURE__ */ (0, I.jsx)(eW, {
label: "作品列表",
total: p,
pagination: c,
@@ -61814,7 +61908,7 @@ function eTe({ item: e, props: t, disabled: n }) {
children: /* @__PURE__ */ (0, I.jsxs)("span", {
"data-list-picture": "",
children: [
- r.html ? /* @__PURE__ */ (0, I.jsx)(HU, {
+ r.html ? /* @__PURE__ */ (0, I.jsx)(tW, {
artwork: r,
relayout: (e) => Ol(e, "small")
}) : /* @__PURE__ */ (0, I.jsx)("span", { children: "无预览" }),
@@ -61867,16 +61961,16 @@ function eTe({ item: e, props: t, disabled: n }) {
});
}
function tTe({ item: e }) {
- let t = rK({ names: !0 }), n = e.library_id ? t.get(e.library_id) : void 0;
+ let t = hK({ names: !0 }), n = e.library_id ? t.get(e.library_id) : void 0;
return n?.name ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-list-library": "",
title: `媒体库:${n.name}`,
- children: [/* @__PURE__ */ (0, I.jsx)(FH, { mark: n.icon }), /* @__PURE__ */ (0, I.jsx)("span", { children: n.name })]
+ children: [/* @__PURE__ */ (0, I.jsx)(IH, { mark: n.icon }), /* @__PURE__ */ (0, I.jsx)("span", { children: n.name })]
}) : "—";
}
function nTe({ item: e, props: t }) {
$I();
- let { avatar: n, who: r } = dK(e);
+ let { avatar: n, who: r } = CK(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-list-people": "",
onClick: (e) => {
@@ -61888,8 +61982,8 @@ function nTe({ item: e, props: t }) {
});
}
// src/react/catalog-grid/catalog-grid-page.tsx
-function iY(e) {
- let t = oG();
+function fY(e) {
+ let t = bG();
if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(iTe, { ...e });
let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${eP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)($we, { ...e }, n);
@@ -61903,7 +61997,7 @@ function rTe({ name: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function aY({ children: e, selectMode: t }) {
+function pY({ children: e, selectMode: t }) {
let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = n.current;
@@ -61920,7 +62014,7 @@ function aY({ children: e, selectMode: t }) {
});
}
function iTe(e) {
- let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(pK, {
+ let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(TK, {
item: i,
variant: r,
layout: e.layout,
@@ -61934,7 +62028,7 @@ function iTe(e) {
return r === "next" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-next-row": "",
children: i
- }) : /* @__PURE__ */ (0, I.jsx)(aY, {
+ }) : /* @__PURE__ */ (0, I.jsx)(pY, {
selectMode: e.selectMode,
children: i
});
@@ -61976,7 +62070,7 @@ function aTe(e) {
e.mix,
a,
r.javImage
- ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || xbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && gbe(e.item) ? [e.item] : []), y = a ? [] : MK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = oTe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);
+ ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || xbe(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && gbe(e.item) ? [e.item] : []), y = a ? [] : WK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = oTe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);
(0, F.useLayoutEffect)(() => {
if (!u.data || u.isPlaceholderData) return;
let t = !0;
@@ -62009,7 +62103,7 @@ function aTe(e) {
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(pK, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(TK, {
item: i.item,
grouped: e.groupCollapse !== !1,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
@@ -62045,7 +62139,7 @@ function aTe(e) {
javImage: r.javImage
}, g ? "finite" : "explore");
if (u.isPending) return null;
- if (!u.data) return /* @__PURE__ */ (0, I.jsx)(RG, {
+ if (!u.data) return /* @__PURE__ */ (0, I.jsx)(XG, {
message: xn(u.error),
onRetry: () => void u.refetch()
});
@@ -62062,12 +62156,12 @@ function aTe(e) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: cde(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(aY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(sTe, {
+ children: cde(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(pY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(sTe, {
cut: t.strip,
props: e,
onOpen: T
}) : null] }, t.start))
- }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(oY, {
+ }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(mY, {
entity: i,
load: E,
enabled: () => !u.isPlaceholderData && e.canLoadMore?.() !== !1
@@ -62077,14 +62171,14 @@ function aTe(e) {
ref: b,
"data-media-body": "",
"aria-busy": u.isFetching && !u.isFetchingNextPage,
- children: [/* @__PURE__ */ (0, I.jsx)(NK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(zG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(GK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(ZG, {
pending: u.isPending,
skeletonHtml: e.skeletonHtml,
children: O()
})]
});
}
-function oY({ entity: e, load: t, enabled: n, children: r }) {
+function mY({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(!1), s = (0, F.useRef)(!1), [c, l] = (0, F.useState)({
busy: !1,
error: ""
@@ -62126,7 +62220,7 @@ function oY({ entity: e, load: t, enabled: n, children: r }) {
if (!e) return;
let t = new IntersectionObserver((e) => {
e.some((e) => e.isIntersecting) && d(!1);
- }, { rootMargin: LG });
+ }, { rootMargin: YG });
return a.current = t, t.observe(e), () => {
t.disconnect(), a.current = null;
};
@@ -62149,7 +62243,7 @@ function oY({ entity: e, load: t, enabled: n, children: r }) {
hidden: !!c.error,
onClick: () => void d(!0),
dangerouslySetInnerHTML: { __html: Ws(Us) }
- }), c.error ? /* @__PURE__ */ (0, I.jsx)(RG, {
+ }), c.error ? /* @__PURE__ */ (0, I.jsx)(XG, {
message: c.error,
onRetry: () => void d(!0)
}) : null] });
@@ -62240,7 +62334,7 @@ function sTe({ cut: e, props: t, onOpen: n }) {
] }), /* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(pK, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(TK, {
item: e,
variant: "short",
layout: t.layout,
@@ -62255,7 +62349,7 @@ function sTe({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function sY(e, t, n) {
+function hY(e, t, n) {
return Do(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
function cTe({ seed: e, layout: t, helpers: n, actions: r }) {
@@ -62263,9 +62357,9 @@ function cTe({ seed: e, layout: t, helpers: n, actions: r }) {
a.current = t;
let o = No(e, n.tagLabel), s = (0, F.useCallback)(async () => {
let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => iP(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), sY(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = sY(e, t, !1);
- return /* @__PURE__ */ (0, I.jsx)(_K, {
+ return i.current = new Map(n.map((e) => [String(e.id), hY(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = hY(e, t, !1);
+ return /* @__PURE__ */ (0, I.jsx)(kK, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -62275,12 +62369,12 @@ function cTe({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : sY(e, {
+ artworkIdentity: c === "small" ? l.html : hY(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => Ol(e, c),
- ratio: uK(e, "grid", t),
+ ratio: SK(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -62291,16 +62385,16 @@ function cTe({ seed: e, layout: t, helpers: n, actions: r }) {
});
}
// src/react/media-sources.ts
-async function cY(e) {
+async function gY(e) {
await H.fetchQuery({
queryKey: yr,
queryFn: () => br(e)
});
}
-var lTe = (e) => (e?.sources ?? []).filter((e) => vn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), uTe = "/api/duplicates?limit=120", lY = ["duplicates"], uY = "/api/batch", dTe = (e, t) => V(uY, {
+var lTe = (e) => (e?.sources ?? []).filter((e) => vn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), uTe = "/api/duplicates?limit=120", _Y = ["duplicates"], vY = "/api/batch", dTe = (e, t) => V(vY, {
ids: e,
operation: t ? "keep-duplicates" : "reconsider-duplicates"
-}), dY = (e) => B(uTe, e), fTe = /[\s\-_.()[\]【】/\\]/;
+}), yY = (e) => B(uTe, e), fTe = /[\s\-_.()[\]【】/\\]/;
function pTe(e) {
if (e.length < 2) return "";
let t = 0, n = e[0];
@@ -62313,9 +62407,9 @@ function pTe(e) {
var mTe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
async function hTe(e) {
await Promise.all([H.fetchQuery({
- queryKey: lY,
- queryFn: () => dY(e)
- }), cY(e)]);
+ queryKey: _Y,
+ queryFn: () => yY(e)
+ }), gY(e)]);
}
var gTe = {
largest: "最大的一个",
@@ -62323,7 +62417,7 @@ var gTe = {
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, _Te = (e, t) => t.filter((t) => e.some((e) => e.location === t)), fY = (e, t) => _Te(e, t).filter((t) => e.some((e) => e.location !== t)), vTe = (e, t) => t.filter((t) => e.some((e) => fY(e.files, [t]).length));
+}, _Te = (e, t) => t.filter((t) => e.some((e) => e.location === t)), bY = (e, t) => _Te(e, t).filter((t) => e.some((e) => e.location !== t)), vTe = (e, t) => t.filter((t) => e.some((e) => bY(e.files, [t]).length));
function yTe(e, t) {
let n = [];
for (let r of e) {
@@ -62348,14 +62442,14 @@ function bTe(e, t) {
return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);
}
async function xTe(e, t) {
- for (let n = 0; n < e.length; n += 200) await V(uY, {
+ for (let n = 0; n < e.length; n += 200) await V(vY, {
ids: e.slice(n, n + 200),
operation: t,
...t === "dispose" ? { disposal_reason: "duplicate" } : {}
});
}
// src/react/media-repair/media-repair.ts
-var pY = "/api/media-repair", mY = ["media-repair"], hY = ["media-repair", "libraries"], STe = {
+var xY = "/api/media-repair", SY = ["media-repair"], CY = ["media-repair", "libraries"], STe = {
status: "idle",
library: "",
stage: "",
@@ -62367,39 +62461,39 @@ var pY = "/api/media-repair", mY = ["media-repair"], hY = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, gY = (e) => B(pY, e), _Y = async (e) => (await B("/api/libraries", e)).libraries || [];
+}, wY = (e) => B(xY, e), TY = async (e) => (await B("/api/libraries", e)).libraries || [];
async function CTe(e) {
await Promise.all([H.fetchQuery({
- queryKey: mY,
- queryFn: () => gY(e)
+ queryKey: SY,
+ queryFn: () => wY(e)
}), H.fetchQuery({
- queryKey: hY,
- queryFn: () => _Y(e)
+ queryKey: CY,
+ queryFn: () => TY(e)
})]);
}
-var vY = (e) => Number(e).toLocaleString();
+var EY = (e) => Number(e).toLocaleString();
function wTe(e) {
if (e.status === "running") {
- let t = e.total ? `${vY(Math.min(e.checked || 0, e.total))} / ${vY(e.total)}` : "准备中";
+ let t = e.total ? `${EY(Math.min(e.checked || 0, e.total))} / ${EY(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${vY(e.repaired)} 部,${vY(e.failed)} 部修不了` : `修好 ${vY(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${EY(e.repaired)} 部,${EY(e.failed)} 部修不了` : `修好 ${EY(e.repaired)} 部` : "";
}
-var TTe = (e) => `${vY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, ETe = "/api/quality-goals?limit=200", yY = ["quality-goals"], bY = (e) => B(ETe, e);
+var TTe = (e) => `${EY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, ETe = "/api/quality-goals?limit=200", DY = ["quality-goals"], OY = (e) => B(ETe, e);
async function DTe(e) {
await H.fetchQuery({
- queryKey: yY,
- queryFn: () => bY(e)
+ queryKey: DY,
+ queryFn: () => OY(e)
});
}
var OTe = (e) => e.has_cover ? uo(e) : `/poster?id=${e.id}&c=4`;
// src/selection.ts
-function xY(e, t, n, r, i, a = i || !e.has(r)) {
+function kY(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;
}
// src/react/review/review.ts
-var kTe = "/api/review", ATe = "/api/review/decision", jTe = "/api/review/genre", SY = ["review"], CY = {
+var kTe = "/api/review", ATe = "/api/review/decision", jTe = "/api/review/genre", AY = ["review"], jY = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -62409,14 +62503,14 @@ var kTe = "/api/review", ATe = "/api/review/decision", jTe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, MTe = Object.keys(CY), NTe = "metadata_fields", wY = (e) => typeof e == "string" && Object.hasOwn(CY, e), PTe = {
+}, MTe = Object.keys(jY), NTe = "metadata_fields", MY = (e) => typeof e == "string" && Object.hasOwn(jY, e), PTe = {
creator_tags: "creator",
western_identity: "creator"
-}, TY = [
+}, NY = [
"pending",
"later",
"ignored"
-], EY = {
+], PY = {
pending: "待处理",
later: "稍后处理",
ignored: "已忽略"
@@ -62424,14 +62518,14 @@ var kTe = "/api/review", ATe = "/api/review/decision", jTe = "/api/review/genre"
approved: "已通过",
rejected: "已忽略",
skipped: "稍后处理"
-}, DY = (e) => e === "later" || e === "ignored" ? e : "pending", OY = (e, t) => t === "pending" ? {
+}, FY = (e) => e === "later" || e === "ignored" ? e : "pending", IY = (e, t) => t === "pending" ? {
sections: e.sections,
counts: e.counts
} : e.queues[t];
function ITe(e, t) {
return {
...e,
- ...t(OY(e, "pending")),
+ ...t(IY(e, "pending")),
queues: {
later: t(e.queues.later),
ignored: t(e.queues.ignored)
@@ -62442,7 +62536,7 @@ function LTe(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 kY(e, t) {
+function LY(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -62460,31 +62554,31 @@ function kY(e, t) {
return [...n.values()];
}
function RTe(e, t, n) {
- return n && kY(e, t).find((e) => e.key === n)?.rows || e;
+ return n && LY(e, t).find((e) => e.key === n)?.rows || e;
}
-function zTe(e, t) {
- let n = gr(e.length, 20), r = _r(t, n);
+function zTe(e, t, n = 20) {
+ let r = gr(e.length, n), i = _r(t, r);
return {
- page: r,
- pages: n,
- rows: e.slice((r - 1) * 20, r * 20)
+ page: i,
+ pages: r,
+ rows: e.slice((i - 1) * n, i * n)
};
}
function BTe(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 VTe(e, t, n, r, i, a) {
- return xY(e, t, n, r, i, a);
+ return kY(e, t, n, r, i, a);
}
function HTe(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function AY(e, t) {
+function RY(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var jY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+var zY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
function UTe(e, t) {
- let n = AY(e, t), r = jY(e, t);
+ let n = RY(e, t), r = zY(e, t);
return r ? `${n} · ${r}` : n;
}
var WTe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", GTe = (e) => String(e.tags || "").split("|").filter(Boolean), KTe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
@@ -62517,16 +62611,16 @@ var YTe = (e) => ({
skipped: "已移至稍后处理",
restore: "已恢复待处理"
})[e];
-async function MY(e) {
+async function BY(e) {
let t = await B(kTe, e);
- for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${EY[e]}状态未取得,请刷新或更新写入端`);
+ for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${PY[e]}状态未取得,请刷新或更新写入端`);
return t;
}
async function XTe(e) {
let t = await V(ATe, e);
if (t.ok && t.asset_revisions) {
let e = t.asset_revisions;
- H.setQueryData(SY, (t) => t && ITe(t, (t) => ({
+ H.setQueryData(AY, (t) => t && ITe(t, (t) => ({
...t,
sections: {
...t.sections,
@@ -62543,8 +62637,8 @@ async function XTe(e) {
return t;
}
function ZTe(e, t) {
- let n = H.getQueryData(SY);
- return n && TY.flatMap((t) => OY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;
+ let n = H.getQueryData(AY);
+ return n && NY.flatMap((t) => IY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;
}
var QTe = (e, t) => V(jTe, {
genre: e,
@@ -62552,23 +62646,23 @@ var QTe = (e, t) => V(jTe, {
});
async function $Te(e) {
await H.fetchQuery({
- queryKey: SY,
- queryFn: () => MY(e)
+ queryKey: AY,
+ queryFn: () => BY(e)
});
}
function eEe(e, t, n) {
let r = new Set(t);
- r.size && H.setQueryData(SY, (t) => {
+ r.size && H.setQueryData(AY, (t) => {
if (!t) return t;
- let i = TY.flatMap((n) => OY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));
+ let i = NY.flatMap((n) => IY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));
if (!i.length) return t;
let a = {
skipped: "later",
rejected: "ignored",
restore: "pending",
approved: null
- }[n], o = Object.fromEntries(TY.map((o) => {
- let s = OY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({
+ }[n], o = Object.fromEntries(NY.map((o) => {
+ let s = IY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({
...e,
decision: n === "restore" ? "pending" : n,
decision_note: ""
@@ -62596,69 +62690,69 @@ function eEe(e, t, n) {
});
}
var tEe = () => H.invalidateQueries({
- queryKey: SY,
+ queryKey: AY,
exact: !0
});
function nEe(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Cr(e.fetched_at)} 的缓存` : e?.error || t;
}
// src/react/data-cleanup/links.ts
-var rEe = "/api/links", NY = "/api/links/check", PY = "/api/links/prune", FY = ["links"], IY = ["links", "check"], LY = ["links", "prune"], iEe = {
+var rEe = "/api/links", VY = "/api/links/check", HY = "/api/links/prune", UY = ["links"], WY = ["links", "check"], iEe = ["links", "prune"], aEe = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function RY(e) {
+async function GY(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var zY = (e) => B(rEe, e), BY = (e) => V(NY, { status_only: !0 }, "POST", e), aEe = ({ retry: e, checkId: t }) => RY(V(NY, e ? {
+var KY = (e) => B(rEe, e), qY = (e) => V(VY, { status_only: !0 }, "POST", e), oEe = ({ retry: e, checkId: t }) => GY(V(VY, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), VY = (e) => B(PY, e), oEe = ({ checkId: e, ids: t }) => RY(V(PY, {
+} : { restart: !0 })), JY = (e) => B(HY, e), sEe = ({ checkId: e, ids: t }) => GY(V(HY, {
confirm: !0,
check_id: e,
background: !0,
...t ? { ids: t } : {}
-})), HY = (e) => Number(e || 0).toLocaleString(), sEe = (e) => `已删除 ${HY(e.removed)} 条;${e.marked ? `已隐退女优的 ${HY(e.marked)} 条留作不可点的记录;` : ""}保留 ${HY(e.recovered)} 条未确认失效的链接。`;
-function cEe(e) {
+})), YY = (e) => Number(e || 0).toLocaleString(), cEe = (e) => `已删除 ${YY(e.removed)} 条;${e.marked ? `已隐退女优的 ${YY(e.marked)} 条留作不可点的记录;` : ""}保留 ${YY(e.recovered)} 条未确认失效的链接。`;
+function lEe(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${HY(e.checked)} / ${HY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${YY(e.checked)} / ${YY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
// src/configuration-endpoints.ts
-var UY = "/api/configuration", lEe = "/api/pick-folder", WY = "/api/settings", GY = "/api/follow/schedule", KY = "/api/feeds/schedule", qY = "/api/thumbnail-jobs", JY = ["settings"], YY = ["follow-schedule"], XY = ["feed-schedule"], ZY = ["thumbnail-jobs"], QY = "/api/media-processing", uEe = ["media-processing"], dEe = (e) => B(QY, e), $Y = (e) => B(WY, e), fEe = (e) => B(GY, e), pEe = (e) => B(KY, e), mEe = (e) => B(qY, e);
+var XY = "/api/configuration", ZY = "/api/pick-folder", QY = "/api/settings", $Y = "/api/follow/schedule", eX = "/api/feeds/schedule", tX = "/api/thumbnail-jobs", nX = ["settings"], rX = ["follow-schedule"], iX = ["feed-schedule"], aX = ["thumbnail-jobs"], oX = "/api/media-processing", uEe = ["media-processing"], dEe = (e) => B(oX, e), sX = (e) => B(QY, e), fEe = (e) => B($Y, e), pEe = (e) => B(eX, e), mEe = (e) => B(tX, e);
function hEe(e = H) {
return e.fetchQuery({
- queryKey: JY,
- queryFn: ({ signal: e }) => $Y(e),
+ queryKey: nX,
+ queryFn: ({ signal: e }) => sX(e),
staleTime: 0
}).catch(() => null);
}
-function eX() {
+function cX() {
return It({
- mutationFn: (e) => V(WY, e),
- onSuccess: (e) => H.setQueryData(JY, e)
+ mutationFn: (e) => V(QY, e),
+ onSuccess: (e) => H.setQueryData(nX, e)
});
}
function gEe() {
return It({
- mutationFn: (e) => V(GY, {
+ mutationFn: (e) => V($Y, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => H.setQueryData(YY, e)
+ onSuccess: (e) => H.setQueryData(rX, e)
});
}
var _Ee = {
follow: {
- url: `${GY}/run`,
- key: YY
+ url: `${$Y}/run`,
+ key: rX
},
feed: {
- url: `${KY}/run`,
- key: XY
+ url: `${eX}/run`,
+ key: iX
}
};
function vEe(e) {
@@ -62671,32 +62765,32 @@ function vEe(e) {
var yEe = (e) => e?.running ? 3e3 : !1;
function bEe() {
return It({
- mutationFn: (e) => V(qY, { mode: e }),
- onSuccess: (e) => H.setQueryData(ZY, e)
+ mutationFn: (e) => V(tX, { mode: e }),
+ onSuccess: (e) => H.setQueryData(aX, e)
});
}
// src/react/data-cleanup/organize.ts
-var xEe = "/api/organize", SEe = "/api/organize/preview", CEe = "/api/organize/apply", wEe = "/api/organize/rollback", tX = ["organize"], TEe = "/api/organize/example", EEe = (e, t, n) => B(`${TEe}?${new URLSearchParams({
+var xEe = "/api/organize", SEe = "/api/organize/preview", CEe = "/api/organize/apply", wEe = "/api/organize/rollback", lX = ["organize"], TEe = "/api/organize/example", EEe = (e, t, n) => B(`${TEe}?${new URLSearchParams({
file_template: e,
dir_template: t
-})}`, n), nX = (e) => B(xEe, e);
+})}`, n), uX = (e) => B(xEe, e);
async function DEe(e) {
await H.fetchQuery({
- queryKey: tX,
- queryFn: () => nX(e)
+ queryKey: lX,
+ queryFn: () => uX(e)
});
}
-var OEe = (e) => V(SEe, e), kEe = (e) => V(lEe, { initial: e }), AEe = (e) => e.kind === "apply" ? V(CEe, {
+var OEe = (e) => V(SEe, e), kEe = (e) => V(ZY, { initial: e }), AEe = (e) => e.kind === "apply" ? V(CEe, {
...e.request,
confirm: !0
}) : V(wEe, { confirm: !0 });
async function jEe(e) {
- H.setQueryData(tX, (t) => t && {
+ H.setQueryData(lX, (t) => t && {
...t,
templates: e
});
try {
- await V(WY, { organizeTemplates: e });
+ await V(QY, { organizeTemplates: e });
} catch {}
}
var MEe = (e, t) => e && {
@@ -62707,94 +62801,94 @@ function PEe(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var rX = (e) => Number(e || 0).toLocaleString();
+var dX = (e) => Number(e || 0).toLocaleString();
function FEe(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${rX(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${rX(e.counts.change)} 个文件会改名或移动,${rX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${dX(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${dX(e.counts.change)} 个文件会改名或移动,${dX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
function IEe(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${rX(r)} 个文件${n ? `,${rX(n)} 行未能退回` : ""}。` : `已整理 ${rX(r)} 个文件${n ? `,${rX(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${dX(r)} 个文件${n ? `,${dX(n)} 行未能退回` : ""}。` : `已整理 ${dX(r)} 个文件${n ? `,${dX(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
// src/react/data-cleanup/orphan-records.ts
-var LEe = "/api/orphan-records", REe = "/api/orphan-records/attach", iX = ["orphan-records"], zEe = [
+var LEe = "/api/orphan-records", REe = "/api/orphan-records/attach", fX = ["orphan-records"], zEe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], aX = (e) => B(LEe, e), BEe = (e, t) => V(REe, {
+], pX = (e) => B(LEe, e), BEe = (e, t) => V(REe, {
id: e,
target: t
-}), VEe = (e) => V(uY, {
+}), VEe = (e) => V(vY, {
ids: Array.isArray(e) ? e : [e],
operation: "delete"
}), HEe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], UEe = (e) => [...zEe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...HEe(e)].filter(Boolean).join(" · "), WEe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", GEe = (e) => [e.name, WEe(e.duration)].filter(Boolean).join(" · "), oX = "/api/resource-sync/scan", sX = "/api/resource-sync/apply", cX = ["resource-sync", "scan"], lX = ["resource-sync", "apply"], uX = (e) => V(oX, {
+], UEe = (e) => [...zEe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...HEe(e)].filter(Boolean).join(" · "), WEe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", GEe = (e) => [e.name, WEe(e.duration)].filter(Boolean).join(" · "), mX = "/api/resource-sync/scan", hX = "/api/resource-sync/apply", gX = ["resource-sync", "scan"], _X = ["resource-sync", "apply"], vX = (e) => V(mX, {
background: !0,
status_only: !0
-}, "POST", e), KEe = () => V(oX, {
+}, "POST", e), KEe = () => V(mX, {
background: !0,
restart: !0
-}), dX = (e) => B(sX, e), qEe = (e) => V(sX, {
+}), yX = (e) => B(hX, e), qEe = (e) => V(hX, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), fX = (e) => (e?.sources ?? []).some((e) => _n.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+}), bX = (e) => (e?.sources ?? []).some((e) => _n.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
async function JEe(e) {
- fX(H.getQueryData(yr)) && await Promise.all([H.fetchQuery({
- queryKey: cX,
- queryFn: () => uX(e)
+ bX(H.getQueryData(yr)) && await Promise.all([H.fetchQuery({
+ queryKey: gX,
+ queryFn: () => vX(e)
}), H.fetchQuery({
- queryKey: lX,
- queryFn: () => dX(e)
+ queryKey: _X,
+ queryFn: () => yX(e)
})]);
}
-var YEe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), pX = (e) => Number(e || 0).toLocaleString(), XEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", mX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), hX = (e) => e.vanish ? `${pX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", gX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", ZEe = (e) => `将永久删除文件已不在盘上的 ${pX(mX(e))} 条记录和 ${pX(e.empty)} 个空文件夹,并清理 ${pX(e.cache?.files)} 个闲置缓存。${gX(e)}${hX(e)}`, QEe = (e) => `将永久删除文件已不在盘上的 ${pX(mX(e))} 条记录(含回收站里的)、${pX(e.empty)} 个空文件夹,并清理 ${pX(e.cache?.files)} 个闲置缓存。来源根目录保留。${gX(e)}${hX(e)}`, $Ee = (e) => e.online ? [
- `找不到文件 · 共 ${pX(e.total)} 项`,
- e.vanish ? `${pX(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${pX(e.empty)} 个` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${pX(e.total)} 项`;
-function _X(e) {
+var YEe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), xX = (e) => Number(e || 0).toLocaleString(), XEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", SX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), CX = (e) => e.vanish ? `${xX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", wX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", ZEe = (e) => `将永久删除文件已不在盘上的 ${xX(SX(e))} 条记录和 ${xX(e.empty)} 个空文件夹,并清理 ${xX(e.cache?.files)} 个闲置缓存。${wX(e)}${CX(e)}`, QEe = (e) => `将永久删除文件已不在盘上的 ${xX(SX(e))} 条记录(含回收站里的)、${xX(e.empty)} 个空文件夹,并清理 ${xX(e.cache?.files)} 个闲置缓存。来源根目录保留。${wX(e)}${CX(e)}`, $Ee = (e) => e.online ? [
+ `找不到文件 · 共 ${xX(e.total)} 项`,
+ e.vanish ? `${xX(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${xX(e.empty)} 个` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${xX(e.total)} 项`;
+function TX(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");
return {
done: i,
left: a,
rest: [
- t.length ? `${pX(t.length)} 条记录没有删除(${o})` : "",
- n ? `${pX(n)} 个文件夹没有删除` : "",
- r.length ? `${pX(r.length)} 个缓存没有清理` : ""
+ t.length ? `${xX(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${xX(n)} 个文件夹没有删除` : "",
+ r.length ? `${xX(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
var eDe = (e, t) => {
- let { rest: n } = _X(e), r = `已永久删除 ${pX(e.purged)} 条失效记录和 ${pX(e.dirs_removed)} 个空文件夹,清理 ${pX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${pX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${pX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+ let { rest: n } = TX(e), r = `已永久删除 ${xX(e.purged)} 条失效记录和 ${xX(e.dirs_removed)} 个空文件夹,清理 ${xX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${xX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${xX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, vX = ["performer-delete-candidates"], yX = (e) => B("/api/performer/delete-candidates", e), tDe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), nDe = (e) => V("/api/performer/delete", {
+}, EX = ["performer-delete-candidates"], DX = (e) => B("/api/performer/delete-candidates", e), tDe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), nDe = (e) => V("/api/performer/delete", {
entity_ids: e.entity_ids,
plan: e.plan
-}), rDe = "/api/review?counts=1", bX = ["review", "counts"], iDe = "/api/ads?limit=1", xX = ["junk-summary"], SX = "/api/items?state=trash&limit=1", CX = ["trash-summary"], aDe = [
+}), rDe = "/api/review?counts=1", OX = ["review", "counts"], iDe = "/api/ads?limit=1", kX = ["junk-summary"], AX = "/api/items?state=trash&limit=1", jX = ["trash-summary"], aDe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], wX = (e) => B(rDe, e), TX = (e) => B(iDe, e), EX = (e) => {
+], MX = (e) => B(rDe, e), NX = (e) => B(iDe, e), PX = (e) => {
let t = sessionStorage.getItem("peach.library");
- return B(t ? `${SX}&library=${encodeURIComponent(t)}` : SX, e);
-}, DX = (e) => Number(e || 0).toLocaleString();
+ return B(t ? `${AX}&library=${encodeURIComponent(t)}` : AX, e);
+}, FX = (e) => Number(e || 0).toLocaleString();
function oDe(e) {
- let t = CY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
+ let t = jY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
@@ -62802,15 +62896,15 @@ function oDe(e) {
}
function sDe(e) {
if (!e) return "";
- let t = aDe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${DX(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${DX(e.dismissed_total)}`), t.join(" · ");
+ let t = aDe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${FX(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${FX(e.dismissed_total)}`), t.join(" · ");
}
var cDe = [
- [bX, ({ signal: e }) => wX(e)],
- [yY, ({ signal: e }) => bY(e)],
- [CX, ({ signal: e }) => EX(e)],
- [xX, ({ signal: e }) => TX(e)],
- [lY, ({ signal: e }) => dY(e)]
+ [OX, ({ signal: e }) => MX(e)],
+ [DY, ({ signal: e }) => OY(e)],
+ [jX, ({ signal: e }) => PX(e)],
+ [kX, ({ signal: e }) => NX(e)],
+ [_Y, ({ signal: e }) => yY(e)]
];
async function lDe(e) {
for (let [t, n] of cDe) H.prefetchQuery({
@@ -62828,38 +62922,38 @@ async function uDe(e, t) {
await CTe(t);
break;
case "resource-sync":
- await cY(t), await JEe(t);
+ await gY(t), await JEe(t);
break;
case "orphan-records":
await H.prefetchQuery({
- queryKey: iX,
- queryFn: () => aX(t)
+ queryKey: fX,
+ queryFn: () => pX(t)
});
break;
case "batch-delete":
await H.prefetchQuery({
- queryKey: vX,
- queryFn: () => yX(t)
+ queryKey: EX,
+ queryFn: () => DX(t)
});
break;
case "links": await Promise.all([
H.prefetchQuery({
- queryKey: FY,
- queryFn: () => zY(t)
+ queryKey: UY,
+ queryFn: () => KY(t)
}),
H.prefetchQuery({
- queryKey: IY,
- queryFn: () => BY(t)
+ queryKey: WY,
+ queryFn: () => qY(t)
}),
H.prefetchQuery({
- queryKey: LY,
- queryFn: () => VY(t)
+ queryKey: iEe,
+ queryFn: () => JY(t)
})
]);
}
}
// src/react/feed-new/feed-new.ts
-var OX = (e) => ["feed-new", e ?? "home"], dDe = 8, fDe = 1500;
+var IX = (e) => ["feed-new", e ?? "home"], dDe = 8, fDe = 1500;
function pDe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
@@ -62881,12 +62975,12 @@ async function mDe(e, t, n) {
fetching: o.some((e) => e.cover_state === "fetching")
};
}
-var kX = (e, t, n = !1) => ({
- queryKey: OX(e),
+var LX = (e, t, n = !1) => ({
+ queryKey: IX(e),
queryFn: () => mDe(e, t, n),
staleTime: Infinity,
refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1
-}), AX = (e, t) => Tn("/api/feeds/discovery", {
+}), RX = (e, t) => Tn("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
@@ -62894,10 +62988,10 @@ var kX = (e, t, n = !1) => ({
})
}).then(() => void 0, () => void 0);
async function hDe(e) {
- H.removeQueries({ queryKey: OX(null) }), await H.fetchQuery(kX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+ H.removeQueries({ queryKey: IX(null) }), await H.fetchQuery(LX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
// src/react/entity-page/entity-page.ts
-var jX = [
+var zX = [
"loc",
"creator",
"tag",
@@ -62911,10 +63005,10 @@ var jX = [
"browse",
"folder",
"folder_recursive"
-], MX = {
+], BX = {
media: "videos",
set: 0
-}, NX = (e, t) => [
+}, VX = (e, t) => [
"entity",
e,
t
@@ -62924,35 +63018,35 @@ var jX = [
t,
n,
r
-], PX = (e, t, n, r) => [
+], HX = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], FX = (e) => String(e || "").split(",").filter(Boolean), _De = (e, t) => FX(e).includes(t);
-function IX(e, t, n, r, i = 0) {
+], UX = (e) => String(e || "").split(",").filter(Boolean), _De = (e, t) => UX(e).includes(t);
+function WX(e, t, n, r, i = 0) {
let a = new URLSearchParams();
- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...FX(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
- for (let t of jX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...UX(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
+ for (let t of zX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function LX(e, t, n, r, i, a, o) {
- let s = IX(e, t, n, r, i);
+async function GX(e, t, n, r, i, a, o) {
+ let s = WX(e, t, n, r, i);
return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await Tn(`/api/items?${s}`, a ? { signal: a } : {});
}
-var RX = (e) => {
+var KX = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = IX(e.kind, e.name, e.filters, t).toString();
+ }, n = WX(e.kind, e.name, e.filters, t).toString();
return {
queryKey: gDe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => LX(e.kind, e.name, e.filters, t, 0, n),
+ queryFn: ({ signal: n }) => GX(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, zX = (e, t) => ({
- queryKey: NX(e, t),
+}, qX = (e, t) => ({
+ queryKey: VX(e, t),
queryFn: ({ signal: n }) => Tn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
@@ -62965,8 +63059,8 @@ function vDe(e, t, n, r, i, a) {
let s = r ? `&seed=${encodeURIComponent(r)}` : "";
return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;
}
-var BX = (e, t, n, r) => ({
- queryKey: PX(e, t, n, r),
+var JX = (e, t, n, r) => ({
+ queryKey: HX(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
let a = await Tn(vDe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
@@ -62981,7 +63075,7 @@ var BX = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), VX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+}), YX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
async function yDe(e) {
let { kind: t, name: n } = e;
if (!e.restoreNavigation) for (let e of [
@@ -62993,25 +63087,25 @@ async function yDe(e) {
t,
n
] });
- e.resolvedEntity?.id && H.setQueryData(NX(t, n), e.resolvedEntity), await Promise.all([
- H.fetchQuery(zX(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: OX(Number(t.id)) }), H.fetchQuery(kX(Number(t.id), e.helpers.feedRowHtml, !0)))),
- H.fetchQuery(RX(e)),
- H.fetchInfiniteQuery(BX(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(BX(t, n, e.media.set, "")) : null
+ e.resolvedEntity?.id && H.setQueryData(VX(t, n), e.resolvedEntity), await Promise.all([
+ H.fetchQuery(qX(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: IX(Number(t.id)) }), H.fetchQuery(LX(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ H.fetchQuery(KX(e)),
+ H.fetchInfiniteQuery(JX(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(JX(t, n, e.media.set, "")) : null
]);
}
// src/identity-filter.ts
-var HX = [
+var XX = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], UX = "mb-4 flex flex-wrap gap-2";
+], ZX = "mb-4 flex flex-wrap gap-2";
function bDe(e) {
- let t = HX.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${UX}">${HX.map(([e, n]) => ks({
+ let t = XX.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${ZX}">${XX.map(([e, n]) => ks({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -63044,7 +63138,7 @@ function EDe(e, t, n, r) {
});
return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${SDe}?${i}`;
}
-var DDe = (e, t, n, r) => B(TDe(e, t, n), r), ODe = (e, t, n, r, i) => B(EDe(e, t, n, r), i), kDe = "/api/index", WX = {
+var DDe = (e, t, n, r) => B(TDe(e, t, n), r), ODe = (e, t, n, r, i) => B(EDe(e, t, n, r), i), kDe = "/api/index", QX = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
@@ -63057,7 +63151,7 @@ var DDe = (e, t, n, r) => B(TDe(e, t, n), r), ODe = (e, t, n, r, i) => B(EDe(e,
studios: "studio",
agencies: "agency",
series: "series"
-}, GX = [
+}, $X = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -63067,31 +63161,31 @@ var DDe = (e, t, n, r) => B(TDe(e, t, n), r), ODe = (e, t, n, r, i) => B(EDe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], KX = [
+], eZ = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], qX = {
+], tZ = {
people: 120,
tags: 100
-}, JX = (e) => e !== "tags", YX = (e) => e === "studios" || e === "agencies";
-function XX(e) {
- if (e.kind === "creators" && e.category === "animation") return XX({
+}, nZ = (e) => e !== "tags", rZ = (e) => e === "studios" || e === "agencies";
+function iZ(e) {
+ if (e.kind === "creators" && e.category === "animation") return iZ({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? KX : GX : e.kind === "performers" && t === "local" ? HX : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? eZ : $X : e.kind === "performers" && t === "local" ? XX : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function ZX(e) {
+function aZ(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -63111,13 +63205,13 @@ function ZX(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var QX = (e, t, n = "all") => [
+var oZ = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function $X(e, t, n, r, i) {
+function sZ(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
@@ -63125,21 +63219,21 @@ function $X(e, t, n, r, i) {
});
return t && a.set("q", t), n !== "all" && a.set("category", n), `${kDe}?${a}`;
}
-function eZ(e, t = qX.tags) {
- let n = e.what === "people" || e.what === "online-authors" ? qX.people : t, r = {
+function cZ(e, t = tZ.tags) {
+ let n = e.what === "people" || e.what === "online-authors" ? tZ.people : t, r = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...r,
- queryKey: QX(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: t, signal: r }) => B($X(e.kind, e.q, e.category || "all", n, t), r)
+ queryKey: oZ(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: t, signal: r }) => B(sZ(e.kind, e.q, e.category || "all", n, t), r)
};
case "tags": return {
...r,
- queryKey: QX("tags", e.q, e.category),
- queryFn: ({ pageParam: t, signal: r }) => B($X("tags", e.q, e.category, n, t), r)
+ queryKey: oZ("tags", e.q, e.category),
+ queryFn: ({ pageParam: t, signal: r }) => B(sZ("tags", e.q, e.category, n, t), r)
};
case "online-authors": return {
...r,
@@ -63154,7 +63248,7 @@ function eZ(e, t = qX.tags) {
}
}
async function jDe(e, t) {
- let n = eZ(ZX(XX(e)));
+ let n = cZ(aZ(iZ(e)));
await H.fetchInfiniteQuery({
queryKey: n.queryKey,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -63166,11 +63260,11 @@ async function jDe(e, t) {
staleTime: Infinity
});
}
-var MDe = (e) => e ? e.pages.flatMap((e) => e.items) : [], NDe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, tZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", PDe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, FDe = {
+var MDe = (e) => e ? e.pages.flatMap((e) => e.items) : [], NDe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, lZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", PDe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, FDe = {
numeric: !0,
sensitivity: "base"
};
-function nZ(e, t) {
+function uZ(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", FDe))) {
let e = er(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
@@ -63179,7 +63273,7 @@ function nZ(e, t) {
return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));
}
// src/react/index/index-people.tsx
-function rZ({ html: e, face: t, company: n, big: r }) {
+function dZ({ html: e, face: t, company: n, big: r }) {
let i = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -63192,13 +63286,13 @@ function rZ({ html: e, face: t, company: n, big: r }) {
});
}
var IDe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", LDe = cV("rss");
-function iZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+function fZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
...o,
"data-index-cell": "",
onClick: a,
- className: vU({
+ className: yU({
radius: "plain",
padding: "none",
interactive: !0,
@@ -63211,7 +63305,7 @@ function iZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
role: "img",
"aria-label": "已订阅新作",
className: "index-feed-mark absolute top-4 right-4 z-2 inline-flex",
- children: /* @__PURE__ */ (0, I.jsx)(VU, {
+ children: /* @__PURE__ */ (0, I.jsx)(YU, {
variant: "caption",
color: "soft",
children: /* @__PURE__ */ (0, I.jsx)(LDe, {})
@@ -63230,8 +63324,8 @@ function iZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function aZ({ kind: e, items: t, layout: n, props: r }) {
- let i = YX(e) || e === "series";
+function pZ({ kind: e, items: t, layout: n, props: r }) {
+ let i = rZ(e) || e === "series";
$I();
let a = n === "big";
return /* @__PURE__ */ (0, I.jsx)("div", {
@@ -63241,7 +63335,7 @@ function aZ({ kind: e, items: t, layout: n, props: r }) {
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
let n = t.entity_kind || ADe[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, I.jsx)(iZ, {
+ return /* @__PURE__ */ (0, I.jsx)(fZ, {
"data-k": t.k,
"data-kind": n,
name: nn(n, t.k, t.entity_id),
@@ -63249,7 +63343,7 @@ function aZ({ kind: e, items: t, layout: n, props: r }) {
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, I.jsx)(rZ, {
+ children: /* @__PURE__ */ (0, I.jsx)(dZ, {
html: o.html,
face: o.face,
company: i,
@@ -63267,7 +63361,7 @@ function RDe({ items: e, layout: t, props: n }) {
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(iZ, {
+ children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(fZ, {
"data-follow-author": e.key,
"data-kind": "performer",
name: nn("creator", e.k, e.entity_id),
@@ -63276,7 +63370,7 @@ function RDe({ items: e, layout: t, props: n }) {
onPress: () => {
e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);
},
- children: /* @__PURE__ */ (0, I.jsx)(rZ, {
+ children: /* @__PURE__ */ (0, I.jsx)(dZ, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -63285,8 +63379,8 @@ function RDe({ items: e, layout: t, props: n }) {
});
}
// src/board-tooltip.ts
-var oZ = (e) => e.replace(/\s+/g, " ").trim();
-function sZ(e) {
+var mZ = (e) => e.replace(/\s+/g, " ").trim();
+function hZ(e) {
let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;
for (; r = t.nextNode();) {
let e = r.parentElement;
@@ -63294,12 +63388,12 @@ function sZ(e) {
let t = document.createRange();
t.selectNodeContents(r), [...t.getClientRects()].some((e) => e.width > 0 && e.height > 0) && getComputedStyle(e).visibility === "visible" && (n += r.textContent);
}
- return oZ(n);
+ return mZ(n);
}
-function cZ(e) {
+function gZ(e) {
let t = e.getBoundingClientRect();
if (t.width && t.height) {
- if (e.matches("a") && sZ(e) && !lZ(e)) {
+ if (e.matches("a") && hZ(e) && !_Z(e)) {
let t = document.createRange();
t.selectNodeContents(e);
let n = t.getBoundingClientRect();
@@ -63312,7 +63406,7 @@ function cZ(e) {
let r = Math.min(...n.map((e) => e.left)), i = Math.min(...n.map((e) => e.top));
return new DOMRect(r, i, Math.max(...n.map((e) => e.right)) - r, Math.max(...n.map((e) => e.bottom)) - i);
}
-function lZ(e) {
+function _Z(e) {
if (e.matches(".middle-truncated") || e.querySelector(".middle-truncated") || [e, ...e.querySelectorAll("*")].some((e) => e.clientWidth > 0 && (e.scrollWidth > e.clientWidth + 1 || e.scrollHeight > e.clientHeight + 1))) return !0;
let t = document.createRange();
t.selectNodeContents(e);
@@ -63327,15 +63421,15 @@ function zDe() {
let e = document.createElement("div");
e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);
let t = null, n = "", r = null, i, a, o = !1, s = () => e.hasAttribute("data-copy-key") && !!document.querySelector("[data-copy-bar]"), c = () => s() && (o || !!e.querySelector("[data-copy-inline],[contenteditable]") || !!document.querySelector("[data-copy-choice],[data-copy-bar][aria-busy=\"true\"]")), l = (t) => {
- let n = cZ(t), r = e.getBoundingClientRect();
+ let n = gZ(t), r = e.getBoundingClientRect();
n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);
}, u = () => {
clearTimeout(a), !c() && (clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, e.removeAttribute("data-copy-key"), t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null);
}, d = (a, o) => {
if (c() || !(a instanceof Element)) return;
let d = a.closest("[title]");
- (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (sZ(d) !== oZ(n) || lZ(d)) && (i = setTimeout(() => {
- if (t !== d || !d.isConnected || !cZ(d)) return;
+ (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (hZ(d) !== mZ(n) || _Z(d)) && (i = setTimeout(() => {
+ if (t !== d || !d.isConnected || !gZ(d)) return;
(d.closest("dialog[open]") ?? document.body).append(e), e.textContent = n;
let i = d.getAttribute("data-tooltip-copy-key");
i ? e.setAttribute("data-copy-key", i) : e.removeAttribute("data-copy-key"), e.style.pointerEvents = s() ? "auto" : "", e.hidden = !1, e.showPopover(), l(d), d.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" "));
@@ -63365,29 +63459,29 @@ function zDe() {
e.key === "Escape" && !c() && u();
}), document.addEventListener("scroll", (n) => {
if (!t || !fs(n, t)) return;
- let r = cZ(t);
+ let r = gZ(t);
t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && l(t) : u();
}, !0), window.addEventListener("resize", u);
}
// src/board-controls.ts
-function uZ(e) {
+function vZ(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
}
-var dZ = /* @__PURE__ */ new WeakSet();
+var yZ = /* @__PURE__ */ new WeakSet();
function BDe() {
- if (dZ.has(document)) return;
- dZ.add(document);
+ if (yZ.has(document)) return;
+ yZ.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(uZ), HDe(e), VDe(e);
+ e.querySelectorAll("input[type=range]").forEach(vZ), HDe(e), VDe(e);
};
e(document), new MutationObserver((t) => {
- for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && uZ(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && vZ(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && uZ(e.target);
+ e.target instanceof HTMLInputElement && e.target.type === "range" && vZ(e.target);
}), zDe();
}
function VDe(e) {
@@ -63414,7 +63508,7 @@ function VDe(e) {
r.observe(e);
});
}
-var fZ = /* @__PURE__ */ new Map();
+var bZ = /* @__PURE__ */ new Map();
function HDe(e) {
let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
@@ -63422,7 +63516,7 @@ function HDe(e) {
e.dataset.boardSegments = "true";
let t = document.createElement("span");
t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);
- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = fZ.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = bZ.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -63431,7 +63525,7 @@ function HDe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- Kc(t, r, a, "x"), r = a, fZ.set(n, a);
+ Kc(t, r, a, "x"), r = a, bZ.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -63447,8 +63541,8 @@ function HDe(e) {
});
}
// src/react/photo-lightbox/photo-lightbox.ts
-var pZ = "/vendor/swiper/14.4.0/", mZ = null, UDe = () => mZ ??= Promise.all([new Promise((e, t) => {
- let n = `${pZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var xZ = "/vendor/swiper/14.4.0/", SZ = null, UDe = () => SZ ??= Promise.all([new Promise((e, t) => {
+ let n = `${xZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -63462,9 +63556,9 @@ var pZ = "/vendor/swiper/14.4.0/", mZ = null, UDe = () => mZ ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${pZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${xZ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw mZ = null, e;
+ throw SZ = null, e;
});
function WDe(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
@@ -63487,26 +63581,26 @@ function WDe(e, t, n) {
}
};
}
-var hZ = (e) => {
+var CZ = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Xn(t)).replace(" ", "\xA0") : "大小未知";
}, GDe = (e) => e.asset?.name || e.name || "未命名图片";
function KDe(e, t) {
let n = e.asset;
- if (n) return [nr[n.location ?? ""] || n.location || "来源未知", hZ(n.size)].join(" · ");
+ if (n) return [nr[n.location ?? ""] || n.location || "来源未知", CZ(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? hZ(e.size) : ""
+ e.size ? CZ(e.size) : ""
].filter(Boolean).join(" · ");
}
// src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var gZ = null, _Z = null, qDe = 0;
+var wZ = null, TZ = null, qDe = 0;
function JDe() {
- return _Z && gZ?.isConnected || (_Z?.unmount(), gZ = document.createElement("div"), gZ.className = "peach-react", gZ.dataset.photoLightboxHost = "", document.body.append(gZ), _Z = (0, zt.createRoot)(gZ)), _Z;
+ return TZ && wZ?.isConnected || (TZ?.unmount(), wZ = document.createElement("div"), wZ.className = "peach-react", wZ.dataset.photoLightboxHost = "", document.body.append(wZ), TZ = (0, zt.createRoot)(wZ)), TZ;
}
-async function vZ(e, t, n) {
+async function EZ(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
@@ -63523,8 +63617,8 @@ async function vZ(e, t, n) {
host: n ?? null
}, ++qDe)));
}
-function yZ() {
- _Z && (0, Rt.flushSync)(() => _Z.render(null));
+function DZ() {
+ TZ && (0, Rt.flushSync)(() => TZ.render(null));
}
function YDe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, F.useId)(), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), [_, v] = (0, F.useState)(t), [y, b] = (0, F.useState)(100), [x, S] = (0, F.useState)({}), [C, w] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, F.useState)(!1), [k, A] = (0, F.useState)({
@@ -63586,13 +63680,13 @@ function YDe({ slides: e, index: t, Swiper: n, host: r }) {
});
y.observe(e);
let x = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : yZ());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : DZ());
};
return document.addEventListener("keydown", x, !0), () => {
document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, F.useLayoutEffect)(() => {
- m.current && uZ(m.current);
+ m.current && vZ(m.current);
}, [y]);
let j = e[_], M = j.asset ?? null, ee = async (e) => {
if (!M || !r || e.getAttribute("aria-busy") === "true") return;
@@ -63623,18 +63717,18 @@ function YDe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), yZ();
+ e.preventDefault(), DZ();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && yZ();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && DZ();
},
children: [
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: yZ,
+ onClick: DZ,
dangerouslySetInnerHTML: { __html: R("x") }
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -63820,20 +63914,20 @@ function XDe(e) {
props: e
}, e.photos.revision) : null;
}
-var bZ = qX.people;
+var OZ = tZ.people;
function ZDe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, F.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
- }), [n, r]), [a, o] = (0, F.useState)(bZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {
- o((e) => e + bZ);
+ }), [n, r]), [a, o] = (0, F.useState)(OZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {
+ o((e) => e + OZ);
}, []);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(aZ, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(pZ, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(oY, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(mY, {
entity: !0,
load: c,
enabled: () => !0
@@ -63842,10 +63936,10 @@ function ZDe({ roster: e, props: t }) {
function QDe(e) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-grid": "",
- children: /* @__PURE__ */ (0, I.jsx)(zG, {
+ children: /* @__PURE__ */ (0, I.jsx)(ZG, {
pending: !e.items,
skeletonHtml: e.skeletonHtml,
- children: e.items ? /* @__PURE__ */ (0, I.jsx)(iY, {
+ children: e.items ? /* @__PURE__ */ (0, I.jsx)(fY, {
mode: "entity",
entityKey: e.listScope || `${e.kind}:${e.name}`,
revision: e.revision,
@@ -63874,15 +63968,15 @@ var $De = (e) => Array.from({ length: e.n }, (t, n) => ({
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), xZ = (e) => e.sample === !0, SZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, CZ = (e) => xZ(e) ? `/sample-thumb?${SZ(e)}` : `/photo-thumb?id=${e.id}`, eOe = (e) => xZ(e) ? {
- src: `/sample-image?${SZ(e)}`,
- thumb: CZ(e),
+})), kZ = (e) => e.sample === !0, AZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, jZ = (e) => kZ(e) ? `/sample-thumb?${AZ(e)}` : `/photo-thumb?id=${e.id}`, eOe = (e) => kZ(e) ? {
+ src: `/sample-image?${AZ(e)}`,
+ thumb: jZ(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: CZ(e),
+ thumb: jZ(e),
name: e.name || "",
asset: e
};
@@ -63892,7 +63986,7 @@ function tOe({ photos: e, props: t }) {
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, F.useCallback)((e) => {
- vZ(e, o.map(eOe), { revealSource: i.revealSource });
+ EZ(e, o.map(eOe), { revealSource: i.revealSource });
}, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(nOe, {
item: e,
index: t,
@@ -63911,7 +64005,7 @@ function tOe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(wZ, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(MZ, {
label: e.code,
title: e.name,
meta: [
@@ -63923,7 +64017,7 @@ function tOe({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(wZ, {
+ m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(MZ, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -63932,14 +64026,14 @@ function tOe({ photos: e, props: t }) {
"data-local-wall": "",
children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))
}),
- e.hasMore ? /* @__PURE__ */ (0, I.jsx)(oY, {
+ e.hasMore ? /* @__PURE__ */ (0, I.jsx)(mY, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function wZ({ label: e, title: t, meta: n }) {
+function MZ({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -63965,7 +64059,7 @@ function nOe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, I.jsx)("img", {
- src: CZ(e),
+ src: jZ(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -63976,7 +64070,7 @@ function nOe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
// src/react/background-job.ts
var rOe = 2e3, iOe = (e) => e, aOe = (e, t) => t;
-function TZ(e) {
+function NZ(e) {
let { queryKey: t, jobOf: n = iOe, withJob: r = aOe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);
(0, F.useEffect)(() => {
l.current = e;
@@ -64010,13 +64104,13 @@ function TZ(e) {
};
}
// src/react/follow-feed/follow-check.ts
-var EZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
+var PZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
function oOe(e, t) {
- return t ? EZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];
+ return t ? PZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];
}
// src/react/follow-feed/follow-check-button.tsx
function sOe({ sources: e, report: t }) {
- let n = EZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = TZ({
+ let n = PZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = NZ({
queryKey: zr,
queryFn: ({ signal: e }) => vi(e),
start: (e) => xi(e),
@@ -64043,7 +64137,7 @@ function sOe({ sources: e, report: t }) {
}
// src/react/follow-feed/follow-card.tsx
var cOe = (e) => Number(e) > 0;
-function DZ({ name: e, actions: t, children: n, ...r }) {
+function FZ({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, I.jsx)("a", {
...r,
href: Pn("creator", e),
@@ -64053,15 +64147,15 @@ function DZ({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var OZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var IZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: pG(e) }
+ dangerouslySetInnerHTML: { __html: TG(e) }
});
function lOe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, F.useState)(!1), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
c(!1);
- }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(OZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {
+ }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(IZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {
src: l ? t : e,
alt: "",
loading: "lazy",
@@ -64089,7 +64183,7 @@ function uOe(e) {
limit: 9
}), S = (0, F.useRef)(x.faces);
S.current = x.faces;
- let C = mK({
+ let C = EK({
load: async () => S.current,
canFlip: () => S.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -64097,7 +64191,7 @@ function uOe(e) {
w.current = C.onPointerLeave;
let T = (0, F.useCallback)((e) => {
e && (e._stopHover = () => w.current());
- }, []), E = vG(u, n, i), D = mG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = xG(u, i), j = bG(t, u), M = u.status === "saved", ee = (e) => {
+ }, []), E = AG(u, n, i), D = EG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = NG(u, i), j = MG(t, u), M = u.status === "saved", ee = (e) => {
e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));
}, N = (e, t) => {
e.stopPropagation(), t();
@@ -64112,7 +64206,7 @@ function uOe(e) {
"data-collection": x.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: ee,
- onMouseDown: aK,
+ onMouseDown: _K,
onMouseEnter: C.onPointerEnter,
onMouseLeave: C.onPointerLeave,
children: [
@@ -64134,7 +64228,7 @@ function uOe(e) {
provider: O,
onLearn: v,
retryKey: e.retryKey
- }, p) : /* @__PURE__ */ (0, I.jsx)(OZ, { provider: O }),
+ }, p) : /* @__PURE__ */ (0, I.jsx)(IZ, { provider: O }),
x.faces.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-mix-faces": "",
hidden: !C.faces.length,
@@ -64154,7 +64248,7 @@ function uOe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: pG(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: TG(u.provider, u.provider_label) }
}), j ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: j }
@@ -64238,7 +64332,7 @@ function uOe(e) {
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-meta": "",
- children: [E.entityName ? /* @__PURE__ */ (0, I.jsx)(DZ, {
+ children: [E.entityName ? /* @__PURE__ */ (0, I.jsx)(FZ, {
name: E.entityName,
actions: l,
"data-media-avatar": "",
@@ -64256,31 +64350,31 @@ function uOe(e) {
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: yG(t, u) + z(D) }
+ dangerouslySetInnerHTML: { __html: jG(t, u) + z(D) }
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-byline": "",
"data-follow-byline": "",
children: [
- E.entityName ? /* @__PURE__ */ (0, I.jsx)(DZ, {
+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(FZ, {
name: E.entityName,
actions: l,
"data-media-who": "",
"data-follow-author": "",
title: E.author,
- children: /* @__PURE__ */ (0, I.jsx)(VG, { name: E.author })
+ children: /* @__PURE__ */ (0, I.jsx)($G, { name: E.author })
}) : /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-who": "",
"data-follow-author": "",
title: E.author,
- children: /* @__PURE__ */ (0, I.jsx)(VG, { name: E.author })
+ children: /* @__PURE__ */ (0, I.jsx)($G, { name: E.author })
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-facts": "",
- children: /* @__PURE__ */ (0, I.jsx)(HG, {
+ children: /* @__PURE__ */ (0, I.jsx)(eK, {
value: u.published_at || "",
- label: wG(u),
- title: CG(u)
+ label: IG(u),
+ title: FG(u)
})
}),
E.credited ? /* @__PURE__ */ (0, I.jsx)("span", {
@@ -64290,10 +64384,10 @@ function uOe(e) {
}) : null
]
}),
- e.variant === "next" ? e.reason ? /* @__PURE__ */ (0, I.jsx)(WG, {
+ e.variant === "next" ? e.reason ? /* @__PURE__ */ (0, I.jsx)(nK, {
reasons: e.reason.reasons,
tags: e.reason.tags.map((e) => Ul(e))
- }) : null : /* @__PURE__ */ (0, I.jsx)(UG, {
+ }) : null : /* @__PURE__ */ (0, I.jsx)(tK, {
"data-follow-labels": "",
tags: k,
label: Ul,
@@ -64318,7 +64412,7 @@ function uOe(e) {
]
});
}
-var kZ = (0, F.memo)(uOe);
+var LZ = (0, F.memo)(uOe);
// src/react/components/use-masonry-grid.ts
function dOe(e, t) {
let n = (0, F.useRef)(null);
@@ -64355,37 +64449,37 @@ function dOe(e, t) {
}, [e, t]), n;
}
// src/react/follow-manage/manage-route.ts
-var AZ = [
+var RZ = [
["list", "关注列表"],
["add", "添加关注"],
["tags", "标签管理"]
-], jZ = AZ.map(([e]) => e);
-function MZ(e) {
+], zZ = RZ.map(([e]) => e);
+function BZ(e) {
let t = new URLSearchParams(e), n = t.get("tab");
return {
- tab: jZ.find((e) => e === n) || "list",
+ tab: zZ.find((e) => e === n) || "list",
page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),
sort: t.get("sort") || "",
dir: t.get("dir") || ""
};
}
-function NZ(e) {
+function VZ(e) {
let t = new URLSearchParams();
return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/subscriptions" + (t.size ? `?${t}` : "");
}
-function PZ(e, t) {
- return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : NZ({
- tab: t || MZ(e).tab,
+function HZ(e, t) {
+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/settings/library?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : VZ({
+ tab: t || BZ(e).tab,
page: 1,
sort: "",
dir: ""
});
}
// src/react/follow-feed/follow-feed-page.tsx
-var FZ = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var UZ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), fOe = cV("settings"), IZ = cV("chevron-down"), pOe = cV("history"), mOe = cV("arrow-up"), hOe = cV("arrow-down"), gOe = [[
+}), fOe = cV("settings"), WZ = cV("chevron-down"), pOe = cV("history"), mOe = cV("arrow-up"), hOe = cV("arrow-down"), gOe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -64487,7 +64581,7 @@ function vOe(e) {
let m = bOe(e, !!s);
if (!s) return a.isError ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, I.jsx)(LZ, {}), /* @__PURE__ */ (0, I.jsx)(RG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(GZ, {}), /* @__PURE__ */ (0, I.jsx)(XG, {
message: xn(a.error),
onRetry: () => void a.refetch()
})]
@@ -64500,7 +64594,7 @@ function vOe(e) {
author: u.author,
provider: u.provider
}, {
- authors: new Map([...u.authorSources].map(([e, t]) => [e, hG(t, l)])),
+ authors: new Map([...u.authorSources].map(([e, t]) => [e, DG(t, l)])),
providers: u.providers,
works: u.workNames
}), _ = t.status ? u.counts[t.status] || 0 : u.allCount, v = u.sources.some((e) => e.can_backfill);
@@ -64518,7 +64612,7 @@ function vOe(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, I.jsx)(LZ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {
+ /* @__PURE__ */ (0, I.jsx)(GZ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
"data-follow-recheck": "",
"aria-label": "检查每个来源的更新",
@@ -64586,13 +64680,13 @@ function vOe(e) {
"data-follow-pagination": "",
children: [s.has_more ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-page-action": "",
- children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(oY, {
+ children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(mY, {
entity: !0,
enabled: () => !m.busyRef.current,
load: async () => {
await a.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, I.jsx)(IZ, { className: "size-(--icon-inline)" }), "加载更多"]
+ children: [/* @__PURE__ */ (0, I.jsx)(WZ, { className: "size-(--icon-inline)" }), "加载更多"]
}, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(yOe, {
busy: a.isFetchingNextPage,
error: a.isFetchNextPageError ? xn(a.error) : "",
@@ -64622,7 +64716,7 @@ function vOe(e) {
})
] });
}
-function LZ({ children: e }) {
+function GZ({ children: e }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
@@ -64634,7 +64728,7 @@ function LZ({ children: e }) {
variant: "secondary",
leadingIcon: fOe,
"data-follow-manage": "",
- href: RZ(),
+ href: KZ(),
children: "管理关注"
}), e]
})]
@@ -64647,8 +64741,8 @@ function yOe({ busy: e, error: t, load: n }) {
"aria-busy": e || void 0,
"aria-disabled": e || void 0,
onClick: n,
- children: [/* @__PURE__ */ (0, I.jsx)(IZ, { className: "size-(--icon-inline)" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, I.jsx)(RG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(WZ, { className: "size-(--icon-inline)" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, I.jsx)(XG, {
message: t,
onRetry: n
}) : null] });
@@ -64720,7 +64814,7 @@ function xOe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
(0, F.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => hG(e.authorSources.get(t) || [], n);
+ let o = (t) => DG(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
@@ -64728,14 +64822,14 @@ function xOe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
"data-follow-authors": "",
"aria-label": "创作者",
children: e.authorOrder.map((n) => {
- let a = e.authorSources.get(n) || [], s = gG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = OG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: _G(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: kG(a, o(n)) }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, I.jsx)(DZ, {
+ return s ? /* @__PURE__ */ (0, I.jsx)(FZ, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -64831,7 +64925,7 @@ function COe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: R(i) }
}, e);
})
- }), /* @__PURE__ */ (0, I.jsx)(FZ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {
+ }), /* @__PURE__ */ (0, I.jsx)(UZ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -64851,7 +64945,7 @@ function COe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, I.jsx)(FZ, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, I.jsx)(UZ, {}) : null]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -64864,9 +64958,9 @@ function COe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
title: n,
"aria-label": `来源:${n}`,
onClick: () => a({ provider: e.provider === t ? "" : t }),
- dangerouslySetInnerHTML: { __html: pG(t, n) }
+ dangerouslySetInnerHTML: { __html: TG(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(FZ, {}) : null,
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(UZ, {}) : null,
e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(cL, {
"data-follow-tag": n,
"data-entity-press": "",
@@ -64897,8 +64991,8 @@ function COe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(MG, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(jG, {
+ /* @__PURE__ */ (0, I.jsx)(WG, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UG, {
label: "图片布局",
value: i.photoLayout,
options: gOe,
@@ -64931,7 +65025,7 @@ function COe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
let n = Ca(e, t.sort, t.dir);
n && a(n);
},
- children: [n, r ? /* @__PURE__ */ (0, I.jsx)(cG, {
+ children: [n, r ? /* @__PURE__ */ (0, I.jsx)(ZU, {
a: mOe,
b: hOe,
state: t.dir === "asc" ? "a" : "b",
@@ -64972,15 +65066,15 @@ function wOe({ conditions: e, onDrop: t, onClear: n }) {
function TOe({ count: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-broken": "",
- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(RZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }
+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(KZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }
});
}
-var RZ = () => PZ(window.location.search);
+var KZ = () => HZ(window.location.search);
function EOe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
let { view: s, helpers: c } = i, l = s.media === "images";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list-body": "",
- children: /* @__PURE__ */ (0, I.jsx)(zG, {
+ children: /* @__PURE__ */ (0, I.jsx)(ZG, {
pending: e,
skeletonHtml: () => c.listSkeletonHtml(s.media),
children: e ? null : /* @__PURE__ */ (0, I.jsx)(DOe, {
@@ -64996,23 +65090,23 @@ function EOe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
});
}
function DOe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {
- let { view: s, actions: c } = r, l = BZ(r), u = i ? {
+ let { view: s, actions: c } = r, l = JZ(r), u = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
} : {}, d = dOe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;
return f = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
- return /* @__PURE__ */ (0, I.jsx)(kZ, {
+ return /* @__PURE__ */ (0, I.jsx)(LZ, {
group: t,
authorSources: o,
media: s.media,
retryKey: a,
context: n,
- selected: r.selected.has(zZ(t, s)),
+ selected: r.selected.has(qZ(t, s)),
selectMode: r.selectMode,
- busy: l.busy.get(zZ(t, s)) || "",
- failure: l.failures.get(zZ(t, s)) || "",
+ busy: l.busy.get(qZ(t, s)) || "",
+ failure: l.failures.get(qZ(t, s)) || "",
actions: c,
onStatus: l.status,
onSave: l.save
@@ -65040,7 +65134,7 @@ function DOe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,
children: f
});
}
-function zZ(e, t) {
+function qZ(e, t) {
return _a(e, t.media).id;
}
function OOe({ data: e, filtered: t, clear: n, checkAction: r }) {
@@ -65069,7 +65163,7 @@ var kOe = {
seen: "已标记已看",
ignored: "已忽略"
};
-function BZ(e) {
+function JZ(e) {
let { view: t, revision: n, actions: r } = e, [i, a] = (0, F.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, F.useState)(() => /* @__PURE__ */ new Map()), c = ia(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
@@ -65139,7 +65233,7 @@ function BZ(e) {
// src/react/entity-body/entity-online.tsx
function AOe(e) {
let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData;
- return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(RG, {
+ return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(XG, {
message: xn(t.error),
onRetry: () => {
t.refetch();
@@ -65147,13 +65241,13 @@ function AOe(e) {
}) : /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list-body": "",
"data-entity-online": "",
- children: /* @__PURE__ */ (0, I.jsxs)(zG, {
+ children: /* @__PURE__ */ (0, I.jsxs)(ZG, {
pending: a,
skeletonHtml: () => i.listSkeletonHtml(r),
children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(jOe, {
...e,
data: n
- }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(oY, {
+ }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(mY, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -65164,7 +65258,7 @@ function AOe(e) {
});
}
function jOe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
- let u = BZ({
+ let u = JZ({
view: e,
revision: 0,
actions: c
@@ -65182,7 +65276,7 @@ function jOe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
"data-images-only": String(s)
} : {}, m = r.length ? r.map((e) => {
let n = _a(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, I.jsx)(kZ, {
+ return /* @__PURE__ */ (0, I.jsx)(LZ, {
group: e,
authorSources: r && d.byAuthor.get(r) || [],
media: t,
@@ -65231,7 +65325,7 @@ function MOe({ searched: e, clear: t, actions: n, sources: r }) {
})
});
}
-function VZ(e) {
+function YZ(e) {
return {
x0: 0,
y0: 0,
@@ -65239,7 +65333,7 @@ function VZ(e) {
y1: e.height
};
}
-function HZ(e) {
+function XZ(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -65247,21 +65341,21 @@ function HZ(e) {
y1: Math.round(e.y1)
};
}
-function UZ(e) {
+function ZZ(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function WZ(e, t) {
- if (!UZ(e)) return {
+function QZ(e, t) {
+ if (!ZZ(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return VZ(e);
+ if (t == null || !(t > 0)) return YZ(e);
let n = e.width, r = n / t;
r > e.height && (r = e.height, n = r * t);
let i = (e.width - n) / 2, a = (e.height - r) / 2;
- return HZ({
+ return XZ({
x0: i,
y0: a,
x1: i + n,
@@ -65269,9 +65363,9 @@ function WZ(e, t) {
});
}
function NOe(e, t) {
- if (!UZ(e) || !(t > 0)) return VZ(e);
+ if (!ZZ(e) || !(t > 0)) return YZ(e);
let n = Math.min(e.width, e.height * t);
- return HZ({
+ return XZ({
x0: e.width - n,
y0: 0,
x1: e.width,
@@ -65279,8 +65373,8 @@ function NOe(e, t) {
});
}
function POe(e, t, n) {
- if (!UZ(t) || !(n > 0)) return VZ(t);
- let r = GZ(e, t), i = WZ({
+ if (!ZZ(t) || !(n > 0)) return YZ(t);
+ let r = $Z(e, t), i = QZ({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -65291,8 +65385,8 @@ function POe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function GZ(e, t, n = null, r = "width") {
- if (!UZ(t)) return {
+function $Z(e, t, n = null, r = "width") {
+ if (!ZZ(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -65301,26 +65395,26 @@ function GZ(e, t, n = null, r = "width") {
let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));
n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));
let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));
- return HZ({
+ return XZ({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function KZ(e, t, n, r) {
+function eQ(e, t, n, r) {
let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));
- return HZ({
+ return XZ({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function qZ(e, t, n, r = null) {
- if (!UZ(n) || !(t > 0)) return e;
+function tQ(e, t, n, r = null) {
+ if (!ZZ(n) || !(t > 0)) return e;
let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;
- return GZ({
+ return $Z({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
@@ -65334,10 +65428,10 @@ function FOe(e, t, n, r, i = null) {
x1: Math.max(e.x0 + 1, t),
y1: Math.max(e.y0 + 1, n)
};
- return GZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return $Z(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
function IOe(e, t) {
- return UZ(t) ? {
+ return ZZ(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -65350,7 +65444,7 @@ function IOe(e, t) {
};
}
function LOe(e, t) {
- if (!UZ(t)) return {
+ if (!ZZ(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -65369,15 +65463,15 @@ function ROe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function JZ(e, t, n) {
+function nQ(e, t, n) {
return t > 0 ? e * n / t : 0;
}
function zOe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
// src/react/crop/crop-frame.tsx
-var BOe = .02, YZ = 1.08;
-function XZ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var BOe = .02, rQ = 1.08;
+function iQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, F.useRef)(null), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);
(0, F.useEffect)(() => {
u(!1);
@@ -65396,8 +65490,8 @@ function XZ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: JZ(e, n.clientWidth, r.width),
- dy: JZ(t, n.clientHeight, r.height)
+ dx: nQ(e, n.clientWidth, r.width),
+ dy: nQ(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -65414,7 +65508,7 @@ function XZ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
let n = c.current, a = s.current;
if (!n || !a || !r) return;
let o = p(e.clientX - n.x, e.clientY - n.y);
- n.mode === "move" ? i(KZ(n.box, o.dx, o.dy, r)) : i(FOe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
+ n.mode === "move" ? i(eQ(n.box, o.dx, o.dy, r)) : i(FOe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
}
function g(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
@@ -65427,9 +65521,9 @@ function XZ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(KZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(qZ(n, e.key === "-" ? 1 / YZ : YZ, r, t)));
+ o[e.key] ? (e.preventDefault(), i(eQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(tQ(n, e.key === "-" ? 1 / rQ : rQ, r, t)));
}
- let v = n && r ? IOe(GZ(n, r, t), r) : null, y = v ? zOe(v, d) : !1, b = v ? {
+ let v = n && r ? IOe($Z(n, r, t), r) : null, y = v ? zOe(v, d) : !1, b = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -65448,7 +65542,7 @@ function XZ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- UZ({
+ ZZ({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -65487,7 +65581,7 @@ function XZ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(qZ(n, e.deltaY > 0 ? YZ : 1 / YZ, r, t));
+ n && r && i(tQ(n, e.deltaY > 0 ? rQ : 1 / rQ, r, t));
},
className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",
children: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -65509,13 +65603,13 @@ function XZ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
});
}
// src/react/avatar-picker/avatar-picker.ts
-var VOe = "/api/avatar-choices", ZZ = "/api/avatar-pick", HOe = "/api/avatar-code-cover", QZ = "/api/avatar-frame", UOe = "/avatar-choice", $Z = (e, t) => [
+var VOe = "/api/avatar-choices", aQ = "/api/avatar-pick", HOe = "/api/avatar-code-cover", oQ = "/api/avatar-frame", UOe = "/avatar-choice", sQ = (e, t) => [
"avatar-choices",
e,
t
-], eQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, tQ = (e, t, n, r = "") => `${UOe}${eQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), nQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", WOe = (e, t, n) => B(VOe + eQ(e, t), n), GOe = (e) => V(HOe, { code: e });
+], cQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, lQ = (e, t, n, r = "") => `${UOe}${cQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), uQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", WOe = (e, t, n) => B(VOe + cQ(e, t), n), GOe = (e) => V(HOe, { code: e });
async function KOe(e, t, n) {
- let r = await V(QZ, {
+ let r = await V(oQ, {
kind: e,
id: t,
ref: n.ref
@@ -65528,12 +65622,12 @@ async function KOe(e, t, n) {
bases: r.bases
};
}
-var qOe = (e, t, n) => V(QZ, {
+var qOe = (e, t, n) => V(oQ, {
kind: e,
id: t,
url: n
-}), JOe = (e, t, n) => rQ(`${QZ}${eQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function rQ(e, t) {
+}), JOe = (e, t, n) => dQ(`${oQ}${cQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function dQ(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -65542,17 +65636,17 @@ async function rQ(e, t) {
if (n.ok) return r;
throw new sr(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function iQ(e, t, n) {
+function fQ(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? POe(e.focus, t, n) : WZ(t, n);
+ return e.focus && r ? POe(e.focus, t, n) : QZ(t, n);
}
-var YOe = (e) => e.crop && UZ({
+var YOe = (e) => e.crop && ZZ({
width: e.width,
height: e.height
});
async function XOe(e, t, n) {
if (!("file" in n)) {
- await V(ZZ, {
+ await V(aQ, {
kind: e,
id: t,
...n
@@ -65565,19 +65659,19 @@ async function XOe(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await rQ(`${ZZ}${eQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await dQ(`${aQ}${cQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var aQ = 2;
+var pQ = 2;
function ZOe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, aQ).join("」「")}」`}${n.length > aQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, pQ).join("」「")}」`}${n.length > pQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
}
var QOe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
function $Oe(e) {
return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${QOe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var oQ = (e) => e.cast > 1, eke = (e) => oQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, tke = {
+var mQ = (e) => e.cast > 1, eke = (e) => mQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, tke = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -65598,7 +65692,7 @@ function nke(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var rke = (e) => `${tke[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (oQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), ike = 8, ake = 3 / 4;
+var rke = (e) => `${tke[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (mQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), ike = 8, ake = 3 / 4;
async function oke(e, t, n) {
switch (n.via) {
case "choice": return { choice: await KOe(e, t, n.choice) };
@@ -65620,7 +65714,7 @@ function ske({ kind: e, entityId: t, name: n, onPicked: r }) {
"aria-label": `更换${n}的头像`,
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",
- children: /* @__PURE__ */ (0, I.jsx)(yge, {
+ children: /* @__PURE__ */ (0, I.jsx)(vge, {
"aria-hidden": !0,
className: "size-4"
})
@@ -65640,7 +65734,7 @@ function ske({ kind: e, entityId: t, name: n, onPicked: r }) {
})] });
}
function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, F.useRef)(null), o = FV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = $Z(e, t), m = (0, F.useRef)(!1), h = Ft({
+ let a = (0, F.useRef)(null), o = FV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = sQ(e, t), m = (0, F.useRef)(!1), h = Ft({
queryKey: p,
queryFn: ({ signal: n }) => WOe(e, t, n),
retryOnMount: !0,
@@ -65648,7 +65742,7 @@ function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
refetchInterval: (e) => e.state.data?.index_refreshing && !e.state.error ? 1e3 : !1
});
(0, F.useEffect)(() => () => {
- m.current && H.removeQueries({ queryKey: $Z(e, t) });
+ m.current && H.removeQueries({ queryKey: sQ(e, t) });
}, [e, t]);
let g = It({
mutationFn: (n) => XOe(e, t, n),
@@ -65691,7 +65785,7 @@ function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
- }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(VU, {
+ }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(YU, {
color: "soft",
children: [S.length.toLocaleString(), " 张可选"]
}) : null]
@@ -65770,7 +65864,7 @@ function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
/* @__PURE__ */ (0, I.jsx)(lke, {
- src: tQ(e, t, n.ref, nQ(n, n.ref)),
+ src: lQ(e, t, n.ref, uQ(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -65779,15 +65873,15 @@ function cke({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, I.jsx)(VU, {
+ children: /* @__PURE__ */ (0, I.jsx)(YU, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- oQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ mQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, I.jsxs)(VU, {
+ children: /* @__PURE__ */ (0, I.jsxs)(YU, {
variant: "caption",
color: "gray",
children: [n.cast.toLocaleString(), " 人"]
@@ -65880,7 +65974,7 @@ function lke({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = YOe(t) ? ROe(iQ(t, s, ake), s) : null, l = r || a ? !0 : void 0;
+ }, c = YOe(t) ? ROe(fQ(t, s, ake), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -65907,7 +66001,7 @@ function lke({ src: e, choice: t }) {
});
}
function uke({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = nQ(n, s), m = tQ(e, t, s, p), h = FV();
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = uQ(n, s), m = lQ(e, t, s, p), h = FV();
function g(e) {
c(e), u(null), f(null);
}
@@ -65915,14 +66009,14 @@ function uke({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
ref: h,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [m ? /* @__PURE__ */ (0, I.jsx)(XZ, {
+ children: [m ? /* @__PURE__ */ (0, I.jsx)(iQ, {
src: m,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), UZ(e) && f(s === n.ref ? iQ(n, e, 1) : WZ(e, 1));
+ u(e), ZZ(e) && f(s === n.ref ? fQ(n, e, 1) : QZ(e, 1));
},
onBox: f
}) : null, o.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -65984,8 +66078,8 @@ function uke({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
})] });
}
// src/react/components/source-picture.tsx
-var sQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;
-function cQ({ title: e, detail: t, busy: n, onRetry: r }) {
+var hQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;
+function gQ({ title: e, detail: t, busy: n, onRetry: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-jav-picture-wait": "",
children: /* @__PURE__ */ (0, I.jsx)(oV, {
@@ -66004,7 +66098,7 @@ function cQ({ title: e, detail: t, busy: n, onRetry: r }) {
}
function dke({ code: e }) {
let t = uH(), [n, r] = (0, F.useState)("");
- return /* @__PURE__ */ (0, I.jsx)(cQ, {
+ return /* @__PURE__ */ (0, I.jsx)(gQ, {
title: "封面未取得",
detail: t.error || n,
busy: !!t.busy,
@@ -66019,8 +66113,8 @@ function dke({ code: e }) {
}
});
}
-function lQ({ item: e, image: t, thumbnail: n = !1 }) {
- let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? sQ(e.code, t, r) : u ? uo(e, !0) : e.cover_url || "";
+function _Q({ item: e, image: t, thumbnail: n = !1 }) {
+ let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? hQ(e.code, t, r) : u ? uo(e, !0) : e.cover_url || "";
if ((0, F.useLayoutEffect)(() => {
let e = l.current;
e?.complete && e.naturalWidth > 0 && o({
@@ -66038,7 +66132,7 @@ function lQ({ item: e, image: t, thumbnail: n = !1 }) {
alt: f
})
}) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(dke, { code: e.code });
- if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(cQ, {
+ if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(gQ, {
title: "图片未取得",
onRetry: () => i((e) => e + 1)
});
@@ -66087,7 +66181,7 @@ function lQ({ item: e, image: t, thumbnail: n = !1 }) {
] });
}
// src/react/components/source-avatar.tsx
-function uQ({ code: e, person: t, detail: n = !1 }) {
+function vQ({ code: e, person: t, detail: n = !1 }) {
$I();
let r = (0, F.useRef)(null), [i, a] = (0, F.useState)(n || typeof IntersectionObserver > "u");
(0, F.useEffect)(() => {
@@ -66102,7 +66196,7 @@ function uQ({ code: e, person: t, detail: n = !1 }) {
"data-source-initial": "",
children: er(nn("performer", t.name))
}), i && t.source_actor_id ? /* @__PURE__ */ (0, I.jsx)("img", {
- src: sQ(e, `actor:${t.source_actor_id}`),
+ src: hQ(e, `actor:${t.source_actor_id}`),
alt: "",
"data-drop": "self"
}) : null] });
@@ -66112,7 +66206,7 @@ function uQ({ code: e, person: t, detail: n = !1 }) {
}) : o;
}
// src/react/components/cover-queue.tsx
-function dQ({ codes: e, scope: t, fetchOne: n, settled: r }) {
+function yQ({ codes: e, scope: t, fetchOne: n, settled: r }) {
let [i, a] = (0, F.useState)(null), o = (0, F.useRef)(!1);
if ((0, F.useEffect)(() => (o.current = !0, () => {
o.current = !1;
@@ -66132,7 +66226,7 @@ function dQ({ codes: e, scope: t, fetchOne: n, settled: r }) {
return i ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-cover-queue": "running",
className: "min-w-0",
- children: /* @__PURE__ */ (0, I.jsx)(TH, {
+ children: /* @__PURE__ */ (0, I.jsx)(EH, {
value: i.done,
total: i.total,
label: `正在取封面 · ${i.done} / ${i.total} 部。离开这一页会停在当前这部,没取的照旧排在后台`
@@ -66159,7 +66253,7 @@ async function fke(e, t, n) {
code: e,
cover_state: "fetching"
}), t.replaceWith(...r.childNodes);
- let i = n.querySelector("[data-feed-cover-state=\"fetching\"]"), a = await uW(e).catch((e) => ({
+ let i = n.querySelector("[data-feed-cover-state=\"fetching\"]"), a = await CW(e).catch((e) => ({
has_cover: !1,
cover_version: "",
message: e instanceof Error ? e.message : ""
@@ -66177,8 +66271,8 @@ async function fke(e, t, n) {
cover_reason: a.message || "没有找到可用的官方封面"
}), a.has_cover;
}
-function fQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, F.useContext)(XW), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "", [u, d] = (0, F.useState)(/* @__PURE__ */ new Set());
+function bQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, F.useContext)(uG), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "", [u, d] = (0, F.useState)(/* @__PURE__ */ new Set());
(0, F.useEffect)(() => {
d(/* @__PURE__ */ new Set());
}, [l]);
@@ -66215,7 +66309,7 @@ function fQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
/* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
"data-feed-cover-queue": !0,
- children: /* @__PURE__ */ (0, I.jsx)(dQ, {
+ children: /* @__PURE__ */ (0, I.jsx)(yQ, {
scope: "这一行",
codes: p,
fetchOne: f
@@ -66229,7 +66323,7 @@ function fQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
},
dangerouslySetInnerHTML: { __html: l }
}),
- s.map((e, t) => (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(uQ, {
+ s.map((e, t) => (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(vQ, {
code: e.dataset.code,
person: {
name: e.dataset.name,
@@ -66239,7 +66333,7 @@ function fQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
] }) : null;
}
// src/react/entity-hero/glyph.tsx
-function pQ({ name: e }) {
+function xQ({ name: e }) {
let { wide: t, viewBox: n } = Cn(e);
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: n,
@@ -66249,20 +66343,20 @@ function pQ({ name: e }) {
});
}
// src/react/entity-hero/hero-pop.tsx
-function mQ(e, t) {
+function SQ(e, t) {
t.style.removeProperty("max-height");
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);
r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;
}
-var hQ = (e) => !!e?.isConnected && e.matches(":popover-open");
-function gQ(e, t, n, r) {
+var CQ = (e) => !!e?.isConnected && e.matches(":popover-open");
+function wQ(e, t, n, r) {
let i = (0, F.useRef)(r);
i.current = r, (0, F.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && hQ(n.current) ? mQ(t.current, n.current) : i.current();
+ t.current && CQ(n.current) ? SQ(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -66276,17 +66370,17 @@ function gQ(e, t, n, r) {
n
]);
}
-function _Q({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function TQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = (0, F.useRef)(!1), d = (0, F.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, hQ(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, CQ(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !hQ(s.current) && (s.current.showPopover(), mQ(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !CQ(s.current) && (s.current.showPopover(), SQ(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
u.current || o.current?.matches(":hover,:focus-visible") || s.current?.matches(":hover") || f();
}, 150);
};
- return gQ(c, o, s, f), (0, F.useEffect)(() => {
+ return wQ(c, o, s, f), (0, F.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -66312,7 +66406,7 @@ function _Q({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && hQ(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && CQ(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -66332,14 +66426,14 @@ function _Q({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}
function pke({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(!1), u = () => {
- hQ(o.current) && o.current.hidePopover(), c(!1);
+ CQ(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !hQ(o.current) && (o.current.showPopover(), mQ(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !CQ(o.current) && (o.current.showPopover(), SQ(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return gQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {
- i.current && hQ(o.current) && mQ(i.current, o.current);
+ return wQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {
+ i.current && CQ(o.current) && SQ(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, I.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -66348,7 +66442,7 @@ function pke({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, I.jsx)(pQ, { name: "rss" }),
+ /* @__PURE__ */ (0, I.jsx)(xQ, { name: "rss" }),
/* @__PURE__ */ (0, I.jsx)("input", {
ref: a,
type: "checkbox",
@@ -66386,21 +66480,21 @@ function mke({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, I.jsxs)(Hme, {
+ }, []), /* @__PURE__ */ (0, I.jsxs)(Vme, {
isOpen: i,
onOpenChange: a,
children: [/* @__PURE__ */ (0, I.jsx)(PL, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, I.jsx)(pQ, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, I.jsx)(xQ, { name: "chevron-down" })
}), /* @__PURE__ */ (0, I.jsx)(sz, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
className: DV,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, I.jsxs)(Wme, {
+ children: /* @__PURE__ */ (0, I.jsxs)(Ume, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
@@ -66416,30 +66510,30 @@ function mke({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
id: e.value,
textValue: e.label,
"data-namepick-name": e.value,
- children: [/* @__PURE__ */ (0, I.jsx)(pQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]
+ children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]
}, e.value))
}),
- /* @__PURE__ */ (0, I.jsx)(Tme, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, I.jsx)(wme, { "data-namepick-rule": "" }),
/* @__PURE__ */ (0, I.jsx)(hz, { children: /* @__PURE__ */ (0, I.jsxs)(_z, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, I.jsx)(pQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var hke = (e) => e === "studio" || e === "agency", vQ = (e) => e === "performer" || e === "creator", gke = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+var hke = (e) => e === "studio" || e === "agency", EQ = (e) => e === "performer" || e === "creator", gke = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
function _ke(e, t = "zh-CN") {
return e.name_display ? e.name_display.choices[t] : [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t).map((e) => ({
value: e,
label: e
}));
}
-function yQ(e) {
+function DQ(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0,
@@ -66451,13 +66545,13 @@ function yQ(e) {
linked: !1
} : null;
}
-function bQ(e, t) {
+function OQ(e, t) {
let n = Kn(e, "performer"), r = Un(t);
return r && [e.label, n].map(Un).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var xQ = (e) => ({ site: zn(e) });
+var kQ = (e) => ({ site: zn(e) });
function vke(e, t) {
- let n = yQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+ let n = DQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -66467,7 +66561,7 @@ function vke(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${bQ(e, n)} · ${t}`
+ title: `${OQ(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -66475,11 +66569,11 @@ function vke(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (vQ(t) && e.link_kind !== "social") return {
+ if (EQ(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: bQ(e, n),
- mark: xQ(e)
+ title: OQ(e, n),
+ mark: kQ(e)
};
if (e.link_kind === "social") {
let t = Hn(r);
@@ -66487,7 +66581,7 @@ function vke(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : xQ(e)
+ mark: t ? { brand: t } : kQ(e)
};
}
return {
@@ -66495,7 +66589,7 @@ function vke(e, t) {
url: r,
title: e.label || "",
text: Kn(e, t, i),
- mark: xQ(e)
+ mark: kQ(e)
};
});
return [...r, ...yke(a)];
@@ -66508,7 +66602,7 @@ function yke(e) {
sources: t.map((e) => e.label)
}];
}
-var SQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+var AQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
function bke(e) {
return [
[
@@ -66622,7 +66716,7 @@ function xke(e) {
tags: e.tags
}), t;
}
-function CQ(e, t = 4) {
+function jQ(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
@@ -66652,7 +66746,7 @@ function Cke(e) {
}
function wke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
$I();
- let s = nn(e, n.canonical_name, Number(n.id)), c = rn(e, n.canonical_name, Number(n.id)), l = vQ(e), u = hke(e), d = l ? xke(n.profile) : u ? bke(n.company_profile) : [], f = vke(n, e), p = SQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);
+ let s = nn(e, n.canonical_name, Number(n.id)), c = rn(e, n.canonical_name, Number(n.id)), l = EQ(e), u = hke(e), d = l ? xke(n.profile) : u ? bke(n.company_profile) : [], f = vke(n, e), p = AQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
o.wireScroller(h.current);
}, [o, f.length]), (0, F.useEffect)(() => {
@@ -66780,7 +66874,7 @@ function wke({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(fQ, {
+ }), i ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(bQ, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
@@ -66802,7 +66896,7 @@ function Tke({ kind: e, name: t, helpers: n, people: r, company: i }) {
});
}
function Eke({ kind: e, entity: t, actions: n }) {
- let r = yQ(t), i = (e, t) => (r) => {
+ let r = DQ(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, I.jsx)("a", {
href: Pn("agency", r.name, r.id),
@@ -66815,11 +66909,11 @@ function Eke({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, I.jsx)(wQ, { entity: t }),
+ /* @__PURE__ */ (0, I.jsx)(MQ, { entity: t }),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, I.jsx)(pQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]
}),
t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(Oke, {
follow: t.follow,
@@ -66828,12 +66922,12 @@ function Eke({ kind: e, entity: t, actions: n }) {
a ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, I.jsx)(pQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
}) : null,
r ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, I.jsx)(pQ, { name: "id-card" }),
+ /* @__PURE__ */ (0, I.jsx)(xQ, { name: "id-card" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-alias-names": "",
title: "别名",
@@ -66842,13 +66936,13 @@ function Eke({ kind: e, entity: t, actions: n }) {
children: e
}, t))
}),
- r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(_Q, {
+ r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(TQ, {
id: "entityAliasPop",
hook: "alias",
rest: r.rest,
label: `另外 ${r.rest.toLocaleString()} 个别名`,
heading: `${r.total.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(TQ, {
+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(NQ, {
label: e.label,
names: e.names
}, t)) })
@@ -66870,21 +66964,21 @@ function Eke({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, I.jsx)(wQ, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, I.jsx)(MQ, { entity: t }) : null,
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, I.jsx)(pQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, I.jsx)(pQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, I.jsx)(pQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {
+ children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {
href: Pn("studio", l.name, l.id),
"data-studio-link": l.name,
onClick: i("studio", l.name),
@@ -66896,24 +66990,24 @@ function Eke({ kind: e, entity: t, actions: n }) {
});
}
function Dke({ aliases: e }) {
- let { shown: t, rest: n } = CQ(e, 3);
+ let { shown: t, rest: n } = jQ(e, 3);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(pQ, { name: "id-card" }),
+ /* @__PURE__ */ (0, I.jsx)(xQ, { name: "id-card" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: t.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", { children: e }, t))
}),
- n ? /* @__PURE__ */ (0, I.jsx)(_Q, {
+ n ? /* @__PURE__ */ (0, I.jsx)(TQ, {
id: "entityAliasPop",
hook: "alias",
rest: n,
label: `另外 ${n.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(TQ, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(NQ, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
@@ -66924,7 +67018,7 @@ function Oke({ follow: e, actions: t }) {
"data-meta-item": "",
"data-entity-follow": "",
title: n ? `关注 · ${n}` : "关注",
- children: [/* @__PURE__ */ (0, I.jsx)(pQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -66967,14 +67061,14 @@ function kke({ follow: e, displayName: t, actions: n }) {
}, e.key))
});
}
-function wQ({ entity: e }) {
+function MQ({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, I.jsx)(pQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function TQ({ label: e, names: t }) {
+function NQ({ label: e, names: t }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, I.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -66985,19 +67079,19 @@ function TQ({ label: e, names: t }) {
})] });
}
function Ake({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(pQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(xQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
function jke({ tags: e }) {
- let { shown: t, rest: n } = CQ(e);
+ let { shown: t, rest: n } = jQ(e);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-fact-tag": "",
title: e,
children: e
- }, e)), n ? /* @__PURE__ */ (0, I.jsx)(_Q, {
+ }, e)), n ? /* @__PURE__ */ (0, I.jsx)(TQ, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -67013,10 +67107,10 @@ function jke({ tags: e }) {
})
}) : null] });
}
-function EQ({ mark: e }) {
+function PQ({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, I.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, I.jsx)(pQ, { name: e.brand })
+ children: /* @__PURE__ */ (0, I.jsx)(xQ, { name: e.brand })
});
let t = R("globe") + ("site" in e ? `<img src="${z(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, I.jsx)("span", {
@@ -67033,19 +67127,19 @@ function Mke({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, I.jsx)(EQ, { mark: e.mark })
+ children: /* @__PURE__ */ (0, I.jsx)(PQ, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, I.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, I.jsx)(EQ, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, I.jsx)(PQ, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-link": "private",
title: e.sources ? e.sources.join("\n") : e.label,
- children: [/* @__PURE__ */ (0, I.jsx)(EQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(PQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -67057,7 +67151,7 @@ function Mke({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
children: [
- /* @__PURE__ */ (0, I.jsx)(EQ, { mark: e.mark }),
+ /* @__PURE__ */ (0, I.jsx)(PQ, { mark: e.mark }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-link-label": "",
children: e.text
@@ -67090,14 +67184,14 @@ function Nke({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entry-marks": "",
- children: [SQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {
+ children: [AQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noopener noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(pQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(xQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, I.jsx)("span", {
@@ -67226,7 +67320,7 @@ function Fke(e, t, n) {
}
// src/react/entity-page/entity-page-view.tsx
function Ike(e) {
- let { kind: t, name: n } = e, r = Ft(zX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+ let { kind: t, name: n } = e, r = Ft(qX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
kind: t,
name: a
} : void 0), { actions: s } = e;
@@ -67244,7 +67338,7 @@ function Ike(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(RG, {
+ ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(XG, {
message: lr(r.error),
onRetry: () => {
r.refetch();
@@ -67254,7 +67348,7 @@ function Ike(e) {
entity: r.data
});
}
-function DQ(e) {
+function FQ(e) {
let [t, n] = (0, F.useState)({
key: e,
n: 1
@@ -67271,17 +67365,17 @@ function Rke(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
function zke(e) {
- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = Lt(BX(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || VX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = Lt(JX(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || YX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
media: "online",
set: 0
- } : MX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);
+ } : BX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);
S !== x && (C(x), b("videos"));
let w = l && y === "people" && u.length ? "people" : v.media, T = Fke(g, w === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
setImagesOnly: e.follow.actions.setImagesOnly
- }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = RX(e), A = Ft(k), j = DQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));
+ }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = KX(e), A = Ft(k), j = FQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));
(0, F.useLayoutEffect)(() => {
s.javContext(M);
}, [s, M]);
@@ -67291,26 +67385,26 @@ function zke(e) {
}, [e.layout, M]), N = {
jav: e.jav,
seed: e.seed
- }, te = (0, F.useCallback)((e, r, a) => LX(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = Lt({
- ...BX(t, n, re, ie),
+ }, te = (0, F.useCallback)((e, r, a) => GX(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = Lt({
+ ...JX(t, n, re, ie),
enabled: w === "photos"
- }), oe = ae.data?.pages[0], se = DQ(JSON.stringify(PX(t, n, re, ie))), ce = (0, F.useMemo)(() => {
+ }), oe = ae.data?.pages[0], se = FQ(JSON.stringify(HX(t, n, re, ie))), ce = (0, F.useMemo)(() => {
let e = ae.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: se,
- codeSets: t.id ? [] : VX(t),
+ codeSets: t.id ? [] : YX(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
}, [ae.data, se]), le = ae.refetch, ue = ae.fetchNextPage, de = Ft({
- ...kX(d, o.feedRowHtml),
+ ...LX(d, o.feedRowHtml),
enabled: !!d
}), fe = (0, F.useRef)(e.feedRevision);
(0, F.useEffect)(() => {
- fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: OX(d) }));
+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: IX(d) }));
}, [d, e.feedRevision]);
let pe = !!A.data;
(0, F.useEffect)(() => {
@@ -67344,7 +67438,7 @@ function zke(e) {
me.current = !1;
}, []);
let he = (0, F.useCallback)(async () => {
- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: NX(t, n) }), await H.invalidateQueries({ queryKey: [
+ await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: VX(t, n) }), await H.invalidateQueries({ queryKey: [
"entity-items",
t,
n
@@ -67378,7 +67472,7 @@ function zke(e) {
enabled: e
})
}),
- onSuccess: (e, r) => H.setQueryData(NX(t, n), (e) => e && {
+ onSuccess: (e, r) => H.setQueryData(VX(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -67432,10 +67526,10 @@ function zke(e) {
let e = await Tn("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- me.current && await H.invalidateQueries({ queryKey: OX(d) });
+ me.current && await H.invalidateQueries({ queryKey: IX(d) });
})();
},
- feedAction: AX,
+ feedAction: RX,
avatarPicked: () => {
s.avatarChanged(), he().then(() => {
me.current && O((e) => e + 1);
@@ -67483,19 +67577,19 @@ function zke(e) {
(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : MX));
+ } : BX));
},
setState: (e) => s.route({
...i,
state: e
- }, MX),
+ }, BX),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (w !== "photos") {
- let r = s.reshuffleVideos(), a = RX({
+ let r = s.reshuffleVideos(), a = KX({
kind: t,
name: n,
filters: {
@@ -67509,7 +67603,7 @@ function zke(e) {
await H.fetchQuery(a).catch(() => null);
return;
}
- let r = Lke(), a = await H.fetchInfiniteQuery(BX(t, n, re, r)).catch(() => null);
+ let r = Lke(), a = await H.fetchInfiniteQuery(JX(t, n, re, r)).catch(() => null);
me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({
...e,
[re]: r
@@ -67579,14 +67673,14 @@ function zke(e) {
creator: "",
studio: "",
owner: ""
- }, MX), Ne = "", Pe = !1;
+ }, BX), Ne = "", Pe = !1;
if (w === "people") Ne = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (w === "online") Pe = T.busy, Ne = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (w === "videos") {
Pe = !A.data;
- let e = FX(i.tag).length;
+ let e = UX(i.tag).length;
Ne = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : Rke(oe, VX(oe).length) : Pe = ae.isPending;
+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : Rke(oe, YX(oe).length) : Pe = ae.isPending;
let Fe = (0, F.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -67646,7 +67740,7 @@ function zke(e) {
actions: e.follow.actions,
canLoadMore: e.canLoadMore,
clearFilters: T.clearFilters
- }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(RG, {
+ }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(XG, {
message: lr(A.error),
onRetry: () => {
A.refetch();
@@ -67714,30 +67808,30 @@ function Bke({ filtered: e, onShowAll: t, onOnline: n }) {
});
}
// src/react/diagnostics/diagnostics.ts
-var OQ = ["diagnostics"], kQ = (e) => B("/api/diagnostics", e);
+var IQ = ["diagnostics"], LQ = (e) => B("/api/diagnostics", e);
async function Vke(e) {
await H.fetchQuery({
- queryKey: OQ,
- queryFn: () => kQ(e),
+ queryKey: IQ,
+ queryFn: () => LQ(e),
staleTime: 1e4
});
}
// src/react/feed-new/feed-new-page.tsx
function Hke({ host: e, revision: t, helpers: n, actions: r }) {
- let i = Ft(kX(null, n.feedRowHtml)), a = (0, F.useRef)(t);
+ let i = Ft(LX(null, n.feedRowHtml)), a = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: OX(null) }));
- }, [t]), (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(fQ, {
+ a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: IX(null) }));
+ }, [t]), (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(bQ, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: AX,
+ act: RX,
settled: r.settled
}), e);
}
// src/react/index/index-search.tsx
var Uke = cV("search");
-function AQ({ label: e, value: t, onQuery: n }) {
+function RQ({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, F.useState)(t), a = (0, F.useRef)(!1), o = (0, F.useRef)(void 0);
(0, F.useEffect)(() => {
clearTimeout(o.current), i(t);
@@ -67767,14 +67861,14 @@ function AQ({ label: e, value: t, onQuery: n }) {
autoComplete: "off",
enterKeyHint: "search",
onKeyDown: (e) => {
- e.key !== "Enter" || a.current || XU(e.nativeEvent) || (e.preventDefault(), clearTimeout(o.current), n(r.trim()));
+ e.key !== "Enter" || a.current || lW(e.nativeEvent) || (e.preventDefault(), clearTimeout(o.current), n(r.trim()));
}
})
})
});
}
// src/react/index/tag-pagination.ts
-function jQ(e) {
+function zQ(e) {
let [t, n] = (0, F.useState)({
filter: e,
pageIndex: 0,
@@ -67791,7 +67885,7 @@ function jQ(e) {
}), [e])
};
}
-function MQ(e, t, n) {
+function BQ(e, t, n) {
let { pageIndex: r, pageSize: i } = t;
(0, F.useEffect)(() => {
if (e === void 0) return;
@@ -67808,11 +67902,11 @@ function MQ(e, t, n) {
]);
}
// src/react/index/index-tags.tsx
-var NQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var VQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
-}), PQ = cV("pencil"), FQ = (e, t) => ({
+}), HQ = cV("pencil"), UQ = (e, t) => ({
kind: "tag",
name: e.k,
favorite: e.favorite,
@@ -67830,13 +67924,13 @@ function Wke({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": tZ(t.online, e.cat),
+ "data-tag-cat": lZ(t.online, e.cat),
"aria-pressed": n,
title: e.label,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, I.jsx)(NQ, {}),
+ /* @__PURE__ */ (0, I.jsx)(VQ, {}),
/* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -67847,29 +67941,29 @@ function Wke({ tag: e, actions: t }) {
})
]
}),
- t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(SV, { item: FQ(e, t.online) }),
+ t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(SV, { item: UQ(e, t.online) }),
t.edit ? /* @__PURE__ */ (0, I.jsx)(xV, {
label: `编辑标签 ${e.label}`,
onClick: () => t.edit?.(e.k),
- children: /* @__PURE__ */ (0, I.jsx)(PQ, {})
+ children: /* @__PURE__ */ (0, I.jsx)(HQ, {})
}) : null
]
});
}
-function IQ({ groups: e, actions: t }) {
+function WQ({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, I.jsxs)("section", {
"data-alpha-group": r,
- className: vU({
+ className: yU({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, I.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, I.jsx)(gW, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, I.jsx)(AW, { value: n.length })]
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(Wke, {
@@ -67881,19 +67975,19 @@ function IQ({ groups: e, actions: t }) {
});
}
var Gke = "\xA0";
-function LQ({ tags: e, actions: t }) {
+function GQ({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("span", {
"data-tag-token": "",
- "data-tag-cat": tZ(t.online, e.cat),
+ "data-tag-cat": lZ(t.online, e.cat),
className: "inline-flex max-w-full min-w-0 items-center gap-1 rounded-lg border p-1",
children: [/* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": tZ(t.online, e.cat),
+ "data-tag-cat": lZ(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
@@ -67908,10 +68002,10 @@ function LQ({ tags: e, actions: t }) {
}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-tag-actions": "",
className: "inline-flex flex-none items-center gap-1",
- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(SV, { item: FQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(xV, {
+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(SV, { item: UQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(xV, {
label: `编辑标签 ${e.label}`,
onClick: () => t.edit?.(e.k),
- children: /* @__PURE__ */ (0, I.jsx)(PQ, {})
+ children: /* @__PURE__ */ (0, I.jsx)(HQ, {})
}) : null]
}) : null]
}, e.k))
@@ -67926,7 +68020,7 @@ var Kke = [[
"字母表",
"text-aa"
]];
-function RQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
+function KQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
let d = aL();
return /* @__PURE__ */ (0, I.jsx)(sL, {
label: "标签筛选",
@@ -67950,10 +68044,10 @@ function RQ({ categories: e, category: t, online: n, readout: r, letters: i, vie
}) : null]
}) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(cL, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : tZ(n, e),
+ "data-tag-cat": e === "all" ? "all" : lZ(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, I.jsx)(NQ, {}), r]
+ children: [/* @__PURE__ */ (0, I.jsx)(VQ, {}), r]
}, e))] }),
bottom: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -67979,14 +68073,14 @@ function RQ({ categories: e, category: t, online: n, readout: r, letters: i, vie
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${tU}`,
+ className: `ml-auto ${nU}`,
children: Kke.map(([e, t, n]) => {
let r = cV(n);
return /* @__PURE__ */ (0, I.jsx)(Oz, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: nU,
+ className: rU,
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: t,
className: "contents",
@@ -68034,83 +68128,8 @@ function qke({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
]
});
}
-// src/react/toaster.tsx
-var zQ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
- "data-toast-glyph": t ? "draw" : "still",
- "aria-hidden": "true",
- dangerouslySetInnerHTML: { __html: e }
-}), BQ = null, VQ = { "--floating-radius": "var(--radius-2xl)" }, HQ = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;
-function UQ() {
- let e = BQ;
- BQ = null, e?.root.unmount();
-}
-var WQ = (e, t) => {
- if (BQ?.host === e) return;
- UQ();
- let n = (0, zt.createRoot)(e);
- BQ = {
- host: e,
- root: n
- }, n.render(/* @__PURE__ */ (0, I.jsxs)(LV, { children: [/* @__PURE__ */ (0, I.jsx)(GV, {
- id: "receipts",
- position: "bottom-right",
- closeButton: !0,
- gap: 8,
- style: {
- ...VQ,
- "--width": "min(560px, calc(100vw - 48px))"
- },
- offset: {
- right: 24,
- bottom: `calc(${HQ(24)} + var(--processing-toast-space, 0px))`
- },
- mobileOffset: {
- right: 16,
- left: 16,
- bottom: `calc(${HQ(16)} + var(--processing-toast-space, 0px))`
- },
- toastOptions: { closeButtonAriaLabel: "关闭提示" },
- containerAriaLabel: "通知",
- icons: {
- success: zQ(t.success, !0),
- error: zQ(t.error, !1)
- }
- }), /* @__PURE__ */ (0, I.jsx)(GV, {
- id: "processing",
- position: "bottom-right",
- gap: 8,
- expand: !0,
- style: {
- ...VQ,
- "--width": "min(400px, calc(100vw - 32px))"
- },
- offset: {
- right: 24,
- bottom: HQ(24)
- },
- mobileOffset: {
- right: 16,
- left: 16,
- bottom: HQ(16)
- },
- toastOptions: { closeButtonAriaLabel: "关闭任务提示" },
- containerAriaLabel: "后台任务"
- })] }));
-}, Jke = 6e3, GQ = (e, t) => {
- if (!String(t.html ?? "").trim()) return;
- let n = t.alert ? BV.error : BV.success, r = t.action;
- n(/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
- id: e,
- toasterId: "receipts",
- duration: t.timeout > 0 ? t.timeout : Jke,
- action: r ? {
- label: r.label,
- onClick: (e) => {
- e.preventDefault(), r.run(e.currentTarget);
- }
- } : void 0
- });
-}, KQ = (e) => e.id ?? e.entity_id, qQ = {
+// src/react/index/tag-operations.tsx
+var qQ = (e) => e.id ?? e.entity_id, JQ = {
rename: "重命名标签",
merge: "合并标签",
hide: "隐藏标签",
@@ -68118,26 +68137,26 @@ var WQ = (e, t) => {
repair: "整理重复标签",
block: "屏蔽内容",
unblock: "恢复内容"
-}, JQ = (e, t) => V("/api/tag-management/preview", e, "POST", t);
-async function YQ(e, t, n) {
+}, YQ = (e, t) => V("/api/tag-management/preview", e, "POST", t);
+async function XQ(e, t, n) {
if (n?.aborted) return !1;
let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : e.operation === "block" ? `屏蔽带有${r}任一标签的内容及其其它版本,涉及 ${t.assets} 个资源。可在「已屏蔽内容」中恢复。` : e.operation === "unblock" ? `解除${r}的内容屏蔽,涉及 ${t.assets} 个资源。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;
return !(await dl({
- title: qQ[e.operation],
+ title: JQ[e.operation],
body: i,
- confirmLabel: qQ[e.operation],
+ confirmLabel: JQ[e.operation],
onConfirm: () => V("/api/tag-management", {
...e,
token: t.token
}, "POST", n)
- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), GQ(`tag-management-${Date.now()}`, {
- html: `已${qQ[e.operation]}`,
+ })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), qU(`tag-management-${Date.now()}`, {
+ html: `已${JQ[e.operation]}`,
alert: !1,
timeout: 6e3,
action: null
}), !0);
}
-function XQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
+function ZQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
let a = (0, F.useRef)({
operation: e,
selected: t,
@@ -68146,24 +68165,24 @@ function XQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
scope: i
}), o = (0, F.useRef)({
name: t[0]?.k || "",
- target_id: t[0] ? KQ(t[0]) : 0
+ target_id: t[0] ? qQ(t[0]) : 0
}), [s, c] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
let e = new AbortController(), t = a.current, n = ll({
- title: qQ[t.operation],
+ title: JQ[t.operation],
confirmLabel: "预览影响范围",
confirmDisabled: !0,
body: "<div class=\"peach-react\" data-tag-editor-fields></div>",
onConfirm: async () => {
let n = {
operation: t.operation,
- ids: t.selected.map(KQ),
+ ids: t.selected.map(qQ),
...t.scope === "online" ? { scope: t.scope } : {},
...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }
};
return {
command: n,
- plan: await JQ(n, e.signal)
+ plan: await YQ(n, e.signal)
};
}
});
@@ -68174,14 +68193,14 @@ function XQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
if (!e.signal.aborted) {
if (n.confirmed) {
let r = n.result;
- await YQ(r.command, r.plan, e.signal) && t.done();
+ await XQ(r.command, r.plan, e.signal) && t.done();
}
e.signal.aborted || t.close();
}
}), () => {
e.abort(), n.close();
};
- }, []), s ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Yke, {
+ }, []), s ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Jke, {
operation: a.current.operation,
selected: a.current.selected,
dialog: s.dialog,
@@ -68190,8 +68209,8 @@ function XQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
}
}), s.host) : null;
}
-function Yke({ operation: e, selected: t, dialog: n, update: r }) {
- let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? KQ(t[0]) : 0);
+function Jke({ operation: e, selected: t, dialog: n, update: r }) {
+ let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? qQ(t[0]) : 0);
return (0, F.useEffect)(() => {
r({
name: i,
@@ -68210,22 +68229,22 @@ function Yke({ operation: e, selected: t, dialog: n, update: r }) {
value: i,
onChange: a,
maxLength: 80
- }) : /* @__PURE__ */ (0, I.jsx)(BJ, {
+ }) : /* @__PURE__ */ (0, I.jsx)(XU, {
"aria-label": "保留的标签",
prefix: "保留",
selectedKey: String(o),
onSelectionChange: (e) => {
- let n = t.find((t) => String(KQ(t)) === String(e));
- n && s(KQ(n));
+ let n = t.find((t) => String(qQ(t)) === String(e));
+ n && s(qQ(n));
},
- children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(zU, {
- id: String(KQ(e)),
+ children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(BU, {
+ id: String(qQ(e)),
children: e.k
- }, KQ(e)))
+ }, qQ(e)))
});
}
// src/react/index/tag-manager.tsx
-function ZQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
+function QQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
let s = o === "online", c = (0, F.useRef)(null), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(t), [p, m] = (0, F.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)(!1), S = JSON.stringify([
o,
_,
@@ -68233,7 +68252,7 @@ function ZQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
g,
v,
b
- ]), { pagination: C, onChange: w } = jQ(S), T = new URLSearchParams({
+ ]), { pagination: C, onChange: w } = zQ(S), T = new URLSearchParams({
limit: String(C.pageSize),
offset: String(C.pageIndex * C.pageSize),
q: _,
@@ -68250,25 +68269,25 @@ function ZQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
],
queryFn: ({ signal: e }) => B(`/api/tag-management?${T}`, e)
});
- MQ(E.data?.total, C, w);
+ BQ(E.data?.total, C, w);
let [D, O] = (0, F.useState)(/* @__PURE__ */ new Map());
(0, F.useEffect)(() => {
O(/* @__PURE__ */ new Map());
}, [S]);
- let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = uH(), ee = E.data?.items || [], N = ee, te = (s ? KX : GX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({
+ let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = uH(), ee = E.data?.items || [], N = ee, te = (s ? eZ : $X).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({
...e,
label: e.k
- })), ne = g === "alphabet" ? nZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {
+ })), ne = g === "alphabet" ? uZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {
M.run(e.operation, async (t) => {
let n = s ? {
...e,
scope: o
} : e;
- return YQ(n, await JQ(n, t), t);
+ return XQ(n, await YQ(n, t), t);
}, (e) => {
e && O(/* @__PURE__ */ new Map());
});
- }, ae = re.map(KQ), oe = {
+ }, ae = re.map(qQ), oe = {
online: s,
favorites: s,
picked: k,
@@ -68289,13 +68308,13 @@ function ZQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
children: [
e === void 0 ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "mb-4 flex",
- children: /* @__PURE__ */ (0, I.jsx)(AQ, {
+ children: /* @__PURE__ */ (0, I.jsx)(RQ, {
label: "过滤标签",
value: l,
onQuery: u
})
}) : null,
- /* @__PURE__ */ (0, I.jsx)(RQ, {
+ /* @__PURE__ */ (0, I.jsx)(KQ, {
categories: te,
category: h,
online: s,
@@ -68352,10 +68371,10 @@ function ZQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
children: "立即重试"
}),
children: "无法读取标签"
- }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(IQ, {
+ }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(WQ, {
groups: ne,
actions: oe
- }) : /* @__PURE__ */ (0, I.jsx)(LQ, {
+ }) : /* @__PURE__ */ (0, I.jsx)(GQ, {
tags: P,
actions: oe
}) : /* @__PURE__ */ (0, I.jsx)(aV, {
@@ -68364,7 +68383,7 @@ function ZQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}),
E.data ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "mt-5",
- children: /* @__PURE__ */ (0, I.jsx)(UJ, {
+ children: /* @__PURE__ */ (0, I.jsx)(eW, {
label: "标签管理",
total: E.data.total,
pagination: C,
@@ -68419,7 +68438,7 @@ function ZQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}) : null
]
}),
- A ? /* @__PURE__ */ (0, I.jsx)(XQ, {
+ A ? /* @__PURE__ */ (0, I.jsx)(ZQ, {
operation: A,
selected: re,
scope: o,
@@ -68430,7 +68449,7 @@ function ZQ({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
});
}
// src/react/index/index-page.tsx
-var Xke = [
+var Yke = [
{
value: "studios",
label: "厂牌",
@@ -68446,7 +68465,7 @@ var Xke = [
label: "系列",
symbol: "list"
}
-], Zke = [{
+], Xke = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -68454,7 +68473,7 @@ var Xke = [
value: "online",
label: "在线",
symbol: "rss"
-}], Qke = [
+}], Zke = [
{
value: "performers",
label: "艺人",
@@ -68470,7 +68489,7 @@ var Xke = [
label: "在线",
symbol: "rss"
}
-], $ke = {
+], Qke = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -68499,20 +68518,20 @@ var Xke = [
"layout-grid"
]]
};
-function eAe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, I.jsx)(QH, {
- "aria-label": `${WX[e]}索引版式`,
+function $ke({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, I.jsx)($H, {
+ "aria-label": `${QX[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none ${$H}`,
- children: $ke[e === "series" ? "series" : YX(e) ? "company" : "people"].map(([e, t, n]) => {
+ className: `flex-none ${eU}`,
+ children: Qke[e === "series" ? "series" : rZ(e) ? "company" : "people"].map(([e, t, n]) => {
let r = cV(n);
return /* @__PURE__ */ (0, I.jsx)(Oz, {
value: e,
"aria-label": t,
- className: Qve,
+ className: Xve,
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: t,
className: "contents",
@@ -68522,8 +68541,8 @@ function eAe({ kind: e, layout: t, onChange: n }) {
})
});
}
-function tAe(e) {
- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => XX({
+function eAe(e) {
+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => iZ({
kind: e.kind,
q: e.q,
scope: e.scope,
@@ -68536,8 +68555,8 @@ function tAe(e) {
e.view,
e.category
]), [o, s] = (0, F.useState)(a);
- a !== o && (s(a), i(XX(e)));
- let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = WX[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";
+ a !== o && (s(a), i(iZ(e)));
+ let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = QX[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";
(0, F.useEffect)(() => {
if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;
let t = !0;
@@ -68556,7 +68575,7 @@ function tAe(e) {
...t
};
i(o), e.route(o, { replace: a });
- }, { pagination: w, onChange: T } = jQ(JSON.stringify(r)), E = eZ(ZX(r), w.pageSize), D = Lt({
+ }, { pagination: w, onChange: T } = zQ(JSON.stringify(r)), E = cZ(aZ(r), w.pageSize), D = Lt({
queryKey: h === "tags" && (w.pageIndex || w.pageSize !== 100) ? [
...E.queryKey,
"page",
@@ -68579,7 +68598,7 @@ function tAe(e) {
D.isPending,
D.isPlaceholderData,
r
- ]), MQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);
+ ]), BQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);
let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : NDe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;
te && !D.isPlaceholderData && (N.current = {
key: ee,
@@ -68596,15 +68615,15 @@ function tAe(e) {
O,
h,
x
- ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? nZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [
+ ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? uZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [
ie,
v,
h,
x
]), oe = (t) => {
l(t), e.savePreference({ layout: t });
- }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(_W, {
- tabs: Zke,
+ }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(jW, {
+ tabs: Xke,
value: _,
label: "词表",
onChange: (e) => {
@@ -68614,8 +68633,8 @@ function tAe(e) {
view: e === "online" ? "alphabet" : v
});
}
- }) : YX(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(_W, {
- tabs: Xke,
+ }) : rZ(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(jW, {
+ tabs: Yke,
value: h,
label: "资料类型",
onChange: (e) => C({ kind: e })
@@ -68624,7 +68643,7 @@ function tAe(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : ie.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");
- }, le = (x ? KX : GX).filter(re);
+ }, le = (x ? eZ : $X).filter(re);
return /* @__PURE__ */ (0, I.jsxs)("div", {
ref: m,
"data-index-page": h,
@@ -68639,7 +68658,7 @@ function tAe(e) {
className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: b
}),
- JX(h) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ nZ(h) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",
children: /* @__PURE__ */ (0, I.jsx)(eL, {
@@ -68651,7 +68670,7 @@ function tAe(e) {
})
})
}) : null,
- JX(h) ? /* @__PURE__ */ (0, I.jsx)(eAe, {
+ nZ(h) ? /* @__PURE__ */ (0, I.jsx)($ke, {
kind: h,
layout: c,
onChange: oe
@@ -68670,7 +68689,7 @@ function tAe(e) {
e.exitSelectMode(), d(/* @__PURE__ */ new Set()), n(!t);
}
}) : null,
- /* @__PURE__ */ (0, I.jsx)(AQ, {
+ /* @__PURE__ */ (0, I.jsx)(RQ, {
label: `过滤${b}`,
value: g,
onQuery: (e) => {
@@ -68679,8 +68698,8 @@ function tAe(e) {
})
]
}),
- h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(_W, {
- tabs: Qke,
+ h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(jW, {
+ tabs: Zke,
value: S ? "online" : h,
label: "人物名册",
onChange: (t) => {
@@ -68692,7 +68711,7 @@ function tAe(e) {
}
}) : null,
se,
- t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(ZQ, {
+ t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(QQ, {
scope: _,
search: g,
category: y,
@@ -68706,8 +68725,8 @@ function tAe(e) {
}, _) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
h === "performers" && _ === "local" ? /* @__PURE__ */ (0, I.jsx)("div", {
"aria-label": "身份分类",
- className: UX,
- children: HX.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {
+ className: ZX,
+ children: XX.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {
variant: y === e ? "primary" : "secondary",
size: "small",
"aria-pressed": y === e,
@@ -68715,7 +68734,7 @@ function tAe(e) {
children: t
}, e))
}) : null,
- h === "tags" ? /* @__PURE__ */ (0, I.jsx)(RQ, {
+ h === "tags" ? /* @__PURE__ */ (0, I.jsx)(KQ, {
categories: le,
category: y,
online: x,
@@ -68731,7 +68750,7 @@ function tAe(e) {
}) : null,
/* @__PURE__ */ (0, I.jsx)("div", {
"data-index-body": "",
- children: /* @__PURE__ */ (0, I.jsx)(zG, {
+ children: /* @__PURE__ */ (0, I.jsx)(ZG, {
pending: k,
skeletonHtml: () => h === "tags" ? ac({
mode: v,
@@ -68753,7 +68772,7 @@ function tAe(e) {
}),
children: xn(D.error)
});
- if (!O.length) return /* @__PURE__ */ (0, I.jsx)(rAe, {
+ if (!O.length) return /* @__PURE__ */ (0, I.jsx)(nAe, {
kind: h,
filtered: !!g || y !== "all",
online: x || S,
@@ -68767,7 +68786,7 @@ function tAe(e) {
layout: c,
props: e
});
- if (JX(h)) return /* @__PURE__ */ (0, I.jsx)(aZ, {
+ if (nZ(h)) return /* @__PURE__ */ (0, I.jsx)(pZ, {
kind: h,
items: O,
layout: c,
@@ -68778,10 +68797,10 @@ function tAe(e) {
picked: u,
press: ce
};
- return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(IQ, {
+ return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(WQ, {
groups: ae,
actions: t
- }) : /* @__PURE__ */ (0, I.jsx)(LQ, {
+ }) : /* @__PURE__ */ (0, I.jsx)(GQ, {
tags: ie,
actions: t
});
@@ -68790,7 +68809,7 @@ function tAe(e) {
}),
h === "tags" && !k && !D.isError ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "mt-5",
- children: /* @__PURE__ */ (0, I.jsx)(UJ, {
+ children: /* @__PURE__ */ (0, I.jsx)(eW, {
label: "标签",
total: j ?? O.length,
pagination: w,
@@ -68829,7 +68848,7 @@ function tAe(e) {
]
});
}
-var nAe = {
+var tAe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
@@ -68837,7 +68856,7 @@ var nAe = {
agencies: "事务所",
series: "系列"
};
-function rAe({ kind: e, filtered: t, online: n, onClear: r }) {
+function nAe({ kind: e, filtered: t, online: n, onClear: r }) {
if (t) return /* @__PURE__ */ (0, I.jsx)(oV, {
icon: cV("search"),
title: "没有符合条件的内容",
@@ -68848,7 +68867,7 @@ function rAe({ kind: e, filtered: t, online: n, onClear: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : nAe[e], a = /* @__PURE__ */ (0, I.jsx)(mL, {
+ let i = n && e === "performers" ? "创作者" : tAe[e], a = /* @__PURE__ */ (0, I.jsx)(mL, {
size: "small",
variant: n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
@@ -68865,15 +68884,15 @@ function rAe({ kind: e, filtered: t, online: n, onClear: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var QQ = {
+var $Q = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, iAe = (e) => QQ[e.junk_kind || "other"] || QQ.other;
-function aAe(e) {
+}, rAe = (e) => $Q[e.junk_kind || "other"] || $Q.other;
+function iAe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -68884,40 +68903,40 @@ function aAe(e) {
glyph: "check"
};
}
-var $Q = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), oAe = (e, t) => [
+var e$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), aAe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function sAe({ kind: e, view: t }) {
+function oAe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function cAe(e, t) {
- let n = await B(`/api/ads?${sAe(e)}`, t);
+async function sAe(e, t) {
+ let n = await B(`/api/ads?${oAe(e)}`, t);
return {
...n,
items: n.items || []
};
}
// src/react/junk-queue/junk-card.tsx
-function e$({ name: e }) {
+function t$({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-var t$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function lAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = iAe(e), m = String(e.name || ""), h = aAe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
- t.target.closest("[data-junk-actions]") || t$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var n$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function cAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = rAe(e), m = String(e.name || ""), h = iAe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
+ t.target.closest("[data-junk-actions]") || n$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), t$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), n$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
}, b = (t) => {
t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));
}, x = (t) => (n) => {
@@ -68948,7 +68967,7 @@ function lAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: aK,
+ onMouseDown: _K,
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
@@ -68956,7 +68975,7 @@ function lAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, I.jsx)(e$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, I.jsx)(t$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-art": "thumb",
@@ -68968,7 +68987,7 @@ function lAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(e$, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(t$, { name: "check" })
})
]
}),
@@ -69005,7 +69024,7 @@ function lAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: Hs("正在定位") }
- }) : /* @__PURE__ */ (0, I.jsx)(e$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {
+ }) : /* @__PURE__ */ (0, I.jsx)(t$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -69017,7 +69036,7 @@ function lAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...S(h.operation),
onClick: x(h.operation),
- children: [/* @__PURE__ */ (0, I.jsx)(e$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(t$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -69029,7 +69048,7 @@ function lAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...S("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, I.jsx)(e$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(t$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -69044,9 +69063,9 @@ function lAe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var uAe = (0, F.memo)(lAe);
+var lAe = (0, F.memo)(cAe);
// src/react/components/collection-summary.tsx
-function n$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function r$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-collection-summary": "",
className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5
@@ -69072,31 +69091,31 @@ function n$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
});
}
// src/react/junk-queue/junk-count.tsx
-function r$({ name: e }) {
+function i$({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function i$({ scope: e, count: t }) {
+function a$({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function dAe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = FV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = fL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? jU.map(([e]) => $Q(t, e)).join(",") : ""}`), l = PU(s), u = (e) => {
+function uAe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = FV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = fL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? MU.map(([e]) => e$(t, e)).join(",") : ""}`), l = FU(s), u = (e) => {
let t = e.target.closest("a");
- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || NU()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || PU()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, I.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, I.jsx)(n$, {
- label: FU(s),
+ children: /* @__PURE__ */ (0, I.jsx)(r$, {
+ label: IU(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -69116,17 +69135,17 @@ function dAe({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- jU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {
- href: NU(e, s),
+ MU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {
+ href: PU(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, I.jsx)(r$, { name: r }),
+ /* @__PURE__ */ (0, I.jsx)(i$, { name: r }),
n,
- /* @__PURE__ */ (0, I.jsx)(i$, {
+ /* @__PURE__ */ (0, I.jsx)(a$, {
scope: e,
- count: t ? $Q(t, e) : 0
+ count: t ? e$(t, e) : 0
})
]
}, e || "all")),
@@ -69140,9 +69159,9 @@ function dAe({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-current": s === "dismissed" ? "page" : void 0,
onPointerEnter: s === "dismissed" ? void 0 : c.hover,
children: [
- /* @__PURE__ */ (0, I.jsx)(r$, { name: l.glyph }),
+ /* @__PURE__ */ (0, I.jsx)(i$, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, I.jsx)(i$, {
+ /* @__PURE__ */ (0, I.jsx)(a$, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -69154,33 +69173,33 @@ function dAe({ route: e, page: t, failed: n, onNavigate: r }) {
});
}
// src/react/junk-queue/junk-queue-page.tsx
-var fAe = cV("check"), pAe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function mAe(e) {
+var dAe = cV("check"), fAe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function pAe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = Ft({
- queryKey: oAe(t, e.revision),
- queryFn: ({ signal: e }) => cAe(t, e),
- placeholderData: (e, n) => n && pAe(n.queryKey, t) ? e : void 0
+ queryKey: aAe(t, e.revision),
+ queryFn: ({ signal: e }) => sAe(t, e),
+ placeholderData: (e, n) => n && fAe(n.queryKey, t) ? e : void 0
});
(0, F.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = hAe(e.countRow), i = n.isPending;
+ let r = mAe(e.countRow), i = n.isPending;
(0, F.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, F.useLayoutEffect)(() => {
r && n.data && nc(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(dAe, {
+ let { navigate: a } = e.actions, o = r ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(uAe, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(gAe, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(hAe, {
props: e,
data: n.data,
pending: i,
@@ -69188,7 +69207,7 @@ function mAe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function hAe(e) {
+function mAe(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!e) return;
@@ -69198,7 +69217,7 @@ function hAe(e) {
};
}, [e]), t;
}
-function gAe({ props: e, data: t, pending: n, error: r, retry: i }) {
+function hAe({ props: e, data: t, pending: n, error: r, retry: i }) {
let a = Txe(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
@@ -69207,14 +69226,14 @@ function gAe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": a.fading ? "" : void 0,
children: [a.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, I.jsx)(RG, {
+ if (!t) return /* @__PURE__ */ (0, I.jsx)(XG, {
message: xn(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
return /* @__PURE__ */ (0, I.jsx)(oV, {
- icon: fAe,
+ icon: dAe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
actions: t ? /* @__PURE__ */ (0, I.jsx)(mL, {
size: "small",
@@ -69229,7 +69248,7 @@ function gAe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(uAe, {
+ children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(lAe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -69238,7 +69257,7 @@ function gAe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(_Ae, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(gAe, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -69248,14 +69267,14 @@ function gAe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function _Ae({ onMore: e }) {
+function gAe({ onMore: e }) {
let t = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
let n = t.current;
if (!n || typeof IntersectionObserver > "u") return;
let r = new IntersectionObserver((t) => {
t.some((e) => e.isIntersecting) && e();
- }, { rootMargin: LG });
+ }, { rootMargin: YG });
return r.observe(n), () => r.disconnect();
}, [e]), /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
@@ -69265,22 +69284,22 @@ function _Ae({ onMore: e }) {
});
}
// src/react/components/fieldset-layout.ts
-var vAe = vU({
+var _Ae = yU({
padding: "none",
className: "overflow-hidden"
-}), a$ = {
+}), o$ = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, o$ = {
+}, s$ = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
};
-function s$(e) {
- return `${vAe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
+function c$(e) {
+ return `${_Ae} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
}
// src/react/data-cleanup/cleanup-entry.ts
-var c$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", l$ = {
- face: vU({
+var l$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", u$ = {
+ face: yU({
padding: "none",
radius: "plain",
interactive: !0,
@@ -69292,34 +69311,34 @@ var c$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", l
summary: "text-body-2-regular tabular-nums text-text-secondary wrap-anywhere",
detail: "text-caption-1-regular text-text-tertiary wrap-anywhere",
arrow: "size-4 shrink-0 self-center text-foreground-icon-tertiary"
-}, yAe = [
+}, vAe = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], bAe = [
+], yAe = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function xAe(e = {}) {
- return `${vU({
+function bAe(e = {}) {
+ return `${yU({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var SAe = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", CAe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function u$({ interactive: e = !1 } = {}) {
- return vU({
+var xAe = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", SAe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function d$({ interactive: e = !1 } = {}) {
+ return yU({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var d$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function wAe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var f$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function CAe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -69352,13 +69371,13 @@ function wAe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMet
})
] });
}
-function TAe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function wAe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.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, I.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${yAe[n % 4]} ${bAe[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${vAe[n % 4]} ${yAe[n % 4]}`,
children: /* @__PURE__ */ (0, I.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -69379,96 +69398,96 @@ function TAe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
] });
}
// src/management.ts
-var f$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", p$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", m$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", h$ = "disabled data-skeleton-action", EAe = "aria-disabled=\"true\"", g$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, _$ = (e, t, n) => `<div class="${a$[n]}"><div class="flex flex-col gap-2">
+var p$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", m$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", h$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", g$ = "disabled data-skeleton-action", TAe = "aria-disabled=\"true\"", _$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, v$ = (e, t, n) => `<div class="${o$[n]}"><div class="flex flex-col gap-2">
<h3 class="text-title-2-medium text-text-primary">${e}</h3>
<p class="text-body-2-regular text-text-secondary">${t}</p></div></div>`;
-function DAe() {
- return g$(`<section aria-label="扫描与采集" class="${s$("stack")}" data-cleanup-task data-cleanup-processing>
- ${_$("扫描与采集", f$, "stack")}
- <footer class="${o$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Es("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${ks({
+function EAe() {
+ return _$(`<section aria-label="扫描与采集" class="${c$("stack")}" data-cleanup-task data-cleanup-processing>
+ ${v$("扫描与采集", p$, "stack")}
+ <footer class="${s$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Es("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${ks({
label: "同步新增文件",
- attrs: h$
+ attrs: g$
})}${ks({
glyph: "chevron-down",
- attrs: `${h$} aria-label="更多同步方式"`
+ attrs: `${g$} aria-label="更多同步方式"`
})}</span></footer>
</section>`);
}
-function OAe() {
- return g$(`<section aria-label="媒体修复" class="${s$("split")}" data-cleanup-task data-cleanup-processing>
- ${_$("媒体修复", p$, "split")}
- <footer class="${o$.split}">${js(m$, {
+function DAe() {
+ return _$(`<section aria-label="媒体修复" class="${c$("split")}" data-cleanup-task data-cleanup-processing>
+ ${v$("媒体修复", m$, "split")}
+ <footer class="${s$.split}">${js(h$, {
className: "w-48",
- attrs: EAe
+ attrs: TAe
})}${ks({
label: "开始修复",
- attrs: h$
+ attrs: g$
})}</footer>
</section>`);
}
-function kAe() {
- let e = (e, t, n, r = "") => `<div class="${l$.face}"><span class="${l$.icon}">${Es(t, "size-5")}</span><span class="${l$.body}"><span class="${l$.title}">${e}</span><span class="${l$.summary}">${n}</span>${r ? `<span class="${l$.detail}">${r}</span>` : ""}</span>${Es("chevron-right", l$.arrow)}</div>`, t = (e, t) => `<div class="${u$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Es(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${m$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${m$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => np.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");
+function OAe() {
+ let e = (e, t, n, r = "") => `<div class="${u$.face}"><span class="${u$.icon}">${Es(t, "size-5")}</span><span class="${u$.body}"><span class="${u$.title}">${e}</span><span class="${u$.summary}">${n}</span>${r ? `<span class="${u$.detail}">${r}</span>` : ""}</span>${Es("chevron-right", u$.arrow)}</div>`, t = (e, t) => `<div class="${d$()}"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Es(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${h$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${h$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => np.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");
return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">
- <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${d$}">${[
+ <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${f$}">${[
["人工复核", "square-check-big"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["高清版", "sparkles"],
["回收站", "trash"]
].map(([e, n]) => t(e, n)).join("")}</div></section>
- <div id="libraryProcessing" class="scroll-mt-20">${DAe()}</div>
- <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${c$}">${r(!1)}</div></section>
- <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${c$}">${r(!0)}</div></section>
+ <div id="libraryProcessing" class="scroll-mt-20">${EAe()}</div>
+ <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${l$}">${r(!1)}</div></section>
+ <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${l$}">${r(!0)}</div></section>
</div></div>`;
}
// src/react/components/fieldset.tsx
-var AAe = vU({
+var kAe = yU({
padding: "none",
radius: "surface",
className: "overflow-hidden"
-}), jAe = "border-t border-border-button-default p-4 first:border-t-0";
-function MAe({ id: e, children: t }) {
+}), AAe = "border-t border-border-button-default p-4 first:border-t-0";
+function jAe({ id: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function v$({ id: e, gap: t = "none", children: n }) {
+function y$({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, I.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function y$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function b$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: s$(e),
+ className: c$(e),
children: [/* @__PURE__ */ (0, I.jsx)("div", {
- className: a$[e],
+ className: o$[e],
children: a
}), i ? /* @__PURE__ */ (0, I.jsx)("footer", {
- className: o$[e],
+ className: s$[e],
children: i
}) : null]
});
}
// src/react/components/name-link.tsx
-function b$({ className: e, ...t }) {
+function x$({ className: e, ...t }) {
return /* @__PURE__ */ (0, I.jsx)("a", {
...t,
className: q("text-body-2-medium underline-offset-4 hover:underline", e)
});
}
// src/react/components/issue-row.tsx
-function x$({ title: e, href: t, children: n }) {
+function S$({ title: e, href: t, children: n }) {
return /* @__PURE__ */ (0, I.jsxs)("li", {
className: "flex min-w-0 flex-col gap-1 border-b border-current/15 py-2 pr-6 wrap-anywhere first:pt-0 last:border-b-0 last:pb-0",
- children: [t ? /* @__PURE__ */ (0, I.jsx)(b$, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)(x$, {
href: t,
children: e
}) : /* @__PURE__ */ (0, I.jsx)("span", {
@@ -69478,23 +69497,23 @@ function x$({ title: e, href: t, children: n }) {
});
}
// src/react/components/status-label.tsx
-var NAe = {
+var MAe = {
success: "lime",
progress: "blue",
warning: "yellow",
error: "rose",
neutral: "neutral"
};
-function S$({ tone: e = "neutral", ...t }) {
- return /* @__PURE__ */ (0, I.jsx)(VU, {
+function C$({ tone: e = "neutral", ...t }) {
+ return /* @__PURE__ */ (0, I.jsx)(YU, {
"data-status-tone": e,
variant: "caption",
- color: NAe[e],
+ color: MAe[e],
...t
});
}
// src/react/components/path-line.tsx
-function PAe({ className: e }) {
+function NAe({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -69507,8 +69526,8 @@ function PAe({ className: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-folder-open" })
});
}
-var FAe = "打开文件管理器失败,请重试";
-function C$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
+var PAe = "打开文件管理器失败,请重试";
+function w$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
let [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(!0);
(0, F.useEffect)(() => () => {
l.current = !1;
@@ -69519,7 +69538,7 @@ function C$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
try {
await V("/api/reveal", { path: e }), i?.("已在资源管理器中显示");
} catch (e) {
- l.current && c(e instanceof sr ? e.message : FAe);
+ l.current && c(e instanceof sr ? e.message : PAe);
} finally {
l.current && o(!1);
}
@@ -69535,7 +69554,7 @@ function C$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
children: [/* @__PURE__ */ (0, I.jsx)(nL, {
- icon: PAe,
+ icon: NAe,
size: "small",
"aria-label": "在资源管理器中显示",
onClick: () => void u(),
@@ -69549,7 +69568,7 @@ function C$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
});
}
// src/react/library-processing/issue-export.ts
-async function IAe(e, t) {
+async function FAe(e, t) {
if (!e.job_id) throw Error("请先选择有问题记录的任务");
let n = [], r = 1, i = "";
for (let a = 0; a < r; a += 200) {
@@ -69572,19 +69591,19 @@ async function IAe(e, t) {
rows: n
}, null, 2);
}
-function LAe(e, t) {
+function IAe(e, t) {
let n = URL.createObjectURL(new Blob([t], { type: "application/json;charset=utf-8" })), r = document.createElement("a");
r.href = n, r.download = `peach-issues-${e}.json`, r.click(), URL.revokeObjectURL(n);
}
// src/react/library-processing/library-processing-card.tsx
-var RAe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", zAe = (e) => {
+var LAe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", RAe = (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(",")}。`;
-}, BAe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + zAe(e);
-function VAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = mve(e), o = uH(), s = uH(), [c, l] = (0, F.useState)(""), u = XV(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = dve(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && ZV(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = JV(e), y = FV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(KV, {
+}, zAe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + RAe(e);
+function BAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = pve(e), o = uH(), s = uH(), [c, l] = (0, F.useState)(""), u = XV(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = uve(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && ZV(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = JV(e), y = FV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(KV, {
action: t ? "archive" : "unarchive",
job_id: e.job_id
}, "POST", n), (n) => {
@@ -69593,8 +69612,8 @@ function VAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
variant: "secondary",
size: "small",
...uV(!!o.busy),
- onClick: () => void o.run("export", (t) => IAe(e, t), (t) => {
- LAe(e.job_id, t), i("已导出问题清单");
+ onClick: () => void o.run("export", (t) => FAe(e, t), (t) => {
+ IAe(e.job_id, t), i("已导出问题清单");
}),
children: "导出完整问题清单"
}) : null, S = p ? [
@@ -69606,18 +69625,18 @@ function VAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
children: [
- v ? /* @__PURE__ */ (0, I.jsx)(_ve, {
+ v ? /* @__PURE__ */ (0, I.jsx)(gve, {
state: e,
slow: v
}) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(aV, {
tone: "warning",
title: "处理较慢",
- children: RAe
+ children: LAe
}) : null,
n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(aV, {
tone: "success",
title: "处理完成",
- children: BAe(n)
+ children: zAe(n)
}) : null,
(n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(aV, {
tone: "neutral",
@@ -69656,7 +69675,7 @@ function VAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}),
extra: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [a ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3",
- children: /* @__PURE__ */ (0, I.jsx)(PH, {
+ children: /* @__PURE__ */ (0, I.jsx)(FH, {
summary: a.label,
contentClassName: "gap-0",
children: /* @__PURE__ */ (0, I.jsx)("div", {
@@ -69664,7 +69683,7 @@ function VAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
children: /* @__PURE__ */ (0, I.jsx)("ul", {
ref: y,
className: "max-h-96 overflow-y-auto",
- children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(x$, {
+ children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(S$, {
title: e.label,
href: e.href,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
@@ -69680,7 +69699,7 @@ function VAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}) : null, _ ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3 text-text-secondary",
- children: /* @__PURE__ */ (0, I.jsx)(C$, {
+ children: /* @__PURE__ */ (0, I.jsx)(w$, {
path: _,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -69711,8 +69730,8 @@ function VAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function w$(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = xH(e), o = It({
+function T$(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = SH(e), o = It({
mutationFn: (e) => V(KV, e),
onSuccess: (e) => {
a(), H.setQueryData(qV, e), H.invalidateQueries({ queryKey: qV });
@@ -69721,12 +69740,12 @@ function w$(e) {
(0, F.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = XH(c), u = o.error ? lr(o.error) : r.isError ? r.data ? rH : lr(r.error) : "", d = o.isPending || XV(s), f = async (e) => {
+ let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = ZH(c), u = o.error ? lr(o.error) : r.isError ? r.data ? rH : lr(r.error) : "", d = o.isPending || XV(s), f = async (e) => {
d || (o.reset(), await o.mutateAsync(e));
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, I.jsx)(y$, {
+ children: [/* @__PURE__ */ (0, I.jsx)(b$, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
@@ -69748,7 +69767,7 @@ function w$(e) {
trailingIcon: mB,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, I.jsx)(jK, {
+ /* @__PURE__ */ (0, I.jsx)(UK, {
scan: !0,
busy: o.isPending,
occupied: XV(s),
@@ -69756,7 +69775,7 @@ function w$(e) {
speedMode: s.speed_mode,
pendingCount: s.new_asset_count,
onRun: f,
- onOccupied: () => t(lve(s))
+ onOccupied: () => t(cve(s))
})
] }),
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -69766,7 +69785,7 @@ function w$(e) {
className: "flex flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(v$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(VU, {
+ children: [/* @__PURE__ */ (0, I.jsx)(y$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(YU, {
variant: "caption",
color: "blue",
children: /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -69777,28 +69796,28 @@ function w$(e) {
}), l && (XV(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- onClick: () => YH(c, !0),
+ onClick: () => XH(c, !0),
children: "显示进度浮窗"
}) : null]
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: f$
+ children: p$
}),
s.status === "paused" && !s.total ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, I.jsx)(S$, { children: "已暂停" })
- }) : XV(s) ? /* @__PURE__ */ (0, I.jsx)(Tve, { state: s }) : null,
+ children: /* @__PURE__ */ (0, I.jsx)(C$, { children: "已暂停" })
+ }) : XV(s) ? /* @__PURE__ */ (0, I.jsx)(Cve, { state: s }) : null,
XV(s) ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary tabular-nums",
"data-processing-eta": "",
children: eH(s)
}) : null,
- XV(s) ? /* @__PURE__ */ (0, I.jsx)(HH, { traffic: s.traffic }) : null,
- XV(s) ? /* @__PURE__ */ (0, I.jsx)(bH, { state: s }) : null
+ XV(s) ? /* @__PURE__ */ (0, I.jsx)(UH, { traffic: s.traffic }) : null,
+ XV(s) ? /* @__PURE__ */ (0, I.jsx)(xH, { state: s }) : null
]
})
- }), /* @__PURE__ */ (0, I.jsx)(VAe, {
+ }), /* @__PURE__ */ (0, I.jsx)(BAe, {
state: s,
problem: u,
settled: i,
@@ -69813,32 +69832,32 @@ function w$(e) {
});
}
// src/react/playlists/playlists.ts
-var HAe = "/api/playlists", T$ = "/api/playlist", E$ = ["playlists"], D$ = (e) => B(HAe, e);
-async function UAe(e) {
+var VAe = "/api/playlists", E$ = "/api/playlist", D$ = ["playlists"], O$ = (e) => B(VAe, e);
+async function HAe(e) {
await H.fetchQuery({
- queryKey: E$,
- queryFn: () => D$(e),
+ queryKey: D$,
+ queryFn: () => O$(e),
staleTime: 0
});
}
-var WAe = () => H.invalidateQueries({
- queryKey: E$,
+var UAe = () => H.invalidateQueries({
+ queryKey: D$,
exact: !0
-}), GAe = (e) => e.current_asset_id || e.preview_asset_id || null, KAe = (e) => `/poster?id=${e}&c=4`, qAe = (e) => V(T$, {
+}), WAe = (e) => e.current_asset_id || e.preview_asset_id || null, GAe = (e) => `/poster?id=${e}&c=4`, KAe = (e) => V(E$, {
action: "create",
name: e,
asset_ids: []
-}), JAe = (e, t) => V(T$, {
+}), qAe = (e, t) => V(E$, {
action: "rename",
id: e,
name: t
-}), YAe = (e) => V(T$, {
+}), JAe = (e) => V(E$, {
action: "delete",
id: e
-}), XAe = (e) => B(`${T$}?id=${e}`).catch(() => null);
-function ZAe(e) {
+}), YAe = (e) => B(`${E$}?id=${e}`).catch(() => null);
+function XAe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return V(T$, {
+ return V(E$, {
action: "create",
name: e.name,
asset_ids: t,
@@ -69847,13 +69866,9 @@ function ZAe(e) {
});
}
// src/react/scraping/custom-source-data.ts
-var O$ = "/api/custom-metadata", k$ = ["custom-metadata"], A$ = (e) => B(O$, e), QAe = "/api/scraping", $Ae = "/api/scraping/settings", eje = "/api/scraping/check", j$ = "/api/scraping/check-all", M$ = "/api/scraping/cover", tje = "/api/scraping/amane-bridge", nje = "/api/scraping/amane-bridge/check", rje = "/api/scraping/amane-bridge/rebuild", N$ = ["scraping"], P$ = ["scraping", "cover"], F$ = ["scraping", "check-all"], I$ = ["scraping", "amane-bridge"], ije = 262144, L$ = (e) => B(QAe, e), R$ = (e) => B(M$, e), z$ = (e) => B(j$, e), B$ = (e) => B(tje, e);
-async function aje(e) {
+var k$ = "/api/custom-metadata", A$ = ["custom-metadata"], j$ = (e) => B(k$, e), ZAe = "/api/scraping", QAe = "/api/scraping/settings", $Ae = "/api/scraping/check", M$ = "/api/scraping/check-all", N$ = "/api/scraping/cover", eje = "/api/scraping/amane-bridge", tje = "/api/scraping/amane-bridge/check", nje = "/api/scraping/amane-bridge/rebuild", P$ = ["scraping"], F$ = ["scraping", "cover"], I$ = ["scraping", "check-all"], L$ = ["scraping", "amane-bridge"], rje = 262144, R$ = (e) => B(ZAe, e), z$ = (e) => B(N$, e), B$ = (e) => B(M$, e), V$ = (e) => B(eje, e);
+async function ije(e) {
await Promise.all([
- H.fetchQuery({
- queryKey: N$,
- queryFn: () => L$(e)
- }),
H.fetchQuery({
queryKey: P$,
queryFn: () => R$(e)
@@ -69867,28 +69882,32 @@ async function aje(e) {
queryFn: () => B$(e)
}),
H.fetchQuery({
- queryKey: k$,
- queryFn: () => A$(e)
+ queryKey: L$,
+ queryFn: () => V$(e)
+ }),
+ H.fetchQuery({
+ queryKey: A$,
+ queryFn: () => j$(e)
})
]);
}
-function oje(e, t) {
+function aje(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");
}
-var V$ = /* @__PURE__ */ new Set([
+var H$ = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), H$ = /* @__PURE__ */ new Set([
+]), U$ = /* @__PURE__ */ new Set([
"asset",
"jav",
"post",
"photo",
"release"
]);
-function U$(e) {
+function W$(e) {
let t = e.pool ?? [], n = Math.min(e.size ?? e.items.length, t.length);
if (t.length <= n) return e;
let r = ((e.offset ?? 0) + n) % t.length;
@@ -69898,15 +69917,15 @@ function U$(e) {
items: Array.from({ length: n }, (e, n) => t[(r + n) % t.length])
};
}
-var W$ = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function sje({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+var G$ = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function oje({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
let c = 0, l = [], u = (e) => {
let t = {
...e,
index: c++
};
return l.push(t), t;
- }, d = t.filter((t) => !e || W$(t).includes(W$(e)));
+ }, d = t.filter((t) => !e || G$(t).includes(G$(e)));
if (!e) {
if (s.length) {
let e = ({ pending: e, pool: t, offset: n, size: r, ...i }) => ({
@@ -69917,9 +69936,9 @@ function sje({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
kind: i.kind,
item: e
})),
- pending: e ? H$.has(i.kind) ? 5 : 3 : void 0,
+ pending: e ? U$.has(i.kind) ? 5 : 3 : void 0,
shuffle: (t?.length ?? 0) > i.items.length || void 0
- }), t = s.filter((e) => !H$.has(e.kind)).map(e);
+ }), t = s.filter((e) => !U$.has(e.kind)).map(e);
return d.length && t.push({
label: "搜索记录",
options: d.map((e) => u({
@@ -69930,7 +69949,7 @@ function sje({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
tabs: null,
recent: null,
left: t,
- right: s.filter((e) => H$.has(e.kind)).map(e),
+ right: s.filter((e) => U$.has(e.kind)).map(e),
empty: !1,
options: l
};
@@ -69980,7 +69999,7 @@ function sje({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, g = m.filter((e) => !H$.has(e.kind)).map(h), _ = m.filter((e) => H$.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
+ }, g = m.filter((e) => !U$.has(e.kind)).map(h), _ = m.filter((e) => U$.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
return {
tabs: f && a.length > 1 ? [...a] : null,
recent: p,
@@ -69990,16 +70009,16 @@ function sje({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: l
};
}
-function cje(e, t, n = Math.random) {
+function sje(e, t, n = Math.random) {
let r = [...e];
for (let e = r.length - 1; e > 0; --e) {
let t = Math.floor(n() * (e + 1));
[r[e], r[t]] = [r[t], r[e]];
}
- return r.filter((e) => !t.some((t) => W$(t) === W$(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => G$(t) === G$(e))).slice(0, 5);
}
// src/react/search/search-page.tsx
-var lje = () => ({
+var cje = () => ({
dismissed: !1,
history: [],
pool: [],
@@ -70025,7 +70044,7 @@ var lje = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), G$ = (e) => sje({
+}), K$ = (e) => oje({
query: e.query,
history: e.history,
picks: e.picks,
@@ -70034,27 +70053,27 @@ var lje = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), uje = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), K$ = 4e3, dje = 5e3, q$ = 1200;
-function fje(e) {
+}), lje = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), q$ = 4e3, uje = 5e3, J$ = 1200;
+function dje(e) {
if (window.requestIdleCallback) {
- let t = window.requestIdleCallback(e, { timeout: K$ });
+ let t = window.requestIdleCallback(e, { timeout: q$ });
return () => window.cancelIdleCallback(t);
}
- let t = window.setTimeout(e, K$);
+ let t = window.setTimeout(e, q$);
return () => window.clearTimeout(t);
}
-var J$ = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
+var Y$ = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
-function pje(e) {
+function fje(e) {
let t = (0, F.useRef)(e);
t.current = e;
let n = (0, F.useRef)(null);
- n.current ??= lje();
+ n.current ??= cje();
let r = n.current, i = (0, F.useRef)(null), [, a] = (0, F.useReducer)((e) => e + 1, 0), o = (0, F.useRef)(null);
- o.current ??= hje(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= mje(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, F.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => {
@@ -70065,7 +70084,7 @@ function pje(e) {
e.addEventListener("input", n), e.addEventListener("compositionend", n), e.addEventListener("compositionstart", i), e.addEventListener("keydown", a), e.addEventListener("focus", o), e.addEventListener("click", c);
let l = { close: s.close };
t.current.expose(l), s.warm();
- let u = window.setInterval(s.rotatePlaceholder, dje);
+ let u = window.setInterval(s.rotatePlaceholder, uje);
return () => {
e.removeEventListener("input", n), e.removeEventListener("compositionend", n), e.removeEventListener("compositionstart", i), e.removeEventListener("keydown", a), e.removeEventListener("focus", o), e.removeEventListener("click", c), clearTimeout(r.timer), r.cancelIdle(), window.clearInterval(u), r.cancelRoll(), r.recommendationRequest++, t.current.expose(null);
};
@@ -70073,7 +70092,7 @@ function pje(e) {
let e = i.current?.closest("[data-search-menu]");
r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;
});
- let c = G$(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(_je, {
+ let c = K$(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(gje, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -70082,7 +70101,7 @@ function pje(e) {
onRemove: s.remove
}, `${t.type}:${t.value}:${t.index}`), d = (e) => e.href ? /* @__PURE__ */ (0, I.jsx)("a", {
href: e.href,
- onMouseDown: Z$,
+ onMouseDown: Q$,
onClick: (t) => {
t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
},
@@ -70099,15 +70118,15 @@ function pje(e) {
"aria-label": `${e.label}换一批`,
title: "换一批",
"aria-busy": f(e.kind) || void 0,
- onMouseDown: Z$,
+ onMouseDown: Q$,
onClick: () => s.reshuffle(e.kind),
- children: /* @__PURE__ */ (0, I.jsx)(J$, { name: "shuffle" })
+ children: /* @__PURE__ */ (0, I.jsx)(Y$, { name: "shuffle" })
}), d(e)]
}) : d(e)] }),
e.pending ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-search-items": "",
"aria-busy": "true",
- children: mje(e)
+ children: pje(e)
}) : e.kind ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-search-items": "",
children: e.options.map(u)
@@ -70121,7 +70140,7 @@ function pje(e) {
"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, I.jsx)(gje, {
+ c.tabs ? /* @__PURE__ */ (0, I.jsx)(hje, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -70147,7 +70166,7 @@ function pje(e) {
]
});
}
-function Y$(e, t) {
+function X$(e, t) {
let n = e.flatMap((e) => e.items.flatMap((e) => [
e.card ? t.coverHtml(e.card) : "",
e.avatarHtml || "",
@@ -70159,9 +70178,9 @@ function Y$(e, t) {
t && (new Image().src = t);
}
}
-var X$ = "\xA0";
-function mje(e) {
- let t = H$.has(e.kind ?? "");
+var Z$ = "\xA0";
+function pje(e) {
+ let t = U$.has(e.kind ?? "");
return Array.from({ length: e.pending ?? 0 }, (e, n) => t ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-search-option": "work",
"data-search-placeholder": "",
@@ -70173,10 +70192,10 @@ function mje(e) {
"data-search-meta": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-search-name": "",
- children: X$
+ children: Z$
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-sub": "",
- children: X$
+ children: Z$
})]
})]
}, n) : /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -70187,15 +70206,15 @@ function mje(e) {
"data-search-meta": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-search-name": "",
- children: X$
+ children: Z$
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-sub": "",
- children: X$
+ children: Z$
})]
})]
}, n));
}
-function hje(e, t, n, r) {
+function mje(e, t, n, r) {
let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {
t.history = n.slice(0, e().historyLimit);
}, c = async () => {
@@ -70206,7 +70225,7 @@ function hje(e, t, n, r) {
t.history = Array.isArray(e.items) ? e.items.map(String) : [];
} catch {}
}, l = (t) => {
- t && e().historyLimit && (s([t, ...o().filter((e) => W$(e) !== W$(t))]), V("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => G$(e) !== G$(t))]), V("/api/search-history", { query: t }).catch(() => null));
}, u = (n) => {
let r = i();
r.dataset.suggestion = n, t.cancelRoll();
@@ -70231,7 +70250,7 @@ function hje(e, t, n, r) {
t.recommendationLoading = !0;
let r = t.recommendationRequest;
n.recommendations().then(({ groups: n, words: o }) => {
- r === t.recommendationRequest && (t.words = o, !i().dataset.suggestion && !a() && o.length && u(o[Math.floor(Math.random() * o.length)]), t.recommendationsFilling ? (t.recommendations = n, t.recommendationsFilling = !1, Y$(n.map(U$), e().helpers), a() && !i().value.trim() && x()) : (t.nextRecommendations = n, Y$(n, e().helpers)));
+ r === t.recommendationRequest && (t.words = o, !i().dataset.suggestion && !a() && o.length && u(o[Math.floor(Math.random() * o.length)]), t.recommendationsFilling ? (t.recommendations = n, t.recommendationsFilling = !1, X$(n.map(W$), e().helpers), a() && !i().value.trim() && x()) : (t.nextRecommendations = n, X$(n, e().helpers)));
}, () => {
r === t.recommendationRequest && t.recommendationsFilling && (t.recommendations = [], t.recommendationsFilling = !1, a() && !i().value.trim() && x());
}).finally(() => {
@@ -70239,18 +70258,18 @@ function hje(e, t, n, r) {
});
}, m = () => {
let n = e().helpers;
- n.recommendations && (t.nextRecommendations && (t.recommendations = t.nextRecommendations, t.nextRecommendations = null, Y$(t.recommendations.map(U$), n)), !t.recommendations.length && (t.recommendations = n.pendingRecommendations?.() ?? [], t.recommendationsFilling = !0, p()));
+ n.recommendations && (t.nextRecommendations && (t.recommendations = t.nextRecommendations, t.nextRecommendations = null, X$(t.recommendations.map(W$), n)), !t.recommendations.length && (t.recommendations = n.pendingRecommendations?.() ?? [], t.recommendationsFilling = !0, p()));
}, h = () => {
- t.cancelIdle(), t.cancelIdle = fje(() => {
+ t.cancelIdle(), t.cancelIdle = dje(() => {
t.nextRecommendations || p();
});
}, g = h, _ = (n) => {
- t.recommendations = t.recommendations.map((e) => e.kind === n ? U$(e) : e), t.shuffled = {
+ t.recommendations = t.recommendations.map((e) => e.kind === n ? W$(e) : e), t.shuffled = {
...t.shuffled,
- [n]: Date.now() + q$
- }, window.setTimeout(r, q$);
+ [n]: Date.now() + J$
+ }, window.setTimeout(r, J$);
let i = t.recommendations.find((e) => e.kind === n);
- i && Y$([U$(i)], e().helpers), r();
+ i && X$([W$(i)], e().helpers), r();
}, v = async (e, n = "") => {
let r = ++t.suggestRequest;
n || (t.asked = e);
@@ -70277,9 +70296,9 @@ function hje(e, t, n, r) {
i && e().helpers.dismiss(i), t.active = -1, h(), r();
}, x = () => {
if (t.dismissed) return;
- t.query = i().value.trim(), t.picks = t.query ? [] : cje(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : sje(t.pool, o()), t.active = -1;
let a = n();
- a && (uje(G$(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (lje(K$(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, S = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -70291,7 +70310,7 @@ function hje(e, t, n, r) {
n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), x(), t.rewind = !0, v(n, e).then(() => {
a() && t.kind === e && x();
}));
- }, w = () => y() ? G$(t).options : [], T = (e) => {
+ }, w = () => y() ? K$(t).options : [], T = (e) => {
let n = w();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
}, E = (t, n) => {
@@ -70300,16 +70319,16 @@ function hje(e, t, n, r) {
}, D = (t, n) => {
i().blur(), l(n), e().actions.openEntity(t, n);
}, O = (t) => {
- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? k(t.item.href) : t.type === "more" ? (E(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && V$.has(t.kind) ? D(t.kind, t.value) : (i().value = t.value, E(!1, !0));
+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? k(t.item.href) : t.type === "more" ? (E(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && H$.has(t.kind) ? D(t.kind, t.value) : (i().value = t.value, E(!1, !0));
}, k = (t) => {
b(), i().blur(), e().actions.openPath?.(t);
};
return {
input: (n) => {
- t.cancelRoll(), !XU(n) && (t.dismissed = !1, e().helpers.typed(i()), S());
+ t.cancelRoll(), !lW(n) && (t.dismissed = !1, e().helpers.typed(i()), S());
},
key: (n) => {
- if (XU(n)) return;
+ if (lW(n)) return;
let r = i();
if (n.key === "Escape") {
if (y()) {
@@ -70346,7 +70365,7 @@ function hje(e, t, n, r) {
await V("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => W$(t) !== W$(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => G$(t) !== G$(e))), t.active = -1, r();
},
pickKind: C,
openPath: k,
@@ -70356,7 +70375,7 @@ function hje(e, t, n, r) {
rotatePlaceholder: d
};
}
-function gje({ tabs: e, kind: t, onPick: n, wire: r }) {
+function hje({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
r(i.current);
@@ -70370,7 +70389,7 @@ function gje({ tabs: e, kind: t, onPick: n, wire: r }) {
"data-pill-variant": "gray",
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, I.jsx)(gW, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, I.jsx)(AW, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, I.jsxs)(AI, {
ref: i,
@@ -70381,8 +70400,8 @@ function gje({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var Z$ = (e) => e.preventDefault();
-function _je({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var Q$ = (e) => e.preventDefault();
+function gje({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
$I();
let o = {
"data-search-value": e.value,
@@ -70395,33 +70414,33 @@ function _je({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: Z$,
+ onMouseDown: Q$,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, I.jsx)(J$, { name: "chevron-right" })
+ /* @__PURE__ */ (0, I.jsx)(Y$, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, I.jsx)(J$, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, I.jsx)(Y$, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: Z$,
+ onMouseDown: Q$,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, I.jsx)(J$, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(Y$, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = V$.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = H$.has(c) ? c : void 0;
if ([
"asset",
"jav",
@@ -70435,8 +70454,8 @@ function _je({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "work",
"data-open-item": c === "asset" ? s.id : void 0,
...o,
- onMouseDown: Z$,
- children: [/* @__PURE__ */ (0, I.jsx)(Q$, {
+ onMouseDown: Q$,
+ children: [/* @__PURE__ */ (0, I.jsx)($$, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -70465,9 +70484,9 @@ function _je({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "person",
"data-open-entity": l,
...o,
- onMouseDown: Z$,
+ onMouseDown: Q$,
children: [
- /* @__PURE__ */ (0, I.jsx)($$, {
+ /* @__PURE__ */ (0, I.jsx)(e1, {
item: s,
kind: c
}),
@@ -70490,11 +70509,11 @@ function _je({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-open-work": e.id,
"aria-label": `打开 ${e.code || s.value}`,
- onMouseDown: Z$,
+ onMouseDown: Q$,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, I.jsx)(Q$, {
+ children: /* @__PURE__ */ (0, I.jsx)($$, {
card: e,
helpers: n
})
@@ -70508,7 +70527,7 @@ function _je({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)($$, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(e1, {
item: s,
kind: c
}) : null,
@@ -70521,13 +70540,13 @@ function _je({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function Q$({ card: e, helpers: t }) {
+function $$({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function $$({ item: e, kind: t }) {
+function e1({ item: e, kind: t }) {
if (e.avatarHtml) return /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-face": "",
dangerouslySetInnerHTML: { __html: e.avatarHtml }
@@ -70546,24 +70565,24 @@ function $$({ item: e, kind: t }) {
});
}
// src/react/settings/configuration.ts
-var e1 = ["configuration"], t1 = (e) => B(UY, e);
-async function vje(e) {
+var t1 = ["configuration"], n1 = (e) => B(XY, e);
+async function _je(e) {
await H.fetchQuery({
- queryKey: e1,
- queryFn: () => t1(e)
+ queryKey: t1,
+ queryFn: () => n1(e)
});
}
// src/react/settings-panel/legacy-controls.tsx
-var n1 = (e) => e.map(([e, t, n]) => n ? [
+var r1 = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function r1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function i1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(l);
return f.current = l, (0, F.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = tl(t, n, n1(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = tl(t, n, r1(r), i, {
attr: a,
className: o,
text: s
@@ -70581,13 +70600,13 @@ function r1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function i1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
+function a1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
let d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(-1), m = (0, F.useRef)(l);
return m.current = l, (0, F.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = hs(n1(n), r, { label: t });
+ e.innerHTML = hs(r1(n), r, { label: t });
let i = gs(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -70600,7 +70619,7 @@ function i1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function yje({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function vje({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)({
onStep: a,
onSettle: o
@@ -70634,7 +70653,7 @@ function yje({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
});
}
// src/react/settings-panel/glow-settings.tsx
-var bje = [
+var yje = [
[
"strength",
"强度",
@@ -70661,7 +70680,7 @@ var bje = [
100
]
];
-function xje({ host: e, spot: t, index: n, glow: r }) {
+function bje({ host: e, spot: t, index: n, glow: r }) {
let i = Dle[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = FV(), [l, u] = (0, F.useState)("all");
(0, F.useLayoutEffect)(() => {
let [e, t, n] = [
@@ -70743,7 +70762,7 @@ function xje({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function Sje({ host: e }) {
+function xje({ host: e }) {
let t = e.store.value.homeGlow, n = Pj(t.preset);
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-glow-setting": "",
@@ -70777,7 +70796,7 @@ function Sje({ host: e }) {
}),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-fields": "",
- children: bje.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(yje, {
+ children: yje.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(vje, {
field: r,
label: i,
max: a,
@@ -70817,7 +70836,7 @@ function Sje({ host: e }) {
"data-glow-colour-card": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-stops": "",
- children: jj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(xje, {
+ children: jj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(bje, {
host: e,
spot: n,
index: r,
@@ -70829,7 +70848,7 @@ function Sje({ host: e }) {
});
}
// src/react/settings-panel/number-setting.tsx
-var Cje = {
+var Sje = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -70876,22 +70895,22 @@ var Cje = {
optional: !0,
fallback: 60
}
-}, a1 = (e) => `peach.number.${e}`;
-function o1(e, t) {
+}, o1 = (e) => `peach.number.${e}`;
+function s1(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function s1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = Cje[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);
- d.current ||= bj(Number(localStorage.getItem(a1(e))), o, s, n && n > 0 ? n : l);
+function c1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = Sje[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);
+ d.current ||= bj(Number(localStorage.getItem(o1(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, F.useState)(n ?? 0), [m, h] = (0, F.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, F.useState)(""), v = (0, F.useRef)(null), y = (0, F.useRef)(i);
y.current = i, (0, F.useLayoutEffect)(() => {
n !== null && (p(n), n > 0 && h(String(n)));
}, [n]);
let b = () => {
let t = v.current;
- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(a1(e), String(d.current)), y.current(d.current)));
+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(o1(e), String(d.current)), y.current(d.current)));
}, x = (0, F.useRef)(b);
x.current = b, (0, F.useEffect)(() => {
let e = v.current;
@@ -70901,7 +70920,7 @@ function s1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}, []);
let S = f > 0, C = () => {
let t = v.current;
- t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(a1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
+ t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(o1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
}, w = r || n === null;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-number-setting": "",
@@ -70938,7 +70957,7 @@ function s1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": "true",
- children: [c, o1(Number(m), c) ? ` · ${o1(Number(m), c)}` : ""]
+ children: [c, s1(Number(m), c) ? ` · ${s1(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, I.jsx)("small", {
id: `${e}-error`,
@@ -70951,7 +70970,7 @@ function s1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
});
}
// src/react/boardui/components/base/kbd/kbd.tsx
-function wje({ className: e, ref: t, ...n }) {
+function Cje({ className: e, ref: t, ...n }) {
return /* @__PURE__ */ (0, I.jsx)("kbd", {
ref: t,
className: q("inline-flex items-center justify-center rounded-full bg-kbd-background px-1 py-0.5 font-sans text-caption-1-semibold tracking-normal whitespace-nowrap text-kbd-foreground", e),
@@ -70959,7 +70978,7 @@ function wje({ className: e, ref: t, ...n }) {
});
}
// src/react/components/keycap.tsx
-function Tje({ keys: e, plus: t }) {
+function wje({ keys: e, plus: t }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-keycaps": "",
children: e.map((e, n) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t && n ? /* @__PURE__ */ (0, I.jsx)("span", {
@@ -70974,15 +70993,15 @@ function Tje({ keys: e, plus: t }) {
});
}
// src/keyboard-shortcut.ts
-var c1 = "peach.sfw-shortcut", Eje = "Shift+KeyS", l1 = /^(?:Key[A-Z]|Digit[0-9]|F(?:[1-9]|1[0-2]))$/, Dje = /^(?:Shift|Control|Alt|Meta|OS)(?:Left|Right)?$/, Oje = /* @__PURE__ */ new Set([
+var l1 = "peach.sfw-shortcut", Tje = "Shift+KeyS", u1 = /^(?:Key[A-Z]|Digit[0-9]|F(?:[1-9]|1[0-2]))$/, Eje = /^(?:Shift|Control|Alt|Meta|OS)(?:Left|Right)?$/, Dje = /* @__PURE__ */ new Set([
"KeyW",
"KeyT",
"KeyN",
"KeyQ"
]);
-function u1(e) {
+function d1(e) {
let t = String(e || "").split("+"), n = t.pop() || "", r = new Set(t);
- if (!l1.test(n) || [...r].some((e) => ![
+ if (!u1.test(n) || [...r].some((e) => ![
"Ctrl",
"Alt",
"Shift",
@@ -70995,9 +71014,9 @@ function u1(e) {
shift: r.has("Shift"),
meta: r.has("Meta")
};
- return f1(i) ? null : i;
+ return p1(i) ? null : i;
}
-function d1(e) {
+function f1(e) {
return [
e.ctrl && "Ctrl",
e.alt && "Alt",
@@ -71006,15 +71025,15 @@ function d1(e) {
e.code
].filter(Boolean).join("+");
}
-function f1(e) {
- return !e.ctrl && !e.alt && !e.shift && !e.meta ? "至少要带一个修饰键,单独的字母会和播放器快捷键冲突" : (e.ctrl || e.meta) && Oje.has(e.code) ? "这个组合被浏览器占用,页面收不到" : "";
-}
function p1(e) {
- return Dje.test(e);
+ return !e.ctrl && !e.alt && !e.shift && !e.meta ? "至少要带一个修饰键,单独的字母会和播放器快捷键冲突" : (e.ctrl || e.meta) && Dje.has(e.code) ? "这个组合被浏览器占用,页面收不到" : "";
}
-function kje(e) {
- if (p1(e.code)) return { state: "waiting" };
- if (!l1.test(e.code)) return {
+function m1(e) {
+ return Eje.test(e);
+}
+function Oje(e) {
+ if (m1(e.code)) return { state: "waiting" };
+ if (!u1.test(e.code)) return {
state: "invalid",
problem: "只支持字母、数字和 F1–F12 作主键"
};
@@ -71024,7 +71043,7 @@ function kje(e) {
alt: e.altKey,
shift: e.shiftKey,
meta: e.metaKey
- }, n = f1(t);
+ }, n = p1(t);
return n ? {
state: "invalid",
problem: n
@@ -71033,13 +71052,13 @@ function kje(e) {
shortcut: t
};
}
-function Aje(e, t) {
+function kje(e, t) {
return e.code === t.code && e.ctrlKey === t.ctrl && e.altKey === t.alt && e.shiftKey === t.shift && e.metaKey === t.meta;
}
-function m1(e = navigator) {
+function h1(e = navigator) {
return /mac|iphone|ipad|ipod/i.test(e.userAgentData?.platform || e.platform || "");
}
-var jje = {
+var Aje = {
ArrowLeft: "←",
ArrowRight: "→",
ArrowUp: "↑",
@@ -71050,10 +71069,10 @@ var jje = {
Backspace: "Backspace",
Tab: "Tab"
};
-function Mje(e) {
- return jje[e] ?? e.replace(/^Key|^Digit|^Numpad/, "");
+function jje(e) {
+ return Aje[e] ?? e.replace(/^Key|^Digit|^Numpad/, "");
}
-function h1(e, t, n = m1()) {
+function g1(e, t, n = h1()) {
let r = n ? [
"⌃",
"⌥",
@@ -71070,30 +71089,30 @@ function h1(e, t, n = m1()) {
e.shift,
e.meta
];
- return [...r.filter((e, t) => i[t]), ...t ? [Mje(t)] : []];
+ return [...r.filter((e, t) => i[t]), ...t ? [jje(t)] : []];
}
-function g1(e, t = m1()) {
- return h1(e, e.code, t).join(t ? "" : "+");
+function _1(e, t = h1()) {
+ return g1(e, e.code, t).join(t ? "" : "+");
}
// src/react/settings-panel/shortcut-setting.tsx
-var Nje = 600, _1 = {
+var Mje = 600, v1 = {
ctrl: !1,
alt: !1,
shift: !1,
meta: !1
-}, v1 = (e) => ({
+}, y1 = (e) => ({
ctrl: e.ctrlKey,
alt: e.altKey,
shift: e.shiftKey,
meta: e.metaKey
});
-function Pje({ current: e, onChange: t }) {
+function Nje({ current: e, onChange: t }) {
let [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(""), [o, s] = (0, F.useState)({
- modifiers: _1,
+ modifiers: v1,
code: null
}), [c, l] = (0, F.useState)(null), u = () => {
r(!1), a(""), s({
- modifiers: _1,
+ modifiers: v1,
code: null
});
};
@@ -71104,16 +71123,16 @@ function Pje({ current: e, onChange: t }) {
u();
return;
}
- let n = p1(e.code);
+ let n = m1(e.code);
s({
- modifiers: v1(e),
+ modifiers: y1(e),
code: n ? null : e.code
}), a("");
- let r = kje(e);
+ let r = Oje(e);
r.state === "invalid" && a(r.problem), r.state === "done" && (t(r.shortcut), l(r.shortcut), u());
}, r = (e) => {
e.stopPropagation(), s((t) => t.code === null ? {
- modifiers: v1(e),
+ modifiers: y1(e),
code: null
} : t);
};
@@ -71122,16 +71141,16 @@ function Pje({ current: e, onChange: t }) {
};
}, [n, t]), (0, F.useEffect)(() => {
if (!c) return;
- let e = window.setTimeout(() => l(null), Nje);
+ let e = window.setTimeout(() => l(null), Mje);
return () => window.clearTimeout(e);
}, [c]);
- let d = m1(), f = (e, t, n) => h1(e, t, d).map((e) => ({
+ let d = h1(), f = (e, t, n) => g1(e, t, d).map((e) => ({
label: e,
state: n
})), p = (e) => ({
label: e,
state: "slot"
- }), m = o.modifiers.ctrl || o.modifiers.alt || o.modifiers.shift || o.modifiers.meta, h = c ? f(c, c.code, "done") : n ? o.code ? f(o.modifiers, o.code, i ? "invalid" : "down") : m ? [...f(o.modifiers, null, "down"), p("键")] : [p("修饰键"), p("键")] : null, g = d1(e) !== Eje, _ = c ? `已改为 ${g1(c, d)}` : n ? i || "按下新的组合键,Esc 取消" : "输入框外随时开关。";
+ }), m = o.modifiers.ctrl || o.modifiers.alt || o.modifiers.shift || o.modifiers.meta, h = c ? f(c, c.code, "done") : n ? o.code ? f(o.modifiers, o.code, i ? "invalid" : "down") : m ? [...f(o.modifiers, null, "down"), p("键")] : [p("修饰键"), p("键")] : null, g = f1(e) !== Tje, _ = c ? `已改为 ${_1(c, d)}` : n ? i || "按下新的组合键,Esc 取消" : "输入框外随时开关。";
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: "SFW 快捷键" }), /* @__PURE__ */ (0, I.jsx)("small", {
@@ -71142,13 +71161,13 @@ function Pje({ current: e, onChange: t }) {
"data-setting-shortcut": "",
className: "peach-react",
children: [
- h ? /* @__PURE__ */ (0, I.jsx)(Tje, {
+ h ? /* @__PURE__ */ (0, I.jsx)(wje, {
keys: h,
plus: !d
- }) : /* @__PURE__ */ (0, I.jsx)(wje, {
+ }) : /* @__PURE__ */ (0, I.jsx)(Cje, {
"data-shortcut-keys": "",
- "aria-label": `当前快捷键 ${g1(e, d)}`,
- children: g1(e, d)
+ "aria-label": `当前快捷键 ${_1(e, d)}`,
+ children: _1(e, d)
}),
g && !n && !c ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -71171,13 +71190,13 @@ function Pje({ current: e, onChange: t }) {
});
}
// src/react/sidebar/sidebar-order.ts
-function y1(e) {
- let { mutate: t } = eX();
+function b1(e) {
+ let { mutate: t } = cX();
return (0, F.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function b1(e, t, n, r) {
+function x1(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -71186,17 +71205,17 @@ function b1(e, t, n, r) {
return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);
}
// src/react/settings-panel/sidebar-order.tsx
-var Fje = "__home__", x1 = (e) => e === "" ? Fje : e;
-function Ije({ host: e }) {
- let t = y1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {
- let a = b1(n, e, r, i);
+var Pje = "__home__", S1 = (e) => e === "" ? Pje : e;
+function Fje({ host: e }) {
+ let t = b1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {
+ let a = x1(n, e, r, i);
a && t(a);
}, _ = (e, r) => {
let i = n.indexOf(e), a = i + r;
if (i < 0 || a < 0 || a >= n.length) return;
let o = [...n];
[o[i], o[a]] = [o[a], o[i]], t(o);
- }, v = a.find(([e]) => x1(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => S1(e) === o) ?? a[0], y = () => {
h.current && us(h.current), l(!1);
}, b = () => {
let e = h.current;
@@ -71217,7 +71236,7 @@ function Ije({ host: e }) {
}, C = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", x1(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", S1(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -71291,7 +71310,7 @@ function Ije({ host: e }) {
})
]
})]
- }, x1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {
+ }, S1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -71324,15 +71343,15 @@ function Ije({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": x1(e),
+ "data-sidebar-add-option": S1(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: x,
onClick: () => {
- s(x1(e)), y(), m.current?.focus();
+ s(S1(e)), y(), m.current?.focus();
},
children: [/* @__PURE__ */ (0, I.jsx)(LF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]
- }, x1(e)))
+ }, S1(e)))
}) : null]
}), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -71348,13 +71367,13 @@ function Ije({ host: e }) {
});
}
// src/react/settings-panel/settings-panel.tsx
-var S1 = [
+var C1 = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], Lje = [
+], Ije = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -71363,7 +71382,7 @@ var S1 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], Rje = [["desc", "降序"], ["asc", "升序"]], zje = [[
+], Lje = [["desc", "降序"], ["asc", "升序"]], Rje = [[
"cover",
"官方封面",
""
@@ -71371,7 +71390,7 @@ var S1 = [
"thumbnail",
"预览图",
""
-]], Bje = [
+]], zje = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -71390,88 +71409,88 @@ var S1 = [
"切片",
"隐藏切片"
]
-], Vje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", C1 = null, w1 = {
+], Bje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", w1 = null, T1 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, T1 = 0, E1 = null, D1 = /* @__PURE__ */ new Set();
-function Hje(e) {
- return D1.add(e), () => {
- D1.delete(e);
+}, E1 = 0, D1 = null, O1 = /* @__PURE__ */ new Set();
+function Vje(e) {
+ return O1.add(e), () => {
+ O1.delete(e);
};
}
-function Uje() {
- for (let e of [...D1]) e();
+function Hje() {
+ for (let e of [...O1]) e();
}
-function O1(e) {
- w1 = {
- ...w1,
+function k1(e) {
+ T1 = {
+ ...T1,
...e
- }, (0, Rt.flushSync)(Uje);
+ }, (0, Rt.flushSync)(Hje);
}
-async function Wje(e) {
- let t = w1.epoch, n = await e.configurable();
- w1.open && w1.epoch === t && O1({ configurable: n });
+async function Uje(e) {
+ let t = T1.epoch, n = await e.configurable();
+ T1.open && T1.epoch === t && k1({ configurable: n });
}
-function Gje(e = "") {
- let t = C1;
+function Wje(e = "") {
+ let t = w1;
if (!t) return;
- let n = S1.findIndex(([t]) => t === e);
- if (w1.open && !w1.closing) {
- n >= 0 && n !== w1.tab && O1({ tab: n });
+ let n = C1.findIndex(([t]) => t === e);
+ if (T1.open && !T1.closing) {
+ n >= 0 && n !== T1.tab && k1({ tab: n });
return;
}
- ss(), T1 += 1, E1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ ss(), E1 += 1, D1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
let r = hEe();
- O1({
+ k1({
open: !0,
closing: !1,
configurable: null,
- epoch: w1.epoch + 1,
- tab: n >= 0 ? n : w1.tab
+ epoch: T1.epoch + 1,
+ tab: n >= 0 ? n : T1.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), Wje(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), Uje(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function k1(e = !0) {
- if (!w1.open || w1.closing) return;
- let t = ++T1;
- e && C1?.closed?.(), O1({ closing: !0 });
+function A1(e = !0) {
+ if (!T1.open || T1.closing) return;
+ let t = ++E1;
+ e && w1?.closed?.(), k1({ closing: !0 });
let n = () => {
- t === T1 && w1.closing && (O1({
+ t === E1 && T1.closing && (k1({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), E1 instanceof HTMLElement && document.contains(E1) && E1.focus(), E1 = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), D1 instanceof HTMLElement && document.contains(D1) && D1.focus(), D1 = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var Kje = {
- open: Gje,
- close: k1,
- isOpen: () => w1.open,
+var Gje = {
+ open: Wje,
+ close: A1,
+ isOpen: () => T1.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function qje(e) {
- return C1 = e, Kje;
+function Kje(e) {
+ return w1 = e, Gje;
}
-function Jje() {
- let e = (0, F.useSyncExternalStore)(Hje, () => w1);
- return C1 ? /* @__PURE__ */ (0, I.jsx)(Zje, {
- host: C1,
+function qje() {
+ let e = (0, F.useSyncExternalStore)(Vje, () => T1);
+ return w1 ? /* @__PURE__ */ (0, I.jsx)(Xje, {
+ host: w1,
view: e
}) : null;
}
-function Yje(e) {
+function Jje(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(Vje)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(Bje)].filter((e) => e.getClientRects().length > 0);
if (!t.length) return;
let n = t[0], r = t[t.length - 1];
e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());
}
-var A1 = (e) => `settings-tab-${e}`, j1 = (e) => `settings-group-${e}`;
-function Xje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var j1 = (e) => `settings-tab-${e}`, M1 = (e) => `settings-group-${e}`;
+function Yje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(e), l = (0, F.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -71499,7 +71518,7 @@ function Xje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
c.current = e, d.current(l.current[e], t);
}, [e, t]);
let f = (e, t) => {
- let n = S1.length, r = t;
+ let n = C1.length, r = t;
if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;
else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;
else if (e.key === "Home") r = 0;
@@ -71528,11 +71547,11 @@ function Xje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- S1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ C1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "tab",
- id: A1(r),
- "aria-controls": j1(r),
+ id: j1(r),
+ "aria-controls": M1(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -71563,18 +71582,18 @@ function Xje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
]
});
}
-function M1({ index: e, tab: t, children: n, cards: r = !1 }) {
+function N1({ index: e, tab: t, children: n, cards: r = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-setting-group": "",
"data-setting-layout": r ? "cards" : void 0,
- id: j1(e),
+ id: M1(e),
role: "tabpanel",
- "aria-labelledby": A1(e),
+ "aria-labelledby": j1(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, I.jsx)("h3", { children: S1[e][0] }), n]
+ children: [/* @__PURE__ */ (0, I.jsx)("h3", { children: C1[e][0] }), n]
});
}
-function N1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function P1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, I.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, I.jsx)("small", {
@@ -71591,7 +71610,7 @@ function N1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function P1({ title: e, description: t, kind: n, children: r }) {
+function F1({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -71599,7 +71618,7 @@ function P1({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, I.jsx)("small", { children: t }) : t] }), r]
});
}
-function Zje({ host: e, view: t }) {
+function Xje({ host: e, view: t }) {
(0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -71620,7 +71639,7 @@ function Zje({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== w1.tab && (O1({ tab: t }), e.selectSection?.(S1[t][0]));
+ t !== T1.tab && (k1({ tab: t }), e.selectSection?.(C1[t][0]));
}, p = () => e.store.save();
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-settings-panel": "",
@@ -71631,9 +71650,9 @@ function Zje({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: Yje,
+ onKeyDown: Jje,
onClick: (e) => {
- e.target === e.currentTarget && k1();
+ e.target === e.currentTarget && A1();
},
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-settings-card": "",
@@ -71644,27 +71663,27 @@ function Zje({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
id: "settingsTitle",
- children: S1[t.tab][0]
+ children: C1[t.tab][0]
}), /* @__PURE__ */ (0, I.jsx)(lV, {
id: "settingsClose",
label: "关闭设置",
- onPress: () => k1()
+ onPress: () => A1()
})]
}),
- /* @__PURE__ */ (0, I.jsx)(Xje, {
+ /* @__PURE__ */ (0, I.jsx)(Yje, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- k1(!1), e.openConfiguration();
+ A1(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, I.jsxs)(M1, {
+ /* @__PURE__ */ (0, I.jsxs)(N1, {
index: 0,
tab: t.tab,
cards: !0,
@@ -71672,9 +71691,9 @@ function Zje({ host: e, view: t }) {
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-card": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(P1, {
+ /* @__PURE__ */ (0, I.jsx)(F1, {
title: "主题",
- children: /* @__PURE__ */ (0, I.jsx)(r1, {
+ children: /* @__PURE__ */ (0, I.jsx)(i1, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -71702,7 +71721,7 @@ function Zje({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, I.jsx)(N1, {
+ /* @__PURE__ */ (0, I.jsx)(P1, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -71710,7 +71729,7 @@ function Zje({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, I.jsx)(N1, {
+ /* @__PURE__ */ (0, I.jsx)(P1, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -71720,7 +71739,7 @@ function Zje({ host: e, view: t }) {
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(Sje, { host: e }),
+ /* @__PURE__ */ (0, I.jsx)(xje, { host: e }),
/* @__PURE__ */ (0, I.jsxs)("section", {
"data-setting-block": "",
"aria-labelledby": "sidebarOrderTitle",
@@ -71732,35 +71751,35 @@ function Zje({ host: e, view: t }) {
"data-setting-card": "",
children: /* @__PURE__ */ (0, I.jsx)("section", {
"data-sidebar-setting": "",
- children: /* @__PURE__ */ (0, I.jsx)(Ije, { host: e })
+ children: /* @__PURE__ */ (0, I.jsx)(Fje, { host: e })
})
})]
})
]
}),
- /* @__PURE__ */ (0, I.jsx)($je, {
+ /* @__PURE__ */ (0, I.jsx)(Qje, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsx)(eMe, {
+ /* @__PURE__ */ (0, I.jsx)($je, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsxs)(M1, {
+ /* @__PURE__ */ (0, I.jsxs)(N1, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, I.jsx)(iMe, {
+ /* @__PURE__ */ (0, I.jsx)(rMe, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsx)(P1, {
+ /* @__PURE__ */ (0, I.jsx)(F1, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(c1, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -71770,31 +71789,31 @@ function Zje({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, I.jsx)(P1, {
+ /* @__PURE__ */ (0, I.jsx)(F1, {
title: "口味与记录",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
children: /* @__PURE__ */ (0, I.jsx)(mL, {
variant: "secondary",
href: "/taste",
- onClick: () => k1(!1),
+ onClick: () => A1(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, I.jsxs)(M1, {
+ /* @__PURE__ */ (0, I.jsxs)(N1, {
index: 4,
tab: t.tab,
- children: [/* @__PURE__ */ (0, I.jsx)(N1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(P1, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
checked: e.censored(),
description: "隐藏敏感画面,停止悬停预览。",
onToggle: (t) => e.setCensored(t)
- }), /* @__PURE__ */ (0, I.jsx)(Pje, {
+ }), /* @__PURE__ */ (0, I.jsx)(Nje, {
current: e.sfwShortcut(),
onChange: e.setSfwShortcut
})]
@@ -71805,7 +71824,7 @@ function Zje({ host: e, view: t }) {
})
});
}
-function Qje(e, t) {
+function Zje(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = Js("arrow-up", "arrow-down", "a", {
@@ -71815,9 +71834,9 @@ function Qje(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function $je({ host: e, tab: t, epoch: n }) {
+function Qje({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";
- return /* @__PURE__ */ (0, I.jsxs)(M1, {
+ return /* @__PURE__ */ (0, I.jsxs)(N1, {
index: 1,
tab: t,
children: [
@@ -71825,11 +71844,11 @@ function $je({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品列表"
}),
- /* @__PURE__ */ (0, I.jsx)(P1, {
+ /* @__PURE__ */ (0, I.jsx)(F1, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(c1, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -71839,24 +71858,24 @@ function $je({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, I.jsx)(P1, {
+ /* @__PURE__ */ (0, I.jsx)(F1, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, I.jsx)(i1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(a1, {
id: "defaultSortSetting",
label: "默认排序",
- options: Lje,
+ options: Ije,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, I.jsx)(i1, {
+ }), /* @__PURE__ */ (0, I.jsx)(a1, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: Rje,
+ options: Lje,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -71864,13 +71883,13 @@ function $je({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => Qje(e, o)
+ decorate: (e) => Zje(e, o)
})]
})
}),
- /* @__PURE__ */ (0, I.jsx)(P1, {
+ /* @__PURE__ */ (0, I.jsx)(F1, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, I.jsx)(r1, {
+ children: /* @__PURE__ */ (0, I.jsx)(i1, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -71896,11 +71915,11 @@ function $je({ host: e, tab: t, epoch: n }) {
}
})]
}),
- /* @__PURE__ */ (0, I.jsx)(P1, {
+ /* @__PURE__ */ (0, I.jsx)(F1, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(c1, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: r.hoverDelaySeconds,
@@ -71914,16 +71933,16 @@ function $je({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "播放"
}),
- /* @__PURE__ */ (0, I.jsx)(rMe, {
+ /* @__PURE__ */ (0, I.jsx)(nMe, {
host: e,
epoch: n
})
]
});
}
-function eMe({ host: e, tab: t, epoch: n }) {
+function $je({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, I.jsxs)(M1, {
+ return /* @__PURE__ */ (0, I.jsxs)(N1, {
index: 2,
tab: t,
children: [
@@ -71931,17 +71950,17 @@ function eMe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, I.jsx)(tMe, {
+ /* @__PURE__ */ (0, I.jsx)(eMe, {
host: e,
epoch: n
}),
- /* @__PURE__ */ (0, I.jsx)(P1, {
+ /* @__PURE__ */ (0, I.jsx)(F1, {
title: "默认图片",
- children: /* @__PURE__ */ (0, I.jsx)(r1, {
+ children: /* @__PURE__ */ (0, I.jsx)(i1, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: zje,
+ options: Rje,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -71956,11 +71975,11 @@ function eMe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, I.jsx)(P1, {
+ /* @__PURE__ */ (0, I.jsx)(F1, {
title: "显示数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "feedLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(c1, {
id: "feedLimitSetting",
label: "新作显示数量",
value: r.feedLimit,
@@ -71970,7 +71989,7 @@ function eMe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, I.jsx)(N1, {
+ /* @__PURE__ */ (0, I.jsx)(P1, {
id: "feedAutoScrollSetting",
title: "自动滚动",
checked: r.feedAutoScroll,
@@ -71978,7 +71997,7 @@ function eMe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- Bje.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(nMe, {
+ zje.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(tMe, {
host: e,
id: t,
settingKey: n,
@@ -71988,19 +72007,19 @@ function eMe({ host: e, tab: t, epoch: n }) {
]
});
}
-function tMe({ host: e, epoch: t }) {
+function eMe({ host: e, epoch: t }) {
let n = Ft({
- queryKey: JY,
- queryFn: ({ signal: e }) => $Y(e),
+ queryKey: nX,
+ queryFn: ({ signal: e }) => sX(e),
staleTime: 0
- }), r = eX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(P1, {
+ }), r = cX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(F1, {
title: "女优名称",
description: /* @__PURE__ */ (0, I.jsx)("small", {
"data-copy-key": "performer-name-language-help",
children: "名称与别名只显示所选语言的写法;缺少对应时保留当前名称。偏好保存在数据库,其他设备读取同一份设置。"
}),
- children: /* @__PURE__ */ (0, I.jsx)(i1, {
+ children: /* @__PURE__ */ (0, I.jsx)(a1, {
id: "performerNameLanguageSetting",
label: "女优名称",
epoch: t,
@@ -72023,8 +72042,8 @@ function tMe({ host: e, epoch: t }) {
children: "未取得数据库中的名称偏好,请重新打开设置。"
}) : null] });
}
-function nMe({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = eX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {
+function tMe({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = cX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {
s(t), Qc(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -72048,10 +72067,10 @@ function nMe({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function rMe({ host: e, epoch: t }) {
+function nMe({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(N1, {
+ /* @__PURE__ */ (0, I.jsx)(P1, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -72059,7 +72078,7 @@ function rMe({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, I.jsx)(N1, {
+ /* @__PURE__ */ (0, I.jsx)(P1, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -72067,11 +72086,11 @@ function rMe({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, I.jsx)(P1, {
+ /* @__PURE__ */ (0, I.jsx)(F1, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(c1, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -72083,13 +72102,13 @@ function rMe({ host: e, epoch: t }) {
})
] });
}
-function iMe({ host: e, epoch: t }) {
- let n = e.store.value, r = eX();
- return /* @__PURE__ */ (0, I.jsx)(P1, {
+function rMe({ host: e, epoch: t }) {
+ let n = e.store.value, r = cX();
+ return /* @__PURE__ */ (0, I.jsx)(F1, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(c1, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
@@ -72101,7 +72120,7 @@ function iMe({ host: e, epoch: t }) {
});
}
// src/react/sidebar/use-sidebar-reorder.ts
-function aMe(e, t, n, r) {
+function iMe(e, t, n, r) {
let [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), d = (0, F.useRef)({
order: t,
commit: n,
@@ -72136,7 +72155,7 @@ function aMe(e, t, n, r) {
let m = (t) => {
let n = c.current;
if (!n || (c.current = null, !n.started)) return;
- let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : b1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);
+ let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : x1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);
p(), e.current.style.minHeight = n.minHeight, document.body.style.cursor = n.cursor, n.node.style.removeProperty("--sidebar-drag-x"), n.node.style.removeProperty("--sidebar-drag-y"), u.current = !0, (0, Rt.flushSync)(() => {
a(null), l && d.current.commit(l), s(l ? `${n.node.ariaLabel},已移动到第 ${o + 1} 项` : t && o === r.origin ? "顺序未变" : "已取消排序");
}), d.current.settled();
@@ -72198,7 +72217,7 @@ function aMe(e, t, n, r) {
e.preventDefault();
let a = f().map((e) => e.dataset.nav), o = a.indexOf(i), c = e.key === "ArrowDown", l = a[o + (c ? 1 : -1)];
if (l === void 0) return;
- let u = b1(t, i, l, c);
+ let u = x1(t, i, l, c);
u && (p(), (0, Rt.flushSync)(() => n(u)), s(`${e.currentTarget.ariaLabel},已移动到第 ${o + (c ? 2 : 0)} 项`), r());
}, v = i ? f().filter((e) => e.dataset.nav !== i.key) : [], y = !!i && i.slot !== null && i.slot !== i.origin;
return {
@@ -72237,68 +72256,68 @@ function aMe(e, t, n, r) {
};
}
// src/react/sidebar/sidebar-island.tsx
-var F1 = "__home__", oMe = {
+var I1 = "__home__", aMe = {
creator: 26,
tag: 30,
tech: 16
-}, I1 = 180, L1 = null, R1 = {
+}, L1 = 180, R1 = null, z1 = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, z1 = /* @__PURE__ */ new Set();
-function sMe(e) {
- return z1.add(e), () => {
- z1.delete(e);
+}, B1 = /* @__PURE__ */ new Set();
+function oMe(e) {
+ return B1.add(e), () => {
+ B1.delete(e);
};
}
-function B1() {
- for (let e of [...z1]) e();
+function V1() {
+ for (let e of [...B1]) e();
}
-var cMe = {
+var sMe = {
render(e) {
- R1 = {
- ...R1,
+ z1 = {
+ ...z1,
props: e
- }, (0, Rt.flushSync)(B1);
+ }, (0, Rt.flushSync)(V1);
},
navChanged() {
- R1 = {
- ...R1,
- epoch: R1.epoch + 1
- }, (0, Rt.flushSync)(B1);
+ z1 = {
+ ...z1,
+ epoch: z1.epoch + 1
+ }, (0, Rt.flushSync)(V1);
}
};
-function lMe(e) {
- return L1 = e, R1 = {
- ...R1,
+function cMe(e) {
+ return R1 = e, z1 = {
+ ...z1,
props: {
content: null,
filters: {},
latest: null
}
- }, cMe;
+ }, sMe;
}
-function uMe() {
- let e = (0, F.useSyncExternalStore)(sMe, () => R1);
- return L1 ? /* @__PURE__ */ (0, I.jsx)(dMe, {
- host: L1,
+function lMe() {
+ let e = (0, F.useSyncExternalStore)(oMe, () => z1);
+ return R1 ? /* @__PURE__ */ (0, I.jsx)(uMe, {
+ host: R1,
props: e.props,
epoch: e.epoch
}) : null;
}
-function dMe({ host: e, props: t, epoch: n }) {
+function uMe({ host: e, props: t, epoch: n }) {
let r = (0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, I.jsx)(fMe, {
+ /* @__PURE__ */ (0, I.jsx)(dMe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, I.jsx)(mMe, {
+ t.content ? /* @__PURE__ */ (0, I.jsx)(pMe, {
host: e,
content: t.content,
filters: t.filters,
@@ -72306,8 +72325,8 @@ function dMe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function fMe({ host: e, epoch: t, version: n }) {
- let r = y1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = fL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || F1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function dMe({ host: e, epoch: t, version: n }) {
+ let r = b1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = fL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || I1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, F.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
[
@@ -72326,7 +72345,7 @@ function fMe({ host: e, epoch: t, version: n }) {
i.disconnect(), cancelAnimationFrame(a), document.removeEventListener("board:sidebar", o);
};
}, [e, d]);
- let f = aMe(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;
+ let f = iMe(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-nav": "",
ref: c,
@@ -72363,7 +72382,7 @@ function fMe({ host: e, epoch: t, version: n }) {
decoding: "async",
draggable: !1
}) : /* @__PURE__ */ (0, I.jsx)(LF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
- }, t || F1);
+ }, t || I1);
}),
f.hint ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-drop-line": "",
@@ -72384,8 +72403,8 @@ function fMe({ host: e, epoch: t, version: n }) {
ref: l
}), p) : null] });
}
-var V1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function pMe(e) {
+var H1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function fMe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -72399,7 +72418,7 @@ function pMe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function mMe({ host: e, content: t, filters: n, latest: r }) {
+function pMe({ host: e, content: t, filters: n, latest: r }) {
let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;
(0, F.useLayoutEffect)(() => {
t.kind === "catalog" && nc(e.scroll, "drawer");
@@ -72408,8 +72427,8 @@ function mMe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? hMe(e, t.facets, n, r, i) : gMe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(_Me, {
+ let a = t.kind === "catalog" ? mMe(e, t.facets, n, r, i) : hMe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(gMe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -72418,11 +72437,11 @@ function mMe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function hMe(e, t, n, r, i) {
- let a = pMe(r), o = (t, r, i) => {
+function mMe(e, t, n, r, i) {
+ let a = fMe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = V1(n, r);
- return /* @__PURE__ */ (0, I.jsx)(W1, {
+ let o = H1(n, r);
+ return /* @__PURE__ */ (0, I.jsx)(G1, {
rows: t,
filterKey: r,
multi: i,
@@ -72432,7 +72451,7 @@ function hMe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = V1(n, l), p = c.some((e) => f.includes(e.value));
+ let f = H1(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -72444,12 +72463,12 @@ function hMe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, I.jsx)(yMe, {
+ body: /* @__PURE__ */ (0, I.jsx)(vMe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: oMe[d],
+ limit: aMe[d],
filterKey: l,
selected: f,
counts: a,
@@ -72464,7 +72483,7 @@ function hMe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(q1, {
+ body: /* @__PURE__ */ (0, I.jsx)(J1, {
host: e,
filters: n
})
@@ -72479,7 +72498,7 @@ function hMe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(G1, {
+ body: /* @__PURE__ */ (0, I.jsx)(K1, {
rows: t.followTags,
host: e,
selected: null,
@@ -72488,14 +72507,14 @@ function hMe(e, t, n, r, i) {
} : null
];
}
-function gMe(e, t, n) {
- let r = t.providers || [], i = V1(n, "provider"), a = new Set(t.selected);
+function hMe(e, t, n) {
+ let r = t.providers || [], i = H1(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, I.jsx)(W1, {
+ body: /* @__PURE__ */ (0, I.jsx)(G1, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -72509,7 +72528,7 @@ function gMe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(q1, {
+ body: /* @__PURE__ */ (0, I.jsx)(J1, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -72519,7 +72538,7 @@ function gMe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, I.jsx)(G1, {
+ body: /* @__PURE__ */ (0, I.jsx)(K1, {
rows: t.tags,
host: e,
selected: a,
@@ -72528,19 +72547,19 @@ function gMe(e, t, n) {
} : null
];
}
-function H1(e, t) {
+function U1(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function _Me({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
- let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => H1(e, n)), u = (0, F.useRef)(!1);
+function gMe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+ let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => U1(e, n)), u = (0, F.useRef)(!1);
(0, F.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? H1(e, n) : c;
+ let i = u.current ? U1(e, n) : c;
u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));
}, [i]);
let d = (t) => {
@@ -72572,7 +72591,7 @@ function _Me({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, I.jsx)(U1.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(W1.Provider, {
value: d,
children: a
})
@@ -72581,15 +72600,15 @@ function _Me({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var U1 = (0, F.createContext)(() => {});
-function vMe({ dot: e }) {
+var W1 = (0, F.createContext)(() => {});
+function _Me({ dot: e }) {
return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(LF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
}) : /* @__PURE__ */ (0, I.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function W1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function G1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -72606,7 +72625,7 @@ function W1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
title: e.offline || e.label,
onClick: () => o(t, e.value, n),
children: [
- /* @__PURE__ */ (0, I.jsx)(vMe, { dot: e.dot }),
+ /* @__PURE__ */ (0, I.jsx)(_Me, { dot: e.dot }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -72621,8 +72640,8 @@ function W1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function yMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, F.useContext)(U1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);
+function vMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+ let u = (0, F.useContext)(W1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);
p !== e && (m(e), f(null));
let h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, F.useLayoutEffect)(() => {
@@ -72637,7 +72656,7 @@ function yMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), Go(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(W1, {
+ }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(G1, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -72665,7 +72684,7 @@ function yMe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
children: /* @__PURE__ */ (0, I.jsx)(LF, { name: "chevron-down" })
}) : null] });
}
-function G1({ rows: e, host: t, selected: n, badges: r }) {
+function K1({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {
@@ -72687,10 +72706,10 @@ function G1({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var K1 = (e, t) => e ? Math.min(I1, Number(e) / 60) : t;
-function q1({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [K1(t.dur_min, 0), K1(t.dur_max, I1)]), [c, l] = (0, F.useState)("max");
- i !== r && (a(r), s([K1(t.dur_min, 0), K1(t.dur_max, I1)]));
+var q1 = (e, t) => e ? Math.min(L1, Number(e) / 60) : t;
+function J1({ host: e, filters: t, commit: n = e.setDuration }) {
+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [q1(t.dur_min, 0), q1(t.dur_max, L1)]), [c, l] = (0, F.useState)("max");
+ i !== r && (a(r), s([q1(t.dur_min, 0), q1(t.dur_max, L1)]));
let [u, d] = o, f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -72703,11 +72722,11 @@ function q1({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, F.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / I1 * 100}%`), e.style.setProperty("--hi", `${d / I1 * 100}%`);
+ e.style.setProperty("--lo", `${u / L1 * 100}%`), e.style.setProperty("--hi", `${d / L1 * 100}%`);
let t = e.getBoundingClientRect();
e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {
let n = e.dataset.rangeEnd === "max" ? d : u;
- e.style.left = `${n / I1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / L1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;
i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);
});
@@ -72717,7 +72736,7 @@ function q1({ host: e, filters: t, commit: n = e.setDuration }) {
"data-range-end": e,
"data-range-active": c === e ? "" : void 0,
"aria-hidden": "true",
- children: e === "max" && t >= I1 ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= L1 ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-duration": "",
@@ -72732,7 +72751,7 @@ function q1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: I1,
+ max: L1,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -72743,7 +72762,7 @@ function q1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: I1,
+ max: L1,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -72757,7 +72776,7 @@ function q1({ host: e, filters: t, commit: n = e.setDuration }) {
});
}
// src/diagnostics-skeleton.ts
-function J1() {
+function Y1() {
let e = (e) => ks({
label: e,
variant: "secondary",
@@ -72771,11 +72790,11 @@ function J1() {
</div></div>`;
}
// src/react/settings/library-policy-copy.ts
-var Y1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", bMe = [
+var X1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", yMe = [
"自动补全",
"仅使用本地资料",
"自定义"
-], xMe = [
+], bMe = [
[
"读本地 NFO 和图片",
"✓",
@@ -72806,7 +72825,7 @@ var Y1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
"—",
"可选"
]
-], SMe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", X1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Z1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Q1 = "只填域名,留空用默认地址", CMe = [
+], xMe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", Z1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Q1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", $1 = "只填域名,留空用默认地址", SMe = [
{
provider: "coomer",
label: "Coomer",
@@ -72896,8 +72915,8 @@ var Y1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
label: "SubscribeStar",
requirement: "none"
}
-], $1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", wMe = "peach.configuration.shape.v1";
-function e0() {
+], e0 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", CMe = "peach.configuration.shape.v1";
+function t0() {
try {
let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");
return e && typeof e == "object" ? e : {};
@@ -72905,31 +72924,31 @@ function e0() {
return {};
}
}
-function TMe(e, t) {
+function wMe(e, t) {
try {
- let n = e0();
+ let n = t0();
if (JSON.stringify(n[e]) === JSON.stringify(t)) return;
- localStorage.setItem(wMe, JSON.stringify({
+ localStorage.setItem(CMe, JSON.stringify({
...n,
[e]: t
}));
} catch {}
}
-var t0 = (e) => e0()[e], n0 = (e) => e === !0, r0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, i0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], a0 = "disabled data-skeleton-action", o0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, s0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, c0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, l0 = (e = "3em") => c0(e, "24px"), u0 = () => c0("var(--icon-inline)", "var(--icon-inline)"), d0 = (e, t = "primary", n = "medium") => ks({
+var n0 = (e) => t0()[e], r0 = (e) => e === !0, i0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, a0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], o0 = "disabled data-skeleton-action", s0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, c0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, l0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, u0 = (e = "3em") => l0(e, "24px"), d0 = () => l0("var(--icon-inline)", "var(--icon-inline)"), f0 = (e, t = "primary", n = "medium") => ks({
label: e,
variant: t,
size: n,
- attrs: a0
-}), f0 = (e, t = "") => `<div class="-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">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, p0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, EMe = (e, t, n) => {
- let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${u0()}${e}</span>` : e}</p>`;
+ attrs: o0
+}), p0 = (e, t = "") => `<div class="-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">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, m0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, TMe = (e, t, n) => {
+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${d0()}${e}</span>` : e}</p>`;
return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;
-}, m0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${EMe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? f0(n, i) : ""}</div></section>`, h0 = (e, t, n, r = "") => {
+}, h0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${TMe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? p0(n, i) : ""}</div></section>`, g0 = (e, t, n, r = "") => {
let i = `<div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>`;
return `<div class="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">${r ? `<div class="flex min-w-0 items-center gap-3">${r}${i}</div>` : i}${n}</div>`;
-}, g0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => h0(e, t, `<span class="skeleton ${n}"></span>`), _0 = (e, t = "", n = "4em") => h0(e, t, o0(n)), v0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, y0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, b0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${s0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, x0 = (e) => `<div class="flex flex-col gap-1">${y0(e)}${js(o0("8em"))}</div>`, S0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${c0("16px", "16px")}${e}</span>`, C0 = (e) => `<span class="inline-flex items-center gap-1">${u0()}${e}</span>`, w0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Es("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, DMe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), T0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${DMe.has(e) ? o0("100%") + o0("80%") + o0("6em") : o0("6em")}</dd></div>`).join("")}</dl>`, OMe = CMe;
-function kMe(e = t0("credentials")) {
- let t = new Set(i0(e?.done, 64, String));
- return OMe.map((e) => {
+}, _0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => g0(e, t, `<span class="skeleton ${n}"></span>`), v0 = (e, t = "", n = "4em") => g0(e, t, s0(n)), y0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, b0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, x0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${c0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, S0 = (e) => `<div class="flex flex-col gap-1">${b0(e)}${js(s0("8em"))}</div>`, C0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${l0("16px", "16px")}${e}</span>`, w0 = (e) => `<span class="inline-flex items-center gap-1">${d0()}${e}</span>`, T0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Es("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, EMe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), E0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${EMe.has(e) ? s0("100%") + s0("80%") + s0("6em") : s0("6em")}</dd></div>`).join("")}</dl>`, DMe = SMe;
+function OMe(e = n0("credentials")) {
+ let t = new Set(a0(e?.done, 64, String));
+ return DMe.map((e) => {
let n = t.has(e.provider);
return {
...e,
@@ -72938,141 +72957,141 @@ function kMe(e = t0("credentials")) {
};
});
}
-function AMe(e) {
- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = l0() + (n && !e.done ? t.map(() => l0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${c0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;
- if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? v0(z(e.why)) : ""}</div>`;
- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + v0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? v0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => b0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${d0("保存配置")}</div>${w0("凭据文件")}</div></div>` : "";
- return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${w0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
+function kMe(e) {
+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = u0() + (n && !e.done ? t.map(() => u0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${l0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;
+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? y0(z(e.why)) : ""}</div>`;
+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + y0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? y0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => x0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${f0("保存配置")}</div>${T0("凭据文件")}</div></div>` : "";
+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${T0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
}
-function E0() {
- let e = kMe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
- return m0("来源凭据", p0(`<div class="flex flex-col gap-4">${[
+function D0() {
+ let e = OMe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
+ return h0("来源凭据", m0(`<div class="flex flex-col gap-4">${[
["可配置凭据", e.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")],
["不需要凭据", e.filter((e) => e.requirement === "none")],
["暂不支持", e.filter((e) => e.requirement === "blocked")]
- ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(AMe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? o0("5em") : "" });
-}
-function D0() {
- let e = i0(t0("indexers")?.open, 20, n0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Es("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${o0("6em")}${o0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${b0("名称")}${b0("Torznab 地址")}${b0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${S0("启用")}${d0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
- return m0("资源搜索", p0(`<div class="flex min-w-0 flex-col gap-4">${w0("索引器连接帮助")}${e}</div>`), d0("添加索引器", "secondary") + d0("保存配置"));
+ ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(kMe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? s0("5em") : "" });
}
function O0() {
- let e = t0("javBrowser"), t = n0(e?.enabled);
- return m0("浏览器添加 JAV", p0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${o0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${l0()}</div><p class="text-caption-1-regular text-text-secondary">${o0("70%")}</p><div class="flex flex-wrap items-center gap-2">${d0("重新检测", "secondary")}</div></div>`}${x0("浏览器添加的下载渠道")}${n0(e?.ready) ? "" : v0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${b0("Peach 地址")}</div>`), (t ? d0("关闭浏览器添加", "secondary") : "") + d0(t ? "更新渠道与令牌" : "启用并生成令牌"));
+ let e = a0(n0("indexers")?.open, 20, r0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Es("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${s0("6em")}${s0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${x0("名称")}${x0("Torznab 地址")}${x0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${C0("启用")}${f0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
+ return h0("资源搜索", m0(`<div class="flex min-w-0 flex-col gap-4">${T0("索引器连接帮助")}${e}</div>`), f0("添加索引器", "secondary") + f0("保存配置"));
+}
+function k0() {
+ let e = n0("javBrowser"), t = r0(e?.enabled);
+ return h0("浏览器添加 JAV", m0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${s0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${u0()}</div><p class="text-caption-1-regular text-text-secondary">${s0("70%")}</p><div class="flex flex-wrap items-center gap-2">${f0("重新检测", "secondary")}</div></div>`}${S0("浏览器添加的下载渠道")}${r0(e?.ready) ? "" : y0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${x0("Peach 地址")}</div>`), (t ? f0("关闭浏览器添加", "secondary") : "") + f0(t ? "更新渠道与令牌" : "启用并生成令牌"));
}
-var k0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${y0(e)}${js(o0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${b0(`${e}地址`)}</div><div class="w-full sm:w-28">${b0(`${e}端口`)}</div></div>${w0("代理认证")}` : "") + "</div>";
-function A0() {
- let e = t0("cloudProxy"), t = i0(e?.accounts, 12, (e) => Array.isArray(e) ? [n0(e[0]), n0(e[1])] : [!1, !1]), n = r0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${y0(C0(o0("6em")))}${v0(o0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${y0(C0(o0("8em")))}${v0(o0("50%"))}${k0("数据代理", e)}${k0("API 代理", t)}<div class="flex justify-end">${d0("保存配置")}</div></div>`).join("") : v0(o0("60%"));
- return m0("CloudDrive 代理", p0(`${v0($1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), d0("重新读取", "secondary"));
+var A0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${b0(e)}${js(s0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${x0(`${e}地址`)}</div><div class="w-full sm:w-28">${x0(`${e}端口`)}</div></div>${T0("代理认证")}` : "") + "</div>";
+function j0() {
+ let e = n0("cloudProxy"), t = a0(e?.accounts, 12, (e) => Array.isArray(e) ? [r0(e[0]), r0(e[1])] : [!1, !1]), n = i0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${b0(w0(s0("6em")))}${y0(s0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${b0(w0(s0("8em")))}${y0(s0("50%"))}${A0("数据代理", e)}${A0("API 代理", t)}<div class="flex justify-end">${f0("保存配置")}</div></div>`).join("") : y0(s0("60%"));
+ return h0("CloudDrive 代理", m0(`${y0(e0)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), f0("重新读取", "secondary"));
}
-var j0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, jMe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">
- <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${s0()}</span>${ks({
+var M0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, AMe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">
+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${c0()}</span>${ks({
glyph: "folder-search",
variant: "secondary",
- attrs: a0
+ attrs: o0
})}</div>
- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${j0("来源", js(o0("6em")), "w-full @lg:w-60")}${j0("读取策略", js(o0("4em")), "w-full @lg:w-32")}${e > 1 ? j0("移到媒体库", js(o0("4em")), "w-full @lg:w-48") : ""}</div></div>
- </div>`, MMe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">
+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${M0("来源", js(s0("6em")), "w-full @lg:w-60")}${M0("读取策略", js(s0("4em")), "w-full @lg:w-32")}${e > 1 ? M0("移到媒体库", js(s0("4em")), "w-full @lg:w-48") : ""}</div></div>
+ </div>`, jMe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">
<div data-library-head>${ks({
label: "自动识别",
variant: "secondary",
- attrs: a0
-})}${s0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${js(o0("4em"), { prefix: "处理方式" })}</div>
- <div data-library-folders>${jMe(t).repeat(e)}<div class="flex">${ks({
+ attrs: o0
+})}${c0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${js(s0("4em"), { prefix: "处理方式" })}</div>
+ <div data-library-folders>${AMe(t).repeat(e)}<div class="flex">${ks({
label: "添加文件夹",
variant: "secondary",
- attrs: a0
-})}</div></div></div>`, NMe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${Y1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, PMe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";
-function FMe(e = t0("media")) {
- let t = i0(e?.folders, 12, (e) => r0(e, 50)).filter(Boolean);
+ attrs: o0
+})}</div></div></div>`, MMe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${X1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, NMe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";
+function PMe(e = n0("media")) {
+ let t = a0(e?.folders, 12, (e) => i0(e, 50)).filter(Boolean);
return t.length ? {
folders: t,
- cloud: n0(e?.cloud)
+ cloud: r0(e?.cloud)
} : {
folders: [1],
cloud: !1
};
}
-function IMe() {
- let e = t0("discovery"), t = n0(e?.enabled), n = t && n0(e?.cloud), r = n && n0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${s0()}</span>${js(o0("4em"), { prefix: "对应目录" })}${ks({
+function FMe() {
+ let e = n0("discovery"), t = r0(e?.enabled), n = t && r0(e?.cloud), r = n && r0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${c0()}</span>${js(s0("4em"), { prefix: "对应目录" })}${ks({
glyph: "trash",
variant: "secondary",
- attrs: a0
+ attrs: o0
})}</div>`;
- return m0("自动发现新文件", p0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${l0()}</div>`) + g0("发现新文件后自动入库", t ? o0("10em") : "") + g0("监视本机文件夹", t && n0(e?.watchLocal) ? o0("12em") : "") + g0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? h0("Webhook 配置", o0("20em"), "") : "") + (r ? p0(w0("查看配置"), !0) : "") + (n ? p0(`<div class="flex flex-col gap-3">${y0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(r0(e?.prefixes, 20))}</div><div>${d0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? d0("更换密钥", "secondary") : "") + d0("保存配置"));
-}
-var LMe = () => {
- let e = FMe();
- return m0("媒体库与目录", p0(`${NMe}<div class="flex flex-col gap-4">${e.folders.map((t) => MMe(t, e.folders.length)).join("")}</div>
- <div class="self-start">${d0("添加媒体库", "secondary")}</div>
- <p class="text-body-2-regular text-text-secondary">${X1}</p>
- ${e.cloud ? PMe : ""}<span class="text-body-medium text-text-primary">${o0("15em")}</span>`), d0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? A0() : "") + IMe() + m0("番号识别规则", p0(`${o0("90%")}${o0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), d0("保存配置")) + m0("视频预览", g0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + g0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + g0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
-}, RMe = () => `<div>${d0("采集来源与登录状态", "secondary")}</div>` + E0() + m0("关注采集", h0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + _0("订阅源拉取") + g0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + _0("头像刷新", "重新获取关注创作者的头像。") + _0("favicon 刷新", "重新获取来源站点的图标。")) + D0() + m0("作品资料站点", p0(`<p class="text-body-2-regular text-text-secondary">${Z1}</p>${b0(C0("JavDB 地址"), Q1)}${b0(C0("MISSAV 地址"), Q1)}`), d0("保存配置")), zMe = () => {
- let e = t0("downloads"), t = n0(e?.pikpak), n = n0(e?.pikpakRoots) ? x0(C0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${y0(C0("PikPak 根目录对应的媒体目录"))}${v0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = n0(e?.cloud) ? m0("云下载", p0(b0("CloudDrive2 地址") + b0("CloudDrive2 API 令牌", "需要离线任务权限。") + (n0(e?.has115) ? b0(C0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? b0(C0("PikPak 目标目录"), "目录要已经存在。") + n : "") + b0("等待上限(小时)", o0("14em"))), d0("检查连接", "secondary") + d0("保存配置")) : "", i = n0(e?.pikpakLoggedIn);
- return r + (t ? m0("PikPak 账号", i ? T0(["账号", o0("4em")]) : p0(b0("账号") + b0("密码") + S0("保存密码,登录过期时自动重新登录")), i ? d0("登出", "secondary") : (n0(e?.browserLogin) ? d0("用浏览器登录", "secondary") : "") + d0("登录"), {
- aside: l0(),
+ return h0("自动发现新文件", m0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${u0()}</div>`) + _0("发现新文件后自动入库", t ? s0("10em") : "") + _0("监视本机文件夹", t && r0(e?.watchLocal) ? s0("12em") : "") + _0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? g0("Webhook 配置", s0("20em"), "") : "") + (r ? m0(T0("查看配置"), !0) : "") + (n ? m0(`<div class="flex flex-col gap-3">${b0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(i0(e?.prefixes, 20))}</div><div>${f0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? f0("更换密钥", "secondary") : "") + f0("保存配置"));
+}
+var IMe = () => {
+ let e = PMe();
+ return h0("媒体库与目录", m0(`${MMe}<div class="flex flex-col gap-4">${e.folders.map((t) => jMe(t, e.folders.length)).join("")}</div>
+ <div class="self-start">${f0("添加媒体库", "secondary")}</div>
+ <p class="text-body-2-regular text-text-secondary">${Z1}</p>
+ ${e.cloud ? NMe : ""}<span class="text-body-medium text-text-primary">${s0("15em")}</span>`), f0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? j0() : "") + FMe() + h0("番号识别规则", m0(`${s0("90%")}${s0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), f0("保存配置")) + h0("视频预览", _0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + _0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + _0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
+}, LMe = () => `<div>${f0("采集来源与登录状态", "secondary")}</div>` + D0() + h0("关注采集", g0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + v0("订阅源拉取") + _0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + v0("头像刷新", "重新获取关注创作者的头像。") + v0("favicon 刷新", "重新获取来源站点的图标。")) + O0() + h0("作品资料站点", m0(`<p class="text-body-2-regular text-text-secondary">${Q1}</p>${x0(w0("JavDB 地址"), $1)}${x0(w0("MISSAV 地址"), $1)}`), f0("保存配置")), RMe = () => {
+ let e = n0("downloads"), t = r0(e?.pikpak), n = r0(e?.pikpakRoots) ? S0(w0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${b0(w0("PikPak 根目录对应的媒体目录"))}${y0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = r0(e?.cloud) ? h0("云下载", m0(x0("CloudDrive2 地址") + x0("CloudDrive2 API 令牌", "需要离线任务权限。") + (r0(e?.has115) ? x0(w0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? x0(w0("PikPak 目标目录"), "目录要已经存在。") + n : "") + x0("等待上限(小时)", s0("14em"))), f0("检查连接", "secondary") + f0("保存配置")) : "", i = r0(e?.pikpakLoggedIn);
+ return r + (t ? h0("PikPak 账号", i ? E0(["账号", s0("4em")]) : m0(x0("账号") + x0("密码") + C0("保存密码,登录过期时自动重新登录")), i ? f0("登出", "secondary") : (r0(e?.browserLogin) ? f0("用浏览器登录", "secondary") : "") + f0("登录"), {
+ aside: u0(),
mark: !0
- }) : "") + O0();
-}, M0 = {
+ }) : "") + k0();
+}, N0 = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
-}, N0 = {
+}, P0 = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function BMe(e) {
- let t = e === "locked" ? "" : b0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + b0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
- return (M0[e] ? v0(M0[e]) : "") + (e === "open" ? c0("100%", "64px") : "") + (e === "password" || e === "legacy" ? S0("关闭访问密码") : "") + (e === "password" ? b0("当前访问密码 *") : "") + t;
+function zMe(e) {
+ let t = e === "locked" ? "" : x0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + x0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
+ return (N0[e] ? y0(N0[e]) : "") + (e === "open" ? l0("100%", "64px") : "") + (e === "password" || e === "legacy" ? C0("关闭访问密码") : "") + (e === "password" ? x0("当前访问密码 *") : "") + t;
}
-function P0() {
- let e = t0("devices");
- return m0("已登录的设备", Array.from({ length: Math.max(1, r0(e?.rows, 8)) }, () => h0(o0("8em"), o0("14em"), o0("3em"), c0("20px", "20px"))).join(""), n0(e?.manageable) ? d0("撤销其他设备", "secondary") : "", n0(e?.manageable) ? { status: "修改访问密码会让全部设备退出。" } : {});
+function F0() {
+ let e = n0("devices");
+ return h0("已登录的设备", Array.from({ length: Math.max(1, i0(e?.rows, 8)) }, () => g0(s0("8em"), s0("14em"), s0("3em"), l0("20px", "20px"))).join(""), r0(e?.manageable) ? f0("撤销其他设备", "secondary") : "", r0(e?.manageable) ? { status: "修改访问密码会让全部设备退出。" } : {});
}
-var VMe = () => {
- let e = t0("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = n0(e?.tunnelNamed), r = (n && n0(e?.tunnelNamedMode) ? v0(N0.named) + b0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + b0("隧道令牌", o0("16em")) : v0(N0.quick)) + (n0(e?.tunnelNote) ? c0("100%", "64px") : ""), i = r0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${b0([
+var BMe = () => {
+ let e = n0("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = r0(e?.tunnelNamed), r = (n && r0(e?.tunnelNamedMode) ? y0(P0.named) + x0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + x0("隧道令牌", s0("16em")) : y0(P0.quick)) + (r0(e?.tunnelNote) ? l0("100%", "64px") : ""), i = i0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${x0([
"本机地址",
"手机连接地址",
"备用 IP 地址"
- ][t])}</div>${d0("复制地址", "secondary")}</div>`).join("");
- return (i || n0(e?.port) ? m0("访问地址", p0(a + (i ? c0("100%", "40px") : "") + (n0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${y0("谁可以访问")}${c0("min(100%, 20em)", "36px")}</div>` + (n0(e?.lan) ? b0("局域网访问地址") : "") : "") + (n0(e?.port) ? b0("端口") : "")), n0(e?.port) ? d0("保存配置") : "", n0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + m0("访问密码", p0(BMe(t)), t === "locked" ? "" : d0("保存配置")) + (t === "password" || t === "legacy" ? P0() : "") + m0("Cloudflare 公网入口", p0((n ? c0("10.5em", "36px") : "") + r), d0("启动公网入口", n ? "secondary" : "primary") + (n ? d0("保存配置") : ""), { aside: l0() }) + m0("Peach 代理", g0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (n0(e?.proxyAddress) ? p0(b0("代理地址"), !0) : ""), d0("保存配置"));
-}, HMe = [
+ ][t])}</div>${f0("复制地址", "secondary")}</div>`).join("");
+ return (i || r0(e?.port) ? h0("访问地址", m0(a + (i ? l0("100%", "40px") : "") + (r0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${b0("谁可以访问")}${l0("min(100%, 20em)", "36px")}</div>` + (r0(e?.lan) ? x0("局域网访问地址") : "") : "") + (r0(e?.port) ? x0("端口") : "")), r0(e?.port) ? f0("保存配置") : "", r0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + h0("访问密码", m0(zMe(t)), t === "locked" ? "" : f0("保存配置")) + (t === "password" || t === "legacy" ? F0() : "") + h0("Cloudflare 公网入口", m0((n ? l0("10.5em", "36px") : "") + r), f0("启动公网入口", n ? "secondary" : "primary") + (n ? f0("保存配置") : ""), { aside: u0() }) + h0("Peach 代理", _0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (r0(e?.proxyAddress) ? m0(x0("代理地址"), !0) : ""), f0("保存配置"));
+}, VMe = [
"版本",
"操作系统",
"数据目录",
"设置文件",
"日志目录"
-], UMe = () => {
- let e = t0("maintenance"), t = [
+], HMe = () => {
+ let e = n0("maintenance"), t = [
"当前版本",
"安装方式",
"更新通道",
"最新版本",
"下载内容"
- ].slice(0, Math.max(4, r0(e?.releaseFacts, 5))), n = r0(e?.releaseNotes, 4), r = r0(e?.storageRows, 12), i = r0(e?.storageNotes, 3), a = i0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${l0("6em")}</span>`, s = (t) => !e || n0(t), c = s(e?.reporting) ? g0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (n0(e?.reportingIdle) ? p0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${g0("上传馆藏与口味明细", n0(e?.sharingNotice) ? o0("12em") : "")}${n0(e?.sharingIdle) ? p0(o, !0) : ""}${f0(d0("预览上传内容", "secondary"))}</div>` : "";
- return m0("检查更新", T0(t) + (n ? p0(v0(o0("50%")).repeat(n), !0) : ""), d0("检查更新"), {
- aside: l0("4em"),
- status: o0("5em")
- }) + m0("自动更新", g0("自动检查新版本") + g0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + g0("检查频率", n0(e?.autoUpdateHelp) ? o0("12em") : "", "ui-configuration-skeleton-select"), d0("保存配置")) + m0("开机自启", g0("开机后启动 Peach") + g0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + g0("在桌面创建快捷方式", n0(e?.desktopNote) ? o0("12em") : "") + (n0(e?.startupNote) ? p0(v0(o0("60%")), !0) : ""), d0("保存配置")) + m0("视频播放", g0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + m0("存储空间", T0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => h0(o0("6em"), "", o0("4em"))).join("") : p0(v0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? p0(v0(o0("80%")).repeat(i), !0) : ""), d0("更改位置", "secondary") + d0(r ? "重新统计" : "统计占用")) + (c || l ? m0("数据上传", c + l) : "") + m0("运行信息", T0(a.length ? a : HMe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${h0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", d0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? m0("卸载 Peach", (n0(e?.uninstallHelp) ? p0(v0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + g0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + p0(w0("数据目录"), !0), d0("卸载 Peach"), { status: o0("16em") }) : "");
+ ].slice(0, Math.max(4, i0(e?.releaseFacts, 5))), n = i0(e?.releaseNotes, 4), r = i0(e?.storageRows, 12), i = i0(e?.storageNotes, 3), a = a0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${u0("6em")}</span>`, s = (t) => !e || r0(t), c = s(e?.reporting) ? _0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (r0(e?.reportingIdle) ? m0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${_0("上传馆藏与口味明细", r0(e?.sharingNotice) ? s0("12em") : "")}${r0(e?.sharingIdle) ? m0(o, !0) : ""}${p0(f0("预览上传内容", "secondary"))}</div>` : "";
+ return h0("检查更新", E0(t) + (n ? m0(y0(s0("50%")).repeat(n), !0) : ""), f0("检查更新"), {
+ aside: u0("4em"),
+ status: s0("5em")
+ }) + h0("自动更新", _0("自动检查新版本") + _0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + _0("检查频率", r0(e?.autoUpdateHelp) ? s0("12em") : "", "ui-configuration-skeleton-select"), f0("保存配置")) + h0("开机自启", _0("开机后启动 Peach") + _0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + _0("在桌面创建快捷方式", r0(e?.desktopNote) ? s0("12em") : "") + (r0(e?.startupNote) ? m0(y0(s0("60%")), !0) : ""), f0("保存配置")) + h0("视频播放", _0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + h0("存储空间", E0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => g0(s0("6em"), "", s0("4em"))).join("") : m0(y0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? m0(y0(s0("80%")).repeat(i), !0) : ""), f0("更改位置", "secondary") + f0(r ? "重新统计" : "统计占用")) + (c || l ? h0("数据上传", c + l) : "") + h0("运行信息", E0(a.length ? a : VMe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${g0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", f0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? h0("卸载 Peach", (r0(e?.uninstallHelp) ? m0(y0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + _0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + m0(T0("数据目录"), !0), f0("卸载 Peach"), { status: s0("16em") }) : "");
};
-function WMe(e) {
+function UMe(e) {
switch (e) {
- case "系统诊断": return J1();
- case "来源与订阅": return RMe();
- case "下载渠道": return zMe();
- case "网络与访问": return VMe();
- case "应用与维护": return UMe();
- default: return LMe();
+ case "系统诊断": return Y1();
+ case "来源与订阅": return LMe();
+ case "下载渠道": return RMe();
+ case "网络与访问": return BMe();
+ case "应用与维护": return HMe();
+ default: return IMe();
}
}
-function GMe(e = "媒体库与入库") {
- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(If).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${WMe(e)}</div></div></div>`;
+function WMe(e = "媒体库与入库") {
+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(If).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${UMe(e)}</div></div></div>`;
}
// src/filter-controls-skeleton.ts
-var F0 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Es(e, "size-4 shrink-0"), I0 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", L0 = (e, t, n) => `<span data-entity-layout="" class="${tU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${nU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${I0}>${F0(r)}</span>`).join("")}</span>`;
-function R0(e, t, { folders: n = !0 } = {}) {
- let r = aG(), i = new URLSearchParams(location.search), a = t && r === "cards" ? L0(t.label, t.value, t.options) : "", o = n ? `<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${i.get("browse") === "folders" || !!i.get("folder")}" ${I0}>${F0("ri-folder-3-line")}</button>` : "";
- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${I0}>${F0("shuffle")}</button>${a}${L0("馆藏显示方式", r, [[
+var I0 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Es(e, "size-4 shrink-0"), L0 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", R0 = (e, t, n) => `<span data-entity-layout="" class="${nU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${rU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${L0}>${I0(r)}</span>`).join("")}</span>`;
+function z0(e, t, { folders: n = !0 } = {}) {
+ let r = yG(), i = new URLSearchParams(location.search), a = t && r === "cards" ? R0(t.label, t.value, t.options) : "", o = n ? `<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${i.get("browse") === "folders" || !!i.get("folder")}" ${L0}>${I0("ri-folder-3-line")}</button>` : "";
+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${L0}>${I0("shuffle")}</button>${a}${R0("馆藏显示方式", r, [[
"cards",
"卡片",
"ri-layout-grid-line"
@@ -73080,21 +73099,21 @@ function R0(e, t, { folders: n = !0 } = {}) {
"list",
"列表",
"ri-list-unordered"
- ]])}${o}${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${I0}>${z(e.label)}${e.dir ? F0(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
+ ]])}${o}${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${L0}>${z(e.label)}${e.dir ? I0(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
}
// src/catalog-filter-skeleton.ts
-var z0 = 64, B0 = (e) => e.replace(/[&<>"]/g, (e) => ({
+var B0 = 64, V0 = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), KMe = (e) => e.repeat(z0), V0 = (e) => KMe(`<span data-catalog-placeholder="${e}" aria-hidden="true"><span></span><span>&nbsp;</span></span>`);
-function qMe(e, t, n) {
- let r = e.map((e) => `<a href="${B0(e.href)}" data-catalog-view="${B0(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${B0(e.label)}</a>`).join(""), i = PG();
- return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? `<div data-catalog-tier="performers" data-skeleton="tiers">${V0("performer")}</div>` : "") + (i.studios ? `<div data-catalog-tier="studios">${V0("studio")}</div>` : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(z0) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ds()}</span>` + (n ? R0(n.sorts, n.layout) : "") + "</div></div></div></div>";
+})[e]), GMe = (e) => e.repeat(B0), H0 = (e) => GMe(`<span data-catalog-placeholder="${e}" aria-hidden="true"><span></span><span>&nbsp;</span></span>`);
+function KMe(e, t, n) {
+ let r = e.map((e) => `<a href="${V0(e.href)}" data-catalog-view="${V0(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${V0(e.label)}</a>`).join(""), i = KG();
+ return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? `<div data-catalog-tier="performers" data-skeleton="tiers">${H0("performer")}</div>` : "") + (i.studios ? `<div data-catalog-tier="studios">${H0("studio")}</div>` : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(B0) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ds()}</span>` + (n ? z0(n.sorts, n.layout) : "") + "</div></div></div></div>";
}
// src/react/jav/release-table-columns.ts
-var H0 = "peach.table.jav-releases.widths.v1", U0 = "peach.table.jav-releases.visibility.v1", JMe = {
+var U0 = "peach.table.jav-releases.widths.v1", W0 = "peach.table.jav-releases.visibility.v1", qMe = {
name: {
width: 300,
min: 240,
@@ -73140,7 +73159,7 @@ var H0 = "peach.table.jav-releases.widths.v1", U0 = "peach.table.jav-releases.vi
min: 112,
max: 320
}
-}, YMe = {
+}, JMe = {
name: "作品",
people: "艺人",
studio: "厂牌",
@@ -73150,12 +73169,12 @@ var H0 = "peach.table.jav-releases.widths.v1", U0 = "peach.table.jav-releases.vi
score: "来源评分",
release: "发行时间",
actions: "操作"
-}, XMe = {
+}, YMe = {
code: "code",
dur: "duration",
score: "source_score",
release: "release_date"
-}, W0 = [
+}, G0 = [
"name",
"people",
"studio",
@@ -73167,18 +73186,18 @@ var H0 = "peach.table.jav-releases.widths.v1", U0 = "peach.table.jav-releases.vi
"code"
].map((e) => ({
id: e,
- label: YMe[e],
- ...JMe[e],
+ label: JMe[e],
+ ...qMe[e],
flex: e === "name",
required: e === "name",
visible: e !== "code"
}));
-function ZMe() {
- return NJ(W0, H0, U0);
+function XMe() {
+ return GJ(G0, U0, W0);
}
// src/jav-skeleton.ts
-var G0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, QMe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, K0 = "w-full min-w-0";
-function q0() {
+var K0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, ZMe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, q0 = "w-full min-w-0";
+function J0() {
return [
"w-20",
"w-16",
@@ -73188,8 +73207,8 @@ function q0() {
"w-24"
].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");
}
-function J0(e, t = oM()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${G0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${QMe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${G0("80%")}${G0("60%")}${G0("40%")}</div></div>`).join("")}</div>`;
+function Y0(e, t = oM()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${K0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${ZMe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${K0("80%")}${K0("60%")}${K0("40%")}</div></div>`).join("")}</div>`;
let n = mM({
...pM({
active: !0,
@@ -73198,47 +73217,47 @@ function J0(e, t = oM()) {
}),
size: t
});
- return `<div data-media-grid class="${K0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">
+ return `<div data-media-grid class="${q0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">
<span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span>
<div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>
- <div data-media-title>${G0("85%")}${G0("65%")}</div><div data-media-byline>${G0("55%")}</div>
+ <div data-media-title>${K0("85%")}${K0("65%")}</div><div data-media-byline>${K0("55%")}</div>
<div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div>
</div></div>
<div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div>
</div>`).join("")}</div>`;
}
-var $Me = {
+var QMe = {
releases: "筛选新作",
discover: "筛选推荐",
wants: "筛选想要"
};
-function eNe(e) {
- let t = new URLSearchParams(location.search).get("q") || "", n = e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${G0("100%")}</div>${J0(e)}` : e === "releases" ? `<section class="flex min-w-0 flex-col gap-4">${tNe()}${aG() === "list" ? `<div data-catalog-table>${LJ(ZMe())}</div>` : J0(e)}</section>` : `<section class="flex min-w-0 flex-col gap-4">${nNe()}${J0(e)}</section>`;
+function $Me(e) {
+ let t = new URLSearchParams(location.search).get("q") || "", n = e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${K0("100%")}</div>${Y0(e)}` : e === "releases" ? `<section class="flex min-w-0 flex-col gap-4">${eNe()}${yG() === "list" ? `<div data-catalog-table>${YJ(XMe())}</div>` : Y0(e)}</section>` : `<section class="flex min-w-0 flex-col gap-4">${tNe()}${Y0(e)}</section>`;
return `<div class="peach-react"><div class="flex w-full flex-col gap-6">
- <div class="flex w-full flex-col gap-4"><div class="flex min-w-0 flex-wrap items-center gap-3 max-board-narrow:gap-x-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2><div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Os("", t, $Me[e] || "筛选")}</div>${ks({
+ <div class="flex w-full flex-col gap-4"><div class="flex min-w-0 flex-wrap items-center gap-3 max-board-narrow:gap-x-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2><div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Os("", t, QMe[e] || "筛选")}</div>${ks({
variant: "primary",
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${rU.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${iU.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
${n}</div></div>`;
}
-function tNe() {
- let e = new URLSearchParams(location.search), t = e.get("sort") || "release_date", n = e.get("dir") === "asc" ? "asc" : "desc", r = aW.map(([e, r, i]) => ({
+function eNe() {
+ let e = new URLSearchParams(location.search), t = e.get("sort") || "release_date", n = e.get("dir") === "asc" ? "asc" : "desc", r = vW.map(([e, r, i]) => ({
key: e,
label: r,
ariaLabel: i,
pressed: e === t,
dir: e === t ? n : ""
}));
- return `<div data-catalog-tiers="" aria-busy="true"><div data-catalog-tier="performers" data-skeleton="tiers">${V0("performer")}</div><div data-catalog-tier="studios">${V0("studio")}</div></div>
+ return `<div data-catalog-tiers="" aria-busy="true"><div data-catalog-tier="performers" data-skeleton="tiers">${H0("performer")}</div><div data-catalog-tier="studios">${H0("studio")}</div></div>
<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">
- <div data-catalog-scroll><div data-catalog-tags>${q0()}</div></div>
+ <div data-catalog-scroll><div data-catalog-tags>${J0()}</div></div>
</div>
<div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2">
<span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>
- ${R0(r, {
+ ${z0(r, {
name: "jav-layout",
label: "JAV 卡片版式",
value: oM(),
@@ -73247,24 +73266,24 @@ function tNe() {
</div>
</div>`;
}
-function nNe() {
+function tNe() {
let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${oM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Es(t, "size-4")}</span>`;
return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">
- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${q0()}</div></div>
+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${J0()}</div></div>
</div>
<div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2">
<span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>
${Ds()}
<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${Es("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>
- ${iW.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Es("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ ${_W.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Es("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
// src/management-skeletons.ts
-var Y0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", X0 = (e = "60%") => `<span class="${Y0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, Z0 = "disabled data-skeleton-action", Q0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function rNe() {
+var X0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", Z0 = (e = "60%") => `<span class="${X0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, Q0 = "disabled data-skeleton-action", $0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function nNe() {
let e = [
"馆藏视频",
"看过",
@@ -73272,27 +73291,27 @@ function rNe() {
"使用空间"
].map((e, t) => `
<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">
- <span class="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"><i class="${Y0} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${X0("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${X0("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${Q0}" data-stats-chart>
- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${X0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
+ <span class="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"><i class="${X0} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${Z0("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${Z0("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${$0}" data-stats-chart>
+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${Z0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
<svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[
76,
54,
32
].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>
- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${X0()}</span><b class="text-title-2-medium">${X0("3em")}</b><small class="text-caption-1-regular">${X0()}</small></div>`).join("")}</div>
+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${Z0()}</span><b class="text-title-2-medium">${Z0("3em")}</b><small class="text-caption-1-regular">${Z0()}</small></div>`).join("")}</div>
</section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${X0("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${Z0("12em")}</p>
<div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div>
<div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div>
<div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${[
"时长",
"画质",
"文件类型"
- ].map((e) => `<section class="${Q0}"><h3 class="text-title-2-medium">${e}</h3><div class="${Y0} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${$0}"><h3 class="text-title-2-medium">${e}</h3><div class="${X0} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -73301,11 +73320,11 @@ function rNe() {
"最近看过",
"标签来源"
].map((e) => `<span>${e}</span>`).join("")}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${Y0} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${X0} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function iNe() {
+function rNe() {
let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = [
"浏览记录",
"口味维度",
@@ -73313,20 +73332,20 @@ function iNe() {
"私有导出"
].map((e) => `
<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">
- <span class="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"><i class="${Y0} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${X0("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${X0("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${Y0} h-6"></div>`).join(""), r = (e) => `<section class="${Q0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${Y0} h-40"></div></section>`;
+ <span class="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"><i class="${X0} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${Z0("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${Z0("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${X0} h-6"></div>`).join(""), r = (e) => `<section class="${$0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${X0} h-40"></div></section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
<div class="flex flex-col gap-5">
<div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}
<div class="flex flex-wrap items-center gap-2">${js("全部时间")}<span data-button-group data-split-button data-variant="primary">${ks({
glyph: "compass",
label: "读取浏览器历史",
- attrs: Z0
+ attrs: Q0
})}${ks({
glyph: "chevron-down",
- attrs: Z0
+ attrs: Q0
})}</span></div>
</div>
<div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>
@@ -73344,11 +73363,11 @@ function iNe() {
4,
5
].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>
- <small class="text-caption-1-regular">${X0("8em")}</small></div>
+ <small class="text-caption-1-regular">${Z0("8em")}</small></div>
<div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div>
</section>
<div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>
- <section class="${Q0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${Y0} h-72 max-sm:h-48"></div></section>
+ <section class="${$0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${X0} h-72 max-sm:h-48"></div></section>
<section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col">
<div class="px-4 pt-3">${e([
"标签",
@@ -73356,20 +73375,20 @@ function iNe() {
"常访问网站",
"浏览线索"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${Y0} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${X0} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function aNe() {
+function iNe() {
let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">
- <span class="${Y0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${X0("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${X0("3em")}</span>`).join("")}
- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${X0("75%")}</span>
+ <span class="${X0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${Z0("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${Z0("3em")}</span>`).join("")}
+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${Z0("75%")}</span>
</div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group>
<div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">
- <b class="text-title-2-medium">${X0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${X0("8em")}</span>
+ <b class="text-title-2-medium">${Z0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${Z0("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
@@ -73378,27 +73397,27 @@ function aNe() {
variant: "secondary",
size: "small",
label: e,
- attrs: Z0
+ attrs: Q0
})).join("")}</span>
</div>${e.repeat(2)}</section>`;
return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5">
<div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">
- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${X0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${X0("12em")}</p>
+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${Z0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${Z0("12em")}</p>
</div>
- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${Z0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${Q0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
${t.repeat(2)}
</div></div>`;
}
-function oNe() {
+function aNe() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 p-3">
- <div class="flex min-w-0 gap-4"><span class="${Y0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${X0("80%")}</h3><p class="text-body-2-regular">${X0("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${X0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${Z0("80%")}</h3><p class="text-body-2-regular">${Z0("60%")}</p></div>
</div>
<footer class="flex justify-end">${ks({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: Z0
+ attrs: Q0
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
@@ -73407,20 +73426,20 @@ function oNe() {
</div></div>`;
}
// src/board-skeleton.ts
-var $0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, sNe = () => `${$0("80%")}${$0("48%")}`, e2 = (e, t) => e.repeat(t), t2 = "disabled data-skeleton-action", n2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, r2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, cNe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", i2 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var e2 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, oNe = () => `${e2("80%")}${e2("48%")}`, t2 = (e, t) => e.repeat(t), n2 = "disabled data-skeleton-action", r2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, i2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, sNe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", a2 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
"关注创作者",
"启用来源",
"检查失败",
"未看更新",
"JAV 订阅",
"未看新作"
-].map((e) => `<div class="${cNe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${n2("3em")}</b></div>`).join("")}</div>`, lNe = (e = "") => AZ.some(([t]) => t === e) ? e : "list", a2 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${AZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, o2 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, uNe = ({ table: e, sort: t, dir: n }) => {
+].map((e) => `<div class="${sNe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${r2("3em")}</b></div>`).join("")}</div>`, cNe = (e = "") => RZ.some(([t]) => t === e) ? e : "list", o2 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${RZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, s2 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, lNe = ({ table: e, sort: t, dir: n }) => {
let r = ur.find(([e]) => e === t)[1];
- return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${n2("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${ks({
+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${r2("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${ks({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: t2
+ attrs: n2
})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${ks({
variant: "ghost",
glyph: "layout-grid",
@@ -73437,42 +73456,42 @@ var $0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, sNe
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: t2
+ attrs: n2
})}</span></div></div>`;
-}, s2 = () => `<span class="flex shrink-0 items-center gap-1">${ks({
+}, c2 = () => `<span class="flex shrink-0 items-center gap-1">${ks({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: t2
+ attrs: n2
})}${ks({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: t2
-})}</span>`, dNe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${o2()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${n2("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${r2(14, 14)}</span>${r2(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${n2("113px")}</span>${s2()}</span></div>`, c2 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${r2(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${n2("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${ks({
+ attrs: n2
+})}</span>`, uNe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${s2()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${r2("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${i2(14, 14)}</span>${i2(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${r2("113px")}</span>${c2()}</span></div>`, l2 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${i2(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${r2("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${ks({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: t2
-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${r2(14, 14)}${r2(14, 14)}</span><span class="flex flex-none items-center gap-2">${ks({
+ attrs: n2
+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${i2(14, 14)}${i2(14, 14)}</span><span class="flex flex-none items-center gap-2">${ks({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: t2
+ attrs: n2
})}${ks({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: t2
-})}</span></span></div><div data-source-divider>${e2(dNe(), e)}</div></section>`, fNe = () => {
+ attrs: n2
+})}</span></span></div><div data-source-divider>${t2(uNe(), e)}</div></section>`, dNe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, pNe = [
+}, fNe = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -73480,92 +73499,92 @@ var $0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, sNe
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], mNe = {
+], pNe = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, l2 = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", hNe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${pNe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${mNe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${l2}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${e2(`<tr>${[
- o2(),
- `<span class="flex min-w-0 items-center gap-2">${r2(32, 32, !0)}${n2("5em")}</span>`,
- n2("10em"),
- `<span class="flex items-center gap-1.5">${r2(14, 14)}${n2("4em")}</span>`,
- r2(48, 24),
- n2("113px"),
- s2()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, gNe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${n2("111px")}</span><div data-toolbar-actions>${js(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${r2(204, 32)}</div></div>`, _Ne = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${n2("120px")}</h3>${[
+}, u2 = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", mNe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${fNe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${pNe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${u2}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${t2(`<tr>${[
+ s2(),
+ `<span class="flex min-w-0 items-center gap-2">${i2(32, 32, !0)}${r2("5em")}</span>`,
+ r2("10em"),
+ `<span class="flex items-center gap-1.5">${i2(14, 14)}${r2("4em")}</span>`,
+ i2(48, 24),
+ r2("113px"),
+ c2()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, hNe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${r2("111px")}</span><div data-toolbar-actions>${js(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${i2(204, 32)}</div></div>`, gNe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${r2("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${n2(e)}</span>`).join("")}</div>`, vNe = (e) => {
- let t = lNe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${i2()}<div class="flex flex-col gap-6">${a2(t)}<div class="flex flex-col gap-4">${_Ne()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = mr(e.followSort, e.followDir), i = e.followPageSize || fNe(), a = n ? hNe(i, r) : `${o2("全选本页")}<div class="flex flex-col gap-3">${c2(3)}${c2(4)}${c2(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${i2()}<div class="flex flex-col gap-6">${a2(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${uNe({
+].map((e) => `<span class="text-body-medium">${r2(e)}</span>`).join("")}</div>`, _Ne = (e) => {
+ let t = cNe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${a2()}<div class="flex flex-col gap-6">${o2(t)}<div class="flex flex-col gap-4">${gNe()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = mr(e.followSort, e.followDir), i = e.followPageSize || dNe(), a = n ? mNe(i, r) : `${s2("全选本页")}<div class="flex flex-col gap-3">${l2(3)}${l2(4)}${l2(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${a2()}<div class="flex flex-col gap-6">${o2(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${lNe({
table: n,
...r
- })}${a}${gNe(n, i)}</div></div></div></div></div>`;
+ })}${a}${hNe(n, i)}</div></div></div></div></div>`;
};
-function yNe() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${$0("85%")}${$0("65%")}${e2(sNe(), 4)}</div></aside></div>`;
+function vNe() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${e2("85%")}${e2("65%")}${t2(oNe(), 4)}</div></aside></div>`;
}
-function bNe(e, t = {}) {
+function yNe(e, t = {}) {
let n = "";
- if (e === "/stats") n = rNe();
+ if (e === "/stats") n = nNe();
else if (e === "/jav") {
- let e = iU(new URLSearchParams(location.search).get("tab"));
- n = eNe(e === "library" ? "discover" : e);
- } else if (e === "/taste") n = iNe();
- else if (e === "/subscriptions") n = vNe(t);
- else if (e.startsWith("/settings/") && e.split("/")[2] in If) n = GMe(If[e.split("/")[2]]);
+ let e = aU(new URLSearchParams(location.search).get("tab"));
+ n = $Me(e === "library" ? "discover" : e);
+ } else if (e === "/taste") n = rNe();
+ else if (e === "/subscriptions") n = _Ne(t);
+ else if (e.startsWith("/settings/") && e.split("/")[2] in If) n = WMe(If[e.split("/")[2]]);
else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${[
"正在进行",
"本次未执行",
"最近完成"
- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${n2("8em")}</span><span class="text-caption-1-regular">${n2("14em")}</span>${n2("60%")}${n2("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${n2("6em")}</div></div></section>`).join("")}</div></div>`;
- else if (e === "/duplicates") n = aNe();
- else if (e === "/quality-goals") n = oNe();
+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${r2("8em")}</span><span class="text-caption-1-regular">${r2("14em")}</span>${r2("60%")}${r2("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${r2("6em")}</div></div></section>`).join("")}</div></div>`;
+ else if (e === "/duplicates") n = iNe();
+ else if (e === "/quality-goals") n = aNe();
else if (e === "/playlists") n = `<div class="peach-react"><section class="w-full pt-1 pb-10.5"><header class="mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch"><div><h2 class="mb-1 text-display-4-medium! text-text-primary">播放列表</h2><p class="text-body-2-regular text-text-secondary">保存 Mix,按自己的顺序继续播放。</p></div><div class="flex flex-wrap items-end gap-2"><div class="min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none"><span class="text-body-medium">新播放列表</span><span class="skeleton ui-configuration-skeleton-input mt-1.5"></span></div>${ks({
label: "新建",
- attrs: t2
- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${e2("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
+ attrs: n2
+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${t2("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
// src/react/components/overlay-host.ts
-function xNe(e) {
+function bNe(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;
}
-function u2(e) {
+function d2(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return xNe(n ?? t.body);
+ return bNe(n ?? t.body);
}
-var d2 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
-function SNe(e) {
+var f2 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
+function xNe(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {
- let t = e.matches(d2) ? e : e.querySelector(d2);
+ let t = e.matches(f2) ? e : e.querySelector(f2);
if (t) return t;
}
return null;
}
-function f2(e) {
+function p2(e) {
let t = document.getElementById("toasts"), n = e?.open ? e : document.body;
t && t.parentElement !== n && n.append(t);
}
// src/react/follow-detail/follow-detail.ts
-var p2 = (e) => ["follow-item", e], CNe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, wNe = "/api/follow/save", TNe = "/api/follow/media/hide", m2 = class extends Error {
+var m2 = (e) => ["follow-item", e], SNe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, CNe = "/api/follow/save", wNe = "/api/follow/media/hide", h2 = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function h2(e, t) {
- let n = await B(CNe(e), t);
+async function g2(e, t) {
+ let n = await B(SNe(e), t);
for (let t of n.groups || []) {
let r = ua(t).find((t) => t.id === e);
if (r) return {
@@ -73575,9 +73594,9 @@ async function h2(e, t) {
aliases: n.author_aliases || []
};
}
- throw new m2();
+ throw new h2();
}
-function ENe(e) {
+function TNe(e) {
for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = ua(t.group).find((t) => t.id === e);
@@ -73588,20 +73607,20 @@ function ENe(e) {
}
return null;
}
-async function g2(e, t) {
- let n = p2(e.id), r = da(e.id), i = H.getQueryData(aa) ? null : H.fetchQuery({
+async function _2(e, t) {
+ let n = m2(e.id), r = da(e.id), i = H.getQueryData(aa) ? null : H.fetchQuery({
queryKey: aa,
queryFn: () => oa(t)
}), a = r ? {
...r,
item: r.item
- } : H.getQueryData(n) ?? ENe(e.id);
+ } : H.getQueryData(n) ?? TNe(e.id);
a ? H.setQueryData(n, a) : await H.fetchQuery({
queryKey: n,
- queryFn: () => h2(e.id, t)
+ queryFn: () => g2(e.id, t)
}), await i;
}
-function DNe(e, t, n, r) {
+function ENe(e, t, n, r) {
let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && ya(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
@@ -73616,32 +73635,32 @@ function DNe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var ONe = (e) => ua(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), kNe = {
+var DNe = (e) => ua(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), ONe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, ANe = {
+}, kNe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function jNe(e) {
+function ANe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return kNe[t] || t;
+ return ONe[t] || t;
} catch {
return "外部文件页";
}
}
-function _2(e, t) {
- return ANe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function v2(e, t) {
+ return kNe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function MNe(e, t, n = "") {
+function jNe(e, t, n = "") {
let r = n;
!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";
let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;
@@ -73650,54 +73669,54 @@ function MNe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var NNe = (e) => String(e.name || "").trim(), v2 = (e, t) => e.tag_types?.[t] || "unknown", PNe = /* @__PURE__ */ new Set([
+var MNe = (e) => String(e.name || "").trim(), y2 = (e, t) => e.tag_types?.[t] || "unknown", NNe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function FNe(e, t) {
- let n = v2(e, t);
- return `r34-${PNe.has(n) ? n : "general"}`;
+function PNe(e, t) {
+ let n = y2(e, t);
+ return `r34-${NNe.has(n) ? n : "general"}`;
}
-var y2 = [
+var b2 = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function INe(e, t) {
+function FNe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = y2.indexOf(v2(e, t));
- return n < 0 ? y2.length : n;
+ let n = b2.indexOf(y2(e, t));
+ return n < 0 ? b2.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function b2(e, t) {
+function x2(e, t) {
let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);
return !r.length && n && r.push(n), r;
}
-var LNe = (e, t) => ({
+var INe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), x2 = (e) => e?.size ? { size: e.size } : {};
-function RNe(e, t) {
+}), S2 = (e) => e?.size ? { size: e.size } : {};
+function LNe(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,
name: t.name || e.title,
- source: _2(t, e),
- ...x2(t)
+ source: v2(t, e),
+ ...S2(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: _2(a, e),
- ...x2(a)
+ source: v2(a, e),
+ ...S2(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -73705,7 +73724,7 @@ function RNe(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var zNe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", S2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", C2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", w2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", T2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", E2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", D2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", O2 = "disabled data-skeleton-action", k2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, A2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, j2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, M2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}&#8203;</span></div></div></div></div>`, BNe = [
+var RNe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", C2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", w2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", T2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", E2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", D2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", O2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", k2 = "disabled data-skeleton-action", A2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, j2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, M2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, N2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}&#8203;</span></div></div></div></div>`, zNe = [
"3em",
"5em",
"5em",
@@ -73715,7 +73734,7 @@ var zNe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", S2
"8em",
"8em",
"10em"
-], VNe = [
+], BNe = [
"5.8em",
"6.4em",
"7em",
@@ -73725,70 +73744,70 @@ var zNe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", S2
"5.8em",
"9em",
"9em"
-], N2 = (e, t) => ks({
+], P2 = (e, t) => ks({
variant: e,
size: "small",
- label: k2(t)
+ label: A2(t)
});
-function HNe() {
- return `<section class="${s$("stack")}">
- <div class="${a$.stack}">${j2("整理", "mb-3")}
- <p class="text-body-regular text-text-secondary">${S2}</p>
+function VNe() {
+ return `<section class="${c$("stack")}">
+ <div class="${o$.stack}">${M2("整理", "mb-3")}
+ <p class="text-body-regular text-text-secondary">${C2}</p>
<div class="mt-3 flex flex-col gap-3">
- <div class="flex min-w-0 flex-wrap items-start gap-2">${js(k2("3em"), {
+ <div class="flex min-w-0 flex-wrap items-start gap-2">${js(A2("3em"), {
prefix: "来源",
className: "w-fit min-w-25",
attrs: "aria-disabled=\"true\""
})}
- <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${M2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${Es("folder-search", "size-5 shrink-0")}</button></div>
+ <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${N2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs size-9">${Es("folder-search", "size-5 shrink-0")}</button></div>
</div>
- <p class="text-caption-1-regular text-text-secondary">${C2}</p>
- ${M2(k2("12em"), { label: "文件名模板" })}${M2(k2("8em"), { label: "目录模板" })}
- <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${BNe.map((e) => N2("secondary", e)).join("")}</div></div>
- <p class="text-caption-1-regular text-text-secondary">路径示例:${k2("16em")}</p>
- <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${VNe.map((e) => N2("ghost", e)).join("")}</div></div>
- <p class="text-caption-1-regular leading-4.5 text-text-secondary">${w2}</p>
+ <p class="text-caption-1-regular text-text-secondary">${w2}</p>
+ ${N2(A2("12em"), { label: "文件名模板" })}${N2(A2("8em"), { label: "目录模板" })}
+ <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${zNe.map((e) => P2("secondary", e)).join("")}</div></div>
+ <p class="text-caption-1-regular text-text-secondary">路径示例:${A2("16em")}</p>
+ <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${BNe.map((e) => P2("ghost", e)).join("")}</div></div>
+ <p class="text-caption-1-regular leading-4.5 text-text-secondary">${T2}</p>
</div>
</div>
- <footer class="${o$.stack}">${ks({
+ <footer class="${s$.stack}">${ks({
label: "预览",
- attrs: O2
+ attrs: k2
})}</footer>
</section>`;
}
-var UNe = () => `<section class="flex scroll-mt-20 flex-col gap-4">
- <section class="${s$("split")}"><div class="${a$.split}">${j2("资源同步", "mb-2")}
- <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${T2}</p></div>
- <footer class="${o$.split}">${ks({
+var HNe = () => `<section class="flex scroll-mt-20 flex-col gap-4">
+ <section class="${c$("split")}"><div class="${o$.split}">${M2("资源同步", "mb-2")}
+ <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${E2}</p></div>
+ <footer class="${s$.split}">${ks({
glyph: "git-compare",
label: "检查文件",
- attrs: O2
+ attrs: k2
})}</footer></section>
-</section>`, P2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${k2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${k2("14em")}</small>` : ""}</div>`, WNe = () => `<section class="flex scroll-mt-20 flex-col gap-4">
- <section class="${s$("stack")}"><div class="${a$.stack}">${j2("链接管理", "mb-2")}
- <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${P2("链接总数", !0)}${[
+</section>`, F2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${A2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${A2("14em")}</small>` : ""}</div>`, UNe = () => `<section class="flex scroll-mt-20 flex-col gap-4">
+ <section class="${c$("stack")}"><div class="${o$.stack}">${M2("链接管理", "mb-2")}
+ <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${F2("链接总数", !0)}${[
0,
1,
2
-].map(() => P2(k2("5em"))).join("")}</div>
+].map(() => F2(A2("5em"))).join("")}</div>
<div class="mt-4 flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span><div class="flex min-w-0 flex-wrap gap-x-5 gap-y-2">${[
"7em",
"10em",
"8em"
-].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${A2(16, 16)}${k2(e)}${A2(28, 24)}</span>`).join("")}</div></div></div>
- <footer class="${o$.stack}">${ks({
+].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${j2(16, 16)}${A2(e)}${j2(28, 24)}</span>`).join("")}</div></div></div>
+ <footer class="${s$.stack}">${ks({
glyph: "link",
label: "检查死链",
- attrs: O2
+ attrs: k2
})}</footer></section>
</section>`;
-function F2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
- let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${o2()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${l2}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${o2()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Os("", "", n)}</div>` : "";
- return `<div data-data-table-panel class="${vU({
+function I2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
+ let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${s2()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${u2}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${s2()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Os("", "", n)}</div>` : "";
+ return `<div data-data-table-panel class="${yU({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
})}">
- <div data-responsive-toolbar><div data-toolbar-heading>${j2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${k2("4em")}</span></div>
+ <div data-responsive-toolbar><div data-toolbar-heading>${M2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${A2("4em")}</span></div>
<div data-toolbar-actions>${c}<div class="flex flex-none gap-2">${ks({
variant: "secondary",
label: "显示列"
@@ -73799,38 +73818,38 @@ function F2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
<span class="flex flex-none items-center gap-2">${js("默认顺序", { prefix: "排序" })}${ks({
variant: "secondary",
glyph: "arrow-up",
- attrs: O2
+ attrs: k2
})}</span></div></div>
<p class="text-body-2-regular text-text-secondary">${t}</p>
<div data-board-data-table data-resizable-table data-follow-table><div class="relative min-w-0"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="min-width:${a}px"><thead><tr>${o}</tr></thead><tbody>${s.repeat(i)}</tbody></table></div></div></div>
- <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${k2("8em")}</span><div data-toolbar-actions>${js("每页 20 条", { size: "sm" })}</div></div>
+ <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${A2("8em")}</span><div data-toolbar-actions>${js("每页 20 条", { size: "sm" })}</div></div>
</div>`;
}
-var GNe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${k2(e)}</span><small class="text-caption-1-regular">${k2(t)}</small></span>`, KNe = {
+var WNe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${A2(e)}</span><small class="text-caption-1-regular">${A2(t)}</small></span>`, GNe = {
organize: {
label: "正在读取整理配置",
- body: HNe
+ body: VNe
},
"resource-sync": {
label: "正在读取资源同步状态",
- body: UNe
+ body: HNe
},
"orphan-records": {
label: "正在读取文件已丢失的记录",
- body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${F2({
+ body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${I2({
title: "文件已丢失的记录",
- description: E2,
+ description: D2,
rows: 4,
columns: [
{
label: "作品",
width: 480,
- cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${GNe("70%", "40%")}</span>`
+ cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${WNe("70%", "40%")}</span>`
},
{
label: "个人记录",
width: 176,
- cell: k2("6em")
+ cell: A2("6em")
},
{
label: "操作",
@@ -73839,7 +73858,7 @@ var GNe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl
variant: "secondary",
size: "small",
label: "删除记录",
- attrs: O2
+ attrs: k2
})
}
]
@@ -73847,50 +73866,50 @@ var GNe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl
},
"media-repair": {
label: "正在读取媒体修复状态",
- body: OAe
+ body: DAe
},
links: {
label: "正在读取链接统计",
- body: WNe
+ body: UNe
},
"batch-delete": {
label: "正在读取女优列表",
- body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${F2({
+ body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${I2({
title: "批量删除",
- description: D2,
+ description: O2,
search: "搜索女优姓名或别名",
rows: 12,
columns: [
{
label: "女优",
width: 280,
- cell: `<span class="flex min-w-0 items-center gap-3">${A2(32, 32, !0)}${k2("5em")}</span>`
+ cell: `<span class="flex min-w-0 items-center gap-3">${j2(32, 32, !0)}${A2("5em")}</span>`
},
{
label: "影片",
width: 104,
- cell: k2("3em")
+ cell: A2("3em")
},
{
label: "文件",
width: 104,
- cell: k2("3em")
+ cell: A2("3em")
},
{
label: "登记大小",
width: 136,
- cell: k2("4em")
+ cell: A2("4em")
}
]
})}</section>`
}
};
-function I2(e) {
- let { label: t, body: n } = KNe[e];
+function L2(e) {
+ let { label: t, body: n } = GNe[e];
return `<div class="peach-react" data-skeleton="cleanup/${e}" aria-busy="true" role="status" aria-label="${t}"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">${n()}</div></div>`;
}
// src/management-placeholder.ts
-var L2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => sc(e, {
+var R2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => sc(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -73898,7 +73917,7 @@ var L2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), qNe = [
+}), KNe = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -73908,39 +73927,39 @@ var L2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], JNe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
+], qNe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
<div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>
- <div class="reviewtabs" data-section-items>${qNe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
+ <div class="reviewtabs" data-section-items>${KNe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
<div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>
- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, YNe = {
- "/data-cleanup": () => kAe(),
- ...Object.fromEntries(np.map((e) => [e.path, () => I2(e.key)])),
- "/resource-sync": () => I2("resource-sync"),
- "/review": () => JNe(),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, JNe = {
+ "/data-cleanup": () => OAe(),
+ ...Object.fromEntries(np.map((e) => [e.path, () => L2(e.key)])),
+ "/resource-sync": () => L2("resource-sync"),
+ "/review": () => qNe(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${L2("正在读取采集来源", {
+ ${R2("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function R2(e, { followLayout: t, followSort: n, followDir: r }) {
- return bNe(e, {
+function z2(e, { followLayout: t, followSort: n, followDir: r }) {
+ return yNe(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (YNe[e] ?? (() => L2("正在读取页面")))();
+ }) || (JNe[e] ?? (() => R2("正在读取页面")))();
}
-var z2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function B2(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = z2(t);
+var B2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function V2(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = B2(t);
r && r === n || (e.innerHTML = t, hc(e));
}
// src/react/components/related-section.tsx
-function V2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
+function H2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
let c = (0, F.useCallback)((e) => {
e && (hc(e), t(e));
}, [t]);
@@ -73953,7 +73972,7 @@ function V2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
children: "接着看"
}), i ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, I.jsx)(RG, {
+ children: /* @__PURE__ */ (0, I.jsx)(XG, {
message: i,
onRetry: a || (() => {})
})
@@ -73979,7 +73998,7 @@ function V2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
});
}
// src/react/components/detail-continuation.tsx
-function H2({ queue: e, children: t, queueCards: n }) {
+function U2({ queue: e, children: t, queueCards: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-detail-continuation": "",
"data-queue-cards": n == null ? void 0 : Math.min(3, n),
@@ -73987,7 +74006,7 @@ function H2({ queue: e, children: t, queueCards: n }) {
});
}
// src/react/components/media-carousel.tsx
-function U2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function W2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
let a = (0, F.useRef)(null), o = e.some((e) => e.video), s = !!i;
if ((0, F.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-media-thumbnails]");
@@ -74067,7 +74086,7 @@ function U2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(XNe, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(YNe, {
item: e,
selected: r === t,
onSelect: n,
@@ -74086,7 +74105,7 @@ function U2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function XNe({ item: e, selected: t, onSelect: n, render: r }) {
+function YNe({ item: e, selected: t, onSelect: n, render: r }) {
let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(typeof IntersectionObserver > "u");
return (0, F.useEffect)(() => {
if (!i.current || a) return;
@@ -74112,14 +74131,14 @@ function XNe({ item: e, selected: t, onSelect: n, render: r }) {
});
}
// src/react/follow-detail/follow-related.ts
-var ZNe = (e, t, n) => [
+var XNe = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function W2(e, t, n, r) {
+function G2(e, t, n, r) {
let i = new Set((t.group ? ua(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));
return e.flatMap((e) => e.groups || []).filter((e) => {
let t = ua(e);
@@ -74134,19 +74153,19 @@ function W2(e, t, n, r) {
};
}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);
}
-var QNe = /* @__PURE__ */ new Set(["metadata", "artist"]);
-function $Ne(e, t, n) {
+var ZNe = /* @__PURE__ */ new Set(["metadata", "artist"]);
+function QNe(e, t, n) {
let r = (e) => e.detail_tags || e.tags || [], i = new Set(r(t.item)), a = t.sources.find((e) => e.id === t.item.source_id)?.author_key, o = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e])), s = /* @__PURE__ */ new Map();
for (let t of e.flatMap((e) => e.groups || [])) for (let e of r(_a(t, n))) s.set(e, (s.get(e) || 0) + 1);
return (e) => {
- let t = _a(e, n), c = t.source_id === void 0 ? void 0 : o.get(t.source_id), l = r(t).filter((e) => i.has(e) && !QNe.has(t.tag_types?.[e] || "")).sort((e, t) => (s.get(e) || 0) - (s.get(t) || 0) || e.localeCompare(t));
+ let t = _a(e, n), c = t.source_id === void 0 ? void 0 : o.get(t.source_id), l = r(t).filter((e) => i.has(e) && !ZNe.has(t.tag_types?.[e] || "")).sort((e, t) => (s.get(e) || 0) - (s.get(t) || 0) || e.localeCompare(t));
return {
reasons: a && c?.author_key === a ? ["同创作者"] : [],
tags: l
};
};
}
-async function ePe(e, t, n, r) {
+async function $Ne(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...va(i),
status: "new",
@@ -74160,17 +74179,17 @@ async function ePe(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return W2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && W2(o, e, t, n).length < n && await s("", 0), {
+ return G2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && G2(o, e, t, n).length < n && await s("", 0), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
// src/react/components/detail-tags.tsx
-var G2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var K2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), tPe = 20;
-function K2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
+}), ePe = 20;
+function q2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
let [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(!1), m = Ft({
queryKey: ["tag-management", n],
queryFn: ({ signal: e }) => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),
@@ -74186,7 +74205,7 @@ function K2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}, (e) => d(e));
}, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)([]), S = (e) => {
x((t) => [...t, Un(e)]), s(e);
- }, C = e.length > 24, w = C && !v ? e.filter((e, t) => t < tPe || b.includes(Un(e.k))) : e;
+ }, C = e.length > 24, w = C && !v ? e.filter((e, t) => t < ePe || b.includes(Un(e.k))) : e;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-tags": "",
@@ -74212,7 +74231,7 @@ function K2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
"aria-label": `修改标签 ${a(e.k)}`,
...uV(!!g.busy),
onClick: () => _(e),
- children: /* @__PURE__ */ (0, I.jsx)(G2, { name: "pencil" })
+ children: /* @__PURE__ */ (0, I.jsx)(K2, { name: "pencil" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -74221,7 +74240,7 @@ function K2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
"aria-label": `删除标签 ${a(e.k)}`,
...l(e.k),
onClick: () => c(e),
- children: /* @__PURE__ */ (0, I.jsx)(G2, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(K2, { name: "x" })
})
]
}, e.k)),
@@ -74234,7 +74253,7 @@ function K2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
onClick: () => y(!v),
children: v ? "收起" : `还有 ${e.length - w.length} 个`
}) : null,
- /* @__PURE__ */ (0, I.jsx)(nPe, {
+ /* @__PURE__ */ (0, I.jsx)(tPe, {
tags: e,
candidates: h,
label: a,
@@ -74259,7 +74278,7 @@ function K2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}),
children: "无法读取标签候选"
}) : null,
- u ? /* @__PURE__ */ (0, I.jsx)(XQ, {
+ u ? /* @__PURE__ */ (0, I.jsx)(ZQ, {
operation: "rename",
selected: [u],
scope: n,
@@ -74268,7 +74287,7 @@ function K2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}) : null
] });
}
-function nPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
+function tPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = FV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({
adding: i,
query: h,
@@ -74328,7 +74347,7 @@ function nPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
], E = (e, t) => {
C(), t || r(e.k);
}, D = (t) => {
- if (!XU(t.nativeEvent)) {
+ if (!lW(t.nativeEvent)) {
if (t.key === "Escape") t.preventDefault(), t.stopPropagation(), C(), c.current?.focus();
else if (t.key === "ArrowDown" || t.key === "ArrowUp") {
if (t.preventDefault(), !T.length) return;
@@ -74357,7 +74376,7 @@ function nPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-pressed": i,
onClick: () => E(t, i),
children: [
- /* @__PURE__ */ (0, I.jsx)(G2, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, I.jsx)(K2, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-pick-name": "",
children: n(t.k)
@@ -74378,7 +74397,7 @@ function nPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-label": "添加标签",
"aria-expanded": p,
...uV(!!i),
- children: /* @__PURE__ */ (0, I.jsx)(G2, { name: "plus" })
+ children: /* @__PURE__ */ (0, I.jsx)(K2, { name: "plus" })
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: l,
id: "tagPicker",
@@ -74391,7 +74410,7 @@ function nPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
children: [s ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: Hs("正在读取标签") }
- }) : /* @__PURE__ */ (0, I.jsx)(G2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {
+ }) : /* @__PURE__ */ (0, I.jsx)(K2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {
ref: d,
id: "tagPickSearch",
maxLength: 80,
@@ -74435,7 +74454,7 @@ function nPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
onClick: () => {
C(), r(w.create);
},
- children: [/* @__PURE__ */ (0, I.jsx)(G2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(K2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -74452,7 +74471,7 @@ function nPe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
})] });
}
// src/react/follow-detail/follow-tags.tsx
-function rPe({ item: e, label: t, actions: n }) {
+function nPe({ item: e, label: t, actions: n }) {
let r = uH(), i = () => H.invalidateQueries({ predicate: (e) => [
"follow-feed",
"follow",
@@ -74492,10 +74511,10 @@ function rPe({ item: e, label: t, actions: n }) {
"aria-label": "内容标签",
"data-follow-tag-editor": "",
"data-follow-detail-tags": "",
- children: [/* @__PURE__ */ (0, I.jsx)(K2, {
- tags: INe(e, t).map((t) => ({
+ children: [/* @__PURE__ */ (0, I.jsx)(q2, {
+ tags: FNe(e, t).map((t) => ({
k: t,
- cat: FNe(e, t)
+ cat: PNe(e, t)
})),
scope: "online",
adding: !!r.busy,
@@ -74512,22 +74531,22 @@ function rPe({ item: e, label: t, actions: n }) {
});
}
// src/react/follow-detail/follow-detail-page.tsx
-var q2 = (e) => Number(e) > 0, iPe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var J2 = (e) => Number(e) > 0, rPe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), J2 = R("external-link", "ui-externalmark");
-function aPe(e) {
+}), Y2 = R("external-link", "ui-externalmark");
+function iPe(e) {
let { id: t, actions: n } = e, r = Ft({
- queryKey: p2(t),
- queryFn: ({ signal: e }) => h2(t, e)
+ queryKey: m2(t),
+ queryFn: ({ signal: e }) => g2(t, e)
}), i = Ft({
queryKey: aa,
queryFn: ({ signal: e }) => oa(e)
}), a = (0, F.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, F.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, I.jsx)(cPe, {
+ return r.data ? /* @__PURE__ */ (0, I.jsx)(sPe, {
...e,
data: r.data,
- context: LNe(r.data, a),
+ context: INe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, I.jsx)("div", {
@@ -74536,9 +74555,9 @@ function aPe(e) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, I.jsx)(Y2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
+ children: [/* @__PURE__ */ (0, I.jsx)(X2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? oPe(r.error) ? /* @__PURE__ */ (0, I.jsx)(sPe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(RG, {
+ children: r.isError ? aPe(r.error) ? /* @__PURE__ */ (0, I.jsx)(oPe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(XG, {
message: xn(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -74546,8 +74565,8 @@ function aPe(e) {
})
});
}
-var oPe = (e) => e instanceof m2 || e instanceof sr && e.status === 404;
-function sPe({ onBack: e }) {
+var aPe = (e) => e instanceof h2 || e instanceof sr && e.status === 404;
+function oPe({ onBack: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -74556,7 +74575,7 @@ function sPe({ onBack: e }) {
dangerouslySetInnerHTML: { __html: Bs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var Y2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var X2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -74565,8 +74584,8 @@ var Y2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function cPe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = DNe(c, l, n, i), d = mPe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({
+function sPe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = ENe(c, l, n, i), d = pPe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({
key: "",
kind: ""
}), h = {
@@ -74586,20 +74605,20 @@ function cPe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? ONe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)($2, {
+ let g = !u.embedded.length && u.collection ? DNe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(e4, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)($2, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(e4, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, I.jsx)(dPe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(uPe, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -74609,14 +74628,14 @@ function cPe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
"data-stage-grid": "",
"data-with-queue": _ ? "" : void 0,
"data-follow-detail": "",
- children: [/* @__PURE__ */ (0, I.jsx)(uPe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(lPe, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, I.jsx)(fPe, {
+ }, f), /* @__PURE__ */ (0, I.jsx)(dPe, {
item: c,
data: e,
context: t,
@@ -74626,9 +74645,9 @@ function cPe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, I.jsx)(H2, {
+ }), /* @__PURE__ */ (0, I.jsx)(U2, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(lPe, {
+ children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(cPe, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -74638,23 +74657,23 @@ function cPe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function lPe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function cPe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = Ft({
- queryKey: ZNe(e.item.id, t, n),
- queryFn: ({ signal: r }) => ePe(e, t, n, r)
- }), [s] = (0, F.useState)(() => L2("正在读取推荐", {
+ queryKey: XNe(e.item.id, t, n),
+ queryFn: ({ signal: r }) => $Ne(e, t, n, r)
+ }), [s] = (0, F.useState)(() => R2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, F.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: a.canFlip
- }), [a]), l = W2(o.data?.pages || [], e, t, n), u = $Ne(o.data?.pages || [], e, t), d = o.data?.pages.at(-1)?.sources || e.sources, f = {
+ }), [a]), l = G2(o.data?.pages || [], e, t, n), u = QNe(o.data?.pages || [], e, t), d = o.data?.pages.at(-1)?.sources || e.sources, f = {
...r,
sources: d,
aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases
};
- return /* @__PURE__ */ (0, I.jsx)(V2, {
+ return /* @__PURE__ */ (0, I.jsx)(H2, {
online: !0,
"data-follow-related": "",
wireDrag: i.wireDrag,
@@ -74664,11 +74683,11 @@ function lPe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
onRetry: () => {
o.refetch();
},
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(kZ, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(LZ, {
variant: "next",
group: e,
media: t,
- authorSources: b2(e.primary, d),
+ authorSources: x2(e.primary, d),
context: f,
selected: !1,
selectMode: !1,
@@ -74682,8 +74701,8 @@ function lPe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function uPe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, F.useRef)(null), p = RNe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, F.useState)(g), b = (0, F.useRef)({
+function lPe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, F.useRef)(null), p = LNe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, F.useState)(g), b = (0, F.useRef)({
item: e,
selected: o
}), x = (0, F.useRef)(i.failed);
@@ -74697,14 +74716,14 @@ function uPe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-framed": d ? "" : void 0,
style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },
children: [
- /* @__PURE__ */ (0, I.jsx)(Y2, { onClose: n.close }),
+ /* @__PURE__ */ (0, I.jsx)(X2, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, I.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
src: v,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: p.length ? () => void vZ(Math.max(0, l), p) : void 0,
+ onClick: p.length ? () => void EZ(Math.max(0, l), p) : void 0,
onError: () => {
_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();
}
@@ -74712,10 +74731,10 @@ function uPe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: fG(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: wG(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, I.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, I.jsx)(U2, {
+ u ? /* @__PURE__ */ (0, I.jsx)(W2, {
items: c,
position: l,
onSelect: r,
@@ -74732,11 +74751,11 @@ function uPe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var X2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var Z2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }
});
-function Z2({ src: e }) {
+function Q2({ src: e }) {
let [t, n] = (0, F.useState)(!1);
return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {
src: e,
@@ -74746,27 +74765,27 @@ function Z2({ src: e }) {
onError: () => n(!0)
});
}
-function Q2(e) {
+function $2(e) {
return (0, F.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function dPe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = ya(e), a = Q2(n);
- return /* @__PURE__ */ (0, I.jsx)(xK, {
+function uPe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = ya(e), a = $2(n);
+ return /* @__PURE__ */ (0, I.jsx)(NK, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${mG(e.primary)} · ${i.length} 个视频`,
+ summary: `${EG(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = MNe(e, n, i ? n.provider_label : ""), o = i ? fG(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, I.jsxs)(SK, {
+ let i = e.duplicates.includes(n), a = jNe(e, n, i ? n.provider_label : ""), o = i ? wG(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, I.jsxs)(PK, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(Z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(X2, { kind: "video" }), q2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {
+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(Q2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(Z2, { kind: "video" }), J2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Jn(n.duration)
@@ -74784,15 +74803,15 @@ function dPe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, I.jsx)("time", {
dateTime: n.published_at || "",
- children: CG(n)
+ children: FG(n)
})]
})]
}, n.id);
})
});
}
-function $2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = Q2(r), c = [];
+function e4({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = $2(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -74802,26 +74821,26 @@ function $2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, c.push(n)), n.items.push(e);
});
let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);
- return /* @__PURE__ */ (0, I.jsx)(xK, {
+ return /* @__PURE__ */ (0, I.jsx)(NK, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${mG(e)} · ${o.length} 个媒体`,
+ summary: `${EG(e)} · ${o.length} 个媒体`,
children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(iSe, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(SK, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(PK, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(Z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(X2, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(Q2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(Z2, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, I.jsx)("b", {
"data-middle-truncate": "",
- children: NNe(n)
+ children: MNe(n)
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -74829,13 +74848,13 @@ function $2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function fPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function dPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
let { kind: c, selected: l, src: u } = r, d = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, f = bG(d, e), p = vG(e, b2(e, t.sources), n), m = p.credited ? "" : e.author && Un(e.author) !== Un(p.author) ? e.author : "", h = xG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
+ }, f = MG(d, e), p = AG(e, x2(e, t.sources), n), m = p.credited ? "" : e.author && Un(e.author) !== Un(p.author) ? e.author : "", h = NG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -74851,7 +74870,7 @@ function fPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-title": "",
"data-follow-detail-name": "",
"data-reveal-line": "",
- dangerouslySetInnerHTML: { __html: yG(d, e) + z(mG(e)) }
+ dangerouslySetInnerHTML: { __html: jG(d, e) + z(EG(e)) }
}), e.url ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -74859,7 +74878,7 @@ function fPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: J2 }
+ dangerouslySetInnerHTML: { __html: Y2 }
}) : null]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -74867,8 +74886,8 @@ function fPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, I.jsx)("span", { children: CG(e) }),
- q2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Jn(e.duration) }) : null,
+ /* @__PURE__ */ (0, I.jsx)("span", { children: FG(e) }),
+ J2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Jn(e.duration) }) : null,
f ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -74885,7 +74904,7 @@ function fPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: "创作者"
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-id-row": "",
- children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(DZ, {
+ children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(FZ, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -74917,7 +74936,7 @@ function fPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, I.jsx)(pPe, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, I.jsx)(fPe, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -74940,9 +74959,9 @@ function fPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [jNe(e), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [ANe(e), /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: J2 }
+ dangerouslySetInnerHTML: { __html: Y2 }
})]
}, e))
}) : null,
@@ -75042,7 +75061,7 @@ function fPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...v(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(Z2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(iPe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(Q2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(rPe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -75051,7 +75070,7 @@ function fPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-live": "polite",
children: i.failure
}),
- /* @__PURE__ */ (0, I.jsx)(rPe, {
+ /* @__PURE__ */ (0, I.jsx)(nPe, {
item: e,
label: o.tagLabel,
actions: s
@@ -75060,7 +75079,7 @@ function fPe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function pPe({ text: e }) {
+function fPe({ text: e }) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = t.current;
@@ -75085,8 +75104,8 @@ function pPe({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function mPe(e, t, n) {
- let r = e.id, i = p2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {
+function pPe(e, t, n) {
+ let r = e.id, i = m2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -75105,7 +75124,7 @@ function mPe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && rW(), t.toast(zNe(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && gW(), t.toast(RNe(n), { undo: i === "saved" ? void 0 : async () => {
await V(Mr, {
item: r,
to: i
@@ -75115,7 +75134,7 @@ function mPe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = It({
- mutationFn: () => V(wNe, { item: r }),
+ mutationFn: () => V(CNe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到数据库");
},
@@ -75123,7 +75142,7 @@ function mPe(e, t, n) {
onSettled: () => l("save", !1)
}), m = It({
mutationFn: async ({ index: e, hidden: t }) => {
- await V(TNe, {
+ await V(wNe, {
item: r,
media: e,
hidden: t
@@ -75142,9 +75161,9 @@ function mPe(e, t, n) {
queryKey: qye(r),
queryFn: ({ signal: e }) => Xye(r, e)
}).data?.want ?? null, g = It({
- mutationFn: async (e) => (e ? await nW([e.id]) : await tW({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await hW([e.id]) : await mW({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), rW();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), gW();
},
onError: d,
onSettled: () => l("want", !1)
@@ -75183,7 +75202,7 @@ function mPe(e, t, n) {
};
}
// src/react/components/identity-cell.tsx
-function e4({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+function t4({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
$I();
let o = nn(e, t.name, t.id), s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-id-face": "",
@@ -75230,7 +75249,7 @@ function e4({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: c
});
}
-function t4({ people: e, onOpen: t }) {
+function n4({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
@@ -75263,7 +75282,7 @@ function t4({ people: e, onOpen: t }) {
});
}
// src/react/components/folded-title.ts
-function n4(e) {
+function r4(e) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = t.current;
@@ -75280,9 +75299,9 @@ function n4(e) {
};
}
// src/react/item-detail/catalog-picture.tsx
-function r4({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
+function i4({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
let [i, a] = (0, F.useState)(""), [o, s] = (0, F.useState)(0);
- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(lQ, {
+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(_Q, {
item: {
code: e.code,
has_cover: !1,
@@ -75314,34 +75333,34 @@ function r4({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
}, o);
}
// src/react/jav-detail/jav-detail.ts
-var i4 = (e) => ["jav-detail", e], a4 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), hPe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), o4 = (e, t) => H.ensureQueryData({
- queryKey: i4(e.code),
- queryFn: () => a4(e.code, t),
+var a4 = (e) => ["jav-detail", e], o4 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), mPe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), s4 = (e, t) => H.ensureQueryData({
+ queryKey: a4(e.code),
+ queryFn: () => o4(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function gPe(e, t) {
+function hPe(e, t) {
if (!e.ok || !e.more) return;
let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));
return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;
}
// src/react/item-detail/external-playback.tsx
-var s4 = "peach.playback-target.v1", c4 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
-function _Pe() {
+var c4 = "peach.playback-target.v1", l4 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
+function gPe() {
try {
- return localStorage.getItem(s4) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
+ return localStorage.getItem(c4) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
} catch {
return "local:default";
}
}
-function l4({ id: e, onOpened: t }) {
- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(_Pe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = uH();
+function u4({ id: e, onOpened: t }) {
+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(gPe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = uH();
(0, F.useEffect)(() => {
let e = new AbortController();
return B("/api/local-players", e.signal).then((t) => {
- e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || c4.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
+ e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || l4.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
}).catch((t) => {
- e.signal.aborted || (r([]), a((e) => c4.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
+ e.signal.aborted || (r([]), a((e) => l4.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
}), () => e.abort();
}, [u]);
let p = () => void f.run("open", async (t) => {
@@ -75365,17 +75384,17 @@ function l4({ id: e, onOpened: t }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-local-playback-row": "",
- children: [/* @__PURE__ */ (0, I.jsx)(i1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(a1, {
id: `external-player-${e}`,
label: "外部播放器",
- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...c4],
+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...l4],
value: i,
disabled: n === null || !!f.busy,
epoch: u * 2 + Number(n !== null),
onPick: (e) => {
a(e), s(null), f.setError("");
try {
- localStorage.setItem(s4, e);
+ localStorage.setItem(c4, e);
} catch {}
}
}), /* @__PURE__ */ (0, I.jsx)(J, {
@@ -75387,7 +75406,7 @@ function l4({ id: e, onOpened: t }) {
children: "打开"
})]
}),
- f.error || c ? /* @__PURE__ */ (0, I.jsx)(MH, { children: f.error || c }) : null,
+ f.error || c ? /* @__PURE__ */ (0, I.jsx)(NH, { children: f.error || c }) : null,
c ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
disabled: !!f.busy,
@@ -75400,12 +75419,12 @@ function l4({ id: e, onOpened: t }) {
label: "网络播放地址",
value: o.url,
isReadOnly: !0
- }), /* @__PURE__ */ (0, I.jsx)(jH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null
+ }), /* @__PURE__ */ (0, I.jsx)(MH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null
]
});
}
// src/react/boardui/components/base/switch/switch.tsx
-var vPe = OI({
+var _Pe = OI({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -75467,8 +75486,8 @@ var vPe = OI({
}
}
});
-function yPe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = vPe[t];
+function vPe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = _Pe[t];
return /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
className: q("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? q("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"),
@@ -75478,12 +75497,12 @@ function yPe({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function u4({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(phe, {
+function d4({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(fhe, {
ref: i,
...a,
className: (t) => q("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, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(yPe, {
+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(vPe, {
state: e,
size: n,
shape: r
@@ -75494,12 +75513,12 @@ function u4({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
});
}
// src/react/cover-crop/cover-crop.ts
-var bPe = "/api/cover-crop", xPe = (e, t) => V(bPe, {
+var yPe = "/api/cover-crop", bPe = (e, t) => V(yPe, {
code: e,
box: t
});
// src/react/cover-crop/cover-crop-page.tsx
-function d4({ className: e }) {
+function f4({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -75512,7 +75531,7 @@ function d4({ className: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-crop" })
});
}
-function SPe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function xPe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75522,13 +75541,13 @@ function SPe({ code: e, coverUrl: t, box: n, onSaved: r }) {
title: "裁剪封面:框出正封那一块",
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, I.jsx)(d4, { className: "size-3.75" })
+ children: /* @__PURE__ */ (0, I.jsx)(f4, { className: "size-3.75" })
}), /* @__PURE__ */ (0, I.jsx)(rV, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, I.jsx)(CPe, {
+ children: /* @__PURE__ */ (0, I.jsx)(SPe, {
code: e,
coverUrl: t,
box: n,
@@ -75537,9 +75556,9 @@ function SPe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function CPe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+function SPe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = FV(), f = It({
- mutationFn: (t) => xPe(e, t),
+ mutationFn: (t) => bPe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -75552,14 +75571,14 @@ function CPe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
x1: n.x1,
y1: n.y1
} : NOe(e, ro);
- c(GZ(t, e, null));
+ c($Z(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, I.jsx)(iV, { children: /* @__PURE__ */ (0, I.jsx)(d4, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, I.jsx)(iV, { children: /* @__PURE__ */ (0, I.jsx)(f4, { className: "size-6" }) }),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -75589,24 +75608,24 @@ function CPe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, I.jsx)("div", {
ref: d,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: /* @__PURE__ */ (0, I.jsx)(XZ, {
+ children: /* @__PURE__ */ (0, I.jsx)(iQ, {
src: t,
aspect: l ? ro : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- UZ(e) && p(e);
+ ZZ(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, I.jsx)(u4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(d4, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(GZ(s, a, ro));
+ u(e), e && s && a && c($Z(s, a, ro));
},
children: /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -75634,14 +75653,14 @@ function CPe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
] });
}
// src/react/item-detail/item-detail-page.tsx
-var f4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var p4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), p4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+}), m4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), m4 = (e) => Number(e) > 0 ? Xn(Number(e)) : "大小未知";
-function wPe(e) {
+}), h4 = (e) => Number(e) > 0 ? Xn(Number(e)) : "大小未知";
+function CPe(e) {
let { queue: t, actions: n } = e, r = Ft({
queryKey: t ? dP(t) : ["item-queue", "none"],
queryFn: ({ signal: n }) => bP(t, e.helpers, n),
@@ -75659,9 +75678,9 @@ function wPe(e) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, I.jsx)(h4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
+ children: [/* @__PURE__ */ (0, I.jsx)(g4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, I.jsx)(RG, {
+ children: e ? /* @__PURE__ */ (0, I.jsx)(XG, {
message: xn(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -75671,13 +75690,13 @@ function wPe(e) {
})
});
}
- return /* @__PURE__ */ (0, I.jsx)(TPe, {
+ return /* @__PURE__ */ (0, I.jsx)(wPe, {
...e,
item: pde(o.data, i),
queue: i
}, o.data.id);
}
-var h4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var g4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -75686,8 +75705,8 @@ var h4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function TPe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = BPe(t, r, i.tagLabel), o = (0, F.useRef)(t);
+function wPe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = zPe(t, r, i.tagLabel), o = (0, F.useRef)(t);
(0, F.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, F.useEffect)(() => {
@@ -75702,7 +75721,7 @@ function TPe(e) {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, I.jsx)(EPe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(TPe, {
item: t,
gate: s,
helpers: i,
@@ -75715,22 +75734,22 @@ function TPe(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, I.jsx)(jPe, {
+ }), /* @__PURE__ */ (0, I.jsx)(APe, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, I.jsx)(H2, {
+ }), /* @__PURE__ */ (0, I.jsx)(U2, {
queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, I.jsx)(OPe, {
+ queue: n ? /* @__PURE__ */ (0, I.jsx)(DPe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(zPe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(RPe, {
...e,
item: n ? {
...t,
@@ -75739,12 +75758,12 @@ function TPe(e) {
}) : null
})] });
}
-function EPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function TPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, F.useState)(t ? "" : "auto"), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(-2), d = (0, F.useRef)(!1), f = Ft({
- queryKey: i4(e.code || ""),
+ queryKey: a4(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, a4(e.code, t, n);
+ return d.current = !1, o4(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -75789,7 +75808,7 @@ function EPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-item-gallery": h ? "" : void 0,
"data-item-picture": l === -2 ? void 0 : "",
children: [
- /* @__PURE__ */ (0, I.jsx)(h4, { onClose: r.close }),
+ /* @__PURE__ */ (0, I.jsx)(g4, { onClose: r.close }),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-player-toolbar": "",
children: [
@@ -75799,21 +75818,21 @@ function EPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}) : null,
/* @__PURE__ */ (0, I.jsx)("span", { "data-player-net-slot": "" })
]
}),
- h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(r4, {
+ h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(i4, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
- }, e.id), /* @__PURE__ */ (0, I.jsx)(U2, {
+ }, e.id), /* @__PURE__ */ (0, I.jsx)(W2, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(r4, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(i4, {
item: e,
image: t.index === -2 ? m[0].index : t.index,
source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,
@@ -75838,7 +75857,7 @@ function EPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "立即重试"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, I.jsx)(DPe, {
+ t === "offline" ? /* @__PURE__ */ (0, I.jsx)(EPe, {
item: e,
badge: y,
helpers: n,
@@ -75849,7 +75868,7 @@ function EPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: [
/* @__PURE__ */ (0, I.jsx)("b", { children: "ISO 原盘" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),
- /* @__PURE__ */ (0, I.jsx)(l4, {
+ /* @__PURE__ */ (0, I.jsx)(u4, {
id: e.id,
onOpened: () => r.toast("已请求打开本地播放器")
}, e.id)
@@ -75859,7 +75878,7 @@ function EPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, I.jsx)(p4, { html: y }),
+ /* @__PURE__ */ (0, I.jsx)(m4, { html: y }),
/* @__PURE__ */ (0, I.jsx)("b", { children: "在线作品" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -75874,12 +75893,12 @@ function EPe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, I.jsx)(p4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", m4(e.size)] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(m4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", h4(e.size)] })]
}) : null
]
});
}
-function DPe({ item: e, badge: t, helpers: n, actions: r }) {
+function EPe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -75890,7 +75909,7 @@ function DPe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, I.jsx)(p4, { html: t }),
+ /* @__PURE__ */ (0, I.jsx)(m4, { html: t }),
/* @__PURE__ */ (0, I.jsx)("b", { children: "媒体目录无法访问" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -75904,8 +75923,8 @@ function DPe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function OPe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = yde(e), a = (0, F.useRef)(null), o = APe(e, t, r), s = (0, F.useRef)(o);
+function DPe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = yde(e), a = (0, F.useRef)(null), o = kPe(e, t, r), s = (0, F.useRef)(o);
s.current = o;
let c = (0, F.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -75913,7 +75932,7 @@ function OPe({ queue: e, itemId: t, helpers: n, actions: r }) {
attribute: "data-queue-row",
onMove: (e, t, n) => s.current.move(+e, +t, n)
}));
- }, [n, e.kind]), l = kPe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {
+ }, [n, e.kind]), l = OPe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -75932,7 +75951,7 @@ function OPe({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, I.jsx)(xK, {
+ return /* @__PURE__ */ (0, I.jsx)(NK, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -75945,7 +75964,7 @@ function OPe({ queue: e, itemId: t, helpers: n, actions: r }) {
"data-queue-edition": "",
children: i.edition_label
}) : null, s = e.kind === "playlist" && SP(i);
- return /* @__PURE__ */ (0, I.jsxs)(SK, {
+ return /* @__PURE__ */ (0, I.jsxs)(PK, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -75955,25 +75974,25 @@ function OPe({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(p4, { html: ko(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {
+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(m4, { html: ko(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Jn(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, I.jsx)(p4, { html: Mo(i) }),
+ lead: /* @__PURE__ */ (0, I.jsx)(m4, { html: Mo(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, I.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, I.jsxs)("span", {
@@ -75990,7 +76009,7 @@ function OPe({ queue: e, itemId: t, helpers: n, actions: r }) {
})
});
}
-function kPe(e, t) {
+function OPe(e, t) {
let n = It({ mutationFn: (t) => V(fP, {
action: "create",
name: t,
@@ -76004,7 +76023,7 @@ function kPe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function APe(e, t, n) {
+function kPe(e, t, n) {
let r = dP({
kind: "playlist",
playlistId: e.playlistId
@@ -76067,7 +76086,7 @@ function APe(e, t, n) {
}
};
}
-function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function APe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-side": "",
@@ -76075,7 +76094,7 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(MPe, {
+ /* @__PURE__ */ (0, I.jsx)(jPe, {
item: e,
queue: t,
helpers: r,
@@ -76087,7 +76106,7 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, I.jsx)(PPe, {
+ /* @__PURE__ */ (0, I.jsx)(NPe, {
item: e,
write: n
}),
@@ -76098,7 +76117,7 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
e.width && e.height ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -76106,11 +76125,11 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: m4(e.size) })]
+ children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: h4(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
@@ -76118,32 +76137,32 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"data-open-region": e.region || "",
title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",
onClick: () => i.openRegion(e.region || ""),
- children: [/* @__PURE__ */ (0, I.jsx)(f4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(p4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(l4, {
+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(u4, {
id: e.id,
onOpened: () => i.toast("已请求打开本地播放器")
}, e.id) : null,
- /* @__PURE__ */ (0, I.jsx)(FPe, {
+ /* @__PURE__ */ (0, I.jsx)(PPe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, I.jsx)(IPe, {
+ /* @__PURE__ */ (0, I.jsx)(FPe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, I.jsx)(NK, {
- assetIds: MK([e], r.javImage()),
+ /* @__PURE__ */ (0, I.jsx)(GK, {
+ assetIds: WK([e], r.javImage()),
onComplete: () => {
H.invalidateQueries({ queryKey: uP(e.id) });
}
}),
- /* @__PURE__ */ (0, I.jsx)(LPe, { item: e }),
+ /* @__PURE__ */ (0, I.jsx)(IPe, { item: e }),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -76157,7 +76176,7 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.liked,
...o("like"),
onClick: () => n.preference({ liked: !e.liked }),
- children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -76169,7 +76188,7 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-controls": "preferencePanel",
"data-has-reason": String(!!e.like_reason),
onClick: () => c((e) => !e),
- children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -76180,7 +76199,7 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -76191,7 +76210,7 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "eye" })
+ children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "eye" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -76202,7 +76221,7 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, I.jsx)(f4, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, I.jsx)(p4, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -76211,7 +76230,7 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "playlist" })
+ children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "playlist" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -76222,7 +76241,7 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "sparkles" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -76233,11 +76252,11 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "trash" })
+ children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(RPe, {
+ /* @__PURE__ */ (0, I.jsx)(LPe, {
item: e,
open: s,
write: n
@@ -76248,7 +76267,7 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, I.jsx)(f4, { name: "sperm" }),
+ /* @__PURE__ */ (0, I.jsx)(p4, { name: "sperm" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, I.jsx)("b", {
className: "mono",
@@ -76261,8 +76280,8 @@ function jPe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function MPe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = n4(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + bde(e, t);
+function jPe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = r4(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + bde(e, t);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -76289,11 +76308,11 @@ function MPe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, I.jsx)(OH, {})
+ children: /* @__PURE__ */ (0, I.jsx)(kH, {})
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, I.jsx)(SPe, {
+ children: /* @__PURE__ */ (0, I.jsx)(xPe, {
code: e.cover_key || e.code || "",
coverUrl: uo(e),
box: e.poster_box || null,
@@ -76305,7 +76324,7 @@ function MPe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(NPe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(MPe, {
id: e.id,
actions: r,
onStatus: i
@@ -76315,7 +76334,7 @@ function MPe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function NPe({ id: e, actions: t, onStatus: n }) {
+function MPe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, F.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -76345,10 +76364,10 @@ function NPe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "folder-sync" })
})] });
}
-function PPe({ item: e, write: t }) {
+function NPe({ item: e, write: t }) {
let n = cP(e.rating);
return /* @__PURE__ */ (0, I.jsxs)("div", {
id: "detailRating",
@@ -76356,7 +76375,7 @@ function PPe({ item: e, write: t }) {
"data-item-rating": "",
"aria-label": "评分",
"data-value": sP(e.rating),
- children: [/* @__PURE__ */ (0, I.jsx)(JJ, {
+ children: [/* @__PURE__ */ (0, I.jsx)(nY, {
value: n,
onRate: (e) => t.rate(e),
busyStar: [
@@ -76374,10 +76393,10 @@ function PPe({ item: e, write: t }) {
})]
});
}
-function FPe({ item: e, actions: t }) {
+function PPe({ item: e, actions: t }) {
let n = (0, F.useMemo)(() => mde(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
- return /* @__PURE__ */ (0, I.jsx)(e4, {
+ return /* @__PURE__ */ (0, I.jsx)(t4, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -76409,7 +76428,7 @@ function FPe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, I.jsx)(f4, { name: "user-round" })
+ children: /* @__PURE__ */ (0, I.jsx)(p4, { name: "user-round" })
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -76440,16 +76459,16 @@ function FPe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, I.jsx)(t4, {
+ }) : null, /* @__PURE__ */ (0, I.jsx)(n4, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function IPe({ item: e, write: t, helpers: n, actions: r }) {
+function FPe({ item: e, write: t, helpers: n, actions: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-tags": "",
- children: /* @__PURE__ */ (0, I.jsx)(K2, {
+ children: /* @__PURE__ */ (0, I.jsx)(q2, {
id: "detailTags",
tags: hde(e, n),
candidates: n.tagCandidates(),
@@ -76462,7 +76481,7 @@ function IPe({ item: e, write: t, helpers: n, actions: r }) {
}, e.id)
});
}
-function LPe({ item: e }) {
+function IPe({ item: e }) {
let t = wde(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-trace": "",
@@ -76497,7 +76516,7 @@ function LPe({ item: e }) {
})]
});
}
-function RPe({ item: e, open: t, write: n }) {
+function LPe({ item: e, open: t, write: n }) {
let [r, i] = (0, F.useState)(e.like_reason || ""), a = (0, F.useRef)(null);
(0, F.useEffect)(() => {
t && a.current?.focus();
@@ -76536,12 +76555,12 @@ function RPe({ item: e, open: t, write: n }) {
})]
});
}
-function zPe(e) {
+function RPe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ft({
queryKey: ude(t.id, n),
queryFn: async ({ signal: e }) => (await B(fde(t.id, n), e)).items || []
}), [o] = (0, F.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, I.jsx)(V2, {
+ return /* @__PURE__ */ (0, I.jsx)(H2, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -76549,7 +76568,7 @@ function zPe(e) {
onRetry: () => {
a.refetch();
},
- children: a.data ? /* @__PURE__ */ (0, I.jsx)(iY, {
+ children: a.data ? /* @__PURE__ */ (0, I.jsx)(fY, {
mode: "items",
variant: "next",
items: a.data,
@@ -76562,10 +76581,10 @@ function zPe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, I.jsx)(p4, { html: o })
+ }) : /* @__PURE__ */ (0, I.jsx)(m4, { html: o })
});
}
-function BPe(e, t, n) {
+function zPe(e, t, n) {
let r = e.id, i = uP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -76706,11 +76725,11 @@ function BPe(e, t, n) {
};
}
// src/react/publication-cache.ts
-var g4 = 864e5, _4 = (e) => {
+var _4 = 864e5, v4 = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function v4(e) {
+function y4(e) {
let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");
if (!t) return;
let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));
@@ -76718,25 +76737,25 @@ function v4(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function VPe(e, t = Date.now()) {
- let n = v4(e);
- return n !== void 0 && _4(t) > n ? Infinity : g4;
+function BPe(e, t = Date.now()) {
+ let n = y4(e);
+ return n !== void 0 && v4(t) > n ? Infinity : _4;
}
-function y4(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : VPe(t, n) === Infinity ? _4(e) > v4(t) : n - e < g4;
+function b4(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : BPe(t, n) === Infinity ? v4(e) > y4(t) : n - e < _4;
}
// src/react/wants/resource-cache.ts
-var b4 = "peach.want-resources.v2";
-function x4(e) {
+var x4 = "peach.want-resources.v2";
+function S4(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function S4(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !x4(e) ? Date.now() - t < 6e4 : y4(t, n));
+function C4(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !S4(e) ? Date.now() - t < 6e4 : b4(t, n));
}
-function C4() {
+function w4() {
try {
- let e = JSON.parse(localStorage.getItem(b4) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && x4(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(x4) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && S4(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -76745,23 +76764,23 @@ function C4() {
return [];
}
}
-function HPe(e, t) {
- let n = C4().find((t) => t.code === e);
- return n && y4(n.saved, t) ? n : void 0;
+function VPe(e, t) {
+ let n = w4().find((t) => t.code === e);
+ return n && b4(n.saved, t) ? n : void 0;
}
-function UPe(e) {
- let t = new Map(C4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function HPe(e) {
+ let t = new Map(w4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
for (let r of e) {
if (!r.code) continue;
let e = t.get(`all-sources:${r.code}`);
- e && y4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && b4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function WPe(e, t) {
- if (t.state === "ready" && x4(t)) try {
- let n = C4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(b4, JSON.stringify([{
+function UPe(e, t) {
+ if (t.state === "ready" && S4(t)) try {
+ let n = w4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(x4, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -76769,15 +76788,15 @@ function WPe(e, t) {
} catch {}
}
// src/react/wants/resource-display.ts
-function GPe(e) {
+function WPe(e) {
let t = (e ?? "").trim(), n = /^([\d,]+)\s*B$/i.exec(t);
return /^[\d,.]+$/.test(t) ? "大小未知" : n ? Xn(Number(n[1].replaceAll(",", ""))) : e || "大小未知";
}
-function KPe(e) {
+function GPe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
// src/react/wants/want-magnets.tsx
-function w4({ icon: e, children: t, title: n }) {
+function T4({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, I.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -76787,8 +76806,8 @@ function w4({ icon: e, children: t, title: n }) {
}), t]
});
}
-function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = uH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => HPe(h, e.release_date), [h, e.release_date]);
+function E4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+ let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = uH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => VPe(h, e.release_date), [h, e.release_date]);
(0, F.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -76808,15 +76827,15 @@ function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
],
queryFn: async ({ signal: t }) => {
let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", WPe(h, i), i;
+ return m.current = n && i.state === "busy", UPe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => S4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => C4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !S4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !C4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
});
@@ -76831,7 +76850,7 @@ function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
]);
let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {
!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {
- let n = await V(UU, {
+ let n = await V(nW, {
magnet: r.uri,
provider: v.key,
target: v.target,
@@ -76842,7 +76861,7 @@ function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: WU });
+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: rW });
});
}, b = (e) => {
f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -76868,7 +76887,7 @@ function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
children: "重新查询"
})]
}),
- x ? /* @__PURE__ */ (0, I.jsx)(SH, { label: "正在查找资源链接" }) : null,
+ x ? /* @__PURE__ */ (0, I.jsx)(CH, { label: "正在查找资源链接" }) : null,
S ? /* @__PURE__ */ (0, I.jsx)(aV, {
tone: "error",
title: "资源链接未取得",
@@ -76876,7 +76895,7 @@ function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}) : null,
_.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(aV, {
tone: "neutral",
- children: KPe(e)
+ children: GPe(e)
}, e)),
_.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(mL, {
variant: "secondary",
@@ -76907,7 +76926,7 @@ function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(VU, {
+ children: [/* @__PURE__ */ (0, I.jsx)(YU, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"
@@ -76921,25 +76940,25 @@ function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-facts": "",
className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, I.jsx)(w4, {
- icon: Zge,
+ /* @__PURE__ */ (0, I.jsx)(T4, {
+ icon: Xge,
children: e.source
}),
- /* @__PURE__ */ (0, I.jsx)(w4, {
+ /* @__PURE__ */ (0, I.jsx)(T4, {
icon: jB,
title: e.size ? `来源大小:${e.size}` : void 0,
- children: GPe(e.size)
+ children: WPe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, I.jsx)(w4, {
- icon: Bge,
+ e.files ? /* @__PURE__ */ (0, I.jsx)(T4, {
+ icon: zge,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, I.jsx)(w4, {
- icon: Tge,
+ /* @__PURE__ */ (0, I.jsx)(T4, {
+ icon: wge,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(w4, {
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(T4, {
icon: RB,
children: e
}, e))
@@ -76962,7 +76981,7 @@ function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: Rge,
+ leadingIcon: Lge,
...uV(f.busy === `copy:${e.id}`),
onClick: () => b(e),
children: "复制链接"
@@ -76970,7 +76989,7 @@ function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
e.protocol === "magnet" ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
size: "small",
- leadingIcon: v ? LH(v.key) : Age,
+ leadingIcon: v ? RH(v.key) : kge,
title: v ? `下载到 ${v.label}` : void 0,
disabled: t || !n?.available || !v || r,
...uV(f.busy === e.id),
@@ -76984,7 +77003,7 @@ function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: e.slice(0, 3)
- }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(PH, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(FH, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, I.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -76996,10 +77015,10 @@ function T4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
});
}
// src/react/jav-detail/review-cache.ts
-var E4 = "peach.jav-reviews.v2";
-function D4() {
+var D4 = "peach.jav-reviews.v2";
+function O4() {
try {
- let e = localStorage.getItem(E4) || "[]";
+ let e = localStorage.getItem(D4) || "[]";
if (e.length > 2e6) return [];
let t = JSON.parse(e);
return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];
@@ -77007,21 +77026,21 @@ function D4() {
return [];
}
}
-function qPe(e, t) {
+function KPe(e, t) {
if (t.ok && !t.cache_stale) try {
let n = Date.parse(t.checked_at || ""), r = [{
code: e,
saved: Number.isFinite(n) ? n : Date.now(),
result: t
- }, ...D4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(E4, i);
+ }, ...O4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(D4, i);
} catch {}
}
-function JPe(e, t) {
- let n = D4(), r = [], i = Infinity;
+function qPe(e, t) {
+ let n = O4(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !y4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !b4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -77029,16 +77048,16 @@ function JPe(e, t) {
saved: i
} : void 0;
}
-function YPe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && y4(Date.parse(e.checked_at || "") || t, n));
+function JPe(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && b4(Date.parse(e.checked_at || "") || t, n));
}
// src/react/jav-detail/jav-detail-page.tsx
-function XPe(e) {
+function YPe(e) {
let t = (0, F.useRef)(!1), n = Ft({
- queryKey: i4(e.code),
+ queryKey: a4(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, a4(e.code, n, r);
+ return t.current = !1, o4(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -77048,21 +77067,21 @@ function XPe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, I.jsx)(ZPe, {
+ children: n.data ? /* @__PURE__ */ (0, I.jsx)(XPe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, I.jsx)(O4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(RG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(k4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(XG, {
message: lr(n.error),
onRetry: r
}) : null]
})
});
}
-var O4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var k4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -77071,7 +77090,7 @@ var O4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function ZPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function XPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, F.useEffect)(() => {
n.canonicalCode?.(t.code);
}, [n, t.code]), (0, F.useEffect)(() => {
@@ -77092,12 +77111,12 @@ function ZPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
video: !0
}] : []
], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = uH(), m = () => {
- p.run("want", async (e) => d ? (await nW([d], e), null) : (await tW({ code: t.code }, e)).want.id, (t) => {
- f(t), H.setQueryData(i4(e), (e) => e && {
+ p.run("want", async (e) => d ? (await hW([d], e), null) : (await mW({ code: t.code }, e)).want.id, (t) => {
+ f(t), H.setQueryData(a4(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), rW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), gW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
@@ -77106,24 +77125,24 @@ function ZPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-jav-art": "",
"data-jav-playing": o === -2 ? "" : void 0,
children: [
- /* @__PURE__ */ (0, I.jsx)(O4, { close: n.close }),
+ /* @__PURE__ */ (0, I.jsx)(k4, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, I.jsx)(k4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, I.jsx)(A4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(eFe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(lQ, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)($Pe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(_Q, {
item: t,
image: o === -1 ? "cover" : String(o)
}, t.code),
- /* @__PURE__ */ (0, I.jsx)(U2, {
+ /* @__PURE__ */ (0, I.jsx)(W2, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(lQ, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(_Q, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -77137,33 +77156,33 @@ function ZPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(QPe, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(j4, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, I.jsx)(ZPe, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(M4, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
"data-reveal-line": "",
- children: [/* @__PURE__ */ (0, I.jsx)(A4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(j4, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, I.jsx)(A4, {
+ }), /* @__PURE__ */ (0, I.jsx)(j4, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, I.jsx)($Pe, {
+ /* @__PURE__ */ (0, I.jsx)(QPe, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, I.jsx)(A4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(j4, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, I.jsx)(A4, {
+ }), /* @__PURE__ */ (0, I.jsx)(j4, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -77243,12 +77262,12 @@ function ZPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, I.jsx)(tFe, {
+ /* @__PURE__ */ (0, I.jsx)(eFe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, I.jsx)(nFe, {
+ /* @__PURE__ */ (0, I.jsx)(tFe, {
item: t,
actions: n,
readOnly: r
@@ -77256,24 +77275,24 @@ function ZPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, I.jsx)(ZU, {
+ /* @__PURE__ */ (0, I.jsx)(uW, {
prefill: l,
close: () => u(null),
receipt: n.receipt
})
] });
}
-var k4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var A4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: R(e) }
-}), A4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {
+}), j4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, I.jsx)(k4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, I.jsx)(A4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
}) : null;
-function QPe({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = n4(e.title), a = e.title === e.code ? "" : e.title;
+function ZPe({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = r4(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, I.jsx)("h1", {
@@ -77303,25 +77322,25 @@ function QPe({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, I.jsx)(OH, {})
+ children: /* @__PURE__ */ (0, I.jsx)(kH, {})
})
})]
});
}
-function j4({ score: e, review: t = !1 }) {
+function M4({ score: e, review: t = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-rating": "",
"data-jav-rating": "",
"data-review-rating": t ? "" : void 0,
role: "img",
"aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,
- children: [/* @__PURE__ */ (0, I.jsx)(JJ, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(nY, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-rating-value": "",
children: [e.toFixed(1), " / 5"]
})]
});
}
-function $Pe({ item: e, navigate: t }) {
+function QPe({ item: e, navigate: t }) {
let n = (e, n) => t(Pn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, I.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -77330,14 +77349,14 @@ function $Pe({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(e4, {
+ children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(t4, {
kind: t,
person: {
...r,
id: r.id ?? null
},
onOpen: n,
- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(uQ, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(vQ, {
code: e.code,
person: r,
detail: !0
@@ -77354,7 +77373,7 @@ function $Pe({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, I.jsx)(t4, {
+ }), /* @__PURE__ */ (0, I.jsx)(n4, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -77363,7 +77382,7 @@ function $Pe({ item: e, navigate: t }) {
})]
});
}
-function eFe({ src: e }) {
+function $Pe({ src: e }) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(0);
return (0, F.useLayoutEffect)(() => {
let n = t.current, i = document.createElement("video");
@@ -77387,8 +77406,8 @@ function eFe({ src: e }) {
}) : null
});
}
-function tFe({ code: e, count: t, released: n }) {
- let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => JPe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Lt({
+function eFe({ code: e, count: t, released: n }) {
+ let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => qPe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Lt({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -77397,12 +77416,12 @@ function tFe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => YPe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => JPe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await hPe(e, n, t, s.current);
- if (qPe(e, i), !i.ok || i.cache_stale) {
+ let i = await mPe(e, n, t, s.current);
+ if (KPe(e, i), !i.ok || i.cache_stale) {
let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);
if (t?.ok) return {
...t,
@@ -77412,7 +77431,7 @@ function tFe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: gPe
+ getNextPageParam: hPe
});
(0, F.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -77420,10 +77439,10 @@ function tFe({ code: e, count: t, released: n }) {
let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? lr(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-jav-reviews": "",
- children: /* @__PURE__ */ (0, I.jsxs)(PH, {
+ children: /* @__PURE__ */ (0, I.jsxs)(FH, {
trailing: !0,
summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(Ege, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, I.jsx)(Tge, { "aria-hidden": !0 }),
"评论",
t > 0 ? ` · ${t}` : ""
] }),
@@ -77460,7 +77479,7 @@ function tFe({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, I.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(j4, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(M4, {
score: Number(e.score),
review: !0
}) : null,
@@ -77519,21 +77538,21 @@ function tFe({ code: e, count: t, released: n }) {
})
});
}
-function nFe({ item: e, actions: t, readOnly: n }) {
+function tFe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, F.useState)(!1), a = Ft({
- queryKey: WU,
+ queryKey: rW,
enabled: r,
- queryFn: ({ signal: e }) => B(`${UU}?limit=50`, e)
+ queryFn: ({ signal: e }) => B(`${nW}?limit=50`, e)
}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-jav-resources": "",
- children: /* @__PURE__ */ (0, I.jsx)(PH, {
+ children: /* @__PURE__ */ (0, I.jsx)(FH, {
trailing: !0,
- summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(k4, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(A4, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, I.jsx)(T4, {
+ children: s ? /* @__PURE__ */ (0, I.jsx)(E4, {
want: {
id: 0,
code: e.code,
@@ -77550,31 +77569,31 @@ function nFe({ item: e, actions: t, readOnly: n }) {
});
}
// src/react/stage/stage-player.ts
-var M4 = null, N4 = null, P4 = null, F4 = null, I4 = null, L4 = !1, R4 = 0, z4 = null, B4 = () => !1, V4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function rFe(e, t) {
- M4 = e, B4 = () => t.isOpen(), z4 = () => t.requestClose(), cue({
+var N4 = null, P4 = null, F4 = null, I4 = null, L4 = null, R4 = !1, z4 = 0, B4 = null, V4 = () => !1, H4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function nFe(e, t) {
+ N4 = e, V4 = () => t.isOpen(), B4 = () => t.requestClose(), cue({
...e.player,
stage: () => document.getElementById("stage")
}), lue({
- inMiniplayer: (e) => N4?.player === e,
- kind: (e) => N4?.player === e ? N4.kind : P4?.kind ?? F4?.kind ?? "item",
- expand: () => s3(),
- toMiniplayer: () => c3()
- }), H4 || (H4 = !0, addEventListener("pagehide", () => RN()));
-}
-var H4 = !1;
-function U4() {
- if (!M4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return M4;
-}
-function W4(e) {
- F4 = e;
-}
-var iFe = () => F4;
-function G4(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = V4(n, r.id, i?.index ?? null);
- if (N4 && N4.key === a) return oFe(e, N4);
- N4 && o3();
+ inMiniplayer: (e) => P4?.player === e,
+ kind: (e) => P4?.player === e ? P4.kind : F4?.kind ?? I4?.kind ?? "item",
+ expand: () => c3(),
+ toMiniplayer: () => l3()
+ }), U4 || (U4 = !0, addEventListener("pagehide", () => RN()));
+}
+var U4 = !1;
+function W4() {
+ if (!N4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return N4;
+}
+function G4(e) {
+ I4 = e;
+}
+var rFe = () => I4;
+function K4(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = H4(n, r.id, i?.index ?? null);
+ if (P4 && P4.key === a) return aFe(e, P4);
+ P4 && s3();
let o = {
player: null,
kind: n,
@@ -77582,7 +77601,7 @@ function G4(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- P4 = o;
+ F4 = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
let c = ZN(s, {
@@ -77592,42 +77611,42 @@ function G4(e, t) {
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- P4 === o && (o.player = e);
+ F4 === o && (o.player = e);
},
- handedOff: (e) => N4?.player === e
+ handedOff: (e) => P4?.player === e
});
return () => {
- let e = !!o.player && N4?.player === o.player;
- P4 === o && (P4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), RN());
+ let e = !!o.player && P4?.player === o.player;
+ F4 === o && (F4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), RN());
};
}
-async function aFe(e, t, n) {
+async function iFe(e, t, n) {
let r = await Tn(`/api/item?id=${e.id}`, { signal: n });
if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");
if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");
if (r.location === "online") throw Error("请打开详情播放在线作品");
if (r.cost === "metered") throw Error("请打开详情确认计费来源");
- let i = await U4().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(U4().player.offlineReason(String(r.root_id || r.location || "")));
+ let i = await W4().player.loadSourceStatus();
+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(W4().player.offlineReason(String(r.root_id || r.location || "")));
let a = {
kind: "item",
item: r,
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- W4(a);
- let o = G4(t, {
+ G4(a);
+ let o = K4(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && F4 === a && q4(!0), o(), F4 === a && W4(null));
+ s || (s = !0, e && I4 === a && J4(!0), o(), I4 === a && G4(null));
};
}
-function oFe(e, t) {
+function aFe(e, t) {
let { player: n } = t;
- i3(t), N4 = null, a3(), n.el().classList.remove("vjs-peach-mini"), YN(e), e.append(n.el()), VM(n);
+ a3(t), P4 = null, o3(), n.el().classList.remove("vjs-peach-mini"), YN(e), e.append(n.el()), VM(n);
let r = {
player: n,
kind: t.kind,
@@ -77635,23 +77654,23 @@ function oFe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- P4 = r;
+ F4 = r;
let i = XN(n, e);
return HM(n), () => {
- P4 === r && (P4 = null), i(), N4?.player !== n && (BM() === n && VM(null), kN(n), RN());
+ F4 === r && (F4 = null), i(), P4?.player !== n && (BM() === n && VM(null), kN(n), RN());
};
}
-var K4 = () => {
- let e = P4?.player;
+var q4 = () => {
+ let e = F4?.player;
return e && !e.isDisposed() ? e : null;
};
-function q4(e) {
- let t = L4;
- L4 = !1, N4?.pending && o3();
- let n = P4, r = n?.player, i = F4;
- if (!n || !r || r.isDisposed() || !i || !I4) return;
- let a = U4().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && uFe({
+function J4(e) {
+ let t = R4;
+ R4 = !1, P4?.pending && s3();
+ let n = F4, r = n?.player, i = I4;
+ if (!n || !r || r.isDisposed() || !i || !L4) return;
+ let a = W4().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && lFe({
player: r,
kind: n.kind,
item: n.item,
@@ -77659,46 +77678,46 @@ function q4(e) {
key: n.key
}, i);
}
-function J4(e, t) {
- L4 = !1, N4 && (N4.kind === e && N4.item.id === t ? (N4.pending = !0, a3()) : o3());
+function Y4(e, t) {
+ R4 = !1, P4 && (P4.kind === e && P4.item.id === t ? (P4.pending = !0, o3()) : s3());
}
-function Y4(e) {
- I4 = e, I4 && n3();
+function X4(e) {
+ L4 = e, L4 && r3();
}
-var X4 = () => !!N4 && !N4.pending && !N4.player.isDisposed();
-function sFe() {
- return X4() ? I4?.frame.querySelector("video") ?? null : null;
+var Z4 = () => !!P4 && !P4.pending && !P4.player.isDisposed();
+function oFe() {
+ return Z4() ? L4?.frame.querySelector("video") ?? null : null;
}
-function cFe() {
- return B4() ? document.getElementById("stage")?.querySelector("video") ?? null : K4()?.el().querySelector("video") ?? sFe();
+function sFe() {
+ return V4() ? document.getElementById("stage")?.querySelector("video") ?? null : q4()?.el().querySelector("video") ?? oFe();
}
-function Z4(e) {
- I4 && (I4.title.textContent = e.title || "", I4.sub.textContent = e.sub || "", I4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function Q4(e) {
+ L4 && (L4.title.textContent = e.title || "", L4.sub.textContent = e.sub || "", L4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function Q4(e = N4?.item) {
- if (!I4) return;
- let t = I4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- I4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function $4(e = P4?.item) {
+ if (!L4) return;
+ let t = L4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ L4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
-function $4() {
- let e = N4?.player;
- if (!e || e.isDisposed() || !I4) return;
+function e3() {
+ let e = P4?.player;
+ if (!e || e.isDisposed() || !L4) return;
let t = e.paused();
- I4.play.setAttribute("aria-label", t ? "播放" : "暂停"), I4.play.querySelector("[data-icon-swap]") || (I4.play.innerHTML = Js("player-pause", "player-play", t ? "b" : "a")), Ys(I4.play, t ? "b" : "a");
+ L4.play.setAttribute("aria-label", t ? "播放" : "暂停"), L4.play.querySelector("[data-icon-swap]") || (L4.play.innerHTML = Js("player-pause", "player-play", t ? "b" : "a")), Ys(L4.play, t ? "b" : "a");
}
-function e3() {
- let e = N4?.player;
- if (!e || e.isDisposed() || !I4) return;
- let t = qn(N4?.item.duration) || qn(e.duration());
- I4.time.textContent = `${Yn(e.currentTime())} / ${t ? Yn(t) : "0:00"}`;
-}
-var t3 = () => Math.max(1, Number(U4().player.settings().seekSeconds) || 10);
-function n3() {
- if (!I4 || !M4) return;
- let e = t3();
- for (let [t, n] of [[I4.back, `后退 ${e} 秒`], [I4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function r3(e) {
+function t3() {
+ let e = P4?.player;
+ if (!e || e.isDisposed() || !L4) return;
+ let t = qn(P4?.item.duration) || qn(e.duration());
+ L4.time.textContent = `${Yn(e.currentTime())} / ${t ? Yn(t) : "0:00"}`;
+}
+var n3 = () => Math.max(1, Number(W4().player.settings().seekSeconds) || 10);
+function r3() {
+ if (!L4 || !N4) return;
+ let e = n3();
+ for (let [t, n] of [[L4.back, `后退 ${e} 秒`], [L4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function i3(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -77710,17 +77729,17 @@ function r3(e) {
"play",
"pause",
"ended"
- ], $4), t([
+ ], e3), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], e3), t("loadedmetadata", () => Q4()), $4(), e3(), Q4(), n3();
+ ], t3), t("loadedmetadata", () => $4()), e3(), t3(), $4(), r3();
}
-function i3(e) {
+function a3(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function lFe() {
- let e = I4?.root;
+function cFe() {
+ let e = L4?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -77728,8 +77747,8 @@ function lFe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function a3() {
- let e = I4?.root;
+function o3() {
+ let e = L4?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -77740,73 +77759,73 @@ function a3() {
e.style.transform = "";
}
}
-function uFe(e, t) {
- if (!I4) return;
+function lFe(e, t) {
+ if (!L4) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- N4 = n, R4++, e.player.el().classList.add("vjs-peach-mini"), I4.frame.prepend(e.player.el()), Z4(t), r3(n), lFe(), HM(e.player);
-}
-function o3() {
- let e = N4;
- e && i3(e), N4 = null, R4++;
- let t = e?.player ?? null;
- t && BM() === t && VM(null), kN(t), t && RN(), I4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), RM(), a3();
+ P4 = n, z4++, e.player.el().classList.add("vjs-peach-mini"), L4.frame.prepend(e.player.el()), Q4(t), i3(n), cFe(), HM(e.player);
}
function s3() {
- if (!X4() || !N4) return;
- let { kind: e, item: t, mediaIndex: n } = N4;
- U4().expand(e, t.id, n);
+ let e = P4;
+ e && a3(e), P4 = null, z4++;
+ let t = e?.player ?? null;
+ t && BM() === t && VM(null), kN(t), t && RN(), L4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), RM(), o3();
}
function c3() {
- X4() && !B4() ? s3() : B4() && K4() && z4 && (L4 = !0, z4());
+ if (!Z4() || !P4) return;
+ let { kind: e, item: t, mediaIndex: n } = P4;
+ W4().expand(e, t.id, n);
}
-function dFe() {
- let e = N4?.player;
+function l3() {
+ Z4() && !V4() ? c3() : V4() && q4() && B4 && (R4 = !0, B4());
+}
+function uFe() {
+ let e = P4?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function l3(e) {
- let t = N4?.player;
+function u3(e) {
+ let t = P4?.player;
if (!t || t.isDisposed()) return;
- let n = qn(t.duration()) || qn(N4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + t3() * e);
+ let n = qn(t.duration()) || qn(P4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + n3() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function u3(e) {
- return !(!X4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || U4().sourceOffline(String(e.root_id || e.location || "")));
-}
-async function fFe(e) {
- if (!X4() || !N4 || !I4) return;
- let t = ++R4, n = await Tn(`/api/item?id=${e}`).catch(() => null);
- if (t !== R4 || !X4() || !N4 || !I4 || !n || n.error) return;
- if (!u3(n)) {
- U4().openItem(e);
+function d3(e) {
+ return !(!Z4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || W4().sourceOffline(String(e.root_id || e.location || "")));
+}
+async function dFe(e) {
+ if (!Z4() || !P4 || !L4) return;
+ let t = ++z4, n = await Tn(`/api/item?id=${e}`).catch(() => null);
+ if (t !== z4 || !Z4() || !P4 || !L4 || !n || n.error) return;
+ if (!d3(n)) {
+ W4().openItem(e);
return;
}
- let r = N4;
- i3(r), BM() === r.player && VM(null), kN(r.player), RN(), I4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = P4;
+ a3(r), BM() === r.player && VM(null), kN(r.player), RN(), L4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", I4.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", L4.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- Z4(a), ZN(i, {
+ Q4(a), ZN(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== R4) {
+ if (t !== z4) {
r && BM() === r && VM(null), kN(r);
return;
}
if (!r) {
- o3(), U4().openItem(e);
+ s3(), W4().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -77815,25 +77834,25 @@ async function fFe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: V4("item", n.id, null),
+ key: H4("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- N4 = i, r3(i);
+ P4 = i, i3(i);
}
- }), Q4(n);
+ }), $4(n);
}
// src/react/stage/miniplayer.tsx
-var d3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
+var f3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
-}), pFe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, f3 = (e) => (t) => {
+}), fFe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, p3 = (e) => (t) => {
t.stopPropagation(), e();
-}, mFe = (0, F.memo)(function() {
+}, pFe = (0, F.memo)(function() {
let e = (0, F.useRef)(null), t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null);
- return (0, F.useLayoutEffect)(() => (Y4({
+ return (0, F.useLayoutEffect)(() => (X4({
root: e.current,
frame: n.current,
play: r.current,
@@ -77843,7 +77862,7 @@ var d3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => Y4(null)), []), (0, F.useEffect)(() => _Fe(e.current, t.current), []), (0, F.useEffect)(() => hFe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {
+ }), () => X4(null)), []), (0, F.useEffect)(() => gFe(e.current, t.current), []), (0, F.useEffect)(() => mFe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -77867,24 +77886,24 @@ var d3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: f3(s3),
- children: /* @__PURE__ */ (0, I.jsx)(d3, { name: "maximize-2" })
+ onClick: p3(c3),
+ children: /* @__PURE__ */ (0, I.jsx)(f3, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: f3(o3),
- children: /* @__PURE__ */ (0, I.jsx)(d3, { name: "x" })
+ onClick: p3(s3),
+ children: /* @__PURE__ */ (0, I.jsx)(f3, { name: "x" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: f3(() => l3(-1)),
- children: /* @__PURE__ */ (0, I.jsx)(d3, { name: "rotate-ccw" })
+ onClick: p3(() => u3(-1)),
+ children: /* @__PURE__ */ (0, I.jsx)(f3, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: r,
@@ -77893,16 +77912,16 @@ var d3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: f3(dFe),
- dangerouslySetInnerHTML: pFe
+ onClick: p3(uFe),
+ dangerouslySetInnerHTML: fFe
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: f3(() => l3(1)),
- children: /* @__PURE__ */ (0, I.jsx)(d3, { name: "rotate-cw" })
+ onClick: p3(() => u3(1)),
+ children: /* @__PURE__ */ (0, I.jsx)(f3, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, I.jsx)("span", {
ref: i,
@@ -77919,7 +77938,7 @@ var d3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => s3(),
+ onClick: () => c3(),
children: [/* @__PURE__ */ (0, I.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -77933,7 +77952,7 @@ var d3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
})
});
});
-function hFe(e) {
+function mFe(e) {
let t = () => {
let t = e.dataset.corner || "";
!e.hidden && t.startsWith("b") && (t === "br" || innerWidth <= 600) ? document.documentElement.style.setProperty("--miniplayer-space", `${Math.ceil(e.offsetHeight + 16 + 12)}px`) : document.documentElement.style.removeProperty("--miniplayer-space");
@@ -77947,7 +77966,7 @@ function hFe(e) {
n.disconnect(), r.disconnect(), window.removeEventListener("resize", t), document.documentElement.style.removeProperty("--miniplayer-space");
};
}
-function gFe(e, t, n) {
+function hFe(e, t, n) {
let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {
left: r.left - t,
top: r.top - n
@@ -77969,7 +77988,7 @@ function gFe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function _Fe(e, t) {
+function gFe(e, t) {
let n = null, r = (e) => {
if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {
n = {
@@ -77995,7 +78014,7 @@ function _Fe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), gFe(e, i.dx, i.dy));
+ }, 0), hFe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -78006,57 +78025,57 @@ function _Fe(e, t) {
};
}
// src/react/stage/stage.tsx
-var p3 = null, m3 = null, h3 = null, g3 = /* @__PURE__ */ new Set(), _3 = 0, v3 = null, y3 = !1, b3 = !1, x3 = () => {
+var m3 = null, h3 = null, g3 = null, _3 = /* @__PURE__ */ new Set(), v3 = 0, y3 = null, b3 = !1, x3 = !1, S3 = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function S3() {
- if (!p3) throw Error("舞台还没有接上宿主(configureStage)");
- return p3;
+function C3() {
+ if (!m3) throw Error("舞台还没有接上宿主(configureStage)");
+ return m3;
}
-function vFe(e) {
- return g3.add(e), () => {
- g3.delete(e);
+function _Fe(e) {
+ return _3.add(e), () => {
+ _3.delete(e);
};
}
-function yFe() {
- for (let e of [...g3]) e();
+function vFe() {
+ for (let e of [..._3]) e();
}
-function C3() {
- (0, Rt.flushSync)(yFe);
+function w3() {
+ (0, Rt.flushSync)(vFe);
}
-function bFe({ view: e }) {
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(xFe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(mFe, {})] });
+function yFe({ view: e }) {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(bFe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(pFe, {})] });
}
-var w3 = () => /* @__PURE__ */ (0, I.jsx)("div", {
+var T3 = () => /* @__PURE__ */ (0, I.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: yNe() }
+ dangerouslySetInnerHTML: { __html: vNe() }
});
-function T3(e) {
+function E3(e) {
let t = e.currentTarget;
if (e.target !== t) return !1;
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function E3() {
- let e = x3(), t = e && SNe(e);
+function D3() {
+ let e = S3(), t = e && xNe(e);
t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {
key: "Escape",
bubbles: !0,
cancelable: !0
- }))) : D3();
+ }))) : O3();
}
-function xFe({ view: e }) {
+function bFe({ view: e }) {
let t = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
let e = t.current, n = (t) => {
- t.target === e && (t.preventDefault(), E3());
+ t.target === e && (t.preventDefault(), D3());
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(wPe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(XPe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(aPe, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(CPe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(YPe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(iPe, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, I.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -78064,27 +78083,27 @@ function xFe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), E3());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), D3());
},
onPointerDown: (e) => {
- b3 = T3(e);
+ x3 = E3(e);
},
onClick: (e) => {
- b3 && T3(e) && D3();
+ x3 && E3(e) && O3();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(w3, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(T3, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(w3, {})
+ children: /* @__PURE__ */ (0, I.jsx)(T3, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-scroll": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
children: /* @__PURE__ */ (0, I.jsx)(TD, {
- getContainer: () => u2(t.current),
+ getContainer: () => d2(t.current),
children: i
})
})
@@ -78092,14 +78111,14 @@ function xFe({ view: e }) {
]
});
}
-function D3() {
- m3 && !y3 && (y3 = !0, m3.request.actions.close());
+function O3() {
+ h3 && !b3 && (b3 = !0, h3.request.actions.close());
}
-function O3(e, t) {
- let n = x3();
+function k3(e, t) {
+ let n = S3();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function k3(e) {
+function A3(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -78107,30 +78126,30 @@ function k3(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: D3
+ close: O3
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => S3().player.settings(), i = () => m3?.request === e;
+ }, r = () => C3().player.settings(), i = () => h3?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: D3,
+ close: O3,
present: (e, t) => {
let n = e.performers;
- W4({
+ G4({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), O3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), k3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => G4(e, {
+ mountPlayer: (e, t, r, i) => K4(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -78148,18 +78167,18 @@ function k3(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: D3,
+ close: O3,
present: (e, t) => {
- W4({
+ G4({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), O3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), k3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => G4(e, {
+ mountPlayer: (e, t, r, i) => K4(e, {
kind: "follow",
item: t,
media: r,
@@ -78176,106 +78195,106 @@ function k3(e) {
}
};
}
-function SFe(e, t) {
+function xFe(e, t) {
let n = e.querySelector(":scope > [data-stage-fade]");
e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");
let r = 0, i = () => {
- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), m3?.generation === t && m3.phase === "reveal" && (m3 = {
- ...m3,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), h3?.generation === t && h3.phase === "reveal" && (h3 = {
+ ...h3,
phase: "content"
- }, C3());
+ }, w3());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function A3(e) {
- let t = x3();
- return !m3 || m3.content.kind !== e || y3 || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function j3(e) {
+ let t = S3();
+ return !h3 || h3.content.kind !== e || b3 || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function CFe(e) {
- !h3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (h3 = {
+async function SFe(e) {
+ !g3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (g3 = {
left: window.scrollX,
top: window.scrollY,
anchor: document.activeElement
});
- let t = A3(e.kind);
+ let t = j3(e.kind);
if (t) {
- await TFe(e, t);
+ await wFe(e, t);
return;
}
- m3 && j3({ miniplayer: !1 });
- let n = ++_3, r = new AbortController();
- v3 = r, y3 = !1, b3 = !1, e.kind === "jav" ? o3() : J4(e.kind, e.id ?? NaN);
- let i = k3(e);
- m3 = {
+ h3 && M3({ miniplayer: !1 });
+ let n = ++v3, r = new AbortController();
+ y3 = r, b3 = !1, x3 = !1, e.kind === "jav" ? s3() : Y4(e.kind, e.id ?? NaN);
+ let i = A3(e);
+ h3 = {
generation: n,
request: e,
content: i,
phase: "skeleton"
};
- let a = i.kind === "item" ? TP(i.props, r.signal) : i.kind === "jav" ? o4(i.props, r.signal) : g2(i.props, r.signal);
- if (n !== _3 || m3?.request !== e) {
+ let a = i.kind === "item" ? TP(i.props, r.signal) : i.kind === "jav" ? s4(i.props, r.signal) : _2(i.props, r.signal);
+ if (n !== v3 || h3?.request !== e) {
await a.catch(() => {});
return;
}
- let o = wFe(i);
- m3 = {
- ...m3,
+ let o = CFe(i);
+ h3 = {
+ ...h3,
phase: o ? "content" : "skeleton"
- }, C3();
- let s = x3();
+ }, w3();
+ let s = S3();
if (!s) {
await a.catch(() => {});
return;
}
- o || hc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), f2(s);
+ o || hc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), p2(s);
try {
await a;
} catch {
if (r.signal.aborted) return;
}
- if (n !== _3 || !m3 || o) return;
+ if (n !== v3 || !h3 || o) return;
let c = !!s.querySelector(".skeleton-awaiting");
- m3 = {
- ...m3,
+ h3 = {
+ ...h3,
phase: c ? "content" : "reveal"
- }, C3(), c || SFe(s, n), rc(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, w3(), c || xFe(s, n), rc(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let l = document.activeElement;
l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();
}
-function wFe(e) {
- if (e.kind === "jav") return !!H.getQueryData(i4(e.props.code));
- if (e.kind === "follow") return !!H.getQueryData(p2(e.props.id));
+function CFe(e) {
+ if (e.kind === "jav") return !!H.getQueryData(a4(e.props.code));
+ if (e.kind === "follow") return !!H.getQueryData(m2(e.props.id));
let { queue: t, id: n } = e.props, r = t ? H.getQueryData(dP(t)) : null;
if (t && !r) return !1;
let i = r ? CP(r, n) : n;
return i != null && !!H.getQueryData(uP(i));
}
-async function TFe(e, t) {
- let n = ++_3;
- v3?.abort();
+async function wFe(e, t) {
+ let n = ++v3;
+ y3?.abort();
let r = new AbortController();
- v3 = r, b3 = !1;
- let i = k3(e);
+ y3 = r, x3 = !1;
+ let i = A3(e);
try {
- i.kind === "item" ? await TP(i.props, r.signal) : i.kind === "jav" ? await o4(i.props, r.signal) : await g2(i.props, r.signal);
+ i.kind === "item" ? await TP(i.props, r.signal) : i.kind === "jav" ? await s4(i.props, r.signal) : await _2(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== _3 || !m3 || A3(e.kind) !== t) return;
- e.kind === "jav" ? o3() : J4(e.kind, e.id ?? NaN), zl(t), RM(), m3 = {
- ...m3,
+ if (n !== v3 || !h3 || j3(e.kind) !== t) return;
+ e.kind === "jav" ? s3() : Y4(e.kind, e.id ?? NaN), zl(t), RM(), h3 = {
+ ...h3,
request: e,
content: i,
phase: "content"
- }, C3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), rc(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, w3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), rc(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let a = document.activeElement;
a !== t && t.contains(a) || (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });
}
-function EFe() {
- f2(null);
- let e = x3();
+function TFe() {
+ p2(null);
+ let e = S3();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
let n = 0, r = () => {
clearTimeout(n), e.removeEventListener("animationend", i), t();
@@ -78285,14 +78304,14 @@ function EFe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function j3({ miniplayer: e = !0 } = {}) {
- if (_3++, v3?.abort(), v3 = null, q4(e), !m3) return;
- let t = x3();
- t && zl(t), RM(), f2(null), t?.open && t.close(), m3 = null, y3 = !1, b3 = !1, C3(), W4(null), document.body.removeAttribute("data-detail-open");
- let n = h3;
- h3 = null;
+function M3({ miniplayer: e = !0 } = {}) {
+ if (v3++, y3?.abort(), y3 = null, J4(e), !h3) return;
+ let t = S3();
+ t && zl(t), RM(), p2(null), t?.open && t.close(), h3 = null, b3 = !1, x3 = !1, w3(), G4(null), document.body.removeAttribute("data-detail-open");
+ let n = g3;
+ g3 = null;
let r = () => {
- !m3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
+ !h3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
left: n.left,
top: n.top,
behavior: "instant"
@@ -78300,80 +78319,80 @@ function j3({ miniplayer: e = !0 } = {}) {
};
r(), requestAnimationFrame(r);
}
-function DFe(e) {
- m3 && (m3 = {
- ...m3,
- content: m3.content.kind === "item" ? {
+function EFe(e) {
+ h3 && (h3 = {
+ ...h3,
+ content: h3.content.kind === "item" ? {
kind: "item",
props: {
- ...m3.content.props,
+ ...h3.content.props,
...e
}
- } : m3.content.kind === "jav" ? m3.content : {
+ } : h3.content.kind === "jav" ? h3.content : {
kind: "follow",
props: {
- ...m3.content.props,
+ ...h3.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, C3());
+ }, w3());
}
-function OFe() {
- let e = iFe(), t = e?.kind === "item" ? e.item : null, n = t ? Ao(t, S3().player.settings().javImage) : "";
+function DFe() {
+ let e = rFe(), t = e?.kind === "item" ? e.item : null, n = t ? Ao(t, C3().player.settings().javImage) : "";
if (!n) return;
- let r = K4();
+ let r = q4();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var kFe = {
- open: CFe,
- update: DFe,
- exit: EFe,
- dispose: j3,
- requestClose: D3,
- requestEscape: E3,
- repaintPoster: OFe,
- isOpen: () => !!m3,
- showing: () => m3 && A3(m3.content.kind) ? m3.content.kind : null,
- activeVideo: () => cFe(),
- mountWallPlayer: aFe,
+var OFe = {
+ open: SFe,
+ update: EFe,
+ exit: TFe,
+ dispose: M3,
+ requestClose: O3,
+ requestEscape: D3,
+ repaintPoster: DFe,
+ isOpen: () => !!h3,
+ showing: () => h3 && j3(h3.content.kind) ? h3.content.kind : null,
+ activeVideo: () => sFe(),
+ mountWallPlayer: iFe,
toggleTheater: () => {
- m3 && gN(!S3().player.settings().theaterMode);
+ h3 && gN(!C3().player.settings().theaterMode);
},
- toggleMiniplayer: () => c3(),
- closeMiniplayer: () => o3(),
- miniplayerActive: () => X4(),
- miniplayerTakesCard: (e) => u3(e),
+ toggleMiniplayer: () => l3(),
+ closeMiniplayer: () => s3(),
+ miniplayerActive: () => Z4(),
+ miniplayerTakesCard: (e) => d3(e),
miniplayerPlay: (e) => {
- fFe(e);
+ dFe(e);
}
};
-function AFe(e) {
- return p3 = e, rFe(e, {
- isOpen: () => !!m3,
- requestClose: D3
- }), kFe;
+function kFe(e) {
+ return m3 = e, nFe(e, {
+ isOpen: () => !!h3,
+ requestClose: O3
+ }), OFe;
}
-function jFe() {
- let e = (0, F.useSyncExternalStore)(vFe, () => m3);
- return p3 ? /* @__PURE__ */ (0, I.jsx)(bFe, { view: e }) : null;
+function AFe() {
+ let e = (0, F.useSyncExternalStore)(_Fe, () => h3);
+ return m3 ? /* @__PURE__ */ (0, I.jsx)(yFe, { view: e }) : null;
}
// src/react/stats/stats.ts
-var MFe = "/api/stats", M3 = ["stats"], N3 = (e) => B(MFe, e);
-async function NFe(e) {
+var jFe = "/api/stats", N3 = ["stats"], P3 = (e) => B(jFe, e);
+async function MFe(e) {
await H.fetchQuery({
- queryKey: M3,
- queryFn: () => N3(e)
+ queryKey: N3,
+ queryFn: () => P3(e)
});
}
-var P3 = (e) => e != null && Number.isFinite(e), PFe = (e) => P3(e) ? e.toLocaleString() : "未取得", FFe = (e, t) => P3(e) && P3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, IFe = (e, t) => {
- let n = FFe(e, t);
- return !n && P3(e) && e > 0 && P3(t) && t > 0 ? "<1%" : `${n}%`;
-}, F3 = (e) => {
- if (!P3(e)) return "未取得";
+var F3 = (e) => e != null && Number.isFinite(e), NFe = (e) => F3(e) ? e.toLocaleString() : "未取得", PFe = (e, t) => F3(e) && F3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, FFe = (e, t) => {
+ let n = PFe(e, t);
+ return !n && F3(e) && e > 0 && F3(t) && t > 0 ? "<1%" : `${n}%`;
+}, I3 = (e) => {
+ if (!F3(e)) return "未取得";
let t = Math.max(0, e);
return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;
-}, I3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, L3 = (e) => (e.max_reached || 0) * 100, LFe = (e) => e.kind === "online" ? "在线直接观看" : I3(e) < L3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", RFe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function zFe(e, t = 6) {
+}, L3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, R3 = (e) => (e.max_reached || 0) * 100, IFe = (e) => e.kind === "online" ? "在线直接观看" : L3(e) < R3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", LFe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function RFe(e, t = 6) {
let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);
if (n.length <= t) return n;
let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);
@@ -78383,7 +78402,7 @@ function zFe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var BFe = (e) => Math.max(1, ...e) * 1.1, VFe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, HFe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), UFe = {
+var zFe = (e) => Math.max(1, ...e) * 1.1, BFe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, VFe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), HFe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -78391,18 +78410,18 @@ var BFe = (e) => Math.max(1, ...e) * 1.1, VFe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, WFe = (e) => e.map((e) => ({
- name: UFe[e.k] ?? e.k,
+}, UFe = (e) => e.map((e) => ({
+ name: HFe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), GFe = {
+})).sort((e, t) => t.value - e.value), WFe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, R3 = (e, t = {}) => e.map((e) => ({
+}, z3 = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), KFe = (e) => R3(e, GFe), qFe = [
+})), GFe = (e) => z3(e, WFe), KFe = [
[
1,
1,
@@ -78438,12 +78457,12 @@ var BFe = (e) => Math.max(1, ...e) * 1.1, VFe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], JFe = (e) => qFe.map(([t, n, r]) => ({
+], qFe = (e) => KFe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
}));
// node_modules/d3-array/src/max.js
-function z3(e, t) {
+function B3(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 {
@@ -78453,7 +78472,7 @@ function z3(e, t) {
return n;
}
// node_modules/d3-array/src/min.js
-function B3(e, t) {
+function V3(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 {
@@ -78463,7 +78482,7 @@ function B3(e, t) {
return n;
}
// node_modules/d3-array/src/sum.js
-function V3(e, t) {
+function H3(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -78473,64 +78492,64 @@ function V3(e, t) {
return n;
}
// node_modules/d3-sankey/src/align.js
-function YFe(e, t) {
+function JFe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
// node_modules/d3-sankey/src/constant.js
-function H3(e) {
+function U3(e) {
return function() {
return e;
};
}
// node_modules/d3-sankey/src/sankey.js
-function U3(e, t) {
- return G3(e.source, t.source) || e.index - t.index;
-}
function W3(e, t) {
- return G3(e.target, t.target) || e.index - t.index;
+ return K3(e.source, t.source) || e.index - t.index;
}
function G3(e, t) {
+ return K3(e.target, t.target) || e.index - t.index;
+}
+function K3(e, t) {
return e.y0 - t.y0;
}
-function K3(e) {
+function q3(e) {
return e.value;
}
-function XFe(e) {
+function YFe(e) {
return e.index;
}
-function ZFe(e) {
+function XFe(e) {
return e.nodes;
}
-function QFe(e) {
+function ZFe(e) {
return e.links;
}
-function q3(e, t) {
+function J3(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function J3({ nodes: e }) {
+function Y3({ 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 $Fe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = XFe, c = YFe, l, u, d = ZFe, f = QFe, p = 6;
+function QFe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = YFe, c = JFe, l, u, d = XFe, f = ZFe, 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), J3(e), e;
+ return h(e), g(e), _(e), v(e), x(e), Y3(e), e;
}
m.update = function(e) {
- return J3(e), e;
+ return Y3(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : H3(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : U3(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : H3(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : U3(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -78538,9 +78557,9 @@ function $Fe() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : H3(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : U3(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : H3(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : U3(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -78556,12 +78575,12 @@ function $Fe() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = q3(n, t)), typeof i != "object" && (i = r.target = q3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = J3(n, t)), typeof i != "object" && (i = r.target = J3(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(V3(t.sourceLinks, K3), V3(t.targetLinks, K3)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(H3(t.sourceLinks, q3), H3(t.targetLinks, q3)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -78586,7 +78605,7 @@ function $Fe() {
}
}
function y({ nodes: t }) {
- let r = z3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = B3(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];
@@ -78595,7 +78614,7 @@ function $Fe() {
return o;
}
function b(e) {
- let n = B3(e, (e) => (r - t - (e.length - 1) * o) / V3(e, K3));
+ let n = V3(e, (e) => (r - t - (e.length - 1) * o) / H3(e, q3));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -78612,7 +78631,7 @@ function $Fe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (z3(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (B3(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);
@@ -78631,7 +78650,7 @@ function $Fe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(G3), w(i, n);
+ l === void 0 && i.sort(K3), w(i, n);
}
}
function C(e, t, n) {
@@ -78647,7 +78666,7 @@ function $Fe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(G3), w(i, n);
+ l === void 0 && i.sort(K3), w(i, n);
}
}
function w(e, n) {
@@ -78668,12 +78687,12 @@ function $Fe() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(W3);
- for (let { target: { targetLinks: t } } of e) t.sort(U3);
+ for (let { source: { sourceLinks: e } } of t) e.sort(G3);
+ for (let { target: { targetLinks: t } } of e) t.sort(W3);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(W3), n.sort(U3);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(G3), n.sort(W3);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -78702,15 +78721,15 @@ function $Fe() {
return m;
}
// node_modules/d3-path/src/path.js
-var Y3 = Math.PI, X3 = 2 * Y3, Z3 = 1e-6, eIe = X3 - Z3;
-function Q3() {
+var X3 = Math.PI, Z3 = 2 * X3, Q3 = 1e-6, $Fe = Z3 - Q3;
+function $3() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function $3() {
- return new Q3();
+function e6() {
+ return new $3();
}
-Q3.prototype = $3.prototype = {
- constructor: Q3,
+$3.prototype = e6.prototype = {
+ constructor: $3,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -78731,11 +78750,11 @@ Q3.prototype = $3.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 > Z3) {
- if (!(Math.abs(u * s - c * l) > Z3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > Q3) {
+ if (!(Math.abs(u * s - c * l) > Q3) || !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((Y3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > Z3 && (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((X3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > Q3 && (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);
}
}
},
@@ -78743,7 +78762,7 @@ Q3.prototype = $3.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) > Z3 || Math.abs(this._y1 - l) > Z3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % X3 + X3), d > eIe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > Z3 && (this._ += "A" + n + "," + n + ",0," + +(d >= Y3) + "," + 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) > Q3 || Math.abs(this._y1 - l) > Q3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % Z3 + Z3), d > $Fe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > Q3 && (this._ += "A" + n + "," + n + ",0," + +(d >= X3) + "," + 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";
@@ -78753,93 +78772,93 @@ Q3.prototype = $3.prototype = {
}
};
// node_modules/d3-shape/src/constant.js
-function e6(e) {
+function t6(e) {
return function() {
return e;
};
}
// node_modules/d3-shape/src/point.js
-function tIe(e) {
+function eIe(e) {
return e[0];
}
-function nIe(e) {
+function tIe(e) {
return e[1];
}
// node_modules/d3-shape/src/array.js
-var rIe = Array.prototype.slice;
+var nIe = Array.prototype.slice;
// node_modules/d3-shape/src/link/index.js
-function iIe(e) {
+function rIe(e) {
return e.source;
}
-function aIe(e) {
+function iIe(e) {
return e.target;
}
-function oIe(e) {
- var t = iIe, n = aIe, r = tIe, i = nIe, a = null;
+function aIe(e) {
+ var t = rIe, n = iIe, r = eIe, i = tIe, a = null;
function o() {
- var o, s = rIe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = $3(), 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 = nIe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = e6(), 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 : e6(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : t6(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : e6(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : t6(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function sIe(e, t, n, r, i) {
+function oIe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function cIe() {
- return oIe(sIe);
+function sIe() {
+ return aIe(oIe);
}
// node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function lIe(e) {
+function cIe(e) {
return [e.source.x1, e.y0];
}
-function uIe(e) {
+function lIe(e) {
return [e.target.x0, e.y1];
}
-function dIe() {
- return cIe().source(lIe).target(uIe);
+function uIe() {
+ return sIe().source(cIe).target(lIe);
}
// src/react/taste/taste.ts
-var fIe = "/api/taste", t6 = "/api/taste/refresh", pIe = "/api/taste/import", n6 = "/api/taste/source", r6 = (e) => ["taste", e], mIe = ["taste", "refresh"], hIe = [
+var dIe = "/api/taste", n6 = "/api/taste/refresh", fIe = "/api/taste/import", r6 = "/api/taste/source", i6 = (e) => ["taste", e], pIe = ["taste", "refresh"], mIe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], gIe = 2e3, _Ie = (e) => e?.stale && !e.error ? gIe : !1, vIe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
+], hIe = 2e3, gIe = (e) => e?.stale && !e.error ? hIe : !1, _Ie = (e) => e ? new Date(e).toLocaleString("zh-CN", {
month: "numeric",
day: "numeric",
hour: "2-digit",
minute: "2-digit"
-}) : "—", yIe = (e, t) => V(n6, {
+}) : "—", vIe = (e, t) => V(r6, {
...e,
window: t
-}), i6 = (e, t, n = !1) => B(`${fIe}?window=${e}${n ? "&retry=1" : ""}`, t), bIe = (e) => B(t6, e);
-async function xIe(e, t) {
+}), a6 = (e, t, n = !1) => B(`${dIe}?window=${e}${n ? "&retry=1" : ""}`, t), yIe = (e) => B(n6, e);
+async function bIe(e, t) {
await H.fetchQuery({
- queryKey: r6(e),
- queryFn: () => i6(e, t)
+ queryKey: i6(e),
+ queryFn: () => a6(e, t)
});
}
-var SIe = (e) => V(t6, {
+var xIe = (e) => V(n6, {
window: e,
background: !0
-}), CIe = (e, t) => V(n6, {
+}), SIe = (e, t) => V(r6, {
operation: "remove",
source_key: e,
window: t
});
-async function wIe(e) {
- let t = await fetch(pIe, {
+async function CIe(e) {
+ let t = await fetch(fIe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -78857,52 +78876,52 @@ async function wIe(e) {
}
return n;
}
-var TIe = 1e4, a6 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function EIe(e) {
+var wIe = 1e4, o6 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function TIe(e) {
let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;
if (!e.range_start && !e.range_end) return t;
let n = e.range_start?.slice(0, 4) === e.range_end?.slice(0, 4), r = (e) => e && n ? new Date(e).toLocaleDateString("zh-CN", {
month: "numeric",
day: "numeric"
- }) : a6(e);
+ }) : o6(e);
return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;
}
-var DIe = F3, OIe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), kIe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function AIe(e) {
+var EIe = I3, DIe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), OIe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function kIe(e) {
if (e.web_visits == null && !e.web_bookmarks) return Number(e.score || e.visits || 0).toLocaleString();
let t = [], n = Number(e.web_bookmarks || 0), r = Number(e.web_visits ?? e.visits ?? 0) - n;
return r > 0 && t.push(`浏览 ${r.toLocaleString()}`), n && t.push(`书签 ${n.toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");
}
-function jIe(e) {
- let t = e.map(kIe), n = Math.max(1, ...t);
+function AIe(e) {
+ let t = e.map(OIe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var o6 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var s6 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
name: e.name,
value: Number(e.score)
})).sort((e, t) => t.value - e.value).slice(0, t);
-function MIe(e) {
- let t = o6(e, 6);
+function jIe(e) {
+ let t = s6(e, 6);
return t.length < 3 ? [] : t;
}
-var s6 = {
+var c6 = {
width: 720,
height: 435
-}, NIe = {
+}, MIe = {
source: 145,
target: 545
-}, c6 = 30, PIe = 240;
-function l6(e, t, n) {
+}, l6 = 30, NIe = 240;
+function u6(e, t, n) {
let r = /* @__PURE__ */ new Map();
for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);
if (r.size <= 12) return (e) => e;
let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);
return (e) => a.has(e) ? e : o;
}
-function FIe(e = []) {
+function PIe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = l6(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = l6(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = u6(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = u6(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
for (let e of t) {
let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);
s ? s.value += e.value : i.set(o, {
@@ -78911,7 +78930,7 @@ function FIe(e = []) {
value: e.value
});
}
- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * c6 + PIe), u = $Fe().nodeId((e) => e.id).nodeWidth(10).nodePadding(c6).extent([[155, 16], [535, l]])({
+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * l6 + NIe), u = QFe().nodeId((e) => e.id).nodeWidth(10).nodePadding(l6).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -78926,7 +78945,7 @@ function FIe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = dIe();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = uIe();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -78954,17 +78973,17 @@ function FIe(e = []) {
};
}),
total: d,
- height: l + s6.height - 404
+ height: l + c6.height - 404
};
}
-var IIe = (e) => tr(e, 17), u6 = {
+var FIe = (e) => tr(e, 17), d6 = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, LIe = [[
+}, IIe = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -78972,7 +78991,7 @@ var IIe = (e) => tr(e, 17), u6 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], RIe = [[
+]], LIe = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -78980,7 +78999,7 @@ var IIe = (e) => tr(e, 17), u6 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], zIe = [[
+]], RIe = [[
"big",
"大图 · 系列图片",
"maximize"
@@ -78988,7 +79007,7 @@ var IIe = (e) => tr(e, 17), u6 = {
"compact",
"紧凑 · 系列图片",
"layout-grid"
-]], BIe = [
+]], zIe = [
[
"studios",
"厂牌",
@@ -79004,7 +79023,7 @@ var IIe = (e) => tr(e, 17), u6 = {
"系列",
"file-stack"
]
-], VIe = [[
+], BIe = [[
"local",
"本地",
"hard-drive"
@@ -79012,7 +79031,7 @@ var IIe = (e) => tr(e, 17), u6 = {
"online",
"在线",
"rss"
-]], HIe = [
+]], VIe = [
[
"performers",
"艺人",
@@ -79028,7 +79047,7 @@ var IIe = (e) => tr(e, 17), u6 = {
"在线",
"rss"
]
-], UIe = [[
+], HIe = [[
"cloud",
"标签云",
"tags"
@@ -79036,8 +79055,8 @@ var IIe = (e) => tr(e, 17), u6 = {
"alphabet",
"字母表",
"text-aa"
-]], d6 = (e) => e === "compact" ? "compact" : "big";
-function f6(e, t) {
+]], f6 = (e) => e === "compact" ? "compact" : "big";
+function p6(e, t) {
let n = new URLSearchParams(t);
return {
kind: e,
@@ -79047,7 +79066,7 @@ function f6(e, t) {
category: n.get("category") || "all"
};
}
-var p6 = (e, t, n) => Gs(e.map(([e, t, n]) => ({
+var m6 = (e, t, n) => Gs(e.map(([e, t, n]) => ({
value: e,
label: t,
symbol: n
@@ -79055,12 +79074,12 @@ var p6 = (e, t, n) => Gs(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), WIe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">
+}), UIe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div class="flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2" data-filter-row="top" data-skeleton-tier="filter-pill" aria-label="标签类型"></div>
<div class="flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2" data-filter-row="bottom"><span class="countskeleton"></span>
- <span class="ml-auto">${tl("tag-view", "标签视图", UIe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
-function GIe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = u6[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? tl("people-layout", o + "索引版式", e === "series" ? zIe : c ? RIe : LIe, a) : "";
+ <span class="ml-auto">${tl("tag-view", "标签视图", HIe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
+function WIe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = d6[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? tl("people-layout", o + "索引版式", e === "series" ? RIe : c ? LIe : IIe, a) : "";
return `<div class="ihead peach-react" data-index-head>
<h2 class="disp indexheading">${o}</h2>
${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}
@@ -79072,8 +79091,8 @@ function GIe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
}) : ""}
<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Os("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? p6(VIe, n, "词表") : e === "performers" || e === "creators" ? p6(HIe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? p6(BIe, e, "资料类型") : ""}
- ${e === "tags" ? WIe(r) : ""}
+ ${e === "tags" ? m6(BIe, n, "词表") : e === "performers" || e === "creators" ? m6(VIe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? m6(zIe, e, "资料类型") : ""}
+ ${e === "tags" ? UIe(r) : ""}
${e === "performers" && n !== "online" ? bDe(i) : ""}
${cc({
kind: e,
@@ -79081,15 +79100,15 @@ function GIe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
mode: r
})}`;
}
-var KIe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function m6(e, t, n) {
- let r = GIe(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== KIe(r) && (e.innerHTML = r, hc(e));
+var GIe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function h6(e, t, n) {
+ let r = WIe(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== GIe(r) && (e.innerHTML = r, hc(e));
}
// src/react/router/pages/index-entity.tsx
-var qIe = () => yu, JIe = () => iu, h6 = () => document.getElementById("index");
-function g6(e, t, n = {}) {
- let r = (0, F.useSyncExternalStore)(Au, qIe);
+var KIe = () => yu, qIe = () => iu, g6 = () => document.getElementById("index");
+function _6(e, t, n = {}) {
+ let r = (0, F.useSyncExternalStore)(Au, KIe);
cf();
let i = qf(Bp.navigation.location.pathname), a = (0, F.useRef)({
mounted: !0,
@@ -79137,11 +79156,11 @@ function g6(e, t, n = {}) {
i
]);
}
-async function YIe(e, t, n, r) {
- let i = h6();
+async function JIe(e, t, n, r) {
+ let i = g6();
if (!i) return;
- let a = `/${t}`, o = f6(t, n), s = d6(Yj().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;
- c || (e.surfaceChanged("index", a), m6(i, o, s), Tm(r, i, { pending: !0 })), await Ep(a, {
+ let a = `/${t}`, o = p6(t, n), s = f6(Yj().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;
+ c || (e.surfaceChanged("index", a), h6(i, o, s), Tm(r, i, { pending: !0 })), await Ep(a, {
...o,
layout: s,
selectMode: iu,
@@ -79152,23 +79171,23 @@ async function YIe(e, t, n, r) {
reuse: c
}) && r() && (e.surfaceShown?.("index", a), Tm(r, i));
}
-function XIe(e) {
- let t = h6(), n = t ? xp(t) : null;
+function YIe(e) {
+ let t = g6(), n = t ? xp(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function ZIe({ epoch: e }) {
- let t = (0, F.useContext)(XW), n = cf(), r = n.pathname.split("/").filter(Boolean)[0];
- return g6(e, (e, i) => {
- t && YIe(t, r, n.search, i);
- }, { shown: () => XIe(`/${r}`) }), null;
+function XIe({ epoch: e }) {
+ let t = (0, F.useContext)(uG), n = cf(), r = n.pathname.split("/").filter(Boolean)[0];
+ return _6(e, (e, i) => {
+ t && JIe(t, r, n.search, i);
+ }, { shown: () => YIe(`/${r}`) }), null;
}
-function QIe() {
- let e = YW(), t = (0, F.useSyncExternalStore)(Au, JIe), n = (0, F.useRef)(t);
+function ZIe() {
+ let e = lG(), t = (0, F.useSyncExternalStore)(Au, qIe), n = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && Op(h6(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, I.jsx)(ZIe, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && Op(g6(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, I.jsx)(XIe, { epoch: e }, e);
}
-function $Ie(e) {
+function QIe(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -79182,9 +79201,9 @@ function $Ie(e) {
name: a
} : null;
}
-var _6 = /* @__PURE__ */ new WeakMap();
-function eLe(e) {
- let t = _6.get(e);
+var v6 = /* @__PURE__ */ new WeakMap();
+function $Ie(e) {
+ let t = v6.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -79194,14 +79213,14 @@ function eLe(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, _6.set(e, t)), t;
+ }, v6.set(e, t)), t;
}
-function v6() {
- let e = h6(), t = e ? xp(e) : null;
+function y6() {
+ let e = g6(), t = e ? xp(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function tLe(e, t, n, r, i, a, o) {
- let s = h6();
+async function eLe(e, t, n, r, i, a, o) {
+ let s = g6();
if (!s) return;
let { segment: c, kind: l, name: u } = n;
if (!a()) return;
@@ -79224,7 +79243,7 @@ async function tLe(e, t, n, r, i, a, o) {
let g = {
...h,
hosts: m,
- card: eLe(e),
+ card: $Ie(e),
resolvedEntity: o,
restoreNavigation: Cm(),
actions: {
@@ -79239,16 +79258,16 @@ async function tLe(e, t, n, r, i, a, o) {
isCurrent: a,
beforePlace: () => e.surfaceChanged("entity", r),
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
- }) && a() && v6() && (e.surfaceShown?.("entity", r), Tm(a, m.filter));
+ }) && a() && y6() && (e.surfaceShown?.("entity", r), Tm(a, m.filter));
}
-function nLe({ target: e }) {
- let t = (0, F.useContext)(XW), n = YW(), r = cf();
- return g6(n, (n, i) => {
+function tLe({ target: e }) {
+ let t = (0, F.useContext)(uG), n = lG(), r = cf();
+ return _6(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
- if (n || !v6()) {
+ if (n || !y6()) {
if (t.surfaceChanged("entity", r.pathname), await a.loading(e.kind, e.name, i), !i()) return;
- Tm(i, h6(), { pending: !0 });
+ Tm(i, g6(), { pending: !0 });
}
let o = new URLSearchParams({ kind: e.kind });
o.set(/^[0-9]+$/.test(e.name) ? "id" : "name", e.name);
@@ -79274,7 +79293,7 @@ function nLe({ target: e }) {
return;
}
let c = String(s.canonical_name || e.name), l = Pn(e.kind, c, Number(s.id));
- l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? Tm(i, h6()?.querySelector("[data-entity-filter]")) : tLe(t, a, {
+ l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? Tm(i, g6()?.querySelector("[data-entity-filter]")) : eLe(t, a, {
...e,
name: c
}, r.pathname, r.search, i, s) : Vp(l + r.search + r.hash, {
@@ -79282,16 +79301,16 @@ function nLe({ target: e }) {
state: Bp.navigation.location.state
});
})();
- }, { shown: () => v6() && !h6()?.hidden }), null;
+ }, { shown: () => y6() && !g6()?.hidden }), null;
}
-function rLe() {
- let e = $Ie(cf().pathname);
- return e ? /* @__PURE__ */ (0, I.jsx)(nLe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function nLe() {
+ let e = QIe(cf().pathname);
+ return e ? /* @__PURE__ */ (0, I.jsx)(tLe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
// src/react/router/pages/follow.tsx
-var y6 = () => document.getElementById("stats"), iLe = () => Tu;
-async function aLe(e, t) {
- let n = y6(), r = e.follow;
+var b6 = () => document.getElementById("stats"), rLe = () => Tu;
+async function iLe(e, t) {
+ let n = b6(), r = e.follow;
if (!n || !r) return;
let i = Sm("follow"), a = r.refresh(i), o = r.props();
if (xm("follow", {
@@ -79300,34 +79319,34 @@ async function aLe(e, t) {
revision: o.revision
}), a) return;
let s = H.getQueryData(ia(o.view, o.revision).queryKey) !== void 0;
- s || (e.surfaceChanged("follow", "/follow"), B2(n, r.skeleton()), Tm(t, n, { pending: !0 })), await Ep("/follow", o, {
+ s || (e.surfaceChanged("follow", "/follow"), V2(n, r.skeleton()), Tm(t, n, { pending: !0 })), await Ep("/follow", o, {
container: n,
isCurrent: t,
beforePlace: s ? () => e.surfaceChanged("follow", "/follow") : void 0
}), t() && Tm(t, n.querySelector("[data-filter-frame]"));
}
-function oLe() {
- let e = y6(), t = e ? xp(e) : null;
+function aLe() {
+ let e = b6(), t = e ? xp(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function sLe() {
- let e = (0, F.useContext)(XW);
- return g6(YW(), (t, n) => {
- e && aLe(e, n);
+function oLe() {
+ let e = (0, F.useContext)(uG);
+ return _6(lG(), (t, n) => {
+ e && iLe(e, n);
}, {
- shown: oLe,
+ shown: aLe,
onCovered: () => {
Bp.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
-function b6(e) {
+function x6(e) {
let t = e ? xp(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function cLe(e, t) {
- let n = y6();
- n && (e.surfaceChanged("playlists", "/playlists"), B2(n, R2("/playlists", {
+async function sLe(e, t) {
+ let n = b6();
+ n && (e.surfaceChanged("playlists", "/playlists"), V2(n, z2("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
@@ -79336,54 +79355,54 @@ async function cLe(e, t) {
isCurrent: t
}), t() && Tm(t));
}
-function lLe() {
- let e = (0, F.useContext)(XW), t = (0, F.useSyncExternalStore)(Au, iLe), n = (0, F.useRef)(t);
+function cLe() {
+ let e = (0, F.useContext)(uG), t = (0, F.useSyncExternalStore)(Au, rLe), n = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
if (n.current === t) return;
n.current = t;
- let e = y6();
- b6(e) && Op(e, { revision: t });
- }, [t]), g6(YW(), (t, n) => {
- e && cLe(e, n);
+ let e = b6();
+ x6(e) && Op(e, { revision: t });
+ }, [t]), _6(lG(), (t, n) => {
+ e && sLe(e, n);
}, { shown: () => {
- let e = y6();
- return b6(e) && !e.hidden;
+ let e = b6();
+ return x6(e) && !e.hidden;
} }), null;
}
// src/react/router/pages/immerse.tsx
-function uLe() {
+function lLe() {
let e = new URLSearchParams(Bp.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function dLe() {
- let e = (0, F.useContext)(XW);
- return qW(() => {
- e?.openImmerse(uLe());
+function uLe() {
+ let e = (0, F.useContext)(uG);
+ return sG(() => {
+ e?.openImmerse(lLe());
}, !0), null;
}
-function fLe() {
- return /* @__PURE__ */ (0, I.jsx)(dLe, {}, YW());
+function dLe() {
+ return /* @__PURE__ */ (0, I.jsx)(uLe, {}, lG());
}
// src/react/router/pages/managed.tsx
-var pLe = () => yu > 0, x6 = () => (0, F.useSyncExternalStore)(Au, pLe), S6 = () => Yj().value.followLayout === "table" ? "table" : "default", C6 = () => new URLSearchParams(window.location.search);
-function w6(e) {
+var fLe = () => yu > 0, S6 = () => (0, F.useSyncExternalStore)(Au, fLe), C6 = () => Yj().value.followLayout === "table" ? "table" : "default", w6 = () => new URLSearchParams(window.location.search);
+function T6(e) {
return Tn("/healthz", { signal: e.controller.signal }).catch((e) => {
if (En(e)) return null;
throw e;
});
}
-function T6(e, t) {
+function E6(e, t) {
return {
readOnly: !!e?.ledger_read_only,
readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",
writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""
};
}
-async function mLe(e, t) {
+async function pLe(e, t) {
if (e === "/jav") {
- let e = await w6(t);
+ let e = await T6(t);
return t.live ? {
- tab: iU(C6().get("tab")),
+ tab: aU(w6().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -79394,50 +79413,50 @@ async function mLe(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && Ou({ configurationRequestedSection: "网络与访问" });
- let t = C6().get("section") || gu || Lf(e);
+ let t = w6().get("section") || gu || Lf(e);
return t ? { section: t } : {};
}
if (e === "/review") {
- let e = C6().get("category") || "", n = await w6(t);
+ let e = w6().get("category") || "", n = await T6(t);
return t.live ? {
- category: wY(e) ? e : "",
- queue: DY(C6().get("queue")),
- ...T6(n, "/review")
+ category: MY(e) ? e : "",
+ queue: FY(w6().get("queue")),
+ ...E6(n, "/review")
} : null;
}
if (e === "/subscriptions") {
- let e = MZ("?" + C6().toString()), n = await w6(t);
+ let e = BZ("?" + w6().toString()), n = await T6(t);
if (!t.live) return null;
let r = Yj().value;
return {
...e,
pageSize: Number(r.followPageSize) || 20,
- layout: S6(),
- ...T6(n, "/subscriptions")
+ layout: C6(),
+ ...E6(n, "/subscriptions")
};
}
return {};
}
-async function hLe(e, t, n) {
+async function mLe(e, t, n) {
let r = Bp.navigation.seq, i = () => n.live && Bp.navigation.seq === r;
- if (e === "/jav" && iU(C6().get("tab")) === "library") {
- Bp.replace($ve(window.location.search));
+ if (e === "/jav" && aU(w6().get("tab")) === "library") {
+ Bp.replace(Zve(window.location.search));
return;
}
- if (e === "/subscriptions" && C6().get("tab") === "wants") {
+ if (e === "/subscriptions" && w6().get("tab") === "wants") {
Vp("/jav?tab=wants", { replace: !0 });
return;
}
- if (e === "/subscriptions" && C6().get("tab") === "source") {
+ if (e === "/subscriptions" && w6().get("tab") === "source") {
Vp("/settings/subscriptions", { replace: !0 });
return;
}
let a = document.getElementById("stats");
if (!a) return;
- t.surfaceChanged("management", e), B2(a, R2(e, {
- followLayout: S6(),
- followSort: C6().get("sort") || "",
- followDir: C6().get("dir") || ""
+ t.surfaceChanged("management", e), V2(a, z2(e, {
+ followLayout: C6(),
+ followSort: w6().get("sort") || "",
+ followDir: w6().get("dir") || ""
})), Tm(i, a, { pending: !0 }), e === "/taste" && (Ou({ state: {
...U,
creator: "",
@@ -79453,7 +79472,7 @@ async function hLe(e, t, n) {
q: "",
jav: ""
} }), t.clearSearch());
- let o = await mLe(e, n);
+ let o = await pLe(e, n);
if (!o) return;
let s = await Ep(e, o, {
container: a,
@@ -79469,19 +79488,19 @@ async function hLe(e, t, n) {
}) : Tm(i);
}
}
-function E6({ path: e }) {
- let t = YW();
+function D6({ path: e }) {
+ let t = lG();
cf();
let n = qf(Bp.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.useRef)(n);
n || i.current && r.current !== null || (r.current = t), i.current = n;
let a = e.startsWith("/settings/") ? "/settings/configuration" : e;
- return /* @__PURE__ */ (0, I.jsx)(gLe, {
+ return /* @__PURE__ */ (0, I.jsx)(hLe, {
path: e,
covered: r.current === null
}, `${a} ${r.current ?? "covered"}`);
}
-function gLe({ path: e, covered: t }) {
- let n = (0, F.useContext)(XW), r = x6(), i = (0, F.useRef)(null);
+function hLe({ path: e, covered: t }) {
+ let n = (0, F.useContext)(uG), r = S6(), i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
e.startsWith("/settings/") && Op(document.getElementById("stats"), { section: Lf(e) });
}, [e]), (0, F.useEffect)(() => {
@@ -79492,15 +79511,15 @@ function gLe({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && hLe(e, n, a);
+ a.live && mLe(e, n, a);
});
}, [r]), (0, F.useEffect)(() => () => {
let e = i.current;
e && (e.live = !1, e.controller.abort());
}, []), null;
}
-function _Le() {
- let e = x6(), t = (0, F.useRef)(!1);
+function gLe() {
+ let e = S6(), t = (0, F.useRef)(!1);
return (0, F.useEffect)(() => {
if (!e || t.current || qf(Bp.navigation.location.pathname)) return;
t.current = !0;
@@ -79513,24 +79532,24 @@ function _Le() {
}, [e]), null;
}
// src/react/router/route-chunk.ts
-var D6 = [], O6 = "peach.chunkReloadAt", vLe = 3e4;
-async function yLe() {
+var O6 = [], k6 = "peach.chunkReloadAt", _Le = 3e4;
+async function vLe() {
try {
- let e = Number(sessionStorage.getItem(O6) || 0);
- if (Date.now() - e < vLe || !(await fetch("/healthz", {
+ let e = Number(sessionStorage.getItem(k6) || 0);
+ if (Date.now() - e < _Le || !(await fetch("/healthz", {
cache: "no-store",
credentials: "same-origin"
})).ok) return;
- sessionStorage.setItem(O6, String(Date.now())), location.reload();
+ sessionStorage.setItem(k6, String(Date.now())), location.reload();
} catch {}
}
-function k6(e) {
+function A6(e) {
let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {
throw n = null, e;
});
- return D6.push(r), {
+ return O6.push(r), {
preload: () => r().catch(async (e) => {
- throw await yLe(), e;
+ throw await vLe(), e;
}),
get: () => {
if (!t) throw Error("页面代码还没装载");
@@ -79538,10 +79557,10 @@ function k6(e) {
}
};
}
-function bLe() {
+function yLe() {
let e = globalThis.requestIdleCallback;
if (typeof e != "function") return;
- let t = [...D6], n = () => {
+ let t = [...O6], n = () => {
let r = t.shift();
r && e(() => {
r().catch(() => {}).finally(n);
@@ -79550,31 +79569,31 @@ function bLe() {
document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });
}
// src/react/router/managed-routes.tsx
-async function A6(e, t) {
+async function j6(e, t) {
let [n, r] = await Promise.allSettled([e.preload(), t]);
if (r.status === "rejected") throw r.reason;
if (n.status === "rejected") throw n.reason;
}
-var j6 = k6(() => import("./peach-app.jav-page-DclmaMwB.js")), M6 = k6(() => import("./peach-app.stats-page-Domc7MK7.js")), N6 = k6(() => import("./peach-app.taste-page-DBsNS6-3.js")), P6 = k6(() => import("./peach-app.review-page-B1VG9j0D.js")), F6 = k6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), I6 = k6(() => import("./peach-app.duplicates-page-BHkh7UmS.js")), L6 = k6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), R6 = k6(() => import("./peach-app.scraping-page-C1N85_Sm.js")), z6 = k6(async () => {
- let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-C6CCxz0L.js"), import("./peach-app.diagnostics-page-DS1L_wLs.js")]);
+var M6 = A6(() => import("./peach-app.jav-page-srtaKuxG.js")), N6 = A6(() => import("./peach-app.stats-page-Domc7MK7.js")), P6 = A6(() => import("./peach-app.taste-page-DBsNS6-3.js")), F6 = A6(() => import("./peach-app.review-page-BehssYU2.js")), I6 = A6(() => import("./peach-app.data-cleanup-page-D6k7185j.js")), L6 = A6(() => import("./peach-app.duplicates-page-BHkh7UmS.js")), R6 = A6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), z6 = A6(() => import("./peach-app.scraping-page-D7UjTqN_.js")), B6 = A6(async () => {
+ let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-C5gjsAZP.js"), import("./peach-app.diagnostics-page-CGRTA2_Z.js")]);
return {
ConfigurationPage: e,
DiagnosticsPage: t
};
-}), B6 = k6(() => import("./peach-app.activity-page-BakH9pKt.js")), V6 = k6(() => import("./peach-app.follow-manage-page-CePb_ntJ.js")), H6 = k6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
-function xLe(e, t, n) {
+}), V6 = A6(() => import("./peach-app.activity-page-B1BhVjNb.js")), H6 = A6(() => import("./peach-app.follow-manage-page-CaCSA1uf.js")), U6 = A6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
+function bLe(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
}
let r = t.managePath(e);
- G6(r) ? n(r) : t.openManage(e);
+ K6(r) ? n(r) : t.openManage(e);
}
-var U6 = (e) => ({
- element: /* @__PURE__ */ (0, I.jsx)(E6, { path: e }),
- prefetch: (t, n) => A6(z6, Promise.all([vje(n), ...e === "/settings/diagnostics" ? [Vke(n)] : []]).then(() => {})),
+var W6 = (e) => ({
+ element: /* @__PURE__ */ (0, I.jsx)(D6, { path: e }),
+ prefetch: (t, n) => j6(B6, Promise.all([_je(n), ...e === "/settings/diagnostics" ? [Vke(n)] : []]).then(() => {})),
page: (t, n) => {
- let { ConfigurationPage: r, DiagnosticsPage: i } = z6.get();
+ let { ConfigurationPage: r, DiagnosticsPage: i } = B6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
receipt: (e) => n.receipt(e),
reopenTutorial: n.reopenTutorial,
@@ -79585,12 +79604,12 @@ var U6 = (e) => ({
})
});
}
-}), W6 = {
+}), G6 = {
...np.reduce((e, t) => (e[t.path] = {
- element: /* @__PURE__ */ (0, I.jsx)(E6, { path: t.path }),
- prefetch: (e, n) => A6(F6, uDe(t.key, n)),
+ element: /* @__PURE__ */ (0, I.jsx)(D6, { path: t.path }),
+ prefetch: (e, n) => j6(I6, uDe(t.key, n)),
page: (e, n) => {
- let { DataCleanupToolPage: r } = F6.get();
+ let { DataCleanupToolPage: r } = I6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
tool: t.key,
failure: n.failure,
@@ -79599,10 +79618,10 @@ var U6 = (e) => ({
}
}, e), {}),
"/jav": {
- element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/jav" }),
- prefetch: (e, t) => A6(j6, sbe(e.tab, t)),
+ element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/jav" }),
+ prefetch: (e, t) => j6(M6, sbe(e.tab, t)),
page: (e, t) => {
- let { JavPage: n } = j6.get();
+ let { JavPage: n } = M6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
navigate: t.navigate,
@@ -79611,10 +79630,10 @@ var U6 = (e) => ({
}
},
"/stats": {
- element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/stats" }),
- prefetch: (e, t) => A6(M6, NFe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/stats" }),
+ prefetch: (e, t) => j6(N6, MFe(t)),
page: (e, t) => {
- let { StatsPage: n } = M6.get();
+ let { StatsPage: n } = N6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
tagLabel: Ul,
onTag: t.openTag
@@ -79622,10 +79641,10 @@ var U6 = (e) => ({
}
},
"/taste": {
- element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/taste" }),
- prefetch: (e, t) => A6(N6, xIe("all", t)),
+ element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/taste" }),
+ prefetch: (e, t) => j6(P6, bIe("all", t)),
page: (e, t, n) => {
- let { TastePage: r } = N6.get();
+ let { TastePage: r } = P6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
onSignal: t.openTasteSignal,
navigate: n,
@@ -79635,10 +79654,10 @@ var U6 = (e) => ({
}
},
"/review": {
- element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/review" }),
- prefetch: (e, t) => A6(P6, $Te(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/review" }),
+ prefetch: (e, t) => j6(F6, $Te(t)),
page: (e, t) => {
- let { ReviewPage: n } = P6.get();
+ let { ReviewPage: n } = F6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
route: t.routeReview,
@@ -79650,23 +79669,23 @@ var U6 = (e) => ({
}
},
"/data-cleanup": {
- element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/data-cleanup" }),
- prefetch: (e, t) => A6(F6, lDe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/data-cleanup" }),
+ prefetch: (e, t) => j6(I6, lDe(t)),
page: (e, t, n) => {
- let { DataCleanupPage: r } = F6.get();
+ let { DataCleanupPage: r } = I6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
navigate: n,
failure: t.failure,
- open: (e) => xLe(e, t, n),
+ open: (e) => bLe(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
});
}
},
"/duplicates": {
- element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/duplicates" }),
- prefetch: (e, t) => A6(I6, hTe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/duplicates" }),
+ prefetch: (e, t) => j6(L6, hTe(t)),
page: (e, t) => {
- let { DuplicatesPage: n } = I6.get();
+ let { DuplicatesPage: n } = L6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
openItem: t.openItem,
failure: t.failure,
@@ -79675,10 +79694,10 @@ var U6 = (e) => ({
}
},
"/quality-goals": {
- element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/quality-goals" }),
- prefetch: (e, t) => A6(L6, DTe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/quality-goals" }),
+ prefetch: (e, t) => j6(R6, DTe(t)),
page: (e, t) => {
- let { QualityGoalsPage: n } = L6.get();
+ let { QualityGoalsPage: n } = R6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
openItem: t.openItem,
javTitleHtml: LI,
@@ -79689,32 +79708,32 @@ var U6 = (e) => ({
}
},
"/sources": {
- element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/sources" }),
- prefetch: (e, t) => A6(R6, aje(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/sources" }),
+ prefetch: (e, t) => j6(z6, ije(t)),
page: (e, t) => {
- let { ScrapingPage: n } = R6.get();
+ let { ScrapingPage: n } = z6.get();
return /* @__PURE__ */ (0, I.jsx)(n, { toast: (e) => t.toast(e) });
}
},
- "/settings/library": U6("/settings/library"),
- "/settings/subscriptions": U6("/settings/subscriptions"),
- "/settings/downloads": U6("/settings/downloads"),
- "/settings/network": U6("/settings/network"),
- "/settings/maintenance": U6("/settings/maintenance"),
- "/settings/diagnostics": U6("/settings/diagnostics"),
+ "/settings/library": W6("/settings/library"),
+ "/settings/subscriptions": W6("/settings/subscriptions"),
+ "/settings/downloads": W6("/settings/downloads"),
+ "/settings/network": W6("/settings/network"),
+ "/settings/maintenance": W6("/settings/maintenance"),
+ "/settings/diagnostics": W6("/settings/diagnostics"),
"/tasks": {
- element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/tasks" }),
- prefetch: (e, t) => A6(B6, jpe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/tasks" }),
+ prefetch: (e, t) => j6(V6, Ape(t)),
page: () => {
- let { ActivityPage: e } = B6.get();
+ let { ActivityPage: e } = V6.get();
return /* @__PURE__ */ (0, I.jsx)(e, {});
}
},
"/subscriptions": {
- element: /* @__PURE__ */ (0, I.jsx)(E6, { path: "/subscriptions" }),
- prefetch: (e, t) => A6(V6, zi(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(D6, { path: "/subscriptions" }),
+ prefetch: (e, t) => j6(H6, zi(t)),
page: (e, t) => {
- let { FollowManagePage: n } = V6.get();
+ let { FollowManagePage: n } = H6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
route: t.routeFollowManage,
@@ -79724,12 +79743,12 @@ var U6 = (e) => ({
});
}
}
-}, G6 = (e) => Object.hasOwn(W6, e), SLe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(_Le, {}) } }, CLe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(fLe, {}) } }, K6 = {
+}, K6 = (e) => Object.hasOwn(G6, e), xLe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(gLe, {}) } }, SLe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(dLe, {}) } }, q6 = {
"/playlists": {
- element: /* @__PURE__ */ (0, I.jsx)(lLe, {}),
- prefetch: (e, t) => A6(H6, UAe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(cLe, {}),
+ prefetch: (e, t) => j6(U6, HAe(t)),
page: (e, t) => {
- let { PlaylistsPage: n } = H6.get();
+ let { PlaylistsPage: n } = U6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
revision: e.revision,
openPlaylist: t.openPlaylist,
@@ -79740,14 +79759,14 @@ var U6 = (e) => ({
}
},
"/follow": {
- element: /* @__PURE__ */ (0, I.jsx)(sLe, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(oLe, {}),
prefetch: (e, t) => sa(e, t),
page: (e) => /* @__PURE__ */ (0, I.jsx)(vOe, { ...e })
}
-}, q6 = (e) => Object.hasOwn(K6, e), J6 = {
- element: /* @__PURE__ */ (0, I.jsx)(QIe, {}),
+}, J6 = (e) => Object.hasOwn(q6, e), Y6 = {
+ element: /* @__PURE__ */ (0, I.jsx)(ZIe, {}),
prefetch: (e, t) => jDe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, I.jsx)(tAe, {
+ page: (e, t) => /* @__PURE__ */ (0, I.jsx)(eAe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -79760,36 +79779,36 @@ var U6 = (e) => ({
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
-}, Y6 = {
- "/performers": J6,
- "/creators": J6,
- "/studios": J6,
- "/agencies": J6,
- "/tags": J6,
- "/series": J6
}, X6 = {
- element: /* @__PURE__ */ (0, I.jsx)(rLe, {}),
+ "/performers": Y6,
+ "/creators": Y6,
+ "/studios": Y6,
+ "/agencies": Y6,
+ "/tags": Y6,
+ "/series": Y6
+}, Z6 = {
+ element: /* @__PURE__ */ (0, I.jsx)(nLe, {}),
prefetch: (e) => yDe(e),
page: (e) => /* @__PURE__ */ (0, I.jsx)(Ike, { ...e })
-}, Z6 = {
- "/performers/*": X6,
- "/studios/*": X6,
- "/creators/*": X6,
- "/series/*": X6,
- "/agencies/*": X6,
- "/tags/*": X6
}, Q6 = {
+ "/performers/*": Z6,
+ "/studios/*": Z6,
+ "/creators/*": Z6,
+ "/series/*": Z6,
+ "/agencies/*": Z6,
+ "/tags/*": Z6
+}, $6 = {
"/": {
- element: /* @__PURE__ */ (0, I.jsx)(GW, {}),
- prefetch: (e, t) => nde(e, aG(), t),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(iY, { ...e })
+ element: /* @__PURE__ */ (0, I.jsx)(aG, {}),
+ prefetch: (e, t) => nde(e, yG(), t),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(fY, { ...e })
},
"/junk-files": {
- element: /* @__PURE__ */ (0, I.jsx)(GW, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(aG, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(mAe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(pAe, { ...e })
}
-}, $6 = (e) => Object.hasOwn(Q6, e), wLe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(Uve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(w$, { ...e }), e8 = {
+}, e8 = (e) => Object.hasOwn($6, e), CLe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(Vve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(T$, { ...e }), t8 = {
"catalog-filter": {
prefetch: async () => {},
page: (e) => /* @__PURE__ */ (0, I.jsx)(_xe, { ...e })
@@ -79800,13 +79819,13 @@ var U6 = (e) => ({
},
"library-processing": {
prefetch: (e, t) => nH(t),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(wLe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(CLe, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(pje, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(fje, { ...e })
}
-}, t8 = (e) => Object.hasOwn(e8, e), n8 = {
+}, n8 = (e) => Object.hasOwn(t8, e), r8 = {
"batch-dock": {
prefetch: async () => {},
page: () => /* @__PURE__ */ (0, I.jsx)(wle, {})
@@ -79825,17 +79844,17 @@ var U6 = (e) => ({
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Jje, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(qje, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(uMe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(lMe, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(jFe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(AFe, {})
}
-}, r8 = (e) => Object.hasOwn(n8, e), i8 = [
+}, i8 = (e) => Object.hasOwn(r8, e), a8 = [
"/",
"/wall",
"/unseen",
@@ -79845,99 +79864,99 @@ var U6 = (e) => ({
"/junk-files"
];
[
- ...Object.keys(W6),
- ...Object.keys(K6),
- ...Object.keys(Y6),
- ...Object.keys(Z6),
- ...i8
+ ...Object.keys(G6),
+ ...Object.keys(q6),
+ ...Object.keys(X6),
+ ...Object.keys(Q6),
+ ...a8
];
-var a8 = (e) => G6(e) || q6(e) || Object.hasOwn(Y6, e) || Object.hasOwn(Z6, e) || $6(e) || t8(e) || r8(e);
-function o8(e) {
- return G6(e) ? W6[e] : q6(e) ? K6[e] : $6(e) ? Q6[e] : t8(e) ? e8[e] : r8(e) ? n8[e] : Object.hasOwn(Y6, e) ? Y6[e] : Z6[e];
+var o8 = (e) => K6(e) || J6(e) || Object.hasOwn(X6, e) || Object.hasOwn(Q6, e) || e8(e) || n8(e) || i8(e);
+function s8(e) {
+ return K6(e) ? G6[e] : J6(e) ? q6[e] : e8(e) ? $6[e] : n8(e) ? t8[e] : i8(e) ? r8[e] : Object.hasOwn(X6, e) ? X6[e] : Q6[e];
}
-function TLe(e, t, n) {
- return a8(e) ? o8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function wLe(e, t, n) {
+ return o8(e) ? s8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function ELe(e, t, n, r) {
- return o8(e).page(t, n, r);
+function TLe(e, t, n, r) {
+ return s8(e).page(t, n, r);
}
// src/react/application-residents.ts
-var s8 = null, c8 = null, l8 = 0, u8 = /* @__PURE__ */ new Set();
-function DLe(e) {
- return s8 = e, c8 && e(c8), () => {
- s8 === e && (s8 = null);
+var c8 = null, l8 = null, u8 = 0, d8 = /* @__PURE__ */ new Set();
+function ELe(e) {
+ return c8 = e, l8 && e(l8), () => {
+ c8 === e && (c8 = null);
};
}
-function OLe(e) {
- return s8 && (c8 = e, s8(e), bp(Promise.resolve(TLe)), bLe()), Promise.resolve();
+function DLe(e) {
+ return c8 && (l8 = e, c8(e), bp(Promise.resolve(wLe)), yLe()), Promise.resolve();
}
-async function d8(e, t, n = (e) => e) {
- let r = l8;
- if (t.isConnected || u8.add(t), !await Ep(e, {}, {
+async function f8(e, t, n = (e) => e) {
+ let r = u8;
+ if (t.isConnected || d8.add(t), !await Ep(e, {}, {
container: t,
resident: !0,
- isCurrent: () => !!s8 && r === l8,
+ isCurrent: () => !!c8 && r === u8,
place: () => n(t)
- }) || r !== l8 || !s8) throw new DOMException("应用已卸载", "AbortError");
-}
-function kLe() {
- l8 += 1, s8 = null, c8 = null, f8 = null, p8 = null, g8 = null, _8 = null, y8 = null, b8 = null, S8 = null, C8 = null, T8 = null, E8 = null, O8 = null, k8 = null, j8 = null;
- for (let e of u8) e.remove();
- u8.clear(), UQ();
-}
-var f8 = null, p8 = null;
-function m8(e) {
- return f8 ??= (async () => {
- let t = AFe(e), n = document.createElement("div");
- return n.dataset.stageHost = "", await d8("stage", n, (e) => (document.body.append(e), e)), p8 = t, t;
- })(), f8;
+ }) || r !== u8 || !c8) throw new DOMException("应用已卸载", "AbortError");
+}
+function OLe() {
+ u8 += 1, c8 = null, l8 = null, p8 = null, m8 = null, _8 = null, v8 = null, b8 = null, x8 = null, C8 = null, w8 = null, E8 = null, D8 = null, k8 = null, A8 = null, M8 = null;
+ for (let e of d8) e.remove();
+ d8.clear(), GU();
+}
+var p8 = null, m8 = null;
+function h8(e) {
+ return p8 ??= (async () => {
+ let t = kFe(e), n = document.createElement("div");
+ return n.dataset.stageHost = "", await f8("stage", n, (e) => (document.body.append(e), e)), m8 = t, t;
+ })(), p8;
+}
+var g8 = () => m8, _8 = null, v8 = null;
+function kLe(e) {
+ return _8 ??= (async () => {
+ let t = ife(e), n = document.createElement("div");
+ return n.dataset.immerseHost = "", await f8("immerse", n, (e) => (document.body.append(e), e)), v8 = t, t;
+ })(), _8;
}
-var h8 = () => p8, g8 = null, _8 = null;
+var y8 = () => v8, b8 = null, x8 = null;
function ALe(e) {
- return g8 ??= (async () => {
- let t = ife(e), n = document.createElement("div");
- return n.dataset.immerseHost = "", await d8("immerse", n, (e) => (document.body.append(e), e)), _8 = t, t;
- })(), g8;
+ return b8 ??= (async () => {
+ let t = Kje(e), n = document.createElement("div");
+ return n.dataset.settingsHost = "", await f8("settings-panel", n, (e) => (document.body.append(e), e)), x8 = t, t;
+ })(), b8;
}
-var v8 = () => _8, y8 = null, b8 = null;
+var S8 = () => x8, C8 = null, w8 = null;
function jLe(e) {
- return y8 ??= (async () => {
- let t = qje(e), n = document.createElement("div");
- return n.dataset.settingsHost = "", await d8("settings-panel", n, (e) => (document.body.append(e), e)), b8 = t, t;
- })(), y8;
+ return C8 ??= (async () => {
+ let t = cMe(e);
+ return await f8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), w8 = t, t;
+ })(), C8;
}
-var x8 = () => b8, S8 = null, C8 = null;
+var T8 = () => w8, E8 = null, D8 = null;
function MLe(e) {
- return S8 ??= (async () => {
- let t = lMe(e);
- return await d8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), C8 = t, t;
- })(), S8;
-}
-var w8 = () => C8, T8 = null, E8 = null;
-function NLe(e) {
- return T8 ??= (async () => {
+ return E8 ??= (async () => {
let t = cpe(e);
- return await d8("manage-header", e.root, (e) => (e.replaceChildren(), e)), E8 = t, t;
- })(), T8;
+ return await f8("manage-header", e.root, (e) => (e.replaceChildren(), e)), D8 = t, t;
+ })(), E8;
}
-var D8 = () => E8, O8 = null, k8 = null;
-function PLe(e) {
- return O8 ??= (async () => {
+var O8 = () => D8, k8 = null, A8 = null;
+function NLe(e) {
+ return k8 ??= (async () => {
let t = Cle(e);
- return await d8("batch-dock", e.root), k8 = t, t;
- })(), O8;
+ return await f8("batch-dock", e.root), A8 = t, t;
+ })(), k8;
}
-var A8 = () => k8, j8 = null;
-function FLe(e) {
- return j8 ??= (async () => {
- aue(e), await d8("glow-picker", e.root);
- })(), j8;
+var j8 = () => A8, M8 = null;
+function PLe(e) {
+ return M8 ??= (async () => {
+ aue(e), await f8("glow-picker", e.root);
+ })(), M8;
}
-function M8(e, t, n, r) {
- WQ(e, t), GQ(n, r);
+function N8(e, t, n, r) {
+ KU(e, t), qU(n, r);
}
// src/application/receipts.js
-var N8 = {
+var P8 = {
toastBody: void 0,
toastSeq: void 0,
toast: void 0,
@@ -79946,13 +79965,13 @@ var N8 = {
rollSeed: void 0,
seededSample: void 0
};
-function ILe() {
- WQ(L("#toasts"), {
+function FLe() {
+ KU(L("#toasts"), {
success: R("check"),
error: R("circle-alert")
- }), N8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), N8.toastSeq = 0, N8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
- let a = `toast-${++N8.toastSeq}`, o = (e, t, n, r) => {
- $o(i || (t ? "error" : "success")), M8(L("#toasts"), {
+ }), P8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), P8.toastSeq = 0, P8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
+ let a = `toast-${++P8.toastSeq}`, o = (e, t, n, r) => {
+ $o(i || (t ? "error" : "success")), N8(L("#toasts"), {
success: R("check"),
error: R("circle-alert")
}, a, {
@@ -79967,10 +79986,10 @@ function ILe() {
} : null
});
};
- return o(N8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(N8.toastBody(e), t, n, null) };
- }, N8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
+ return o(P8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(P8.toastBody(e), t, n, null) };
+ }, P8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
let r = null;
- return r = N8.toast({ text: e }, {
+ return r = P8.toast({ text: e }, {
timeout: n,
action: t ? {
label: "撤销",
@@ -79983,14 +80002,14 @@ function ILe() {
}
} : null
}), r;
- }, N8.actionFailure = (e, t) => N8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), N8.rollSeed = () => ir(), N8.seededSample = (e, t, n, r = (e) => e.k) => {
+ }, P8.actionFailure = (e, t) => P8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), P8.rollSeed = () => ir(), P8.seededSample = (e, t, n, r = (e) => e.k) => {
if (e.length <= t) return e;
let i = new Set([...e].sort((e, t) => rr(n, r(e)) - rr(n, r(t))).slice(0, t).map(r));
return e.filter((e) => i.has(r(e)));
};
}
// src/react/catalog-grid/catalog-state.ts
-var LLe = [
+var ILe = [
"loc",
"creator",
"studio",
@@ -80011,10 +80030,10 @@ var LLe = [
"folder",
"folder_recursive"
];
-function P8(e, t, n, r = n.defaultSort) {
+function F8(e, t, n, r = n.defaultSort) {
return Aj(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function RLe(e, t, n) {
+function LLe(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = jn(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -80030,7 +80049,7 @@ function RLe(e, t, n) {
region: o("region") || "",
year: o("year") || "",
state: kn[r] || o("state") || "",
- ...P8(o("sort"), o("dir"), t),
+ ...F8(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
jav: o("jav") || "",
@@ -80040,18 +80059,18 @@ function RLe(e, t, n) {
folder_recursive: o("folder_recursive") === "0" ? "0" : ""
};
}
-function zLe(e, t) {
+function RLe(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function BLe(e) {
+function zLe(e) {
let t = On[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of LLe) {
+ for (let t of ILe) {
let r = e[t];
!r || t === "tag_match" && r === "all" || t === "dir" && r === Dj(e.sort ?? "") || n.set(t, r);
}
return !On[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function VLe(e, t, n) {
+function BLe(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -80077,7 +80096,7 @@ function VLe(e, t, n) {
folder_recursive: ""
};
}
-function F8(e) {
+function I8(e) {
return {
state: e,
barsContext: {
@@ -80088,7 +80107,7 @@ function F8(e) {
};
}
// src/react/catalog-grid/catalog-controller.ts
-var HLe = class {
+var VLe = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -80133,44 +80152,44 @@ var HLe = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, I8 = Infinity, L8 = 0, ULe = (e, t = L8) => [
+}, L8 = Infinity, R8 = 0, HLe = (e, t = R8) => [
"facets",
e,
t
-], WLe = (e, t, n = L8) => [
+], ULe = (e, t, n = R8) => [
"tops",
e,
t,
n
-], GLe = (e, t = L8) => [
+], WLe = (e, t = R8) => [
"tops",
e,
t
];
-async function R8(e) {
+async function z8(e) {
let t = String(e), n = await Tn(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Tn(`/api/tops?${r}`));
}
-function KLe(e, t) {
+function GLe(e, t) {
return Promise.all([H.fetchQuery({
- queryKey: ULe(e),
+ queryKey: HLe(e),
queryFn: () => Tn(`/api/facets${e ? `?${e}` : ""}`),
- staleTime: I8
+ staleTime: L8
}), H.fetchQuery({
- queryKey: WLe(t, e),
- queryFn: () => R8(t),
- staleTime: I8
+ queryKey: ULe(t, e),
+ queryFn: () => z8(t),
+ staleTime: L8
})]);
}
-function qLe(e) {
+function KLe(e) {
return H.fetchQuery({
- queryKey: GLe(e),
- queryFn: () => R8(e),
- staleTime: I8
+ queryKey: WLe(e),
+ queryFn: () => z8(e),
+ staleTime: L8
});
}
-function z8() {
- L8 += 1;
+function B8() {
+ R8 += 1;
let e = (e) => e.state.fetchStatus === "idle";
H.removeQueries({
queryKey: ["facets"],
@@ -80181,7 +80200,7 @@ function z8() {
});
}
// src/application/navigation-items.ts
-var B8 = [
+var V8 = [
[
"",
"首页",
@@ -80232,7 +80251,7 @@ var B8 = [
"管理",
"wrench"
]
-], V8 = [
+], H8 = [
[
"stats",
"统计",
@@ -80278,18 +80297,18 @@ var B8 = [
"Peach 配置",
"folder-cog"
]
-], H8 = [
+], U8 = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], JLe = (e) => V8.filter(([t]) => H8.includes(t) && (t !== "configuration" || e)), U8 = V8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], qLe = (e) => H8.filter(([t]) => U8.includes(t) && (t !== "configuration" || e)), W8 = H8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), YLe = [...B8, ...U8], XLe = {
+]]), JLe = [...V8, ...W8], YLe = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -80297,18 +80316,18 @@ var B8 = [
"follow-manage": "follow",
quality: "quality",
activity: "activity"
-}, W8 = [
+}, G8 = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
];
// src/react/index/index-controller.ts
-function G8({ kind: e, q: t, scope: n, view: r, category: i }) {
+function K8({ kind: e, q: t, scope: n, view: r, category: i }) {
let a = new URLSearchParams();
return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");
}
-function K8(e, t, n) {
+function q8(e, t, n) {
let r = e.entity_id || e.id, i = t === "studio" || t === "agency";
return {
html: vo(e.k, r ? {
@@ -80321,20 +80340,20 @@ function K8(e, t, n) {
face: bo(e.avatar_focus)
};
}
-function q8(e) {
+function J8(e) {
let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Ha({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${z(n)}</span>${r}`;
}
-function ZLe(e) {
+function XLe(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(Aa(t));
};
return {
route(t, { replace: n = !1 } = {}) {
- e.route(G8(t), n);
+ e.route(K8(t), n);
},
- personAvatar: K8,
- authorAvatar: q8,
+ personAvatar: q8,
+ authorAvatar: J8,
openFollowAuthor(n) {
t(ja(e.followView(), n));
},
@@ -80344,7 +80363,7 @@ function ZLe(e) {
};
}
// src/application/effects.ts
-var J8 = class {
+var Y8 = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -80425,12 +80444,12 @@ var J8 = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, Y8 = new J8();
-function QLe() {
- return Y8.dispose(), Y8 = new J8(), Y8;
+}, X8 = new Y8();
+function ZLe() {
+ return X8.dispose(), X8 = new Y8(), X8;
}
// src/application/source-action.ts
-function $Le(e) {
+function QLe(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -80445,36 +80464,36 @@ function $Le(e) {
};
}
// src/react/entity-page/entity-route.ts
-var X8 = () => Object.fromEntries(jX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function Z8(e, t) {
- let n = new URLSearchParams(e), r = X8();
- for (let e of jX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+var Z8 = () => Object.fromEntries(zX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+function Q8(e, t) {
+ let n = new URLSearchParams(e), r = Z8();
+ for (let e of zX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
...Aj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
-function Q8(e) {
+function $8(e) {
let t = new URLSearchParams();
- for (let n of jX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Dj(e.sort || "") || t.set(n, e[n]);
+ for (let n of zX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Dj(e.sort || "") || t.set(n, e[n]);
return t.toString();
}
-function $8(e) {
+function e5(e) {
let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");
return {
media: r === "photos" || r === "online" ? r : "videos",
set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0
};
}
-function e5(e, t) {
- let n = new URLSearchParams(Q8(e));
+function t5(e, t) {
+ let n = new URLSearchParams($8(e));
return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();
}
-function eRe(e, t, n, r) {
- let i = e5(n, r);
+function $Le(e, t, n, r) {
+ let i = t5(n, r);
return Pn(e, t) + (i ? `?${i}` : "");
}
-function tRe() {
+function eRe() {
let e = "";
return {
fresh(t, n) {
@@ -80483,22 +80502,22 @@ function tRe() {
read(t, n, r, i) {
let a = e === Pn(t, n) && !r;
e = "";
- let o = a ? X8() : { ...Z8(r, i) };
+ let o = a ? Z8() : { ...Q8(r, i) };
return t === "creator" && (o.creator = ""), {
filters: o,
media: a ? {
media: "videos",
set: 0
- } : $8(r)
+ } : e5(r)
};
}
};
}
// src/react/entity-page/photo-surface.ts
-function nRe(e, t) {
+function tRe(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function rRe(e) {
+function nRe(e) {
let t = () => {
let t = e.preferences();
for (let n of e.walls()) n.dataset.size = t.size, n.dataset.layout = "fixed", n.dataset.imagesOnly = String(t.imagesOnly);
@@ -80520,12 +80539,12 @@ function rRe(e) {
};
}
// src/react/entity-page/entity-controller.ts
-function iRe(e, t, n) {
+function rRe(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(eRe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route($Le(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -80539,7 +80558,7 @@ function iRe(e, t, n) {
if (s) return s;
let c = () => {
let n = e.context();
- return n?.kind === t && n.name === a ? n.filters : X8();
+ return n?.kind === t && n.name === a ? n.filters : Z8();
}, l = {
...n,
route: (e, n) => {
@@ -80603,7 +80622,7 @@ function iRe(e, t, n) {
};
}
// src/react/entity-page/entity-loading.ts
-function aRe(e) {
+function iRe(e) {
return async (t, n, r) => {
e.paintSkeleton(t, n), e.resetView(), e.shapesReady(t, n) || e.waitShapes().then(() => {
r() && e.syncParts(t, n);
@@ -80613,7 +80632,7 @@ function aRe(e) {
};
}
// src/react/entity-page/entity-portrait.ts
-function oRe(e, t) {
+function aRe(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? _o({
kind: e,
id: t.id,
@@ -80635,11 +80654,11 @@ function oRe(e, t) {
return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${Ha({ fallbacks: [i.avatar_fallback || ""] })}>` : "");
}
// src/react/entity-page/entity-application.ts
-function sRe(e) {
- let t = tRe(), n = {
+function oRe(e) {
+ let t = eRe(), n = {
...e.helpers,
- portraitImg: oRe
- }, r = iRe(e.controller, n, e.actions);
+ portraitImg: aRe
+ }, r = rRe(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -80648,12 +80667,12 @@ function sRe(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: aRe(e.loading),
- photos: rRe(e.photos)
+ loading: iRe(e.loading),
+ photos: nRe(e.photos)
};
}
// src/card-art/feed-identity.ts
-function cRe(e) {
+function sRe(e) {
let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {
let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${z(e.code)}" data-actor="${z(t.source_actor_id)}" data-name="${z(t.name)}"` : "", i = n ? "" : vo(t.name, t, null);
return "id" in t && t.id ? `<a class="mav"${r} href="${z(Pn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;
@@ -80661,7 +80680,7 @@ function cRe(e) {
return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;
}
// src/application/feed.js
-var t5 = {
+var n5 = {
FEED_SKELETON_CARDS: void 0,
feedNewSkeletonHtml: void 0,
entityShapes: void 0,
@@ -80677,11 +80696,11 @@ var t5 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function n5(e) {
+function r5(e) {
return e.has_cover ? Co(e, "big") : !e.cover_url || !e.code ? Pl(e) : Co(e, "big").replace(/ src="[^"]*"/, ` src="${z(po(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");
}
-function lRe(e) {
- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = n5(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? LI({
+function cRe(e) {
+ let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = r5(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? LI({
is_jav: !0,
code: e.code,
name: e.code,
@@ -80693,40 +80712,40 @@ function lRe(e) {
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${R("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${R("x")}</button>
<button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${R("check")}</button></div></div>
- <div class="meta">${cRe(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${sRe(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-function uRe() {
+function lRe() {
let e = document.getElementById("peach-entity-shape");
if (e) try {
let t = JSON.parse(e.textContent || "null");
if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;
- t5.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Un(e)}`, t.parts]));
+ n5.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Un(e)}`, t.parts]));
} catch {}
}
-async function r5() {
- let e = Y8, t = await Tn("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (t5.entityShapesComplete = !0, t5.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && a5(t.home.feed), l5(location.pathname) && o5(L("#feedNew"))), t5.entityShapes;
+async function i5() {
+ let e = X8, t = await Tn("/api/entity/shapes", { signal: e.signal }).catch(() => null);
+ return e.isActive && t && !t.error && (n5.entityShapesComplete = !0, n5.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && o5(t.home.feed), u5(location.pathname) && s5(L("#feedNew"))), n5.entityShapes;
}
-var i5 = "peach.home-feed.v1";
-function a5(e) {
+var a5 = "peach.home-feed.v1";
+function o5(e) {
X.homeHasFeed = e;
try {
- localStorage.setItem(i5, e ? "1" : "0");
+ localStorage.setItem(a5, e ? "1" : "0");
} catch {}
}
-function dRe() {
+function uRe() {
try {
- let e = localStorage.getItem(i5);
+ let e = localStorage.getItem(a5);
return e === "1" || e !== "0" && null;
} catch {
return null;
}
}
-function o5(e) {
- !e || Sp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = t5.feedNewSkeletonHtml())));
+function s5(e) {
+ !e || Sp(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = n5.feedNewSkeletonHtml())));
}
-function fRe(e, t) {
+function dRe(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Bs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -80734,55 +80753,55 @@ function fRe(e, t) {
actionHref: "/sources"
});
}
-function s5(e, t = "") {
+function c5(e, t = "") {
let n = e && !e.error && e.items || [], r = t && n.length ? `<a class="feednewall" href="${z(t)}" style="--card-ratio:${iM}"><span>查看全部新作</span>${R("chevron-right")}</a>` : "";
- return fRe(e?.cover_network, n) + `<div class="feednewrow srow">${n.map(lRe).join("")}${r}</div>`;
-}
-function c5(e) {
- e && (f9(e), Z.appSettings.feedAutoScroll && Hc(e));
+ return dRe(e?.cover_network, n) + `<div class="feednewrow srow">${n.map(cRe).join("")}${r}</div>`;
}
function l5(e) {
+ e && (p9(e), Z.appSettings.feedAutoScroll && Hc(e));
+}
+function u5(e) {
return jn(e) && e !== "/junk-files";
}
-function pRe() {
+function fRe() {
let e = L("#feedNew");
- Sp(e) ? e.hidden = X.homeHasFeed !== !0 : (o5(e), Ep("feed-new", {
+ Sp(e) ? e.hidden = X.homeHasFeed !== !0 : (s5(e), Ep("feed-new", {
host: e,
- revision: t5.feedRevision,
- helpers: t5.feedNewHelpers,
- actions: t5.feedNewActions
+ revision: n5.feedRevision,
+ helpers: n5.feedNewHelpers,
+ actions: n5.feedNewActions
}, {
container: e,
- isCurrent: () => l5(location.pathname)
+ isCurrent: () => u5(location.pathname)
}));
}
-function u5() {
+function d5() {
let e = L("#feedNew");
e.querySelectorAll(".feednewrow").forEach(Uc), e.hidden = !0;
}
-function d5() {
- t5.feedRevision += 1, Op(L("#feedNew"), { revision: t5.feedRevision }), m5({ feedRevision: t5.feedRevision });
+function f5() {
+ n5.feedRevision += 1, Op(L("#feedNew"), { revision: n5.feedRevision }), h5({ feedRevision: n5.feedRevision });
}
-function mRe() {
+function pRe() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Hc(e) : Uc(e));
}
-var f5 = 0;
-function hRe([e]) {
- let t = e.contentRect.width >= t5.HERO_WIDE_PX;
- cancelAnimationFrame(f5), f5 = requestAnimationFrame(() => {
- f5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);
+var p5 = 0;
+function mRe([e]) {
+ let t = e.contentRect.width >= n5.HERO_WIDE_PX;
+ cancelAnimationFrame(p5), p5 = requestAnimationFrame(() => {
+ p5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);
});
}
-function gRe() {
- t5.FEED_SKELETON_CARDS = 8, t5.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${iM}"></div>
+function hRe() {
+ n5.FEED_SKELETON_CARDS = 8, n5.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${iM}"></div>
<div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>
- <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(t5.FEED_SKELETON_CARDS)}</div>`, t5.entityShapes = null, t5.entityShapesComplete = !1, t5.hasEntityShape = (e, t) => t5.entityShapesComplete || !!t5.entityShapes?.has(`${e}/${Un(t)}`), t5.hasEntityPart = (e, t, n) => !!t && !!t5.entityShapes?.get(`${e}/${Un(t)}`)?.includes(n), t5.feedNewSkeletonSection = () => `<section class="feednew">${t5.feedNewSkeletonHtml()}</section>`, t5.COSTAR_SKELETON_PEOPLE = 12, t5.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>&#8203;</span></button>".repeat(t5.COSTAR_SKELETON_PEOPLE)}</div></div>`, t5.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, t5.feedRevision = 0, t5.feedNewHelpers = {
- feedRowHtml: s5,
- wireFeedRow: (e) => c5(e)
- }, t5.feedNewActions = { settled: (e) => a5(e) }, t5.HERO_WIDE_PX = 900, Y8.resize(hRe).observe(L("#index"));
+ <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(n5.FEED_SKELETON_CARDS)}</div>`, n5.entityShapes = null, n5.entityShapesComplete = !1, n5.hasEntityShape = (e, t) => n5.entityShapesComplete || !!n5.entityShapes?.has(`${e}/${Un(t)}`), n5.hasEntityPart = (e, t, n) => !!t && !!n5.entityShapes?.get(`${e}/${Un(t)}`)?.includes(n), n5.feedNewSkeletonSection = () => `<section class="feednew">${n5.feedNewSkeletonHtml()}</section>`, n5.COSTAR_SKELETON_PEOPLE = 12, n5.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>&#8203;</span></button>".repeat(n5.COSTAR_SKELETON_PEOPLE)}</div></div>`, n5.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, n5.feedRevision = 0, n5.feedNewHelpers = {
+ feedRowHtml: c5,
+ wireFeedRow: (e) => l5(e)
+ }, n5.feedNewActions = { settled: (e) => o5(e) }, n5.HERO_WIDE_PX = 900, X8.resize(mRe).observe(L("#index"));
}
// src/entity-skeleton.ts
-function _Re(e, t, n, r = "") {
+function gRe(e, t, n, r = "") {
let i = e === "studio" || e === "agency", a = new URLSearchParams(location.search), o = a.get("browse") === "folders" || a.get("folder") ? `<div class="peach-react entity-folder-workspace" data-folder-workspace data-folder-browse><aside data-folder-tree-host><div class="flex flex-col gap-3"><span class="skeleton ui-configuration-skeleton-input"></span>${"<span class=\"skeleton\" style=\"width:75%;height:32px\"></span>".repeat(8)}</div></aside><div class="min-w-0"><div data-folder-header-host><span class="skeleton" style="width:160px;height:32px"></span></div>${n}</div></div>` : n;
return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料">
<span class="sr-only">正在读取资料</span><div aria-hidden="true" inert><div class="peach-react contents">
@@ -80821,16 +80840,16 @@ var Y = {
sourceToolButtons: void 0,
application: void 0
};
-function p5() {
+function m5() {
let e = xp(L("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
-function m5(e) {
+function h5(e) {
Y.entityPageCurrent() && Op(L("#index"), e);
}
-function h5() {
+function g5() {
if (eu.type === "item") return eu;
- let e = p5();
+ let e = m5();
if (e) {
let { kind: t, name: n, filters: r } = e.props;
return {
@@ -80842,8 +80861,8 @@ function h5() {
}
return eu;
}
-function g5(e, t, n = p7()) {
- return uze(n).map(([n, r]) => {
+function _5(e, t, n = m7()) {
+ return lze(n).map(([n, r]) => {
let i = e === n, a = Oj(n, e, t);
return {
key: n,
@@ -80854,11 +80873,11 @@ function g5(e, t, n = p7()) {
};
});
}
-function _5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
+function v5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
return Y.application.route(e, t, n, r, i);
}
-function v5() {
- return nRe({
+function y5() {
+ return tRe({
entityWall: Y.entityPageWall,
entityCurrent: Y.entityPageCurrent(),
indexVisible: !L("#index").hidden,
@@ -80867,37 +80886,37 @@ function v5() {
statsVisible: !L("#stats").hidden
}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));
}
-function y5() {
+function b5() {
Y.photos.sync();
}
-function b5() {
- v5() ? Qle(uM()) : CM();
+function x5() {
+ y5() ? Qle(uM()) : CM();
}
-function vRe(e) {
+function _Re(e) {
Y.photos.setSize(e);
}
-var x5 = $Le({
+var S5 = QLe({
request: (e) => Tn("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
}),
- success: () => N8.toast({ text: "已在资源管理器中显示" }),
+ success: () => P8.toast({ text: "已在资源管理器中显示" }),
failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))
});
-async function S5(e) {
+async function C5(e) {
let t = { textContent: "" };
- return await x5(e, t), t.textContent;
+ return await S5(e, t), t.textContent;
}
-async function yRe(e) {
+async function vRe(e) {
let t = { textContent: "" }, n = [];
- return await C5(e, t, (e) => {
+ return await w5(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
}), {
text: t.textContent,
removed: n
};
}
-async function C5(e, t, n) {
+async function w5(e, t, n) {
t.textContent = "正在核对目录…";
try {
let r = await Tn("/api/purge-missing", {
@@ -80910,7 +80929,7 @@ async function C5(e, t, n) {
}
if (t.textContent = r.removed ? `${Y.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {
let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);
- n && n(r), N8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
+ n && n(r), P8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
await Tn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -80922,22 +80941,22 @@ async function C5(e, t, n) {
restored: e.length
});
} : null });
- } else N8.actionReceipt("目录核对完成,无需改动");
+ } else P8.actionReceipt("目录核对完成,无需改动");
} catch (e) {
- t.textContent = Y.sourceHint(e.message), N8.actionFailure("核对目录", e);
+ t.textContent = Y.sourceHint(e.message), P8.actionFailure("核对目录", e);
}
}
-function bRe(e) {
+function yRe(e) {
return `<div class="srctools">${Y.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function xRe(e, t) {
+function bRe(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
- r && Y8.handler(r, "onclick", () => x5(Number(r.dataset.reveal), n, { button: r })), i && Y8.handler(i, "onclick", () => C5(Number(i.dataset.sync), n, t));
+ r && X8.handler(r, "onclick", () => S5(Number(r.dataset.reveal), n, { button: r })), i && X8.handler(i, "onclick", () => w5(Number(i.dataset.sync), n, t));
}
-async function SRe(e, t) {
+async function xRe(e, t) {
let n = ll({
title: "添加别名",
description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",
@@ -80949,9 +80968,9 @@ async function SRe(e, t) {
confirmDisabled: !0,
onConfirm: () => t({ alias: r.value.trim() })
}), r = n.dialog.querySelector("[name=alias]");
- Y8.handler(r, "oninput", () => {
+ X8.handler(r, "oninput", () => {
n.confirmButton.disabled = !r.value.trim();
- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => Y8.handler(e, "onclick", async () => {
+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => X8.handler(e, "onclick", async () => {
let r = e.dataset.aliasDrop;
n.close();
try {
@@ -80960,53 +80979,53 @@ async function SRe(e, t) {
remove: !0
});
} catch (e) {
- N8.actionFailure("撤销别名", e);
+ P8.actionFailure("撤销别名", e);
return;
}
- N8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
+ P8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
await t({ alias: r });
} });
}));
let { confirmed: i, result: a } = await n.done;
- i && (a?.added ? N8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
+ i && (a?.added ? P8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
await t({
alias: a.alias,
remove: !0
});
- } }) : N8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
+ } }) : P8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
}
-function w5(e, t) {
- let n = ["performer", "studio"].includes(e) && t5.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Ds()}${e === "agency" ? "" : R0(g5(U.sort, U.dir, n), n ? {
+function T5(e, t) {
+ let n = ["performer", "studio"].includes(e) && n5.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${Ds()}${e === "agency" ? "" : z0(_5(U.sort, U.dir, n), n ? {
name: "jav-layout",
label: "JAV 卡片版式",
value: oM(),
options: tM
- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${I0}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${I0}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${I0}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = _Re(e, r, e === "agency" ? cc({
+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${L0}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${L0}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${L0}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = gRe(e, r, e === "agency" ? cc({
kind: "performers",
- layout: B5.peopleIndexLayout()
- }) : RJ("正在读取作品", mM(pM({
+ layout: V5.peopleIndexLayout()
+ }) : XJ("正在读取作品", mM(pM({
active: n,
home: !1,
portrait: !1
}))), i);
- L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? T5(e, t) : (L("#index").innerHTML = a, T5(e, t), hc(L("#index")));
+ L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? E5(e, t) : (L("#index").innerHTML = a, E5(e, t), hc(L("#index")));
}
-function T5(e, t) {
+function E5(e, t) {
let n = L("#index").firstElementChild;
if (n?.dataset.skeleton !== `entity/${e}`) return;
let r = (e, t, n) => {
t && !e ? n() : !t && e && e.remove();
};
- r(n.querySelector(".entityfoot"), e !== "agency" && t5.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", t5.costarSkeletonFoot())), r(n.querySelector(".feednew"), t5.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", t5.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && t5.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", t5.factsSkeleton()));
+ r(n.querySelector(".entityfoot"), e !== "agency" && n5.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", n5.costarSkeletonFoot())), r(n.querySelector(".feednew"), n5.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", n5.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && n5.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", n5.factsSkeleton()));
}
-function E5(e) {
- let t = Mn[e] || e, n = u6[t] || "条目", r = u6[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
+function D5(e) {
+ let t = Mn[e] || e, n = d6[t] || "条目", r = d6[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
-function D5(e, t) {
+function O5(e, t) {
O9(Y.application.fresh(e, t));
}
-function CRe() {
+function SRe() {
Y.ENTITY_FILTER_KEYS = [
"loc",
"creator",
@@ -81018,40 +81037,40 @@ function CRe() {
"year",
"sort",
"dir"
- ], Y.emptyEntityFilters = X8, Y.parseEntityFilters = (e) => Z8(e, {
+ ], Y.emptyEntityFilters = Z8, Y.parseEntityFilters = (e) => Q8(e, {
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
- }), Y.entityFilterSearch = Q8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
+ }), Y.entityFilterSearch = $8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
...e,
filters: { ...e.filters }
} : e, Y.activeFilterState = () => {
- let e = h5();
+ let e = g5();
return e.type === "home" ? U : e.filters;
}, L("#q").value = U.q, X.rememberSearchValue();
}
-function wRe() {
- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!p5(), Y.entityPageLive = (e, t) => {
- let n = p5();
+function CRe() {
+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!m5(), Y.entityPageLive = (e, t) => {
+ let n = m5();
return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;
}, Y.EMPTY_ENTITY_MEDIA = {
media: "videos",
set: 0
- }, Y.parseMediaView = $8, Y.entityViewSearch = e5, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => n9(), Y.entityPageHelpers = {
+ }, Y.parseMediaView = e5, Y.entityViewSearch = t5, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => r9(), Y.entityPageHelpers = {
wireDrag: (e) => {
- e && f9(e);
+ e && p9(e);
},
wireScroller: (e) => {
e && Mc(e);
},
- wireFeedRow: (e) => c5(e),
- feedRowHtml: s5,
- receipt: (e, t) => N8.actionReceipt(e, t),
- failure: (e, t) => N8.actionFailure(e, t),
- aliasForm: (e, t) => SRe(e, t),
- sourceToolsHtml: (e) => bRe(e),
- wireSourceTools: (e, t) => xRe(e, t),
- comboItems: (e) => G7(e),
- sortKeys: (e, t, n) => g5(e, t, n)
+ wireFeedRow: (e) => l5(e),
+ feedRowHtml: c5,
+ receipt: (e, t) => P8.actionReceipt(e, t),
+ failure: (e, t) => P8.actionFailure(e, t),
+ aliasForm: (e, t) => xRe(e, t),
+ sourceToolsHtml: (e) => yRe(e),
+ wireSourceTools: (e, t) => bRe(e, t),
+ comboItems: (e) => K7(e),
+ sortKeys: (e, t, n) => _5(e, t, n)
}, Y.entityFollowActions = {
...$.followFeedActions,
route: () => {},
@@ -81074,11 +81093,11 @@ function wRe() {
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${R("folder-sync")}</button>`;
}
-function TRe() {
- Y.application = sRe({
+function wRe() {
+ Y.application = oRe({
controller: {
context: () => {
- let e = h5();
+ let e = g5();
return e.type === "entity" ? e : null;
},
live: (e, t) => Y.entityPageLive(e, t),
@@ -81090,14 +81109,14 @@ function TRe() {
filters: U
} }),
releaseBodyPreviews: () => zl(L("#index [data-entity-body]")),
- push: m5,
+ push: h5,
state: () => ({
seed: String(U.seed || ""),
jav: U.jav === "1"
}),
preferences: () => ({
revision: Y.entityPageRevision,
- feedRevision: t5.feedRevision,
+ feedRevision: n5.feedRevision,
photoSize: uM(),
photoLayout: dM(),
photoLayouts: rM,
@@ -81105,13 +81124,13 @@ function TRe() {
javLayout: oM(),
javLayouts: tM,
states: X.VIEW_PILLS,
- peopleLayout: B5.peopleIndexLayout(),
- layout: t9(),
+ peopleLayout: V5.peopleIndexLayout(),
+ layout: n9(),
selectMode: iu,
selected: new Set(nu),
seekSeconds: Z.appSettings.seekSeconds,
groupCollapse: Z.appSettings.groupCollapse,
- wireDrag: f9,
+ wireDrag: p9,
skeletonHtml: Y.entityBodySkeleton,
canLoadMore: Y.entityBodyCanLoadMore,
follow: {
@@ -81119,35 +81138,35 @@ function TRe() {
actions: Y.entityFollowActions
}
}),
- changeFilter: M7,
- rollSeed: () => N8.rollSeed(),
+ changeFilter: N7,
+ rollSeed: () => P8.rollSeed(),
writeSeed: (e) => {
U.seed = e, ku();
},
- setJavLayout: g7,
+ setJavLayout: _7,
javLayout: oM,
setPhotoLayout: gM,
- syncPhotoWalls: y5,
- openEntity: D5,
- photoViewActive: v5,
+ syncPhotoWalls: b5,
+ openEntity: O5,
+ photoViewActive: y5,
recordPainted: (e, t) => {
Y.entityPageView = e, Y.entityPageWall = t;
},
- syncDensity: b5,
- scheduleSticky: C7,
+ syncDensity: x5,
+ scheduleSticky: w7,
releasePage: () => kp(L("#index")),
- showMissing: E5,
- dropBars: z8
+ showMissing: D5,
+ dropBars: B8
},
loading: {
- shapesReady: (e, t) => t5.hasEntityShape(e, t),
- waitShapes: q5,
- paintSkeleton: w5,
+ shapesReady: (e, t) => n5.hasEntityShape(e, t),
+ waitShapes: J5,
+ paintSkeleton: T5,
resetView: () => {
Ou({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;
},
- loadShapes: r5,
- syncParts: T5
+ loadShapes: i5,
+ syncParts: E5
},
photos: {
preferences: () => ({
@@ -81156,15 +81175,15 @@ function TRe() {
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
- pushEntity: m5,
+ pushEntity: h5,
pushFollow: N9,
- syncDensity: b5,
+ syncDensity: x5,
storeSize: Xle
},
helpers: Y.entityPageHelpers,
actions: {
- toggleTag: W7,
- openFollowAuthor: U5,
+ toggleTag: G7,
+ openFollowAuthor: W5,
javContext: (e) => Ou({ entityJavLayout: !!e })
},
sortPreference: () => ({
@@ -81174,8 +81193,8 @@ function TRe() {
}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;
}
// src/application/playlists.js
-var O5 = { playlistWrite: void 0 };
-function ERe(e, t) {
+var k5 = { playlistWrite: void 0 };
+function TRe(e, t) {
e === "tag" ? (Ou({ state: {
...U,
tag: t,
@@ -81185,17 +81204,17 @@ function ERe(e, t) {
q: "",
state: "",
orient: ""
- } }), X.clearSearchField(), Q.route(T7()), Q5(), H7()) : D5(e, t);
+ } }), X.clearSearchField(), Q.route(E7()), $5(), U7()) : O5(e, t);
}
-function k5(e = "") {
+function A5(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;
}
-async function DRe({ title: e, count: t, save: n }) {
+async function ERe({ title: e, count: t, save: n }) {
let r = ll({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: k5(e),
+ body: A5(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -81205,28 +81224,28 @@ async function DRe({ title: e, count: t, save: n }) {
});
r.dialog.querySelector("[name=\"name\"]").select();
let { confirmed: i, result: a } = await r.done;
- i && (await v9(a.id, a.current_asset_id, !0), N8.actionReceipt("已保存为播放列表", { undo: async () => {
- await O5.playlistWrite({
+ i && (await y9(a.id, a.current_asset_id, !0), P8.actionReceipt("已保存为播放列表", { undo: async () => {
+ await k5.playlistWrite({
action: "delete",
id: a.id
}), O9("/playlists");
} }));
}
-async function ORe(e) {
+async function DRe(e) {
let t = ((await Tn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${qs(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = ll({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: k5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Bs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: A5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Bs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
confirmLabel: "保存",
confirmDisabled: !0,
onConfirm: async () => {
- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await O5.playlistWrite({
+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await k5.playlistWrite({
action: "create",
name: t,
asset_ids: [e.id]
})).playlist : null;
- for (let t of r) await O5.playlistWrite({
+ for (let t of r) await k5.playlistWrite({
action: "add",
id: t,
asset_ids: [e.id]
@@ -81240,46 +81259,46 @@ async function ORe(e) {
let e = n.dialog.querySelector("[name=\"name\"]").value.trim();
n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");
};
- Y8.listen(n.dialog, "input", r), Y8.listen(n.dialog, "change", r);
+ X8.listen(n.dialog, "input", r), X8.listen(n.dialog, "change", r);
let { confirmed: i, result: a } = await n.done;
if (!i) return;
let o = +!!a.created + a.added.length;
- N8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
- for (let t of a.added) await O5.playlistWrite({
+ P8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
+ for (let t of a.added) await k5.playlistWrite({
action: "remove",
id: t,
asset_id: e.id
});
- a.created && await O5.playlistWrite({
+ a.created && await k5.playlistWrite({
action: "delete",
id: a.created.id
});
} });
}
-function A5() {
- zl(), g9(!1), Z5();
+function j5() {
+ zl(), _9(!1), Q5();
let e = xp(L("#stats"));
- e?.path !== "/playlists" || !e.host.isConnected ? Ou({ pageOpens: yu + 1 }) : (X5({ manage: !1 }), Ou({ playlistsRevision: Tu + 1 }));
+ e?.path !== "/playlists" || !e.host.isConnected ? Ou({ pageOpens: yu + 1 }) : (Z5({ manage: !1 }), Ou({ playlistsRevision: Tu + 1 }));
}
-function kRe(e) {
+function ORe(e) {
let t = new URLSearchParams(location.search);
for (let n of ["category", "queue"]) e[n] ? t.set(n, e[n]) : t.delete(n);
Q.route("/review" + (t.size ? "?" + t : ""));
}
-function j5(e) {
+function M5(e) {
Ou({ configurationRequestedSection: e }), Q.navigatePath(Vf(e));
}
-function ARe() {
- O5.playlistWrite = (e) => Tn("/api/playlist", {
+function kRe() {
+ k5.playlistWrite = (e) => Tn("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
});
}
// src/react/catalog-grid/selection-controller.ts
-function M5(e) {
+function N5(e) {
return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";
}
-function N5(e, t, n, r, i = !1) {
+function P5(e, t, n, r, i = !1) {
return i && (e.selected.clear(), e.followSelected.clear()), {
selectMode: r,
selectSurface: r ? t.selectMode ? t.selectSurface : n : "",
@@ -81287,23 +81306,23 @@ function N5(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function P5(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = xY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+function F5(e, t, n, r, i, a = !1) {
+ let o = n === "follow", s = kY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
- ...N5(e, t, n, !0),
+ ...P5(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function jRe(e, t, n, r) {
- let i = M5(t);
+function ARe(e, t, n, r) {
+ let i = N5(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: MU(n).view === "dismissed"
+ junkDismissed: NU(n).view === "dismissed"
};
}
// src/application/selection.js
-var F5 = {
+var I5 = {
batchDockProps: void 0,
trashCount: void 0,
currentSelectSurface: void 0,
@@ -81311,43 +81330,43 @@ var F5 = {
BATCH_RUNNERS: void 0,
coverRecheck: void 0
};
-function I5() {
- $7({
+function L5() {
+ e9({
selected: new Set(nu),
selectMode: iu
- }), m5({
+ }), h5({
selected: new Set(nu),
selectMode: iu
}), N9({
selected: new Set(ru),
selectMode: iu
- }), F5.batchDockProps = VRe(), A8() && (A8().render(F5.batchDockProps), Z.syncGlassOptics());
+ }), I5.batchDockProps = BRe(), j8() && (j8().render(I5.batchDockProps), Z.syncGlassOptics());
}
-function L5(e, t = !1) {
- Ou(N5({
+function R5(e, t = !1) {
+ Ou(P5({
selected: nu,
followSelected: ru
- }, z5(), M5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", iu), iu && zl(), L("#selectMode").setAttribute("aria-pressed", String(iu)), I5();
+ }, B5(), N5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", iu), iu && zl(), L("#selectMode").setAttribute("aria-pressed", String(iu)), L5();
}
-function MRe() {
- return [...W5.gridCards()].map((e) => +e.dataset.id);
+function jRe() {
+ return [...G5.gridCards()].map((e) => +e.dataset.id);
}
-function R5(e, t = !1) {
- Ou(P5({
+function z5(e, t = !1) {
+ Ou(F5({
selected: nu,
followSelected: ru
- }, z5(), M5(location.pathname), MRe(), e, t)), L5(!0);
+ }, B5(), N5(location.pathname), jRe(), e, t)), R5(!0);
}
-function NRe() {
+function MRe() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function PRe(e, t = !1) {
- Ou(P5({
+function NRe(e, t = !1) {
+ Ou(F5({
selected: nu,
followSelected: ru
- }, z5(), "follow", NRe(), e, t)), L5(!0);
+ }, B5(), "follow", MRe(), e, t)), R5(!0);
}
-async function FRe(e, t) {
+async function PRe(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -81379,9 +81398,9 @@ async function FRe(e, t) {
})
});
if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- L5(!1, !0), await v7();
+ R5(!1, !0), await y7();
let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;
- N8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
+ P8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
if (r === "dispose" && t.restored_reasons) for (let e of [
null,
"manual",
@@ -81406,23 +81425,23 @@ async function FRe(e, t) {
operation: r
})
});
- await v7();
+ await y7();
} : null });
} catch (e) {
throw Qc(t, !1), e;
} finally {
- Qc(t, !1), I5();
+ Qc(t, !1), L5();
}
}
});
}
-async function IRe() {
+async function FRe() {
let e = [...nu];
if (!e.length) return;
let t = ll({
title: "判定产地",
description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,
- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + F5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + I5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
<span class="chip-label">${t}</span></button>`).join("") + "</div>",
confirmLabel: "判定产地",
confirmDisabled: !0,
@@ -81442,13 +81461,13 @@ async function IRe() {
};
}
});
- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => Y8.handler(e, "onclick", () => {
+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => X8.handler(e, "onclick", () => {
t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;
}));
let { confirmed: n, result: r } = await t.done;
- n && (L5(!1, !0), await v7(), N8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
+ n && (R5(!1, !0), await y7(), P8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function LRe(e, t) {
+async function IRe(e, t) {
let n = [...ru];
if (!n.length) return;
let r = {
@@ -81474,16 +81493,16 @@ async function LRe(e, t) {
items: n,
to: e
})
- }), L5(!1, !0), location.pathname === "/follow" && Ou({ pageOpens: yu + 1 }), N8.actionReceipt(`已${r[e]} ${n.length} 项`);
+ }), R5(!1, !0), location.pathname === "/follow" && Ou({ pageOpens: yu + 1 }), P8.actionReceipt(`已${r[e]} ${n.length} 项`);
} catch (e) {
throw Qc(t, !1), e;
} finally {
- Qc(t, !1), I5();
+ Qc(t, !1), L5();
}
}
});
}
-async function RRe(e, t) {
+async function LRe(e, t) {
let n = [...nu];
if (!n.length) return;
let r = {
@@ -81510,68 +81529,68 @@ async function RRe(e, t) {
operation: e,
...e === "dispose" ? { disposal_reason: "junk" } : {}
})
- }), L5(!1, !0), await q7();
+ }), R5(!1, !0), await J7();
let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;
- N8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
+ P8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
await Tn("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: t
})
- }), await q7();
+ }), await J7();
} : null });
} catch (e) {
throw Qc(t, !1), e;
} finally {
- Qc(t, !1), I5();
+ Qc(t, !1), L5();
}
}
});
}
-function zRe() {
- PLe({
+function RRe() {
+ NLe({
root: L("[data-batch-dock]"),
run: (e, t, n) => {
- F5.BATCH_RUNNERS[e]?.(t, n);
+ I5.BATCH_RUNNERS[e]?.(t, n);
}
}).then((e) => {
- e.render(F5.batchDockProps), Z.syncGlassOptics();
+ e.render(I5.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function BRe() {
- F5.batchDockProps = {
+function zRe() {
+ I5.batchDockProps = {
count: 0,
context: "catalog",
junkDismissed: !1
- }, F5.trashCount = null, F5.currentSelectSurface = () => M5(location.pathname), Y8.handler(L("#selectMode"), "onclick", () => L5(!iu, !!iu)), F5.REGION_CHOICES = [
+ }, I5.trashCount = null, I5.currentSelectSurface = () => N5(location.pathname), X8.handler(L("#selectMode"), "onclick", () => R5(!iu, !!iu)), I5.REGION_CHOICES = [
["jp", "日本"],
["kr", "韩国"],
["cn", "国产"],
["west", "欧美"],
["other", "其他"],
["none", "撤回判定"]
- ], F5.BATCH_RUNNERS = {
- batch: FRe,
- region: IRe,
- follow: LRe,
- junk: RRe,
- clear: () => L5(!1, !0)
- }, Y8.handler(L("#density"), "onclick", () => {
- v5() ? vRe(uM() === "big" ? "small" : "big") : Zle();
+ ], I5.BATCH_RUNNERS = {
+ batch: PRe,
+ region: FRe,
+ follow: IRe,
+ junk: LRe,
+ clear: () => R5(!1, !0)
+ }, X8.handler(L("#density"), "onclick", () => {
+ y5() ? _Re(uM() === "big" ? "small" : "big") : Zle();
}), CM(), Ll({
selecting: () => iu,
- censored: () => c9(),
+ censored: () => l9(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
- }), Y8.listen(window, "pagehide", () => zl()), Y8.listen(document, "visibilitychange", () => {
+ }), X8.listen(window, "pagehide", () => zl()), X8.listen(document, "visibilitychange", () => {
document.hidden && zl();
- }), Al(), F5.coverRecheck = 0, Y8.listen(window, "resize", () => {
- Dl(L("#index")), clearTimeout(F5.coverRecheck), F5.coverRecheck = Y8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {
+ }), Al(), I5.coverRecheck = 0, X8.listen(window, "resize", () => {
+ Dl(L("#index")), clearTimeout(I5.coverRecheck), I5.coverRecheck = X8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {
e.complete && vl(e);
}), 200);
}, { passive: !0 });
}
-function z5() {
+function B5() {
return {
selectMode: iu,
selectSurface: su,
@@ -81579,62 +81598,62 @@ function z5() {
followLastSelectedId: ou
};
}
-function VRe() {
- return jRe({
+function BRe() {
+ return ARe({
selected: nu,
followSelected: ru
}, location.pathname, location.search, U.state);
}
// src/application/index.js
-var B5 = {
+var V5 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function HRe() {
+function VRe() {
return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function URe() {
- return MZ(location.search);
+function HRe() {
+ return BZ(location.search);
+}
+function URe(e) {
+ return VZ(e);
}
function WRe(e) {
- return NZ(e);
-}
-function GRe(e) {
- Q.route(WRe(e));
+ Q.route(URe(e));
}
-function KRe(e = "") {
- return PZ(location.search, e);
+function GRe(e = "") {
+ return HZ(location.search, e);
}
-function qRe(e) {
- return q8(e);
+function KRe(e) {
+ return J8(e);
}
-function V5(e) {
- return G8(e);
+function H5(e) {
+ return K8(e);
}
-function H5() {
- L("#stats").hidden = !0, L("#index").hidden = !1, Y7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;
+function U5() {
+ L("#stats").hidden = !0, L("#index").hidden = !1, X7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;
}
-function JRe(e, t) {
+function qRe(e, t) {
Ou({ state: {
...U,
state: "",
tag: e.join(","),
tag_match: t
- } }), L5(!1, !1), Q.route(T7()), Q5(), w9(), H7();
+ } }), R5(!1, !1), Q.route(E7()), $5(), w9(), U7();
}
-function U5(e) {
- B5.controller.openFollowAuthor(e);
+function W5(e) {
+ V5.controller.openFollowAuthor(e);
}
-function YRe(e) {
- B5.controller.openFollowTag(e);
+function JRe(e) {
+ V5.controller.openFollowTag(e);
}
-function XRe() {
- $.FOLLOW_MANAGE_TABS = jZ, Y8.listen(document, "click", (e) => {
- e.target.closest?.("[data-empty-settings]") && j5("媒体库与入库");
- }), B5.peopleIndexLayout = () => d6(Z.appSettings.peopleLayout), B5.personAvatar = K8;
+function YRe() {
+ $.FOLLOW_MANAGE_TABS = zZ, X8.listen(document, "click", (e) => {
+ e.target.closest?.("[data-empty-settings]") && M5("媒体库与入库");
+ }), V5.peopleIndexLayout = () => f6(Z.appSettings.peopleLayout), V5.personAvatar = q8;
}
-function ZRe() {
- B5.controller = ZLe({
+function XRe() {
+ V5.controller = XLe({
route: Q.route,
followView: A9,
adoptFollowView: j9,
@@ -81645,7 +81664,7 @@ function ZRe() {
});
}
// src/application/loading.js
-var W5 = {
+var G5 = {
setGridCards: void 0,
gridCards: void 0,
managementPlaceholder: void 0,
@@ -81654,54 +81673,54 @@ var W5 = {
ENTITY_SHAPES_WAIT: void 0,
syncPageTitle: void 0
};
-function G5(e = "正在读取作品") {
+function K5(e = "正在读取作品") {
if (location.pathname === "/wall") {
L("#loadSentinel").hidden = !0;
return;
}
let t = L("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";
- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = Mye(MU(location.search)), hc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && P7({
+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = Aye(NU(location.search)), hc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && F7({
count: null,
- ...L7()
- })), L("#loadSentinel").hidden = !0, Q7()) return;
- let r = L("#grid"), i = n9(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== z2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== r9()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : W5.setGridCards(i), hc(L("#grid")));
-}
-function K5() {
- L("#catalogFilter").style.display = "none", N7();
+ ...R7()
+ })), L("#loadSentinel").hidden = !0, $7()) return;
+ let r = L("#grid"), i = r9(e), a = r.querySelector(".catalog-skeleton");
+ (a?.dataset.skeleton !== B2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== i9()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : G5.setGridCards(i), hc(L("#grid")));
}
function q5() {
+ L("#catalogFilter").style.display = "none", P7();
+}
+function J5() {
let e = new Promise((e) => {
- let t = W5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
+ let t = G5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
let i = performance.now();
- t -= Math.min(i - n, 50), n = i, t > 0 ? Y8.delay(r, Math.min(t, 50)) : e();
+ t -= Math.min(i - n, 50), n = i, t > 0 ? X8.delay(r, Math.min(t, 50)) : e();
};
- Y8.delay(r, 50);
+ X8.delay(r, 50);
});
- return Promise.race([W5.entityShapesReady ||= r5(), e]);
+ return Promise.race([G5.entityShapesReady ||= i5(), e]);
}
-function QRe() {
+function ZRe() {
let e = decodeURIComponent(location.pathname);
- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), K5(), Sbe();
- else if (/^\/assets\/\d+$/.test(e)) K5();
- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) K5();
- else if (e === "/junk-files") G5("正在读取垃圾文件");
- else if (e === "/jav" && iU(new URLSearchParams(location.search).get("tab")) === "library") G5("正在读取馆藏");
+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), q5(), Sbe();
+ else if (/^\/assets\/\d+$/.test(e)) q5();
+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) q5();
+ else if (e === "/junk-files") K5("正在读取垃圾文件");
+ else if (e === "/jav" && aU(new URLSearchParams(location.search).get("tab")) === "library") K5("正在读取馆藏");
else if (Q.managedPagePath(e)) {
- K5();
+ q5();
let t = L("#stats");
- t.hidden = !1, Y7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : W5.managementPlaceholder(e), hc(t);
- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) K5(), H5(), m6(L("#index"), f6(e.slice(1), location.search), B5.peopleIndexLayout());
+ t.hidden = !1, X7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : G5.managementPlaceholder(e), hc(t);
+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) q5(), U5(), h6(L("#index"), p6(e.slice(1), location.search), V5.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {
- K5(), L("#index").hidden = !1, Y7();
+ q5(), L("#index").hidden = !1, X7();
let t = Nn[e.split("/")[1]], n = e.split("/").slice(2).join("/");
- (t5.hasEntityShape(t, n) ? Promise.resolve() : q5()).then(() => {
- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (w5(t, n), hc(L("#index")));
+ (n5.hasEntityShape(t, n) ? Promise.resolve() : J5()).then(() => {
+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (T5(t, n), hc(L("#index")));
});
- } else Q.routeMeta(e) ? G5() : (Y7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
+ } else Q.routeMeta(e) ? K5() : (X7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
}
-function $Re() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => L2(t, {
+function QRe() {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => R2(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
@@ -81713,37 +81732,37 @@ function $Re() {
<div class="board-filter-frame" data-filter-frame>
<div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div>
<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>
- ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Ws(Us), W5.setGridCards = (e) => oc(L("#grid"), () => {
+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Ws(Us), G5.setGridCards = (e) => oc(L("#grid"), () => {
L("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), W5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), W5.managementPlaceholder = (e) => R2(e, {
- followLayout: HRe(),
+ }), G5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), G5.managementPlaceholder = (e) => z2(e, {
+ followLayout: VRe(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(URe())
- }), W5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", W5.entityShapesReady = null, W5.ENTITY_SHAPES_WAIT = 400, W5.syncPageTitle = (e) => {
+ }))(HRe())
+ }), G5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", G5.entityShapesReady = null, G5.ENTITY_SHAPES_WAIT = 400, G5.syncPageTitle = (e) => {
let t = new URL(e, location.origin), n = sp(decodeURIComponent(t.pathname))?.title;
document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, Yze();
};
}
// src/sidebar-skeleton.ts
-var J5 = (e) => e.replace(/[&<>"']/g, (e) => ({
+var Y5 = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function eze(e, t, n) {
+function $Re(e, t, n) {
let r = new Map(t.map((e) => [e[0], e]));
return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {
- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${J5(r)}"/></svg>`;
- return `<button type="button" data-nav="${J5(e)}" aria-pressed="${n(e)}" aria-label="${J5(t)}">${i}<span>${J5(t)}</span></button>`;
+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${Y5(r)}"/></svg>`;
+ return `<button type="button" data-nav="${Y5(e)}" aria-pressed="${n(e)}" aria-label="${Y5(t)}">${i}<span>${Y5(t)}</span></button>`;
}).join("")}</div>`;
}
// src/application/filter-scroll.js
-function tze(e, t, n, r = !1) {
+function eze(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -81761,7 +81780,7 @@ function tze(e, t, n, r = !1) {
};
}
// src/application/layout.js
-var Y5 = {
+var X5 = {
sidebarProps: void 0,
sidebarSurface: void 0,
sidebarCatalog: void 0,
@@ -81783,19 +81802,19 @@ var Y5 = {
mobileFilterHost: void 0,
mobileFilterPath: void 0
};
-function X5({ manage: e = !0, placeholder: t = "" } = {}) {
- L("#stats").hidden = !1, L("#index").hidden = !0, Y7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? o7() : (s7(""), w9()), t && B2(L("#stats"), t);
-}
-function Z5() {
- L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), K5(), document.body.classList.remove("entity-open", "index-open");
+function Z5({ manage: e = !0, placeholder: t = "" } = {}) {
+ L("#stats").hidden = !1, L("#index").hidden = !0, X7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? s7() : (c7(""), w9()), t && V2(L("#stats"), t);
}
function Q5() {
- L("#javLibraryHeader").hidden = !jn(location.pathname) || !p7(), document.body.classList.remove("entity-open", "index-open"), kp(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, l5(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", N7(), o7(), c7();
+ L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), q5(), document.body.classList.remove("entity-open", "index-open");
}
-function nze() {
- Q.route("/"), Q5();
+function $5() {
+ L("#javLibraryHeader").hidden = !jn(location.pathname) || !m7(), document.body.classList.remove("entity-open", "index-open"), kp(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, u5(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", P7(), s7(), l7();
}
-function $5({ tags: e = [], providers: t = [], duration: n = !1 }) {
+function tze() {
+ Q.route("/"), $5();
+}
+function e7({ tags: e = [], providers: t = [], duration: n = !1 }) {
C9({
content: e.length || t.length || n ? {
kind: "follow",
@@ -81819,28 +81838,28 @@ function $5({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function e7(e) {
+function t7(e) {
aBe({
...A9(),
...e
}), C9({ filters: $.followSidebarFilters() });
}
-function t7() {
+function n7() {
return matchMedia("(max-width:760px)").matches;
}
-function n7(e) {
+function r7(e) {
let t = L("#drawer"), n = !e && t.contains(document.activeElement);
- t.inert = !e && t7(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
+ t.inert = !e && n7(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
}
-function r7() {
- t7() && n7(!1);
+function i7() {
+ n7() && r7(!1);
}
-function rze() {
+function nze() {
_u === null && (Ou({ runtimeConfigurable: !1 }), Tn("/healthz").then((e) => {
- Ou({ runtimeConfigurable: !!e.configurable }), _u && a7() && o7();
+ Ou({ runtimeConfigurable: !!e.configurable }), _u && o7() && s7();
}).catch(() => {}));
}
-function i7(e = "", t = !1) {
+function a7(e = "", t = !1) {
if (!t && !zf(location.pathname)) {
let t = Bp.navigation;
Bp.push(Vf(e), { settingsBackground: {
@@ -81853,38 +81872,38 @@ function i7(e = "", t = !1) {
replace: !0,
state: Bp.navigation.location.state
});
- return e ||= Bf(location.pathname), jLe(Y5.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= Bf(location.pathname), ALe(X5.settingsHost()).then((t) => (t.open(e), t));
}
-function ize() {
+function rze() {
zf(location.pathname) && (Hf(Bp.navigation.location.state) ? Bp.go(-1) : Q.navigatePath("/", !0));
}
-function aze() {
+function ize() {
return {
scroll: L("#drawerScroll"),
store: Z.settingsStore,
- navCatalog: Y5.NAV_CATALOG,
- navOn: b7,
- navTo: x7,
+ navCatalog: X5.NAV_CATALOG,
+ navOn: x7,
+ navTo: S7,
navToTop: () => {
- r7(), wm();
+ i7(), wm();
},
- toggleChip: (e, t, n) => M7((r) => {
+ toggleChip: (e, t, n) => N7((r) => {
if (n) {
let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);
i >= 0 ? n.splice(i, 1) : n.push(t), r[e] = n.join(",");
} else r[e] = r[e] === t ? "" : t;
}),
- setDuration: (e, t) => M7((n) => {
+ setDuration: (e, t) => N7((n) => {
n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";
}),
openFollowTag: (e) => {
- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), n7(!1), O9(k9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), r7(!1), O9(k9());
},
selectFollowTag: (e) => {
- $.followTags = /* @__PURE__ */ new Set([e]), n7(!1), O9(k9());
+ $.followTags = /* @__PURE__ */ new Set([e]), r7(!1), O9(k9());
},
- selectFollowProvider: (e) => e7({ provider: $.followProviders.has(e) ? "" : e }),
- setFollowDuration: (e, t) => e7({
+ selectFollowProvider: (e) => t7({ provider: $.followProviders.has(e) ? "" : e }),
+ setFollowDuration: (e, t) => t7({
durMin: e ? e * 60 : 0,
durMax: t < 180 ? t * 60 : 0
}),
@@ -81893,16 +81912,16 @@ function aze() {
}
};
}
-function oze() {
+function aze() {
let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];
- e.innerHTML = eze(Z.appSettings.sidebarOrder, Y5.NAV_CATALOG, b7), e.querySelector("[data-sidebar-head]").append(...t), Y8.listen(e, "click", (e) => {
- if (w8()) return;
+ e.innerHTML = $Re(Z.appSettings.sidebarOrder, X5.NAV_CATALOG, x7), e.querySelector("[data-sidebar-head]").append(...t), X8.listen(e, "click", (e) => {
+ if (T8()) return;
let t = e.target.closest?.("[data-nav]");
- t && x7(t.dataset.nav);
- }), MLe(aze()).then((e) => e.render(Y5.sidebarProps)).catch(() => {});
+ t && S7(t.dataset.nav);
+ }), jLe(ize()).then((e) => e.render(X5.sidebarProps)).catch(() => {});
}
-async function sze() {
- let e = Y8, t = null;
+async function oze() {
+ let e = X8, t = null;
try {
t = await Tn("/api/settings", { signal: e.signal });
} catch {
@@ -81910,59 +81929,59 @@ async function sze() {
}
e.isActive && Xj(t, (e) => Z.settingsEffects[e]?.());
}
-function a7() {
+function o7() {
return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");
}
-function o7() {
- let e = a7();
- rze(), e && K5(), L("#count").classList.toggle("no-tagbar", !!e), w9(), e !== "trash" && (F5.trashCount = null), s7(e);
+function s7() {
+ let e = o7();
+ nze(), e && q5(), L("#count").classList.toggle("no-tagbar", !!e), w9(), e !== "trash" && (I5.trashCount = null), c7(e);
}
-function cze(e) {
+function sze(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
- sections: Y5.MANAGE_SECTIONS,
- menu: e ? Y5.manageMenuSections() : [],
- trash: F5.trashCount
+ sections: X5.MANAGE_SECTIONS,
+ menu: e ? X5.manageMenuSections() : [],
+ trash: I5.trashCount
};
}
-function s7(e = a7()) {
- c7();
- let t = cze(e), n = D8();
+function c7(e = o7()) {
+ l7();
+ let t = sze(e), n = O8();
if (n) n.render(t);
else {
let e = lfe(t);
- e !== Y5.manageHeaderSkeleton && (Y5.manageHeaderSkeleton = e, Y5.manageHeaderRoot().innerHTML = e);
+ e !== X5.manageHeaderSkeleton && (X5.manageHeaderSkeleton = e, X5.manageHeaderRoot().innerHTML = e);
}
let r = NF(t)?.title || "";
- r !== Y5.lastManagePageLabel && (Y5.lastManagePageLabel = r, r && rc(Y5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
+ r !== X5.lastManagePageLabel && (X5.lastManagePageLabel = r, r && rc(X5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function lze() {
- let e = Y5.manageHeaderRoot();
- Y8.listen(e, "click", (e) => {
- if (D8()) return;
+function cze() {
+ let e = X5.manageHeaderRoot();
+ X8.listen(e, "click", (e) => {
+ if (O8()) return;
let t = e.target.closest?.("[data-manage]");
- if (t) f7(t.dataset.manage);
+ if (t) p7(t.dataset.manage);
else if (e.target.closest?.("[data-manage-crumb] a[href]")) {
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;
e.preventDefault(), Q.navigatePath("/data-cleanup");
- } else e.target.closest?.("[data-empty-trash]") && U7();
- }), NLe({
+ } else e.target.closest?.("[data-empty-trash]") && W7();
+ }), MLe({
root: e,
- openManage: f7,
+ openManage: p7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
- emptyTrash: U7
- }).then(() => s7()).catch(() => {});
+ emptyTrash: W7
+ }).then(() => c7()).catch(() => {});
}
-function c7() {
+function l7() {
let e = L("#listTitle");
if (!e) return;
- let t = decodeURIComponent(location.pathname), n = !a7() && jn(t) && An[U.state] || "";
+ let t = decodeURIComponent(location.pathname), n = !o7() && jn(t) && An[U.state] || "";
e.hidden = !n, n && (e.textContent = n);
let r = L("#catalogPageHeading");
- r.hidden = !!a7() || !jn(t) || !!n || U.jav === "1", l7(r, U.q);
+ r.hidden = !!o7() || !jn(t) || !!n || U.jav === "1", u7(r, U.q);
}
-function l7(e, t) {
+function u7(e, t) {
let n = e?.querySelector("[data-page-title]");
if (!n) return;
let r = String(t || "").trim(), i = r ? `搜索结果:「${r}」` : "首页";
@@ -81975,10 +81994,10 @@ function l7(e, t) {
let n = document.createElement("span");
return n.textContent = e, t !== void 0 && (n.dataset.titleWords = t), n;
};
- n.replaceChildren(a("搜索结果:「"), a(r, r), a("」")), n.title = i, d7(n), u7 ??= new ResizeObserver((e) => e.forEach((e) => d7(e.target))), u7.observe(n), document.fonts?.ready.then(() => d7(n));
+ n.replaceChildren(a("搜索结果:「"), a(r, r), a("」")), n.title = i, f7(n), d7 ??= new ResizeObserver((e) => e.forEach((e) => f7(e.target))), d7.observe(n), document.fonts?.ready.then(() => f7(n));
}
-var u7 = null;
-function d7(e) {
+var d7 = null;
+function f7(e) {
let t = e.querySelector("[data-title-words]");
if (!t || !e.clientWidth) return;
let n = t.dataset.titleWords;
@@ -81990,44 +82009,44 @@ function d7(e) {
}
t.textContent = r.slice(0, o).join("") + "…";
}
-function f7(e = "stats") {
+function p7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", ku(), Q.route(NU()), Q5(), w9(), H7());
+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", ku(), Q.route(PU()), $5(), w9(), U7());
}
-function p7() {
+function m7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || xu : !1;
}
-function uze(e = p7()) {
+function lze(e = m7()) {
let t = xj.filter(([e]) => e !== "seed");
return e ? [Sj, ...t] : t;
}
-function m7() {
+function h7() {
return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";
}
-function h7() {
- return sM(m7());
+function g7() {
+ return sM(h7());
}
-function dze(e) {
- Jle(e), _7(), L("#grid").hidden || i9();
+function uze(e) {
+ Jle(e), v7(), L("#grid").hidden || a9();
}
-function g7(e) {
- hM(e), _7(), i9();
+function _7(e) {
+ hM(e), v7(), a9();
}
-function _7() {
+function v7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
- e.checked = e.value === h7();
- }), X.catalogFilterProps && P7({ layout: I7() });
-}
-function fze(e) {
- Yle(e), _7(), i9();
+ e.checked = e.value === g7();
+ }), X.catalogFilterProps && F7({ layout: L7() });
}
-async function v7() {
- z8(), X.mixRelatedCache.clear(), await Promise.all([y7(), H7()]);
+function dze(e) {
+ Yle(e), v7(), a9();
}
async function y7() {
+ B8(), X.mixRelatedCache.clear(), await Promise.all([b7(), U7()]);
+}
+async function b7() {
if (Y.entityPageCurrent() && !L("#index").hidden) {
- m5({ revision: ++Y.entityPageRevision });
+ h5({ revision: ++Y.entityPageRevision });
return;
}
let e = decodeURIComponent(location.pathname);
@@ -82036,30 +82055,30 @@ async function y7() {
return;
}
let t = Q.routeMeta(e);
- t?.route.reload ? await t.route.reload() : await q7();
+ t?.route.reload ? await t.route.reload() : await J7();
}
-function b7(e) {
- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = Y5.DIRECT_MANAGE_NAV[e];
- if (r) return a7() === r;
+function x7(e) {
+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = X5.DIRECT_MANAGE_NAV[e];
+ if (r) return o7() === r;
if (e === "manage") {
- let e = a7();
- return !!e && !Z.appSettings.sidebarOrder.some((t) => Y5.DIRECT_MANAGE_NAV[t] === e);
+ let e = o7();
+ return !!e && !Z.appSettings.sidebarOrder.some((t) => X5.DIRECT_MANAGE_NAV[t] === e);
}
- return e === "jav" ? t === "/jav" || p7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !a7() && !U.state && !p7() && U.orient !== "竖屏" : On[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
+ return e === "jav" ? t === "/jav" || m7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !o7() && !U.state && !m7() && U.orient !== "竖屏" : On[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
}
-function x7(e) {
+function S7(e) {
let t = vm(e);
if (t === location.pathname + location.search + location.hash) return;
- if (r7(), t) {
+ if (i7(), t) {
Q.navigatePath(t);
return;
}
- if (Y5.DIRECT_MANAGE_NAV[e]) {
- f7(Y5.DIRECT_MANAGE_NAV[e]);
+ if (X5.DIRECT_MANAGE_NAV[e]) {
+ p7(X5.DIRECT_MANAGE_NAV[e]);
return;
}
if (e === "manage") {
- f7();
+ p7();
return;
}
if (e === "jav") {
@@ -82067,25 +82086,25 @@ function x7(e) {
return;
}
if (e === "") {
- E7();
+ D7();
return;
}
let n = On[e] ? null : Q.routePathOf("nav", e);
- n ? Q.openRoutePath(n) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), ku(), Q.route(T7()), w9(), H7());
+ n ? Q.openRoutePath(n) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), ku(), Q.route(E7()), w9(), U7());
}
-function S7() {
+function C7() {
let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);
- iu && su !== F5.currentSelectSurface() && L5(!1, !0);
+ iu && su !== I5.currentSelectSurface() && R5(!1, !0);
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Nn, t[0]), r = jn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
- L("#selectMode").hidden = !i, L("#density").hidden = !a, y5(), !i && iu && L5(!1, !0);
+ L("#selectMode").hidden = !i, L("#density").hidden = !a, b5(), !i && iu && R5(!1, !0);
}
-function pze() {
+function fze() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
- (t !== Y5.mobileFilterHost || location.pathname !== Y5.mobileFilterPath) && (Y5.mobileFilterScroll = null), Y5.mobileFilterHost = t, Y5.mobileFilterPath = location.pathname;
+ (t !== X5.mobileFilterHost || location.pathname !== X5.mobileFilterPath) && (X5.mobileFilterScroll = null), X5.mobileFilterHost = t, X5.mobileFilterPath = location.pathname;
let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");
- Y5.mobileFilterScroll = tze(Y5.mobileFilterScroll, n, innerWidth <= 760, r);
+ X5.mobileFilterScroll = eze(X5.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
- let e = n === t && Y5.mobileFilterScroll.free;
+ let e = n === t && X5.mobileFilterScroll.free;
if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;
let r = n.getBoundingClientRect().top;
n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);
@@ -82097,54 +82116,54 @@ function pze() {
});
}
}
-function mze() {
- pze(), [".board-filter-frame", "#count"].forEach((e) => {
+function pze() {
+ fze(), [".board-filter-frame", "#count"].forEach((e) => {
let t = L(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;
t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);
});
}
-function C7() {
- Y5.stickyFrame ||= Y8.frame(() => {
- Y5.stickyFrame = 0, mze();
+function w7() {
+ X5.stickyFrame ||= X8.frame(() => {
+ X5.stickyFrame = 0, pze();
});
}
-function hze() {
+function mze() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), Y8.handler(L("#filterBtn"), "onclick", () => n7(!L("#drawer").classList.contains("open"))), Y5.SIDEBAR_ITEMS = B8, Y5.MANAGE_SECTIONS = V8, Y5.MANAGE_MENU_SECTIONS = H8, Y5.manageMenuSections = () => JLe(_u === !0), Y5.OPTIONAL_SIDEBAR_ITEMS = U8, Y5.NAV_CATALOG = YLe, Y5.DIRECT_MANAGE_NAV = XLe, Y5.settingsHost = () => ({
+ }), X8.handler(L("#filterBtn"), "onclick", () => r7(!L("#drawer").classList.contains("open"))), X5.SIDEBAR_ITEMS = V8, X5.MANAGE_SECTIONS = H8, X5.MANAGE_MENU_SECTIONS = U8, X5.manageMenuSections = () => qLe(_u === !0), X5.OPTIONAL_SIDEBAR_ITEMS = W8, X5.NAV_CATALOG = JLe, X5.DIRECT_MANAGE_NAV = YLe, X5.settingsHost = () => ({
selectSection: (e) => Vp(Vf(e), {
replace: !0,
state: Bp.navigation.location.state
}),
- closed: ize,
+ closed: rze,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => $o(e),
- navCatalog: Y5.NAV_CATALOG,
+ navCatalog: X5.NAV_CATALOG,
themeOptions: Ule,
videoLayouts: tM,
- followInitialRanges: W8,
- videoLayout: () => h7(),
- setVideoLayout: fze,
- censored: c9,
- setCensored: u9,
- sfwShortcut: d9,
- setSfwShortcut: Ize,
+ followInitialRanges: G8,
+ videoLayout: () => g7(),
+ setVideoLayout: dze,
+ censored: l9,
+ setCensored: d9,
+ sfwShortcut: f9,
+ setSfwShortcut: Fze,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: Lze,
- receipt: (e) => N8.actionReceipt(e),
- failure: N8.actionFailure,
+ setHighContrast: Ize,
+ receipt: (e) => P8.actionReceipt(e),
+ failure: P8.actionFailure,
syncRemote: (e) => Xj(e, (e) => Z.settingsEffects[e]?.()),
openConfiguration: () => Q.navigatePath("/settings/library"),
attached: () => Z.syncGlassOptics(),
configurable: () => Tn("/healthz").then((e) => (Ou({ runtimeConfigurable: !!e.configurable }), _u)).catch(() => null)
- }), Y8.handler(L("#settingsBtn"), "onclick", () => void i7()), Y5.lastManagePageLabel = "", Y5.manageHeaderSkeleton = "", Y5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, Y5.scrollT = null, Y5.stickyFrame = 0, Y5.mobileFilterScroll = null, Y5.mobileFilterHost = null, Y5.mobileFilterPath = "", Y8.listen(document, "focusin", C7), Y8.listen(document, "focusout", C7), Y8.listen(window, "scroll", () => {
- C7(), location.pathname === "/follow" && M9() && Ou({ followScrollY: scrollY }), window.__scrolling = !0, zl(), clearTimeout(Y5.scrollT), Y5.scrollT = Y8.delay(() => {
+ }), X8.handler(L("#settingsBtn"), "onclick", () => void a7()), X5.lastManagePageLabel = "", X5.manageHeaderSkeleton = "", X5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, X5.scrollT = null, X5.stickyFrame = 0, X5.mobileFilterScroll = null, X5.mobileFilterHost = null, X5.mobileFilterPath = "", X8.listen(document, "focusin", w7), X8.listen(document, "focusout", w7), X8.listen(window, "scroll", () => {
+ w7(), location.pathname === "/follow" && M9() && Ou({ followScrollY: scrollY }), window.__scrolling = !0, zl(), clearTimeout(X5.scrollT), X5.scrollT = X8.delay(() => {
window.__scrolling = !1;
}, 180);
- }, { passive: !0 }), Y8.listen(window, "resize", C7, { passive: !0 }), Y8.handler(L("#scrim"), "onclick", () => n7(!1));
+ }, { passive: !0 }), X8.listen(window, "resize", w7, { passive: !0 }), X8.handler(L("#scrim"), "onclick", () => r7(!1));
}
// src/application/catalog.js
var X = {
@@ -82183,43 +82202,43 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function gze() {
- X.initialParams.has("loc") || (U.loc = w7(U.loc), ku());
+function hze() {
+ X.initialParams.has("loc") || (U.loc = T7(U.loc), ku());
}
-function w7(e) {
- return zLe(e, Z.sourceOnline);
+function T7(e) {
+ return RLe(e, Z.sourceOnline);
}
-function T7(e = U) {
- return BLe(e);
+function E7(e = U) {
+ return zLe(e);
}
-function _ze() {
- Ou(F8(VLe(U, Z.appSettings, N8.rollSeed)));
+function gze() {
+ Ou(I8(BLe(U, Z.appSettings, P8.rollSeed)));
}
-function E7(e = null) {
- _ze(), e && (Object.assign(U, e), ku()), Q.route(e ? T7() : "/"), X.clearSearchField(), g9(!1), w9(), H7();
+function D7(e = null) {
+ gze(), e && (Object.assign(U, e), ku()), Q.route(e ? E7() : "/"), X.clearSearchField(), _9(!1), w9(), U7();
}
-function vze(e, t = null) {
+function _ze(e, t = null) {
let n = e.id;
- !e.medium || e.medium === "video" ? b9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : R5(n);
+ !e.medium || e.medium === "video" ? x9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : z5(n);
}
-function D7(e) {
+function O7(e) {
return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, Tn("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {
throw X.mixRelatedCache.delete(e), t;
})), X.mixRelatedCache.get(e);
}
-function yze(e, t) {
- h8()?.miniplayerTakesCard(e) ? h8().miniplayerPlay(e.id) : O7(e, t);
+function vze(e, t) {
+ g8()?.miniplayerTakesCard(e) ? g8().miniplayerPlay(e.id) : k7(e, t);
}
-function O7(e, t) {
- e.edition_group ? Wze(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? Gze(e.part_group.seed_id, e.id, !0, t) : b9(e.id, !0, null, t);
+function k7(e, t) {
+ e.edition_group ? Uze(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? Wze(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);
}
-async function bze(e, t) {
+async function yze(e, t) {
try {
let n = await Tn("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
});
- e.watch_later = n.watch_later, t(!!n.watch_later), N8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
+ e.watch_later = n.watch_later, t(!!n.watch_later), P8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
let n = await Tn("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
@@ -82227,10 +82246,10 @@ async function bze(e, t) {
e.watch_later = n.watch_later, t(!!n.watch_later);
} });
} catch (e) {
- N8.actionFailure("更新稍后看", e);
+ P8.actionFailure("更新稍后看", e);
}
}
-async function xze(e, t) {
+async function bze(e, t) {
try {
await Tn("/api/batch", {
method: "POST",
@@ -82238,9 +82257,9 @@ async function xze(e, t) {
ids: [e.id],
operation: t
})
- }), await q7();
+ }), await J7();
let n = t === "restore" ? "dispose" : "restore";
- N8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
+ P8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
await Tn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -82248,13 +82267,13 @@ async function xze(e, t) {
operation: n,
...n === "dispose" ? { disposal_reason: e.disposal_reason ?? null } : {}
})
- }), await q7();
+ }), await J7();
} });
} catch (e) {
- throw N8.actionFailure("操作", e), e;
+ throw P8.actionFailure("操作", e), e;
}
}
-async function Sze(e, t, n, r) {
+async function xze(e, t, n, r) {
let i = Number(e.rating) || 0, a = lP(i, t), o = async (t, r) => {
let i = (await Tn("/api/feedback", {
method: "POST",
@@ -82269,14 +82288,14 @@ async function Sze(e, t, n, r) {
};
try {
let e = await o(a, r);
- N8.actionReceipt(e ? `已评 ${cP(e)} 星` : "已取消评分", { undo: () => o(i) });
+ P8.actionReceipt(e ? `已评 ${cP(e)} 星` : "已取消评分", { undo: () => o(i) });
} catch (e) {
- throw r?.aborted || N8.actionFailure("评分", e), e;
+ throw r?.aborted || P8.actionFailure("评分", e), e;
}
}
-async function k7(e) {
+async function A7(e) {
let t = new URLSearchParams();
- if (p7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {
+ if (m7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {
let e = Y.activeFilterState();
[
"loc",
@@ -82298,33 +82317,33 @@ async function k7(e) {
e[n] && t.set(n, e[n]);
});
}
- return KLe(t.toString(), X.topsQueryParams(e).toString());
+ return GLe(t.toString(), X.topsQueryParams(e).toString());
}
-function A7(e) {
- h5().type !== "entity" && P7({ tags: R7(e) }), C9({ filters: { ...e } }), K7();
+function j7(e) {
+ g5().type !== "entity" && F7({ tags: z7(e) }), C9({ filters: { ...e } }), q7();
}
-async function j7(e) {
- let t = ++X.facetCountsSeq, [n] = await k7(e);
- t === X.facetCountsSeq && (e.type === "home" && (p9.facets = n), C9({ latest: s9(n, e) }));
+async function M7(e) {
+ let t = ++X.facetCountsSeq, [n] = await A7(e);
+ t === X.facetCountsSeq && (e.type === "home" && (m9.facets = n), C9({ latest: c9(n, e) }));
}
-function M7(e) {
- let t = h5();
+function N7(e) {
+ let t = g5();
if (t.type === "entity") {
let n = { ...t.filters };
- e(n), _5(t.kind, t.name, n), A7(n), j7(h5());
+ e(n), v5(t.kind, t.name, n), j7(n), M7(g5());
} else if (t.type === "item") {
let t = Y.cloneBarsContext(tu);
- if (g9(!1), Ou({ detailReturnBarsContext: null }), t && t.type === "entity") {
- e(t.filters), _5(t.kind, t.name, t.filters) ? H7() : Ou({ pageOpens: yu + 1 });
+ if (_9(!1), Ou({ detailReturnBarsContext: null }), t && t.type === "entity") {
+ e(t.filters), v5(t.kind, t.name, t.filters) ? U7() : Ou({ pageOpens: yu + 1 });
return;
}
e(U), Ou({ barsContext: {
type: "home",
filters: U
- } }), Q.route(T7()), Q5(), H7();
- } else e(U), ku(), Q.route(T7()), A7(U), j7(eu);
+ } }), Q.route(E7()), $5(), U7();
+ } else e(U), ku(), Q.route(E7()), j7(U), M7(eu);
}
-function Cze() {
+function Sze() {
return {
tiers: null,
tiersPending: !1,
@@ -82342,94 +82361,94 @@ function Cze() {
combo: [],
comboHidden: !0,
comboHost: L("#combo"),
- actions: F7(),
+ actions: I7(),
helpers: {
- wireDrag: f9,
+ wireDrag: p9,
wireScroller: (e) => {
e && Mc(e);
}
}
};
}
-function N7() {
- X.catalogFilterProps && P7({});
+function P7() {
+ X.catalogFilterProps && F7({});
}
-function P7(e) {
+function F7(e) {
let t = L("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");
e = {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || Cze(),
+ ...X.catalogFilterProps || Sze(),
...e
- }, !X.catalogFilterMounting && (Sp(t) ? Op(t, e) : (!t.firstChild && !n && (t.innerHTML = qMe(X.catalogViews(), X.catalogFilterProps.state, L7()), hc(t)), X.catalogFilterMounting = Ep("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (Sp(t) ? Op(t, e) : (!t.firstChild && !n && (t.innerHTML = KMe(X.catalogViews(), X.catalogFilterProps.state, R7()), hc(t)), X.catalogFilterMounting = Ep("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
}).then(() => Op(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
-function F7() {
+function I7() {
return {
currentHref: () => {
- let e = new URL(T7(), location.origin);
+ let e = new URL(E7(), location.origin);
return e.searchParams.set("loc", U.loc || ""), e.searchParams.set("thumb", U.thumb || "0"), e.searchParams.set("sort", U.sort || ""), e.searchParams.set("dir", U.dir || ""), e.pathname + e.search;
},
- openEntity: (e, t) => D5(e, t),
+ openEntity: (e, t) => O5(e, t),
setView: (e) => {
- U.state = e, ku(), P7({ state: e }), Q.route(T7()), H7();
+ U.state = e, ku(), F7({ state: e }), Q.route(E7()), U7();
},
- toggleTag: (e) => W7(e),
- clearFilter: (e) => M7((t) => {
+ toggleTag: (e) => G7(e),
+ clearFilter: (e) => N7((t) => {
t[e] = "";
}),
- clearAll: () => M7((e) => {
+ clearAll: () => N7((e) => {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
let t = Oj(e, U.sort, U.dir);
- t && (U.sort = t.sort, U.dir = t.dir, ku(), o9());
+ t && (U.sort = t.sort, U.dir = t.dir, ku(), s9());
},
- reshuffle: () => Fze(),
+ reshuffle: () => Pze(),
setLayout: (e) => {
- p7() ? g7(e) : dze(e);
+ m7() ? _7(e) : uze(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await qLe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
- return e === "performers" ? n.map(z7) : n.map(B7);
+ let n = (await KLe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ return e === "performers" ? n.map(B7) : n.map(V7);
}
};
}
-function I7() {
- return p7() ? {
+function L7() {
+ return m7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
value: oM(),
options: tM
- } : m7() ? {
+ } : h7() ? {
name: "home-layout",
label: "首页卡片版式",
- value: h7(),
+ value: g7(),
options: tM
} : null;
}
-function L7() {
+function R7() {
return {
- sorts: g5(U.sort, U.dir),
- layout: I7(),
+ sorts: _5(U.sort, U.dir),
+ layout: L7(),
state: U.state || "",
trash: U.state === "trash"
};
}
-function R7(e) {
+function z7(e) {
return X.catalogTagRows.map((t) => ({
...t,
selected: X.tagPressed(e.tag, t.k)
}));
}
-function z7(e) {
+function B7(e) {
return {
name: e.k,
ringHtml: `<span data-tier-initial>${z(er(nn("performer", e.k, e.id)))}</span>${_o({
@@ -82443,102 +82462,102 @@ function z7(e) {
})}`
};
}
-function B7(e) {
+function V7(e) {
return {
name: e.k,
fallback: $n(e.k, 2),
logo: e.has_logo ? mo(e.k, "icon", e.logo_version) : ""
};
}
-function wze(e, t) {
- X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? P7({
+function Cze(e, t) {
+ X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? F7({
tiersPending: !0,
state: e.state || ""
- }) : (X.barsRendered = "", P7({
+ }) : (X.barsRendered = "", F7({
tiers: null,
tiersPending: !0,
state: e.state || ""
}));
}
-function V7(e) {
- X.barsPendingSeq === e && (X.barsPendingSeq = 0, P7({ tiersPending: !1 }));
+function H7(e) {
+ X.barsPendingSeq === e && (X.barsPendingSeq = 0, F7({ tiersPending: !1 }));
}
-async function H7() {
+async function U7() {
let e = ++X.barsRequestSeq;
if (C9(), !Zl(location.pathname) || eu.type === "item") return;
- let t = h5(), n = Y.activeFilterState(), r = JSON.stringify([
+ let t = g5(), n = Y.activeFilterState(), r = JSON.stringify([
t,
n,
U.state || "",
U.seed || "",
- p7()
+ m7()
]);
- wze(n, e);
+ Cze(n, e);
let i;
try {
- i = await k7(t);
+ i = await A7(t);
} catch (t) {
- throw V7(e), t;
+ throw H7(e), t;
}
let [a, o] = i;
if (e !== X.barsRequestSeq) {
- V7(e);
+ H7(e);
return;
}
let s = r + "\n" + JSON.stringify([a, o]);
if (s === X.barsRendered) {
- X.barsPendingSeq = 0, P7({ tiersPending: !1 }), Y5.sidebarCatalog && C9({
- content: Y5.sidebarCatalog,
+ X.barsPendingSeq = 0, F7({ tiersPending: !1 }), X5.sidebarCatalog && C9({
+ content: X5.sidebarCatalog,
filters: { ...n }
});
return;
}
- X.barsRendered = s, t.type === "home" && (p9.facets = a);
+ X.barsRendered = s, t.type === "home" && (m9.facets = a);
let c = a.tags || [];
Za(o.performers), Za(o.studios);
- let l = t.type === "home" && !p7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);
+ let l = t.type === "home" && !m7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);
X.catalogTopsPages = {
context: t,
performers: 0,
studios: 0
};
- let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = N8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));
+ let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = P8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));
X.catalogTagRows = f.concat(m, p.filter((e) => !h.has(e.k))).map((e) => ({
k: e.k,
label: Ul(e.k),
n: e.n ?? null
- })), X.barsPendingSeq = 0, P7({
+ })), X.barsPendingSeq = 0, F7({
tiers: {
key: String(X.barsRequestSeq),
- performers: o.performers.map(z7),
- studios: o.studios.map(B7)
+ performers: o.performers.map(B7),
+ studios: o.studios.map(V7)
},
tiersPending: !1,
empty: l,
- tags: R7(n),
+ tags: z7(n),
tagFirst: f.length + m.length,
views: X.catalogViews(),
state: n.state || ""
- }), K7(), Y5.sidebarCatalog = {
+ }), q7(), X5.sidebarCatalog = {
kind: "catalog",
- key: String(++Y5.sidebarContentSeq),
- facets: s9(a, t)
+ key: String(++X5.sidebarContentSeq),
+ facets: c9(a, t)
}, C9({
- content: Y5.sidebarCatalog,
+ content: X5.sidebarCatalog,
filters: { ...n },
latest: null
});
}
-function Tze(e, t) {
- p9.total = e, U.state === "trash" && (F5.trashCount = {
- total: p9.total,
+function wze(e, t) {
+ m9.total = e, U.state === "trash" && (I5.trashCount = {
+ total: m9.total,
shown: t
- }), o7(), P7({ count: {
- total: p9.total,
+ }), s7(), F7({ count: {
+ total: m9.total,
shown: t
} });
}
-function U7() {
+function W7() {
return dl({
title: "清空回收站",
body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",
@@ -82548,19 +82567,19 @@ function U7() {
try {
let e = await Tn("/api/trash/empty", { method: "POST" });
if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- N8.actionReceipt(`已永久删除 ${e.purged} 项`);
+ P8.actionReceipt(`已永久删除 ${e.purged} 项`);
} finally {
- await q7();
+ await J7();
}
}
});
}
-function W7(e) {
- M7((t) => {
+function G7(e) {
+ N7((t) => {
t.tag = e ? X.withTagToggled(t.tag, e) : "";
});
}
-function G7(e) {
+function K7(e) {
let t = [];
return e.creator && t.push({
kind: "clear",
@@ -82584,13 +82603,13 @@ function G7(e) {
label: Ul(e)
})), t;
}
-function K7() {
- P7({
- combo: G7(U),
+function q7() {
+ F7({
+ combo: K7(U),
comboHidden: !X.catalogOnScreen()
});
}
-async function q7() {
+async function J7() {
let e = Q.claimSurface(Q.surfacePath());
if (Ou({
barsContext: {
@@ -82598,42 +82617,42 @@ async function q7() {
filters: U
},
detailReturnBarsContext: null
- }), g9(!1), U.state === "ads") return Oze(e);
- X.controller.page === "/junk-files" && Y7(), G5(), Q5();
- let t = X7(e);
- if (l5(location.pathname) && U.browse !== "folders") {
- if (await W5.entityShapesReady, !Q.surfaceCurrent(e)) return;
- pRe();
- } else u5();
- return K7(), L("#count").classList.remove("manage-static", "junkcount"), t;
-}
-function J7(e) {
+ }), _9(!1), U.state === "ads") return Dze(e);
+ X.controller.page === "/junk-files" && X7(), K5(), $5();
+ let t = Z7(e);
+ if (u5(location.pathname) && U.browse !== "folders") {
+ if (await G5.entityShapesReady, !Q.surfaceCurrent(e)) return;
+ fRe();
+ } else d5();
+ return q7(), L("#count").classList.remove("manage-static", "junkcount"), t;
+}
+function Y7(e) {
X.controller.settle(e);
}
-function Y7() {
+function X7() {
let e = L("#grid");
zl(e), kp(e), X.controller.clear(), e.innerHTML = "";
}
-function X7(e) {
- return e9("/", Dze, e, { place: sBe });
+function Z7(e) {
+ return t9("/", Eze, e, { place: sBe });
}
-function Eze(e) {
- return e9("/junk-files", Aze, e);
+function Tze(e) {
+ return t9("/junk-files", kze, e);
}
-function Z7() {
+function Q7() {
return !!xp(L("#grid"));
}
-function Q7() {
- return X.controller.taken(Z7());
+function $7() {
+ return X.controller.taken(Q7());
}
-function $7(e) {
+function e9(e) {
Op(L("#grid"), e);
}
-function e9(e, t, n, r = {}) {
+function t9(e, t, n, r = {}) {
let i = L("#grid");
- X.controller.page && X.controller.page !== e && Y7();
- let a = X.controller.begin(e, Z7()), o = t();
- if (!a.mount) return $7(o), a.settled;
+ X.controller.page && X.controller.page !== e && X7();
+ let a = X.controller.begin(e, Q7()), o = t();
+ if (!a.mount) return e9(o), a.settled;
zl(i);
let s = () => kp(i);
return a.signal.addEventListener("abort", s, { once: !0 }), Ep(e, o, {
@@ -82641,70 +82660,70 @@ function e9(e, t, n, r = {}) {
container: i,
isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()
}).catch((e) => console.error(e)).finally(() => {
- a.signal.removeEventListener("abort", s), a.finish(Z7());
+ a.signal.removeEventListener("abort", s), a.finish(Q7());
}), a.settled;
}
-function t9() {
- let e = m7();
+function n9() {
+ let e = h7();
return pM({
- active: p7() || e,
+ active: m7() || e,
home: e,
portrait: U.orient === "竖屏"
});
}
-function n9(e = "正在读取作品") {
- return RJ(e, r9());
-}
-function r9() {
- return U ? mM(t9()) : 16 / 9;
+function r9(e = "正在读取作品") {
+ return XJ(e, i9());
}
function i9() {
- Q7() && (zl(L("#grid")), $7({
- layout: t9(),
+ return U ? mM(n9()) : 16 / 9;
+}
+function a9() {
+ $7() && (zl(L("#grid")), e9({
+ layout: n9(),
seekSeconds: Z.appSettings.seekSeconds
- })), Y.entityPageCurrent() && (zl(L("#index [data-entity-hero]")), m5({
- layout: t9(),
+ })), Y.entityPageCurrent() && (zl(L("#index [data-entity-hero]")), h5({
+ layout: n9(),
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function Dze() {
+function Eze() {
let e = decodeURIComponent(location.pathname), t = jn(e), n = U.state === "trash";
return {
mode: "catalog",
helpers: X.gridHelpers,
actions: X.gridActions,
- layout: t9(),
+ layout: n9(),
wall: e === "/wall",
restoreNavigation: Cm(),
selectMode: iu,
selected: new Set(nu),
seekSeconds: Z.appSettings.seekSeconds,
revision: X.controller.revision,
- wireDrag: f9,
- settled: J7,
- skeletonHtml: () => n9(),
+ wireDrag: p9,
+ settled: Y7,
+ skeletonHtml: () => r9(),
filters: { ...U },
batchSize: Z.appSettings.batchSize,
groupCollapse: Z.appSettings.groupCollapse,
excludeVertical: t && e !== "/wall" && !U.q && !U.orient && U.browse !== "folders" || U.jav === "1",
mix: t && e !== "/wall" && !n && U.browse !== "folders",
- shorts: t && e !== "/wall" && !p7() && U.orient !== "竖屏" && !n && U.browse !== "folders",
+ shorts: t && e !== "/wall" && !m7() && U.orient !== "竖屏" && !n && U.browse !== "folders",
countRow: L("#count"),
- onCount: Tze,
- onCountFailed: () => P7({ count: !1 }),
- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : OK({
- jav: p7() && !t,
+ onCount: wze,
+ onCountFailed: () => F7({ count: !1 }),
+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : BK({
+ jav: m7() && !t,
configurable: _u,
filtered: !t
}),
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function Oze(e) {
+function Dze(e) {
let t = L("#count");
- return X.controller.page === "/junk-files" && Z7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (Y7(), G5("正在读取垃圾文件")), Q5(), K7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Eze(e);
+ return X.controller.page === "/junk-files" && Q7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (X7(), K5("正在读取垃圾文件")), $5(), q7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Tze(e);
}
-async function kze(e, t) {
+async function Oze(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await Tn("/api/batch", {
@@ -82714,24 +82733,24 @@ async function kze(e, t) {
operation: t,
...r ? { disposal_reason: "junk" } : {}
})
- }), await q7();
+ }), await J7();
let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";
- N8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
+ P8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
await Tn("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: e
})
- }), await q7();
+ }), await J7();
} });
} catch (e) {
- throw N8.actionFailure("操作", e), e;
+ throw P8.actionFailure("操作", e), e;
}
}
-function Aze() {
+function kze() {
return {
- ...MU(location.search),
+ ...NU(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -82739,16 +82758,16 @@ function Aze() {
selectMode: iu,
selected: new Set(nu),
countRow: L("#count"),
- settled: J7,
- skeletonHtml: () => L2("正在读取垃圾文件", {
+ settled: Y7,
+ skeletonHtml: () => R2("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function jze() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => P8(e, t, Z.appSettings, n), Ou(F8(RLe(location, Z.appSettings, N8.rollSeed))), X.searchValueSnapshot = {
+function Aze() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => F8(e, t, Z.appSettings, n), Ou(I8(LLe(location, Z.appSettings, P8.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {
@@ -82769,12 +82788,12 @@ function jze() {
};
};
}
-function Mze() {
- Y8.handler(L("#wallBtn"), "onclick", () => {
- L5(!1, !0);
- let e = h5(), t = {
+function jze() {
+ X8.handler(L("#wallBtn"), "onclick", () => {
+ R5(!1, !0);
+ let e = g5(), t = {
...Y.activeFilterState(),
- jav: p7() ? "1" : ""
+ jav: m7() ? "1" : ""
};
e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(oSe(void 0, t));
}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {
@@ -82787,34 +82806,34 @@ function Mze() {
tagLabel: (e) => Ul(e)
}, X.gridActions = {
wallPlayer: async (e, t, n) => {
- let r = await m8(p9.stageHost);
+ let r = await h8(m9.stageHost);
return n.throwIfAborted(), r.mountWallPlayer(e, t, n);
},
- wallDetails: O7,
- open: (e, t) => yze(e, t),
- openResource: (e, t) => h8()?.miniplayerTakesCard(e) ? h8().miniplayerPlay(e.id) : vze(e, t),
- openShort: (e) => h8()?.miniplayerTakesCard(e) ? h8().miniplayerPlay(e.id) : S9(e.id),
+ wallDetails: k7,
+ open: (e, t) => vze(e, t),
+ openResource: (e, t) => g8()?.miniplayerTakesCard(e) ? g8().miniplayerPlay(e.id) : _ze(e, t),
+ openShort: (e) => g8()?.miniplayerTakesCard(e) ? g8().miniplayerPlay(e.id) : S9(e.id),
openShorts: () => S9(),
- openMix: (e, t) => Uze(e, e, !0, t),
- openEntity: (e, t) => D5(e, t),
- openUnowned: () => E7({ owner: "none" }),
+ openMix: (e, t) => Hze(e, e, !0, t),
+ openEntity: (e, t) => O5(e, t),
+ openUnowned: () => D7({ owner: "none" }),
toggleTag: (e) => {
- M7((t) => {
+ N7((t) => {
t.tag = X.tagPressed(t.tag, e) ? "" : e;
});
},
- toggleSelection: (e, t) => R5(e, t),
- watchLater: (e, t) => bze(e, t),
- rate: (e, t, n, r) => Sze(e, t, n, r),
- resourceOperation: (e, t) => xze(e, t),
- mixRelated: (e) => D7(e),
- canFlip: () => !iu && !c9() && !window.__scrolling && !X.reduceMotion()
+ toggleSelection: (e, t) => z5(e, t),
+ watchLater: (e, t) => yze(e, t),
+ rate: (e, t, n, r) => xze(e, t, n, r),
+ resourceOperation: (e, t) => bze(e, t),
+ mixRelated: (e) => O7(e),
+ canFlip: () => !iu && !l9() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
let n = new URLSearchParams({
n: "60",
seed: U.seed || ""
});
- return t && n.set("page", String(t)), p7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;
+ return t && n.set("page", String(t)), m7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;
}, X.facetCountsSeq = 0, X.VIEW_PILLS = [
{
k: "",
@@ -82835,38 +82854,38 @@ function Mze() {
], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({
...e,
href: e.k ? On[e.k] : "/"
- })), X.TAGS_FIRST = 26, Y8.listen(L("#catalogFilter"), "click", (e) => {
+ })), X.TAGS_FIRST = 26, X8.listen(L("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
- t && !e.defaultPrevented && (e.preventDefault(), F7().setView(t.dataset.catalogView));
+ t && !e.defaultPrevented && (e.preventDefault(), I7().setView(t.dataset.catalogView));
}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {
creator: "创作者",
studio: "厂牌",
owner: "归属"
}, X.hideCatalogCombo = () => {
- X.catalogFilterProps && P7({ comboHidden: !0 });
+ X.catalogFilterProps && F7({ comboHidden: !0 });
};
}
-function Nze() {
+function Mze() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
- iu && L5(!1, !0), Q.route(e);
+ iu && R5(!1, !0), Q.route(e);
},
- toggleSelection: (e, t) => R5(e, t),
- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : b9(e.id, !0, null, t),
+ toggleSelection: (e, t) => z5(e, t),
+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : x9(e.id, !0, null, t),
reveal: async (e) => {
try {
return await Tn("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e.id })
- }), N8.toast({ text: "已在资源管理器中显示" }), "";
+ }), P8.toast({ text: "已在资源管理器中显示" }), "";
} catch (e) {
return Y.sourceHint(e.message);
}
},
- operate: (e, t) => kze(e, t)
+ operate: (e, t) => Oze(e, t)
};
}
-X.controller = new HLe();
+X.controller = new VLe();
// src/application/preferences.js
var Z = {
sourceOnline: void 0,
@@ -82889,8 +82908,8 @@ var Z = {
emptyState: void 0,
CENSOR_KEY: void 0
};
-async function a9() {
- let e = Y8;
+async function o9() {
+ let e = X8;
try {
let t = await Sr(e.signal);
if (!e.isActive) return Z.sourceOnline;
@@ -82900,18 +82919,18 @@ async function a9() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), gze(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), hze(), Z.sourceOnline;
}
-function o9() {
+function s9() {
let e = Q.surfacePath();
- if (!jn(e) || e === "/junk-files") return q7();
+ if (!jn(e) || e === "/junk-files") return J7();
let t = Z.nextCatalogLoad();
- return Vp(T7(), {
+ return Vp(E7(), {
replace: !0,
state: Bp.navigation.location.state
}), t;
}
-function Pze(e) {
+function Nze(e) {
if (e === "local") return {
kind: "glyph",
name: "hard-drive"
@@ -82932,7 +82951,7 @@ function Pze(e) {
cost: "free"
};
}
-function s9(e, t) {
+function c9(e, t) {
let n = (e, t = (e) => e.label || Ul(e.k)) => (e || []).map((e) => ({
value: String(e.k),
label: t(e),
@@ -82943,7 +82962,7 @@ function s9(e, t) {
value: e.k,
label: nr[e.k] || e.k,
n: e.n ?? null,
- dot: Pze(e.k),
+ dot: Nze(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -82956,25 +82975,25 @@ function s9(e, t) {
duration: !!e.stats?.duration
};
}
-async function Fze(e = !1) {
- if (e && (document.hidden || !jn(decodeURIComponent(location.pathname)) || p9.stageOpen() || p9.immerseOpen() || iu || nu.size || document.activeElement === L("#q"))) return !1;
+async function Pze(e = !1) {
+ if (e && (document.hidden || !jn(decodeURIComponent(location.pathname)) || m9.stageOpen() || m9.immerseOpen() || iu || nu.size || document.activeElement === L("#q"))) return !1;
if (!L("#stats").hidden) {
let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;
if (t === "skip") return;
if (e === "/playlists") {
- A5();
+ j5();
return;
}
let n = t === "reopen" ? e : "/stats";
ym(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, Bp.navigation.location.state) : Q.navigatePath(n);
} else if (L("#index").hidden) {
- U.sort = "seed", U.dir = "", U.seed = N8.rollSeed(), ku(), z8(), P7({ refreshing: !0 });
+ U.sort = "seed", U.dir = "", U.seed = P8.rollSeed(), ku(), B8(), F7({ refreshing: !0 });
try {
ym();
- let e = o9();
- await null, await Promise.all([e, H7()]);
+ let e = s9();
+ await null, await Promise.all([e, U7()]);
} finally {
- P7({ refreshing: !1 });
+ F7({ refreshing: !1 });
}
return e || window.scrollTo({
top: 0,
@@ -82982,42 +83001,42 @@ async function Fze(e = !1) {
}), !0;
}
}
-function c9() {
+function l9() {
return document.body.classList.contains("censor");
}
-function l9(e) {
+function u9(e) {
document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
-function u9(e) {
- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), l9(e), e && zl();
+function d9(e) {
+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), u9(e), e && zl();
}
-function d9() {
- return u1(localStorage.getItem("peach.sfw-shortcut")) || u1("Shift+KeyS");
+function f9() {
+ return d1(localStorage.getItem("peach.sfw-shortcut")) || d1("Shift+KeyS");
}
-function Ize(e) {
- e ? localStorage.setItem(c1, d1(e)) : localStorage.removeItem(c1), Z.settingsStore.notify();
+function Fze(e) {
+ e ? localStorage.setItem(l1, f1(e)) : localStorage.removeItem(l1), Z.settingsStore.notify();
}
-function Lze(e) {
+function Ize(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
-function f9(e) {
+function p9(e) {
return Mc(e, { drag: !0 });
}
-function Rze() {
- ["#nrow", "#count"].forEach((e) => f9(L(e))), document.querySelectorAll(".tier,.srow").forEach(f9);
+function Lze() {
+ ["#nrow", "#count"].forEach((e) => p9(L(e))), document.querySelectorAll(".tier,.srow").forEach(p9);
}
-function zze() {
+function Rze() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function Bze() {
+function zze() {
Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {
local: "无法读取媒体目录,请检查目录是否存在及读取权限。",
115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",
pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"
}, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = Yj(), Z.appSettings = Z.settingsStore.value, Zt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Qo(Z.appSettings.uiSounds), is(), $j(), Kle(), wM(), DM(), OM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
performerNameLanguage: () => {
- Zt(Z.appSettings.performerNameLanguage), W5.syncPageTitle(location.href), X.barsRendered = "", H7();
+ Zt(Z.appSettings.performerNameLanguage), G5.syncPageTitle(location.href), X.barsRendered = "", U7();
},
theme: () => $j(),
uiSounds: () => {
@@ -83028,29 +83047,29 @@ function Bze() {
EM(), DM();
},
batchSize: () => {
- location.pathname === "/" && q7();
+ location.pathname === "/" && J7();
},
defaultSort: () => {
- U.sort = Z.appSettings.defaultSort, U.dir = kj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), ku(), location.pathname === "/" && o9();
+ U.sort = Z.appSettings.defaultSort, U.dir = kj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), ku(), location.pathname === "/" && s9();
},
sortDirection: () => {
- U.dir = kj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), ku(), location.pathname === "/" && o9();
+ U.dir = kj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), ku(), location.pathname === "/" && s9();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
Vl(e, "previewing", !1), Vl(e, "longhover", !1);
}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);
},
- seekSeconds: () => i9(),
- groupCollapse: () => y7(),
- feedAutoScroll: () => mRe(),
- feedLimit: () => d5(),
- feedCompilations: () => d5(),
+ seekSeconds: () => a9(),
+ groupCollapse: () => b7(),
+ feedAutoScroll: () => pRe(),
+ feedLimit: () => f5(),
+ feedCompilations: () => f5(),
miniplayer: () => {
- Z.appSettings.miniplayer || h8()?.closeMiniplayer();
+ Z.appSettings.miniplayer || g8()?.closeMiniplayer();
},
javImage: () => {
- oo(document, Z.appSettings.javImage), i9(), document.querySelectorAll("img[data-jav-image].cover").forEach(ml), Hze();
+ oo(document, Z.appSettings.javImage), a9(), document.querySelectorAll("img[data-jav-image].cover").forEach(ml), Vze();
},
searchHistoryLimit: () => Op(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
@@ -83061,11 +83080,11 @@ function Bze() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = Ks;
}
-function Vze() {
- Z.CENSOR_KEY = "peach-censor", l9(localStorage.getItem(Z.CENSOR_KEY) === "1");
+function Bze() {
+ Z.CENSOR_KEY = "peach-censor", u9(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
// src/application/media.js
-var p9 = {
+var m9 = {
total: void 0,
facets: void 0,
stageHost: void 0,
@@ -83076,18 +83095,18 @@ var p9 = {
immerseOpen: void 0,
requestedImmerseId: void 0
};
-function m9() {
+function h9() {
let e = Number(new URLSearchParams(location.search).get("t"));
return Number.isFinite(e) && e > 0 ? {
time: e,
autoplay: !1
} : null;
}
-function h9() {
- return h8()?.exit() || Promise.resolve();
+function g9() {
+ return g8()?.exit() || Promise.resolve();
}
-function g9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
- Q.queueOpenRequest !== r && T9(), h8()?.dispose({ miniplayer: n }), Ou({
+function _9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
+ Q.queueOpenRequest !== r && T9(), g8()?.dispose({ miniplayer: n }), Ou({
activeQueue: null,
pendingQueueRoute: null,
presentedItem: null
@@ -83095,12 +83114,12 @@ function g9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailOriginAnchor: null,
detailOriginAbove: !1,
detailReturnNeedsRestore: !1
- }), C7(), e && Q.route(cu || "/");
+ }), w7(), e && Q.route(cu || "/");
}
-function Hze() {
- h8()?.repaintPoster();
+function Vze() {
+ g8()?.repaintPoster();
}
-function _9(e, t, n, r, i = null, a = {}) {
+function v9(e, t, n, r, i = null, a = {}) {
t = +t;
let o = fu?.kind === e && (e === "playlist" ? fu.playlistId : fu.seedId) === t;
r && !o && Ou({ detailReturnPath: location.pathname + location.search }), r && Zf();
@@ -83119,33 +83138,33 @@ function _9(e, t, n, r, i = null, a = {}) {
seq: Bp.navigation.seq,
cancelled: !1
};
- Q.requestedQueue = () => b9(n == null ? null : +n, !1, s, i, !0, e), Ou({ queueOpens: bu + 1 });
- } else return b9(n == null ? null : +n, !1, s, i, r);
+ Q.requestedQueue = () => x9(n == null ? null : +n, !1, s, i, !0, e), Ou({ queueOpens: bu + 1 });
+ } else return x9(n == null ? null : +n, !1, s, i, r);
+}
+function Hze(e, t = e, n = !0, r = null) {
+ return v9("mix", e, t, n, r);
}
function Uze(e, t = e, n = !0, r = null) {
- return _9("mix", e, t, n, r);
+ return v9("editions", e, t, n, r);
}
function Wze(e, t = e, n = !0, r = null) {
- return _9("editions", e, t, n, r);
-}
-function Gze(e, t = e, n = !0, r = null) {
- return _9("parts", e, t, n, r);
+ return v9("parts", e, t, n, r);
}
-function v9(e, t = null, n = !0) {
- return _9("playlist", e, t, n);
+function y9(e, t = null, n = !0) {
+ return v9("playlist", e, t, n);
}
-function y9() {
+function b9() {
return !!L("#grid").querySelector("[data-id],[data-mix-seed]") || !!document.querySelector("[data-video-wall]") || !L("#index").hidden || !L("#stats").hidden;
}
-async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {
+async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
if (a?.cancelled) return;
if (a || T9(), t && !n) {
- Ou({ detailReturnPath: location.pathname + location.search }), E9("/assets/" + +e, "item", () => b9(e, !1, null, r));
+ Ou({ detailReturnPath: location.pathname + location.search }), E9("/assets/" + +e, "item", () => x9(e, !1, null, r));
return;
}
zl(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : lu?.isConnected ? lu : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : uu, c = y9(), l = du || !t && !c, u = eu.type === "item" ? tu : Y.cloneBarsContext(h5());
- t ? Ou({ detailReturnPath: location.pathname + location.search }) : i || Ou({ detailReturnPath: ep() || cu }), t && Zf(), h8()?.showing() !== "item" && g9(!1, !0, {
+ let o = r?.isConnected ? r : lu?.isConnected ? lu : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : uu, c = b9(), l = du || !t && !c, u = eu.type === "item" ? tu : Y.cloneBarsContext(g5());
+ t ? Ou({ detailReturnPath: location.pathname + location.search }) : i || Ou({ detailReturnPath: ep() || cu }), t && Zf(), g8()?.showing() !== "item" && _9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), Ou({
@@ -83157,60 +83176,60 @@ async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {
seedId: n.seedId,
playlistId: n.playlistId
} }), Ou({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, tp("item"));
- let d = await m8(p9.stageHost);
+ let d = await h8(m9.stageHost);
if (a?.cancelled) return;
let f = a ? {
- ...p9.itemDetailActions,
+ ...m9.itemDetailActions,
present: (e, t) => {
- a.cancelled || p9.itemDetailActions.present(e, t);
+ a.cancelled || m9.itemDetailActions.present(e, t);
},
redirect: (e) => {
- a.cancelled || p9.itemDetailActions.redirect(e);
+ a.cancelled || m9.itemDetailActions.redirect(e);
}
- } : p9.itemDetailActions;
+ } : m9.itemDetailActions;
await d.open({
kind: "item",
id: e,
queue: n,
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
- helpers: p9.itemDetailHelpers,
+ helpers: m9.itemDetailHelpers,
actions: f,
grid: {
helpers: X.gridHelpers,
actions: X.gridActions
},
- layout: t9(),
+ layout: n9(),
selectMode: iu,
selected: new Set(nu),
seekSeconds: Z.appSettings.seekSeconds,
- resume: t || e == null ? null : m9()
- }), C7();
+ resume: t || e == null ? null : h9()
+ }), w7();
}
-async function x9() {
+async function Gze() {
let e = Y.cloneBarsContext(tu), t = cu || "/", n = du;
- await h9(), g9(!1, !1, { miniplayer: !1 }), Ou({ detailReturnBarsContext: null }), Qf(), Ou({ barsContext: e || {
+ await g9(), _9(!1, !1, { miniplayer: !1 }), Ou({ detailReturnBarsContext: null }), Qf(), Ou({ barsContext: e || {
type: "home",
filters: U
- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Ou({ pageOpens: yu + 1 }) : (H7(), location.pathname === "/playlists" && A5()));
+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Ou({ pageOpens: yu + 1 }) : (U7(), location.pathname === "/playlists" && j5()));
}
async function Kze(e, t = !0) {
if (t) {
Ou({ detailReturnPath: location.pathname + location.search }), E9("/works/" + encodeURIComponent(e), "jav", () => Kze(e, !1));
return;
}
- let n = Bp.navigation.seq, r = Y.cloneBarsContext(h5()), i = !y9(), a = ep() || (i ? "/jav?tab=discover" : cu) || "/jav?tab=discover";
- h8()?.showing() !== "jav" && g9(!1, !0, { miniplayer: !1 }), Ou({
+ let n = Bp.navigation.seq, r = Y.cloneBarsContext(g5()), i = !b9(), a = ep() || (i ? "/jav?tab=discover" : cu) || "/jav?tab=discover";
+ g8()?.showing() !== "jav" && _9(!1, !0, { miniplayer: !1 }), Ou({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), zl();
- let [o, s] = await Promise.all([m8(p9.stageHost), B("/healthz")]);
+ let [o, s] = await Promise.all([h8(m9.stageHost), B("/healthz")]);
Bp.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
readOnly: !!s.ledger_read_only,
actions: {
- close: () => void x9(),
+ close: () => void Gze(),
navigate: (e) => Q.navigatePath(e),
canonicalCode: (t) => {
Bp.navigation.seq === n && t && t !== e && Vp("/works/" + encodeURIComponent(t) + location.search + location.hash, {
@@ -83218,52 +83237,52 @@ async function Kze(e, t = !0) {
state: Bp.navigation.location.state
});
},
- openTag: (e) => M7((t) => {
+ openTag: (e) => N7((t) => {
t.tag = e;
}),
- receipt: (e) => N8.toast({ text: e })
+ receipt: (e) => P8.toast({ text: e })
}
- }), C7());
+ }), w7());
}
async function S9(e = null, t = !0) {
- t ? (p9.requestedImmerseId = e, Q.route("/immerse")) : (h8()?.closeMiniplayer(), await (await ALe(p9.immerseHost)).open(e));
+ t ? (m9.requestedImmerseId = e, Q.route("/immerse")) : (g8()?.closeMiniplayer(), await (await kLe(m9.immerseHost)).open(e));
}
function qze() {
- p9.total = 0, p9.facets = null, p9.stageHost = {
+ m9.total = 0, m9.facets = null, m9.stageHost = {
player: {
settings: () => Z.appSettings,
saveSettings: () => Z.saveSettings(),
- toast: (e, t) => N8.toast({ text: e }, t),
- loadSourceStatus: () => a9(),
+ toast: (e, t) => P8.toast({ text: e }, t),
+ loadSourceStatus: () => o9(),
offlineReason: (e) => Z.offlineReason(e)
},
sourceOffline: (e) => Z.sourceOffline(e),
expand: (e, t, n) => {
- e === "follow" ? F9(t, !0, n) : b9(t, !0);
+ e === "follow" ? F9(t, !0, n) : x9(t, !0);
},
- openItem: (e) => void b9(e)
- }, p9.stageOpen = () => !!h8()?.isOpen();
+ openItem: (e) => void x9(e)
+ }, m9.stageOpen = () => !!g8()?.isOpen();
}
function Jze() {
- p9.itemDetailHelpers = {
+ m9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
titleHtml: (e) => LI(e),
displayName: (e) => II(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => Ul(e),
isDurationTag: (e) => ar.has(e),
- tagCandidates: () => p9.facets && p9.facets.tags || [],
+ tagCandidates: () => m9.facets && m9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => L2("正在读取推荐", {
+ relatedSkeletonHtml: () => R2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
- mixRelated: (e) => D7(e),
- wireDrag: (e) => f9(e),
+ mixRelated: (e) => O7(e),
+ wireDrag: (e) => p9(e),
wireDragReorder: (e, t) => sl(e, t)
- }, p9.itemDetailActions = {
- close: () => x9(),
+ }, m9.itemDetailActions = {
+ close: () => Gze(),
present: (e) => {
Ou({ presentedItem: e });
let t = tu;
@@ -83271,57 +83290,57 @@ function Jze() {
type: "item",
id: e.id,
filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()
- } }), pu && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${pu}`, !1, tp("item")), Ou({ pendingQueueRoute: null })), H7();
+ } }), pu && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${pu}`, !1, tp("item")), Ou({ pendingQueueRoute: null })), U7();
},
redirect: (e) => {
let t = !!pu;
e.kind === "follow" ? (Q.queueOpenRequest = null, Ou({
pendingQueueRoute: null,
followDetailReturnPath: cu || "/"
- }), Q.route(`/posts/${e.id}`, !t, tp("follow")), F9(e.id, !1, null, !0)) : e.kind === "item" ? b9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? O9("/playlists") : A5() : g9(!1);
+ }), Q.route(`/posts/${e.id}`, !t, tp("follow")), F9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? O9("/playlists") : j5() : _9(!1);
},
- openQueueItem: (e, t, n = !0) => void _9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
+ openQueueItem: (e, t, n = !0) => void v9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
let e = mu;
if (!e) return;
let t = fu;
- t ? _9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : b9(e.id, !1);
+ t ? v9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : x9(e.id, !1);
},
- checkSource: async (e) => (await a9())[e] !== !1,
+ checkSource: async (e) => (await o9())[e] !== !1,
openSavedFollow: () => {
$.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", O9(k9());
},
- openEntity: (e, t) => D5(e, t),
- openUnowned: () => E7({ owner: "none" }),
- openRegion: (e) => E7({ region: e || "none" }),
- openTag: (e) => M7((t) => {
+ openEntity: (e, t) => O5(e, t),
+ openUnowned: () => D7({ owner: "none" }),
+ openRegion: (e) => D7({ region: e || "none" }),
+ openTag: (e) => N7((t) => {
t.tag = e;
}),
- addToPlaylist: (e) => ORe(e),
- saveMix: (e) => DRe(e),
+ addToPlaylist: (e) => DRe(e),
+ saveMix: (e) => ERe(e),
editPlaylist: () => O9("/playlists"),
openPlaylists: () => O9("/playlists"),
- reveal: (e) => S5(e),
- sync: (e) => yRe(e),
+ reveal: (e) => C5(e),
+ sync: (e) => vRe(e),
trashChanged: async (e, t) => {
- U.state === "ads" && (t || e === "trash") && (t || (Qf(), g9(!0, !1, { miniplayer: !1 })), await q7());
+ U.state === "ads" && (t || e === "trash") && (t || (Qf(), _9(!0, !1, { miniplayer: !1 })), await J7());
},
- toast: (e, { undo: t } = {}) => N8.actionReceipt(e, { undo: t }),
- failure: (e, t) => N8.actionFailure(e, t)
- }, p9.immerseHost = {
+ toast: (e, { undo: t } = {}) => P8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => P8.actionFailure(e, t)
+ }, m9.immerseHost = {
filters: () => U,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
displayName: (e) => II(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
- closed: () => E7(),
- openItem: (e) => void b9(e),
- openEntity: (e, t) => D5(e, t),
- openUnowned: () => E7({ owner: "none" }),
- toast: (e, { undo: t } = {}) => N8.actionReceipt(e, { undo: t }),
- warn: (e) => N8.toast({ text: e }, { sound: "warning" }),
- failure: (e, t) => N8.actionFailure(e, t)
- }, p9.immerseOpen = () => !!v8()?.isOpen(), Y8.handler(L("#immerseBtn"), "onclick", () => S9());
+ closed: () => D7(),
+ openItem: (e) => void x9(e),
+ openEntity: (e, t) => O5(e, t),
+ openUnowned: () => D7({ owner: "none" }),
+ toast: (e, { undo: t } = {}) => P8.actionReceipt(e, { undo: t }),
+ warn: (e) => P8.toast({ text: e }, { sound: "warning" }),
+ failure: (e, t) => P8.actionFailure(e, t)
+ }, m9.immerseOpen = () => !!y8()?.isOpen(), X8.handler(L("#immerseBtn"), "onclick", () => S9());
}
// src/application/navigation.js
var Q = {
@@ -83344,22 +83363,22 @@ var Q = {
initialOverlayOpened: void 0
};
function Yze() {
- let e = w8();
- e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(b7(e.dataset.nav))));
+ let e = T8();
+ e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(x7(e.dataset.nav))));
}
function C9(e = {}) {
let t = Q.surfacePath();
- t !== Y5.sidebarSurface && (Y5.sidebarSurface = t, Y5.sidebarProps = {
- ...Y5.sidebarProps,
+ t !== X5.sidebarSurface && (X5.sidebarSurface = t, X5.sidebarProps = {
+ ...X5.sidebarProps,
content: null,
latest: null
- }), Y5.sidebarProps = {
- ...Y5.sidebarProps,
+ }), X5.sidebarProps = {
+ ...X5.sidebarProps,
...e
- }, w8()?.render(Y5.sidebarProps);
+ }, T8()?.render(X5.sidebarProps);
}
function w9() {
- C9(), Yze(), S7();
+ C9(), Yze(), C7();
}
function T9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Ou({ pendingQueueRoute: null });
@@ -83371,7 +83390,7 @@ function E9(e, t, n) {
}, Q.route(e, !1, tp(t));
}
function D9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, W5.syncPageTitle(location.href), C9(), Qf();
+ Q.surfaceEpoch++, X.barsRequestSeq++, G5.syncPageTitle(location.href), C9(), Qf();
}
function O9(e) {
Q.route(e), Ou({ pageOpens: yu + 1 });
@@ -83384,7 +83403,7 @@ function Xze() {
let t = sp(e);
return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !qf(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? S9(zze()) : e === "/follow" ? P9() : e === "/playlists" || Q.catalogPage(e) ? O9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? KRe() : e) : (L5(!1, !0), O9(V5({
+ e === "/immerse" ? S9(Rze()) : e === "/follow" ? P9() : e === "/playlists" || Q.catalogPage(e) ? O9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? GRe() : e) : (R5(!1, !0), O9(H5({
kind: e.slice(1),
q: "",
scope: "local",
@@ -83398,16 +83417,16 @@ function Zze() {
epoch: Q.surfaceEpoch,
path: e,
signal: Q.surfaceRequests?.signal
- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (l5(e) || u5(), kp(L("#stats"), L("#index")), !jn(e) && e !== "/trash" && Y7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (u5(e) || d5(), kp(L("#stats"), L("#index")), !jn(e) && e !== "/trash" && X7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
Q.surfaceEpoch++, X.barsRequestSeq++, Vp(e, {
replace: t,
state: n
- }), W5.syncPageTitle(e), queueMicrotask(() => {
- S7(), c7(), C9();
+ }), G5.syncPageTitle(e), queueMicrotask(() => {
+ C7(), l7(), C9();
});
}, Q.navigatePath = (e, t = !1, n) => {
t ? Bp.replace(e, n) : Bp.push(e, n), queueMicrotask(() => {
- S7(), c7();
+ C7(), l7();
});
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
}
@@ -83493,7 +83512,7 @@ var $ = {
};
function nBe(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
- N8.toast({ text: Ui(e) }, {
+ P8.toast({ text: Ui(e) }, {
warn: !!t,
timeout: t ? 8e3 : 6e3,
sound: t ? "warning" : "success",
@@ -83550,7 +83569,7 @@ async function F9(e, t = !0, n = null, r = !1) {
}
zl(), e = +e;
let i = !location.pathname.startsWith("/posts/");
- t && i && !r && Ou({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Ou({ followDetailReturnPath: ep() || "/follow" }), t && Zf(), h8()?.showing() !== "follow" && g9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, tp("follow")), await (await m8(p9.stageHost)).open({
+ t && i && !r && Ou({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Ou({ followDetailReturnPath: ep() || "/follow" }), t && Zf(), g8()?.showing() !== "follow" && _9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, tp("follow")), await (await h8(m9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -83558,11 +83577,11 @@ async function F9(e, t = !0, n = null, r = !1) {
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
helpers: $.followFeedHelpers,
actions: $.followDetailActions,
- resume: t ? null : m9()
- }), C7();
+ resume: t ? null : h9()
+ }), w7();
}
async function oBe() {
- await h9(), g9(!1, !1, { miniplayer: !1 }), Qf(), Q.route(hu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && M9() ? (rBe(), N9({ view: A9() })) : Ou({ pageOpens: yu + 1 }));
+ await g9(), _9(!1, !1, { miniplayer: !1 }), Qf(), Q.route(hu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && M9() ? (rBe(), N9({ view: A9() })) : Ou({ pageOpens: yu + 1 }));
}
function sBe(e) {
let t = document.createElement("div");
@@ -83573,7 +83592,7 @@ function sBe(e) {
function cBe() {
$.followFeedHelpers = Gl({
wireDrag: (e) => {
- e && f9(e);
+ e && p9(e);
},
wireScroller: (e) => {
e && Mc(e);
@@ -83581,24 +83600,24 @@ function cBe() {
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
jobProgress: tBe
}), $.followFeedActions = {
- loaded: (e) => $5(e),
+ loaded: (e) => e7(e),
openDetail: (e) => F9(e),
openAuthor: (e) => Q.navigatePath(Pn("creator", e)),
- toggleSelection: (e, t) => PRe(e, t),
+ toggleSelection: (e, t) => NRe(e, t),
setImagesOnly: (e) => {
- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), y5();
+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), b5();
},
setPhotoLayout: (e) => {
- gM(e), y5();
+ gM(e), b5();
},
- canFlip: () => !iu && !c9() && !window.__scrolling && !X.reduceMotion(),
- toast: (e, { undo: t } = {}) => N8.actionReceipt(e, { undo: t }),
- failure: (e, t) => N8.actionFailure(e, t),
+ canFlip: () => !iu && !l9() && !window.__scrolling && !X.reduceMotion(),
+ toast: (e, { undo: t } = {}) => P8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => P8.actionFailure(e, t),
checkReport: (e) => nBe(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- h8()?.showing() !== "follow" && (zl(), g9(!1), Z5(), !M9() && (Q.claimSurface(Q.surfacePath()), X5({ manage: !1 }), L("#stats").querySelector(".peach-react") && kp(L("#stats")), L("#stats").replaceChildren()));
+ g8()?.showing() !== "follow" && (zl(), _9(!1), Q5(), !M9() && (Q.claimSurface(Q.surfacePath()), Z5({ manage: !1 }), L("#stats").querySelector(".peach-react") && kp(L("#stats")), L("#stats").replaceChildren()));
}
}, $.followDetailActions = $l({
view: A9,
@@ -83606,11 +83625,11 @@ function cBe() {
rememberReturn: (e) => Ou({ followDetailReturnPath: e }),
close: () => void oBe(),
open: (e, t, n) => void F9(e, !0, t, n),
- drawer: $5,
+ drawer: e7,
openAuthor: (e) => Q.navigatePath(Pn("creator", e))
}, {
- toast: (e, { undo: t } = {}) => N8.actionReceipt(e, { undo: t }),
- failure: N8.actionFailure,
+ toast: (e, { undo: t } = {}) => P8.actionReceipt(e, { undo: t }),
+ failure: P8.actionFailure,
canFlip: $.followFeedActions.canFlip
});
}
@@ -83646,12 +83665,12 @@ function lBe() {
});
},
openPage: O9,
- rollSeed: () => Number(N8.rollSeed()),
+ rollSeed: () => Number(P8.rollSeed()),
enterSeed: () => Math.floor(Math.random() * 4294967295),
revealFeed: () => {
- zl(), Z5(), X5({ manage: !1 });
+ zl(), Q5(), Z5({ manage: !1 });
},
- syncPhotoWalls: y5,
+ syncPhotoWalls: b5,
scrollTop: () => {
Tm(() => location.pathname === "/follow", L("#stats").querySelector("[data-filter-frame]"));
}
@@ -83659,11 +83678,11 @@ function lBe() {
}
// src/application/lifecycle.js
function uBe() {
- BDe(), el(document), zo(document.documentElement, { variant: "page" }), zo(L("#drawerScroll")), Y8.own(Zc()), Ga(document.body), X.homeHasFeed = dRe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, Y5.sidebarProps = {
+ BDe(), el(document), zo(document.documentElement, { variant: "page" }), zo(L("#drawerScroll")), X8.own(Zc()), Ga(document.body), X.homeHasFeed = uRe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, X5.sidebarProps = {
content: null,
filters: {},
latest: null
- }, Y5.sidebarSurface = "", Y5.sidebarCatalog = null, Y5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
+ }, X5.sidebarSurface = "", X5.sidebarCatalog = null, X5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
@@ -83671,11 +83690,11 @@ function uBe() {
}
// src/application/tutorial.js
async function dBe() {
- _U({ reopen: !0 });
+ vU({ reopen: !0 });
}
function fBe() {
let e = new URL(location.href), t = e.searchParams.get("onboarding") === "1";
- Ou({ cameFromSetup: t }), Y8.handler(document.getElementById("tutorialBtn"), "onclick", () => _U()), _U({ invitation: !0 }), t && e.searchParams.delete("onboarding");
+ Ou({ cameFromSetup: t }), X8.handler(document.getElementById("tutorialBtn"), "onclick", () => vU()), vU({ invitation: !0 }), t && e.searchParams.delete("onboarding");
let n = e.searchParams.get("agentation");
try {
localStorage.removeItem("peach.agentation");
@@ -83795,9 +83814,9 @@ async function _Be(e) {
let i = ga(r);
for (let a of ["videos", "images"]) {
if (a === "images" ? !i.has("image") : i.size && !i.has("video")) continue;
- let o = _a(r, a), s = n.sources.find((e) => e.id === o.source_id), c = vG(o, s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], n), l = a === "images" ? o.media_items?.find((e) => e.media_kind === "image") : void 0;
+ let o = _a(r, a), s = n.sources.find((e) => e.id === o.source_id), c = AG(o, s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], n), l = a === "images" ? o.media_items?.find((e) => e.media_kind === "image") : void 0;
(a === "images" ? t : e).push({
- value: mG(o),
+ value: EG(o),
id: o.id,
who: c.author,
whoAvatarHtml: c.avatar,
@@ -83819,8 +83838,8 @@ async function _Be(e) {
}, `/works/${encodeURIComponent(e.code)}`)) : null, a.author = t.authors ? (t.authors.items || []).map((e) => ({
value: e.k,
href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,
- avatarHtml: q8(e),
- subtitle: e.latest ? `最新更新于 ${wG({ published_at: e.latest })}` : "更新时间未取得"
+ avatarHtml: J8(e),
+ subtitle: e.latest ? `最新更新于 ${IG({ published_at: e.latest })}` : "更新时间未取得"
})) : null, {
groups: pBe.map((e) => {
let t = a[e.kind] ?? [];
@@ -83884,12 +83903,12 @@ function z9(e) {
easing: "linear",
fill: "both"
});
- I9.searchMorph = h, Y8.handler(h, "onfinish", () => {
+ I9.searchMorph = h, X8.handler(h, "onfinish", () => {
I9.searchMorph === h && R9();
});
}
function bBe() {
- return p9.immerseOpen() ? v8().activeVideo() : h8()?.activeVideo() || null;
+ return m9.immerseOpen() ? y8().activeVideo() : g8()?.activeVideo() || null;
}
function xBe(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
@@ -83897,10 +83916,10 @@ function xBe(e) {
function SBe() {
I9.searchControl = null, I9.searchActions = {
search: (e) => {
- X.rememberSearchValue(), g9(!1), U.q = e, ku(), Q.route(U.jav === "1" ? T7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
+ X.rememberSearchValue(), _9(!1), U.q = e, ku(), Q.route(U.jav === "1" ? E7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
},
- openItem: (e) => b9(e),
- openEntity: (e, t) => D5(e, t),
+ openItem: (e) => x9(e),
+ openEntity: (e, t) => O5(e, t),
openPath: (e) => Q.route(e, !1),
openFollow: (e, t, n) => {
$.followMediaView = t, F9(e, !0, n);
@@ -83910,7 +83929,7 @@ function SBe() {
recommendations: () => _Be(Tn),
pendingRecommendations: mBe,
rollPlaceholder: (e, t) => ec(e, t),
- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? n5(e) : yBe(e)}</span>`,
+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? r5(e) : yBe(e)}</span>`,
present: (e) => ls(e),
dismiss: (e) => us(e),
wireScroller: (e) => Mc(e),
@@ -83936,30 +83955,30 @@ function SBe() {
}, {
container: L("#searchMenu"),
isCurrent: () => !0
- }), Y8.listen(L("#q"), "beforeinput", (e) => {
+ }), X8.listen(L("#q"), "beforeinput", (e) => {
e.isComposing || X.rememberSearchValue(e.currentTarget);
- }), Y8.listen(L("#q"), "scroll", (e) => {
+ }), X8.listen(L("#q"), "scroll", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
- }), Y8.listen(L("#q"), "pointerdown", (e) => {
+ }), X8.listen(L("#q"), "pointerdown", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
function CBe() {
- I9.searchMorph = null, I9.searchMorphViewport = innerWidth, Y8.listen.bind(Y8, window)("resize", () => {
+ I9.searchMorph = null, I9.searchMorphViewport = innerWidth, X8.listen.bind(X8, window)("resize", () => {
innerWidth !== I9.searchMorphViewport && (I9.searchMorphViewport = innerWidth, R9());
- }, { passive: !0 }), Y8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", R9), Y8.handler(L("#searchBtn"), "onclick", () => {
+ }, { passive: !0 }), X8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", R9), X8.handler(L("#searchBtn"), "onclick", () => {
z9(!0), L("#q").focus({ preventScroll: !0 });
- }), Y8.handler(L("#searchBack"), "onclick", () => {
+ }), X8.handler(L("#searchBack"), "onclick", () => {
z9(!1), L9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });
});
let e = (e) => {
e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || z9(!1), L9());
};
- Y8.listen(document, "pointerdown", e, !0), Y8.listen(document, "focusin", e), Y8.handler(L("#brandHome"), "onclick", (e) => {
- e.preventDefault(), E7();
- }), Y8.listen(document, "keydown", (e) => {
+ X8.listen(document, "pointerdown", e, !0), X8.listen(document, "focusin", e), X8.handler(L("#brandHome"), "onclick", (e) => {
+ e.preventDefault(), D7();
+ }), X8.listen(document, "keydown", (e) => {
if (e.key === "Escape") {
- let t = x8();
+ let t = S8();
if (t?.isOpen()) {
t.close();
return;
@@ -83968,27 +83987,27 @@ function CBe() {
L9();
return;
}
- if (p9.immerseOpen()) {
- v8().close();
+ if (m9.immerseOpen()) {
+ y8().close();
return;
}
- if (p9.stageOpen()) {
- e.defaultPrevented || (e.preventDefault(), h8().requestEscape());
+ if (m9.stageOpen()) {
+ e.defaultPrevented || (e.preventDefault(), g8().requestEscape());
return;
}
if (L("#drawer").classList.contains("open")) {
- n7(!1);
+ r7(!1);
return;
}
if (iu || nu.size || ru.size) {
- L5(!1, !0);
+ R5(!1, !0);
return;
}
return;
}
if (xBe(e.target)) return;
- if (!e.defaultPrevented && Aje(e, d9())) {
- e.preventDefault(), u9(!c9());
+ if (!e.defaultPrevented && kje(e, f9())) {
+ e.preventDefault(), d9(!l9());
return;
}
if (e.ctrlKey || e.metaKey || e.altKey) return;
@@ -84002,7 +84021,7 @@ function CBe() {
let t = bBe();
if (t) {
if (e.key === "t" || e.key === "T") {
- e.preventDefault(), h8()?.toggleTheater();
+ e.preventDefault(), g8()?.toggleTheater();
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
@@ -84022,7 +84041,7 @@ function CBe() {
return;
}
if (e.key === "i" || e.key === "I") {
- e.preventDefault(), h8()?.toggleMiniplayer();
+ e.preventDefault(), g8()?.toggleMiniplayer();
return;
}
}
@@ -84053,22 +84072,22 @@ var B9 = {
routing: void 0
};
function TBe() {
- let e = Y8, t = (e) => {
- e.kind === "item" ? b9(e.id, !1) : e.kind === "jav" ? Kze(e.code, !1) : e.kind === "follow" ? F9(e.id, !1) : _9(e.queue, e.key, e.item, !1);
+ let e = X8, t = (e) => {
+ e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? Kze(e.code, !1) : e.kind === "follow" ? F9(e.id, !1) : v9(e.queue, e.key, e.item, !1);
};
- if (uRe(), W5.entityShapesReady = r5(), QRe(), location.pathname === "/") {
+ if (lRe(), G5.entityShapesReady = i5(), ZRe(), location.pathname === "/") {
let e = new URLSearchParams(location.search);
- !e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1, l7(L("#catalogPageHeading"), e.get("q")));
+ !e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1, u7(L("#catalogPageHeading"), e.get("q")));
}
- l5(decodeURIComponent(location.pathname)) && o5(L("#feedNew")), oze(), B9.shellActions = {
- openSettings: (e) => i7(e, !0),
- closeSettings: () => x8()?.close(!1),
- openItem: (e) => void b9(e),
- openEntity: (e, t) => void D5(e, t),
+ u5(decodeURIComponent(location.pathname)) && s5(L("#feedNew")), aze(), B9.shellActions = {
+ openSettings: (e) => a7(e, !0),
+ closeSettings: () => S8()?.close(!1),
+ openItem: (e) => void x9(e),
+ openEntity: (e, t) => void O5(e, t),
openTag: (e) => {
- nze(), W7(e);
+ tze(), G7(e);
},
- openTasteSignal: ERe,
+ openTasteSignal: TRe,
navigate: (e) => {
let n = new URL(e, location.href), r = Kf(n.pathname, n.search);
if (r) {
@@ -84080,42 +84099,42 @@ function TBe() {
Gp(n.hash, () => Bp.navigation.seq === t);
} else Q.navigatePath(e);
},
- openManage: f7,
+ openManage: p7,
managePath: (e) => Q.routePathOf("section", e) || "",
openFollow: () => P9(),
- receipt: (e, t) => N8.actionReceipt(e, t),
- toast: (e, t) => N8.toast(e, t),
- failure: N8.actionFailure,
- revealSource: S5,
+ receipt: (e, t) => P8.actionReceipt(e, t),
+ toast: (e, t) => P8.toast(e, t),
+ failure: P8.actionFailure,
+ revealSource: C5,
reopenTutorial: dBe,
- routeReview: kRe,
- routeFollowManage: GRe,
+ routeReview: ORe,
+ routeFollowManage: WRe,
saveFollowPreference: (e) => {
e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();
},
srcBadge: (e, t) => Z.srcBadge(e, t),
- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(V5(e), t),
+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(H5(e), t),
savePeopleLayout: ({ layout: e }) => {
Z.appSettings.peopleLayout = e, Z.saveSettings();
},
- exitSelectMode: () => L5(!1, !1),
- personAvatar: (e, t, n) => B5.personAvatar(e, t, n),
- authorAvatar: (e) => qRe(e),
- showIndexTags: JRe,
- openFollowAuthor: U5,
- openFollowTag: YRe,
- openPlaylist: (e, t) => void v9(e, t, !0),
- canFlip: () => !iu && !c9() && !window.__scrolling && !X.reduceMotion(),
+ exitSelectMode: () => R5(!1, !1),
+ personAvatar: (e, t, n) => V5.personAvatar(e, t, n),
+ authorAvatar: (e) => KRe(e),
+ showIndexTags: qRe,
+ openFollowAuthor: W5,
+ openFollowTag: JRe,
+ openPlaylist: (e, t) => void y9(e, t, !0),
+ canFlip: () => !iu && !l9() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
e === "entity" ? (zl(), Ou({ barsContext: {
type: "home",
filters: U
- } }), Q5(), document.body.classList.add("entity-open"), N7(), H5()) : e === "index" ? (zl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), Q5(), document.body.classList.add("index-open"), N7(), H5()) : (zl(), Q.claimSurface(t), e === "catalog" ? Q5() : (Z5(), X5({ manage: e === "management" })));
+ } }), $5(), document.body.classList.add("entity-open"), P7(), U5()) : e === "index" ? (zl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), $5(), document.body.classList.add("index-open"), P7(), U5()) : (zl(), Q.claimSurface(t), e === "catalog" ? $5() : (Q5(), Z5({ manage: e === "management" })));
},
clearSearch: () => X.clearSearchField(),
openImmerse: (e) => {
- let t = p9.requestedImmerseId === void 0 ? e : p9.requestedImmerseId;
- p9.requestedImmerseId = void 0, S9(t, !1);
+ let t = m9.requestedImmerseId === void 0 ? e : m9.requestedImmerseId;
+ m9.requestedImmerseId = void 0, S9(t, !1);
},
openQueueRequest: () => {
let e = Q.requestedQueue;
@@ -84126,7 +84145,7 @@ function TBe() {
Q.requestedOverlay = null, Bp.navigation.claimed && (!Hp() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (Hp() && (Q.initialOverlayOpened = !0), t(e));
},
closeStage: () => {
- p9.stageOpen() && g9(!1);
+ m9.stageOpen() && _9(!1);
},
grid: {
helpers: X.gridHelpers,
@@ -84134,48 +84153,48 @@ function TBe() {
},
configurable: () => !!_u,
surfaceShown: (e) => {
- e === "index" ? (w9(), C7()) : H7();
+ e === "index" ? (w9(), w7()) : U7();
},
entity: {
missing: (e) => {
- B9.shellActions.surfaceChanged("entity", location.pathname), E5(e);
+ B9.shellActions.surfaceChanged("entity", location.pathname), D5(e);
},
loading: (e, t, n) => Y.application.loading(e, t, n),
props: (e, t, n) => Y.application.addressProps(e, t, n),
refresh: (e, t, n) => {
let r = Y.parseEntityFilters(n);
e === "creator" && (r.creator = "");
- let i = h5();
- return i.type !== "entity" || i.kind !== e || i.name !== t || !_5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (A7(r), j7(h5()), !0);
+ let i = g5();
+ return i.type !== "entity" || i.kind !== e || i.name !== t || !v5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (j7(r), M7(g5()), !0);
}
},
follow: $.followFeedShell,
catalog: {
- defaultLoc: () => w7("local,115"),
- open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (D9(), S7(), c7()), t && z8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), w9(), H7(), Z.handOff(q7())),
- load: () => Z.handOff(q7()),
+ defaultLoc: () => T7("local,115"),
+ open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (D9(), C7(), l7()), t && B8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), w9(), U7(), Z.handOff(J7())),
+ load: () => Z.handOff(J7()),
fill: () => {
- if (Q7() || !Hp() && !L("#grid").querySelector(".catalog-skeleton")) return;
+ if ($7() || !Hp() && !L("#grid").querySelector(".catalog-skeleton")) return;
let e = L("#count");
- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), X7(Q.surfaceToken(Q.surfacePath()));
+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), Z7(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
- Y7(), u5();
+ X7(), d5();
}
}
}, B9.routing = !1, e.listen(document, "click", (e) => {
let t = wBe(e);
t && (e.preventDefault(), B9.shellActions.navigate(t));
- }), Y8.own(Bp.listen((e) => {
- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !qf(e.location.pathname) && g9(!1), B9.routing && !e.claimed && D9();
- })), OLe(B9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), lze(), zRe(), o7();
- let n = l5(decodeURIComponent(location.pathname)) && X.homeHasFeed == null ? W5.entityShapesReady : null;
+ }), X8.own(Bp.listen((e) => {
+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !qf(e.location.pathname) && _9(!1), B9.routing && !e.claimed && D9();
+ })), DLe(B9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), cze(), RRe(), s7();
+ let n = u5(decodeURIComponent(location.pathname)) && X.homeHasFeed == null ? G5.entityShapesReady : null;
Promise.all([
- a9(),
- sze(),
+ o9(),
+ oze(),
n
]).then(() => {
- e.isActive && (W5.wantsDiscoveryBars() && H7().catch((e) => console.error("首页横条装载失败", e)), w9(), Rze(), B9.routing = !0, Ou({ pageOpens: 1 }), D9(), C7());
+ e.isActive && (G5.wantsDiscoveryBars() && U7().catch((e) => console.error("首页横条装载失败", e)), w9(), Lze(), B9.routing = !0, Ou({ pageOpens: 1 }), D9(), w7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
@@ -84206,7 +84225,7 @@ async function EBe(e, t) {
// src/application/chrome.js
function DBe() {
(() => {
- let e = Y8, t = [
+ let e = X8, t = [
"#brandHome",
"#filterBtn",
"#settingsBtn"
@@ -84266,7 +84285,7 @@ function DBe() {
e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());
}), Tn("/api/libraries", { signal: e.signal }).then((t) => {
if (!e.isActive) return;
- JG(t.libraries);
+ oK(t.libraries);
let n = [[
"",
"全部媒体库",
@@ -84287,7 +84306,7 @@ function DBe() {
s.className = "mark", s.setAttribute("aria-hidden", "true"), s.innerHTML = o(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(s), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${z(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${z(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {
sessionStorage.setItem("peach.library", t.dataset.library), sessionStorage.setItem("peach.library-label", n.find((e) => e[0] === t.dataset.library)?.[1] || "全部媒体库"), location.assign("/");
})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {
- u.setOpen(!1), n7(!1), j5("媒体库与入库");
+ u.setOpen(!1), r7(!1), M5("媒体库与入库");
});
let d = l.querySelector(".board-library-rows");
e.listen(d, "pointerover", (e) => {
@@ -84311,11 +84330,11 @@ function DBe() {
let _ = document.createElement("div");
_.className = "popmenu board-glow-menu", _.id = "boardGlowMenu", _.hidden = !0, _.setAttribute("popover", "manual"), _.setAttribute("role", "dialog"), _.setAttribute("aria-label", "配色"), document.body.append(_), e.own(() => _.remove());
let v = g.querySelector("#boardGlowBtn"), y = ps(g, v, _);
- e.own(y.dispose), e.own(iue(v)), FLe({
+ e.own(y.dispose), e.own(iue(v)), PLe({
root: _,
store: Z.settingsStore,
openDetails: () => {
- e.isActive && (y.setOpen(!1), n7(!1), i7("外观与导航").then((t) => {
+ e.isActive && (y.setOpen(!1), r7(!1), a7("外观与导航").then((t) => {
e.isActive && t.reveal("#homeGlowControls");
}));
}
@@ -84327,17 +84346,17 @@ function DBe() {
let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");
if (!t) return;
c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);
- let r = n.classList.contains("open"), i = !t7();
+ let r = n.classList.contains("open"), i = !n7();
i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;
}
- Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(Y8, window)("resize", b);
+ Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(X8, window)("resize", b);
let x = !1;
function S() {
x = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);
}
- if (e.listen.bind(Y8, window)("scroll", () => {
+ if (e.listen.bind(X8, window)("scroll", () => {
x || (x = !0, e.frame(S));
- }, { passive: !0 }), e.listen.bind(Y8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
+ }, { passive: !0 }), e.listen.bind(X8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");
n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";
let r = document.createElementNS(t, "defs");
@@ -84451,7 +84470,7 @@ function DBe() {
subtree: !0
}), y();
}
- })(), n7(!t7() && sessionStorage.getItem("board.sidebar") !== "closed");
+ })(), r7(!n7() && sessionStorage.getItem("board.sidebar") !== "closed");
}
// src/navigation-progress.ts
var OBe = 200, kBe = 400, ABe = 240;
@@ -84489,7 +84508,7 @@ function jBe() {
}
// src/application/initialize.js
function MBe() {
- uBe(), Xze(), $Re(), Zze(), Bze(), ILe(), jze(), fBe(), CRe(), qze(), BRe(), Mze(), gRe(), ARe(), cBe(), XRe(), wRe(), lBe(), ZRe(), TRe(), hze(), Nze(), SBe(), Jze(), CBe(), Vze(), TBe(), DBe(), Y8.own(jBe()), Y8.own(Y7), Y8.own(T9);
+ uBe(), Xze(), QRe(), Zze(), zze(), FLe(), Aze(), fBe(), SRe(), qze(), zRe(), jze(), hRe(), kRe(), cBe(), YRe(), CRe(), lBe(), XRe(), wRe(), mze(), Mze(), SBe(), Jze(), CBe(), Bze(), TBe(), DBe(), X8.own(jBe()), X8.own(X7), X8.own(T9);
}
// src/ui-kit/middle-truncate.ts
var NBe = "…", PBe = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, H9 = /* @__PURE__ */ new WeakMap(), U9 = /* @__PURE__ */ new Set(), W9 = 0, G9 = /* @__PURE__ */ new WeakSet(), K9 = null, q9 = null, FBe = (e) => PBe ? [...PBe.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? "")), J9 = (e, t) => {
@@ -84753,13 +84772,13 @@ function lVe(e, t) {
last: n
};
let r = t.items.filter((t) => t.id > e.last);
- if (r.length > sVe) GQ(`ingest-${t.epoch}-${n}`, {
+ if (r.length > sVe) qU(`ingest-${t.epoch}-${n}`, {
html: `${r.length} 部作品已入库`,
alert: !1,
timeout: 8e3,
action: null
});
- else for (let e of r) GQ(`ingest-${t.epoch}-${e.id}`, {
+ else for (let e of r) qU(`ingest-${t.epoch}-${e.id}`, {
html: cVe(e),
alert: !1,
timeout: 8e3,
@@ -84775,8 +84794,8 @@ function lVe(e, t) {
}
function uVe() {
let e = Ft({
- queryKey: Ope,
- queryFn: ({ signal: e }) => kpe(e),
+ queryKey: Epe,
+ queryFn: ({ signal: e }) => Dpe(e),
refetchInterval: (e) => e.state.data?.busy ? BI : VI
}), t = (0, F.useRef)(void 0), n = (0, F.useRef)(null), [r] = (0, F.useState)(aVe), i = e.data?.result_versions, a = e.data?.ingest_notices;
return (0, F.useEffect)(() => {
@@ -84792,20 +84811,20 @@ function dVe(e) {
}
function fVe() {
if (!Q9) {
- let e = QLe();
+ let e = ZLe();
Q9 = {
effects: e,
owners: 0
}, e.own(tVe(document)), e.own(() => {
zl(), H.cancelQueries();
- }), e.own(kLe), e.own(Ap), e.own(ss);
+ }), e.own(OLe), e.own(Ap), e.own(ss);
}
return Q9.owners += 1, Q9.effects.resume(), Q9;
}
function pVe() {
let [e, t] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
- let e = Q9 === null, n = fVe(), r = DLe(t);
+ let e = Q9 === null, n = fVe(), r = ELe(t);
if (e) try {
MBe();
} catch (e) {
@@ -84836,6 +84855,6 @@ O();
var hVe = document.getElementById("appRoot");
if (!hVe) throw Error("主界面宿主缺失");
mVe(hVe);
-export { IL as $2ec61d1d4f780267$export$a8a3e93435678ff9, WL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, sz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, TD as $72abaeab4d80592f$export$78efe591171d7d45, $z as $76d00c5a4edb230a$export$76ccd210b9029917, Xz as $76d00c5a4edb230a$export$816b5d811295e6bc, nB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, iB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, Yz as $76d00c5a4edb230a$export$f850895b287ef28e, nge as $b4f18e3395fe64d7$export$3d96ec278d3efce4, tge as $b4f18e3395fe64d7$export$3e41faf802a29e71, Qhe as $b4f18e3395fe64d7$export$b2539bed5023c21c, cB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, age as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, fE as $ea3928288112382f$export$439d29a4e110a164, bz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Dz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Oz as $fe21c36db05242bb$export$d7b12c4107be0d61, Uge as $l, Lj as ACCENTS, nje as AMANE_BRIDGE_CHECK_URL, I$ as AMANE_BRIDGE_KEY, rje as AMANE_BRIDGE_REBUILD_URL, sr as ApiError, HU as ArtSlot, D2 as BATCH_DELETE_TEXT, J as Button, mL as ButtonLink, BB as Bx, F$ as CHECK_ALL_KEY, l$ as CLEANUP_ENTRY, c$ as CLEANUP_ENTRY_GRID, ip as CLEANUP_HASH_REDIRECTS, np as CLEANUP_TOOLS, vn as CLOUD_LOCATIONS, $1 as CLOUD_PROXY_HELP, Kr as COLUMN_SORT, e1 as CONFIGURATION_KEY, UY as CONFIGURATION_URL, ije as COOKIE_TEXT_LIMIT, P$ as COVER_JOB_KEY, jl as COVER_STATE_TITLE, Xi as CREDENTIAL_STATE, k$ as CUSTOM_SOURCES_KEY, O$ as CUSTOM_SOURCES_URL, sG as CatalogViewToggle, PV as Checkbox, NV as CheckboxGlyph, wV as ChevronSortDown, VU as Chip, ZU as CloudDownloadDialog, OH as CollapseChevron, DH as CollapseRegion, n$ as CollectionSummary, Mve as CommandSteps, dQ as CoverQueue, NTe as DEFAULT_CATEGORY, dr as DEFAULT_SORT, OQ as DIAGNOSTICS_KEY, NEe as DIRECTORY_TEMPLATE_ERROR, iW as DISCOVERY_SORTS, WU as DOWNLOADS_KEY, UU as DOWNLOADS_URL, lY as DUPLICATES_KEY, UJ as DataTableFooter, zJ as DataTableFrame, HJ as DataTableSort, PH as Disclosure, zye as DownloadsPanel, jge as E3, PTe as ENTITY_REVIEW_KINDS, Z1 as ENTRY_LINKS_HELP, Q1 as ENTRY_LINKS_HINT, MB as Ea, g_e as EmptyFocusButton, oV as EmptyState, MH as ErrorText, o_e as Eu, Nve as ExternalLink, Vr as FEEDS_KEY, XY as FEED_SCHEDULE_KEY, o$ as FIELDSET_FOOT, NIe as FLOW_LABEL_X, s6 as FLOW_VIEWBOX, zr as FOLLOW_CHECK_KEY, Rr as FOLLOW_CREDENTIALS_KEY, W8 as FOLLOW_INITIAL_RANGE_OPTIONS, Lr as FOLLOW_MANAGE_KEY, AZ as FOLLOW_MANAGE_NAV, Br as FOLLOW_RESOLVE_KEY, YY as FOLLOW_SCHEDULE_KEY, Ive as Fact, Fve as FactList, NH as FieldLabel, y$ as Fieldset, v$ as FieldsetTitle, $pe as FilterGlass, sL as FilterGlassRows, oL as FilterIconButton, cL as FilterPill, jve as Footer, LB as Gg, lL as GlassPill, WB as HN, jH as Help, ZB as HintText, TIe as IDLE_POLL_MS, STe as IDLE_REPAIR, nL as IconButton, AQ as IndexSearch, nV as Input, tV as InputBase, x$ as IssueRow, tM as JAV_LAYOUTS, K0 as JAV_RECOMMENDATION_GRID, xX as JUNK_KEY, vW as JavHeader, gTe as KEEP_LABELS, xge as L1, Ur as LAYOUTS, X1 as LIBRARY_FOLDER_HELP, qV as LIBRARY_PROCESSING_KEY, FY as LINKS_KEY, IY as LINK_CHECK_KEY, iEe as LINK_KINDS, LY as LINK_PRUNE_KEY, nr as LOC, XB as Label, w$ as LibraryProcessingCard, CV as LibraryShortcuts, lH as LinkButton, Gge as Lo, SH as LoadingDots, Nge as M6, uEe as MEDIA_PROCESSING_KEY, QY as MEDIA_PROCESSING_URL, mY as MEDIA_REPAIR_KEY, pY as MEDIA_REPAIR_URL, yr as MEDIA_SOURCES_KEY, vs as MEDIA_SOURCE_ICONS, gn as MEDIA_SOURCE_OPTIONS, OV as MENU_ITEM, kV as MENU_ITEM_INTERACTIVE, DV as MENU_POPOVER_SURFACE, qge as Ma, pH as MenuDialog, _K as MixCard, rV as ModalFrame, Cx as MotionConfigContext, JB as NR, b$ as NameLink, aV as Note, f_e as OA, tX as ORGANIZE_KEY, w2 as ORGANIZE_PARAMETER_HINT, C2 as ORGANIZE_SCOPE_HINT, S2 as ORGANIZE_TEXT, iX as ORPHAN_RECORDS_KEY, E2 as ORPHAN_RECORDS_TEXT, FB as OV, bB as P7, vX as PERFORMER_DELETE_KEY, Jye as PHASES, lEe as PICK_FOLDER_URL, d$ as PLAIN_STAT_STRIP, E$ as PLAYLISTS_KEY, bMe as POLICY_COLUMNS, SMe as POLICY_COVER_NOTE, xMe as POLICY_MATRIX, Y1 as POLICY_SUMMARY, VJ as Pagination, C$ as PathLine, KB as Pf, AI as PillTabList, wAe as PlainStat, wH as Progress, yY as QUALITY_GOALS_KEY, GB as RB, U0 as RELEASE_COLUMN_VISIBILITY_KEY, H0 as RELEASE_COLUMN_WIDTHS_KEY, aW as RELEASE_SORTS, XMe as RELEASE_SORT_COLUMNS, p$ as REPAIR_CARD_TEXT, hY as REPAIR_LIBRARIES_KEY, lX as RESOURCE_APPLY_KEY, cX as RESOURCE_SCAN_KEY, T2 as RESOURCE_SYNC_TEXT, AAe as RESULT_PANEL, jAe as RESULT_SECTION, MTe as REVIEW_CATEGORIES, bX as REVIEW_COUNTS_KEY, FTe as REVIEW_DECISION_LABELS, SY as REVIEW_KEY, CY as REVIEW_LABELS, TY as REVIEW_QUEUES, EY as REVIEW_QUEUE_LABELS, RG as RetryNote, u_e as Rf, YB as Rk, Ove as Rows, j$ as SCRAPING_CHECK_ALL_URL, eje as SCRAPING_CHECK_URL, M$ as SCRAPING_COVER_URL, N$ as SCRAPING_KEY, $Ae as SCRAPING_SETTINGS_URL, eU as SEGMENT, $H as SEGMENTED_TRACK, JY as SETTINGS_KEY, WY as SETTINGS_URL, fr as SORT_DEFAULT_DIR, ur as SORT_OPTIONS, yn as SOURCE_LABELS, M3 as STATS_KEY, SAe as STAT_STRIP, CAe as STAT_STRIP_SIX, Dve as Section, MAe as SectionHeading, Ave as SectionSkeleton, QH as SegmentedRadioGroup, Zve as SegmentedTabList, jG as Segments, BJ as Select, RU as Select$1, i1 as SelectField, zU as SelectItem, XJ as SelectionActions, hj as SelectionDock, ZJ as SelectionPopover, kH as SettingsCard, Eve as SettingsRow, AH as SettingsSectionLabel, MG as Shuffle, Bve as SiteLabel, lG as SortDirectionIcon, NG as SortKeys, uQ as SourceAvatar, RH as SourceLabel, FH as SourceMark, kve as Stack, TAe as StatCard, S$ as StatusLabel, s_e as Su, u4 as Switch, zI as TASKS_KEY, mIe as TASTE_REFRESH_KEY, hIe as TASTE_WINDOWS, ZY as THUMBNAIL_JOBS_KEY, CX as TRASH_KEY, Mpe as TRIGGER_LABELS, OJ as Table, QJ as TableColumnControls, $J as TableColumnResizer, tY as TableSelectionHeader, ZQ as TagManager, Pve as TaskCenterLink, TH as TaskProgress, $B as TextField, QB as TextFieldContext, NB as Un, d_e as Uz, $U as WANTS_KEY, T4 as WantMagnets, Zg as WithPromise, wB as Wt, jB as Xc, qB as Xf, EB as Xl, TB as Xt, SB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, UB as _p, l_e as aB, Ei as addAlias, Ti as addSource, tW as addWant, fS as animate, B as apiGet, V as apiSend, Yj as appSettingsStore, QEe as applyConfirmText, _X as applyLeftovers, ZEe as applyPlanText, eDe as applyText, $j as applyTheme, by as asNumber, BEe as attachOrphan, ci as authorAvatar, ui as authorGroups, si as authorInitial, oi as authorName, gq as autoResetPageIndex, vo as avatarInner, R3 as bandRows, PEe as baseName, xTe as batchOperate, que as beginPlayerGuidePreview, bj as boundedPreference, vTe as bulkCloudPreferences, uV as busyProps, c_e as cB, UPe as cachedMagnetStates, Gg as calcGeneratorVelocity, HTe as canApprove, bg as cancelFrame, GEe as candidateText, vU as cardClass, mM as cardRatio, IJ as catalogListSkeletonCellHtml, AB as cc, Ki as checkEvidenceGap, Gi as checkFailures, Fi as checkFeeds, cEe as checkLine, Ui as checkReceipt, Wi as checkSummary, oje as checkText, qi as checkedText, iK as clickedBlank, r7 as closeDrawerAfterNav, lTe as cloudLocations, A0 as cloudProxySkeleton, GC as clsx, Xge as cn, dv as collectMotionValues, Iq as columnVisibilityFeature, CJ as column_getCanSort, yJ as column_getSortFn, BTe as commonReviewSources, XU as composingKey, Lf as configurationSection, yIe as configureTasteBrowser, dl as confirmModal, Ape as controlTask, QK as copyInstancePropertiesWithoutMemos, abe as coverArrived, rbe as coverFetching, Nl as coverFetchingHtml, Ml as coverStateAction, uo as coverUrl, Dq as createColumnHelper, qAe as createPlaylist, Zi as credentialDone, E0 as credentialsSkeleton, ZTe as currentReviewRow, q as cx, Pge as d6, zB as dZ, JTe as decisionPayload, YTe as decisionReceipt, qTe as defaultChoice, nDe as deletePerformerVideos, YAe as deletePlaylist, P0 as devicesSkeleton, x as diagnosticHeaders, J1 as diagnosticsSkeleton, obe as discoveryArtwork, dW as discoveryKey, ebe as discoveryScore, g9 as disposeStage, mTe as distinctName, Vi as dropSources, a_e as du, yTe as duplicateVictims, qI as elapsedText, nn as entityDisplayName, _o as entityFaceImg, Pn as entityPath, ti as errorHeadline, lr as errorMessage, z as esc, hq as expandRowModel, pB as f1, xo as facePos, ei as feedIntervalText, B$ as fetchAmaneBridge, z$ as fetchCheckAllJob, vi as fetchCheckJob, t1 as fetchConfiguration, R$ as fetchCoverJob, uW as fetchCoverNow, _i as fetchCredentials, A$ as fetchCustomSources, yX as fetchDeletePerformers, tDe as fetchDeletePlan, kQ as fetchDiagnostics, fW as fetchDiscoveries, dY as fetchDuplicates, Tpe as fetchEarlier, pEe as fetchFeedSchedule, Mi as fetchFeeds, gi as fetchFollow, fEe as fetchFollowSchedule, TX as fetchJunkSummary, tH as fetchLibraryProcessing, BY as fetchLinkCheck, VY as fetchLinkPrune, zY as fetchLinkStats, dEe as fetchMediaProcessing, gY as fetchMediaRepair, br as fetchMediaSources, nX as fetchOrganize, EEe as fetchOrganizeExample, aX as fetchOrphanRecords, ji as fetchPending, D$ as fetchPlaylists, bY as fetchQualityGoals, hW as fetchReleases, _Y as fetchRepairLibraries, yi as fetchResolveJob, dX as fetchResourceApply, uX as fetchResourceScan, MY as fetchReview, wX as fetchReviewCounts, $Y as fetchSettings, L$ as fetchSources, N3 as fetchStats, bi as fetchSuggestions, HI as fetchTasks, i6 as fetchTaste, bIe as fetchTasteJob, mEe as fetchThumbnailJobs, EX as fetchTrashSummary, eW as fetchWants, RTe as filterReviewRows, er as firstGrapheme, PK as flexRender, FIe as flowGraph, IIe as flowLabel, PFe as fmtCount, Jn as fmtDur, Xn as fmtSize, wpe as foldByKind, Hpe as foldRoutine, Li as followFeedByName, Ri as followFeedEntity, Hr as followSuggestKey, Wpe as followupDetail, Cpe as followupTally, yg as frame, vB as g4, zq as getDefaultPaginationState, pM as gridLayout, li as groupByAuthor, Vpe as groupFollowups, kY as groupReviewRows, YEe as hasChanges, fX as hasResourceRoots, WI as hasResultProblems, EIe as historySpan, mB as i2, wIe as importTasteExport, D0 as indexersSkeleton, Vg as interpolate, rW as invalidateWants, KI as isActive, $r as isBroken, qr as isLayout, Sv as isMotionValue, wY as isReviewCategory, Upe as isRoutine, O0 as javBrowserSkeleton, J0 as javContentSkeleton, oM as javLayout, q0 as javTagSkeleton, sDe as junkBreakdown, dTe as keepGroup, XAe as keepPlaylist, ke as keepPreviousData, pi as keepSelected, P3 as known, bge as l1, Dge as l7, Bpe as latestOfKind, $n as leadingGraphemes, KFe as lengthRows, Cr as localTime, mo as logoUrl, Ii as lookupFeedActor, yB as m7, RB as mM, Dn as mapLimit, Ai as markItem, z3 as max, WFe as mediumRows, Epe as mergeFinished, B3 as min, nEe as mirrorText, TTe as missingToolText, fY as mixedCloudPreferences, ZI as momentText, pS as motion, pv as motionValue, rn as nameFallback, Ue as notifyManager, Fge as oe, IEe as organizeOutcome, u2 as overlayHost, Jr as pageSizeOf, fi as pageWindow, hr as paginationRange, Bi as patchSource, Bp as peachHistory, Bp as peachHistory$1, KTe as pendingGenres, IFe as percentText, kEe as pickOrganizeFolder, u$ as plainStatClass, FEe as planSummary, F3 as playedFor, RFe as playedItemUrl, Dpe as pollInterval, Zs as popCount, KAe as posterUrl, Nxe as previewLibraryColor, OEe as previewOrganize, OTe as previewUrl, Rpe as problemDestination, XV as processingActive, JI as progressText, LH as providerIcon, sEe as pruneText, mX as purgeCount, VEe as purgeOrphan, VB as pv, i_e as qE, H as queryClient, hB as r2, MIe as radarRows, VFe as radialArc, HFe as radialBarSize, BFe as radialCeiling, zFe as radialSlices, AN as randomId, AIe as rankDetail, jIe as rankShares, L3 as reachedShare, YI as readableErrorHeadline, tbe as recommendationScore, QTe as recordGenre, UEe as recordsText, ZAe as recreatePlaylist, WAe as refreshPlaylists, Ol as relayoutCovers, W0 as releaseColumns, pW as releaseFilters, mW as releaseKey, Hi as reloadFollowManage, tEe as reloadReview, TMe as rememberShape, jEe as rememberTemplates, Di as removeAlias, Pi as removeFeed, wi as removeSource, CIe as removeTasteSource, nW as removeWants, Oi as renameAliasGroup, JAe as renamePlaylist, Se as replaceEqualDeep, JFe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, JK as require_with_selector, Zye as resetWants, mr as resolveFollowSort, Jg as resolveStartTime, cve as restartEffectText, GAe as resumeAssetId, LTe as reviewGroupingOptions, OY as reviewQueueData, DY as reviewQueueOf, oDe as reviewSummary, zTe as reviewWindow, WTe as rowEvidence, jY as rowFieldName, Kq as rowPaginationFeature, pJ as rowSelectionFeature, EJ as rowSortingFeature, AY as rowSubject, GTe as rowTags, UTe as rowTitle, wge as s5, ki as saveCredential, XEe as scanLine, yEe as schedulePollInterval, $ye as searchNote, VTe as selectReviewRange, mi as selectionState, Ni as setFeedEnabled, Ci as setSourceEnabled, Vf as settingsPath, eEe as settleReviewRows, pTe as sharedNamePrefix, Vp as shellNavigate, M8 as showToast, Bn as siteMarkUrl, oq as skipFirstRun, OI as sortCx, Xr as sortLabel, bn as sourceDefaultCost, Yi as sourceIconUrl, $Ee as sourceMeta, Hs as spinnerHtml, zg as spring, cV as spriteGlyph, xi as startCheck, aEe as startLinkCheck, oEe as startLinkPrune, AEe as startOrganize, Si as startResolve, qEe as startResourceApply, KEe as startResourceScan, SIe as startTasteRefresh, xAe as statCardClass, Ppe as statusLabel, wTe as statusLine, Qr as statusText, hM as storeJavLayout, XTe as submitDecision, QI as summaryItems, Oq as tableFeatures, sq as tableMemo, di as tableRows, Lpe as taskIssues, zpe as taskSubject, a6 as tasteDate, OIe as tasteDimensions, DIe as tasteHours, r6 as tasteKey, _Ie as tasteRefetchInterval, vIe as tasteTime, PI as textLang, V0 as tierPlaceholdersHtml, hh as time, Vge as tl, hi as toggleGroup, o6 as topScores, Qge as um, Kge as uo, uH as useAction, TZ as useBackgroundJob, oG as useCatalogView, AU as useClientUpdates, Dm as useConstant, $I as useEntityNames, aL as useHorizontalScroller, Om as useIsomorphicLayoutEffect, rK as useLibraryTints, It as useMutation, FV as useOverlayScrollbar, Ft as useQuery, ae as useQueryClient, tS as useReducedMotion, vEe as useRunSchedule, gEe as useSaveFollowSchedule, eX as useSaveSettings, bEe as useSaveThumbnailMode, DJ as useTable, KJ as useTablePreferences, fL as useViewGlide, bTe as victimBytes, Hge as vl, Qye as wantName, LFe as watchNote, I3 as watchedShare, Ige as we, Mc as wireHorizontalScroller, MEe as withOrganizeJob, nbe as writeJavQuery, Mge as z3 };
+export { IL as $2ec61d1d4f780267$export$a8a3e93435678ff9, WL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, sz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, TD as $72abaeab4d80592f$export$78efe591171d7d45, $z as $76d00c5a4edb230a$export$76ccd210b9029917, Xz as $76d00c5a4edb230a$export$816b5d811295e6bc, nB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, iB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, Yz as $76d00c5a4edb230a$export$f850895b287ef28e, tge as $b4f18e3395fe64d7$export$3d96ec278d3efce4, ege as $b4f18e3395fe64d7$export$3e41faf802a29e71, Zhe as $b4f18e3395fe64d7$export$b2539bed5023c21c, cB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, ige as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, fE as $ea3928288112382f$export$439d29a4e110a164, bz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Dz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Oz as $fe21c36db05242bb$export$d7b12c4107be0d61, Hge as $l, Lj as ACCENTS, tje as AMANE_BRIDGE_CHECK_URL, L$ as AMANE_BRIDGE_KEY, nje as AMANE_BRIDGE_REBUILD_URL, sr as ApiError, tW as ArtSlot, O2 as BATCH_DELETE_TEXT, J as Button, mL as ButtonLink, BB as Bx, I$ as CHECK_ALL_KEY, u$ as CLEANUP_ENTRY, l$ as CLEANUP_ENTRY_GRID, ip as CLEANUP_HASH_REDIRECTS, np as CLEANUP_TOOLS, vn as CLOUD_LOCATIONS, e0 as CLOUD_PROXY_HELP, Kr as COLUMN_SORT, t1 as CONFIGURATION_KEY, XY as CONFIGURATION_URL, rje as COOKIE_TEXT_LIMIT, F$ as COVER_JOB_KEY, jl as COVER_STATE_TITLE, Xi as CREDENTIAL_STATE, A$ as CUSTOM_SOURCES_KEY, k$ as CUSTOM_SOURCES_URL, xG as CatalogViewToggle, PV as Checkbox, NV as CheckboxGlyph, wV as ChevronSortDown, YU as Chip, uW as CloudDownloadDialog, kH as CollapseChevron, OH as CollapseRegion, r$ as CollectionSummary, Ave as CommandSteps, yQ as CoverQueue, NTe as DEFAULT_CATEGORY, dr as DEFAULT_SORT, IQ as DIAGNOSTICS_KEY, NEe as DIRECTORY_TEMPLATE_ERROR, _W as DISCOVERY_SORTS, rW as DOWNLOADS_KEY, nW as DOWNLOADS_URL, _Y as DUPLICATES_KEY, eW as DataTableFooter, ZJ as DataTableFrame, $U as DataTableSort, FH as Disclosure, zye as DownloadsPanel, Age as E3, PTe as ENTITY_REVIEW_KINDS, Q1 as ENTRY_LINKS_HELP, $1 as ENTRY_LINKS_HINT, MB as Ea, h_e as EmptyFocusButton, oV as EmptyState, NH as ErrorText, a_e as Eu, jve as ExternalLink, Vr as FEEDS_KEY, iX as FEED_SCHEDULE_KEY, s$ as FIELDSET_FOOT, MIe as FLOW_LABEL_X, c6 as FLOW_VIEWBOX, zr as FOLLOW_CHECK_KEY, Rr as FOLLOW_CREDENTIALS_KEY, G8 as FOLLOW_INITIAL_RANGE_OPTIONS, Lr as FOLLOW_MANAGE_KEY, RZ as FOLLOW_MANAGE_NAV, Br as FOLLOW_RESOLVE_KEY, rX as FOLLOW_SCHEDULE_KEY, Pve as Fact, Nve as FactList, PH as FieldLabel, b$ as Fieldset, y$ as FieldsetTitle, Qpe as FilterGlass, sL as FilterGlassRows, oL as FilterIconButton, cL as FilterPill, kve as Footer, LB as Gg, lL as GlassPill, WB as HN, MH as Help, ZB as HintText, wIe as IDLE_POLL_MS, STe as IDLE_REPAIR, nL as IconButton, RQ as IndexSearch, nV as Input, tV as InputBase, S$ as IssueRow, tM as JAV_LAYOUTS, q0 as JAV_RECOMMENDATION_GRID, kX as JUNK_KEY, MW as JavHeader, gTe as KEEP_LABELS, bge as L1, Ur as LAYOUTS, Z1 as LIBRARY_FOLDER_HELP, qV as LIBRARY_PROCESSING_KEY, UY as LINKS_KEY, WY as LINK_CHECK_KEY, aEe as LINK_KINDS, iEe as LINK_PRUNE_KEY, nr as LOC, XB as Label, T$ as LibraryProcessingCard, CV as LibraryShortcuts, lH as LinkButton, Wge as Lo, CH as LoadingDots, Mge as M6, uEe as MEDIA_PROCESSING_KEY, oX as MEDIA_PROCESSING_URL, SY as MEDIA_REPAIR_KEY, xY as MEDIA_REPAIR_URL, yr as MEDIA_SOURCES_KEY, vs as MEDIA_SOURCE_ICONS, gn as MEDIA_SOURCE_OPTIONS, OV as MENU_ITEM, kV as MENU_ITEM_INTERACTIVE, DV as MENU_POPOVER_SURFACE, Kge as Ma, pH as MenuDialog, kK as MixCard, rV as ModalFrame, Cx as MotionConfigContext, JB as NR, x$ as NameLink, aV as Note, d_e as OA, lX as ORGANIZE_KEY, T2 as ORGANIZE_PARAMETER_HINT, w2 as ORGANIZE_SCOPE_HINT, C2 as ORGANIZE_TEXT, fX as ORPHAN_RECORDS_KEY, D2 as ORPHAN_RECORDS_TEXT, FB as OV, bB as P7, EX as PERFORMER_DELETE_KEY, Jye as PHASES, ZY as PICK_FOLDER_URL, f$ as PLAIN_STAT_STRIP, D$ as PLAYLISTS_KEY, yMe as POLICY_COLUMNS, xMe as POLICY_COVER_NOTE, bMe as POLICY_MATRIX, X1 as POLICY_SUMMARY, w$ as PathLine, KB as Pf, AI as PillTabList, CAe as PlainStat, bH as ProcessingMode, TH as Progress, DY as QUALITY_GOALS_KEY, GB as RB, W0 as RELEASE_COLUMN_VISIBILITY_KEY, U0 as RELEASE_COLUMN_WIDTHS_KEY, EW as RELEASE_PAGE_SIZES, vW as RELEASE_SORTS, YMe as RELEASE_SORT_COLUMNS, m$ as REPAIR_CARD_TEXT, CY as REPAIR_LIBRARIES_KEY, _X as RESOURCE_APPLY_KEY, gX as RESOURCE_SCAN_KEY, E2 as RESOURCE_SYNC_TEXT, kAe as RESULT_PANEL, AAe as RESULT_SECTION, MTe as REVIEW_CATEGORIES, OX as REVIEW_COUNTS_KEY, FTe as REVIEW_DECISION_LABELS, AY as REVIEW_KEY, jY as REVIEW_LABELS, NY as REVIEW_QUEUES, PY as REVIEW_QUEUE_LABELS, XG as RetryNote, l_e as Rf, YB as Rk, Eve as Rows, M$ as SCRAPING_CHECK_ALL_URL, $Ae as SCRAPING_CHECK_URL, N$ as SCRAPING_COVER_URL, P$ as SCRAPING_KEY, QAe as SCRAPING_SETTINGS_URL, tU as SEGMENT, eU as SEGMENTED_TRACK, nX as SETTINGS_KEY, QY as SETTINGS_URL, fr as SORT_DEFAULT_DIR, ur as SORT_OPTIONS, yn as SOURCE_LABELS, N3 as STATS_KEY, xAe as STAT_STRIP, SAe as STAT_STRIP_SIX, Tve as Section, jAe as SectionHeading, Ove as SectionSkeleton, $H as SegmentedRadioGroup, Yve as SegmentedTabList, UG as Segments, XU as Select, zU as Select$1, a1 as SelectField, BU as SelectItem, iY as SelectionActions, hj as SelectionDock, aY as SelectionPopover, AH as SettingsCard, wve as SettingsRow, jH as SettingsSectionLabel, WG as Shuffle, Rve as SiteLabel, QU as SortDirectionIcon, GG as SortKeys, vQ as SourceAvatar, zH as SourceLabel, IH as SourceMark, Dve as Stack, wAe as StatCard, C$ as StatusLabel, o_e as Su, d4 as Switch, zI as TASKS_KEY, pIe as TASTE_REFRESH_KEY, mIe as TASTE_WINDOWS, aX as THUMBNAIL_JOBS_KEY, jX as TRASH_KEY, jpe as TRIGGER_LABELS, BJ as Table, oY as TableColumnControls, sY as TableColumnResizer, lY as TableSelectionHeader, QQ as TagManager, Mve as TaskCenterLink, EH as TaskProgress, $B as TextField, QB as TextFieldContext, NB as Un, u_e as Uz, fW as WANTS_KEY, E4 as WantMagnets, Zg as WithPromise, wB as Wt, jB as Xc, qB as Xf, EB as Xl, TB as Xt, SB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, UB as _p, c_e as aB, Ei as addAlias, Ti as addSource, mW as addWant, fS as animate, B as apiGet, V as apiSend, Yj as appSettingsStore, QEe as applyConfirmText, TX as applyLeftovers, ZEe as applyPlanText, eDe as applyText, $j as applyTheme, by as asNumber, BEe as attachOrphan, ci as authorAvatar, ui as authorGroups, si as authorInitial, oi as authorName, Oq as autoResetPageIndex, vo as avatarInner, z3 as bandRows, PEe as baseName, xTe as batchOperate, que as beginPlayerGuidePreview, bj as boundedPreference, vTe as bulkCloudPreferences, uV as busyProps, s_e as cB, HPe as cachedMagnetStates, Gg as calcGeneratorVelocity, HTe as canApprove, bg as cancelFrame, GEe as candidateText, yU as cardClass, mM as cardRatio, JJ as catalogListSkeletonCellHtml, AB as cc, Ki as checkEvidenceGap, Gi as checkFailures, Fi as checkFeeds, lEe as checkLine, Ui as checkReceipt, Wi as checkSummary, aje as checkText, qi as checkedText, gK as clickedBlank, i7 as closeDrawerAfterNav, lTe as cloudLocations, j0 as cloudProxySkeleton, GC as clsx, Yge as cn, dv as collectMotionValues, Jq as columnVisibilityFeature, FJ as column_getCanSort, jJ as column_getSortFn, BTe as commonReviewSources, lW as composingKey, Lf as configurationSection, vIe as configureTasteBrowser, dl as confirmModal, Ope as controlTask, uq as copyInstancePropertiesWithoutMemos, abe as coverArrived, rbe as coverFetching, Nl as coverFetchingHtml, Ml as coverStateAction, uo as coverUrl, zq as createColumnHelper, KAe as createPlaylist, Zi as credentialDone, D0 as credentialsSkeleton, ZTe as currentReviewRow, q as cx, Nge as d6, zB as dZ, JTe as decisionPayload, YTe as decisionReceipt, qTe as defaultChoice, nDe as deletePerformerVideos, JAe as deletePlaylist, F0 as devicesSkeleton, x as diagnosticHeaders, Y1 as diagnosticsSkeleton, obe as discoveryArtwork, wW as discoveryKey, ebe as discoveryScore, _9 as disposeStage, mTe as distinctName, Vi as dropSources, i_e as du, yTe as duplicateVictims, qI as elapsedText, nn as entityDisplayName, _o as entityFaceImg, Pn as entityPath, ti as errorHeadline, lr as errorMessage, z as esc, Dq as expandRowModel, pB as f1, xo as facePos, ei as feedIntervalText, V$ as fetchAmaneBridge, B$ as fetchCheckAllJob, vi as fetchCheckJob, n1 as fetchConfiguration, z$ as fetchCoverJob, CW as fetchCoverNow, _i as fetchCredentials, j$ as fetchCustomSources, DX as fetchDeletePerformers, tDe as fetchDeletePlan, LQ as fetchDiagnostics, TW as fetchDiscoveries, yY as fetchDuplicates, pEe as fetchFeedSchedule, Mi as fetchFeeds, gi as fetchFollow, fEe as fetchFollowSchedule, NX as fetchJunkSummary, tH as fetchLibraryProcessing, qY as fetchLinkCheck, JY as fetchLinkPrune, KY as fetchLinkStats, dEe as fetchMediaProcessing, wY as fetchMediaRepair, br as fetchMediaSources, uX as fetchOrganize, EEe as fetchOrganizeExample, pX as fetchOrphanRecords, ji as fetchPending, O$ as fetchPlaylists, OY as fetchQualityGoals, kW as fetchReleases, TY as fetchRepairLibraries, yi as fetchResolveJob, yX as fetchResourceApply, vX as fetchResourceScan, BY as fetchReview, MX as fetchReviewCounts, sX as fetchSettings, R$ as fetchSources, P3 as fetchStats, bi as fetchSuggestions, HI as fetchTasks, a6 as fetchTaste, yIe as fetchTasteJob, mEe as fetchThumbnailJobs, PX as fetchTrashSummary, pW as fetchWants, RTe as filterReviewRows, er as firstGrapheme, KK as flexRender, PIe as flowGraph, FIe as flowLabel, NFe as fmtCount, Jn as fmtDur, Xn as fmtSize, wpe as foldByKind, Vpe as foldRoutine, Li as followFeedByName, Ri as followFeedEntity, Hr as followSuggestKey, Upe as followupDetail, Cpe as followupTally, yg as frame, vB as g4, Zq as getDefaultPaginationState, pM as gridLayout, li as groupByAuthor, Bpe as groupFollowups, LY as groupReviewRows, YEe as hasChanges, bX as hasResourceRoots, WI as hasResultProblems, TIe as historySpan, mB as i2, CIe as importTasteExport, O0 as indexersSkeleton, Vg as interpolate, gW as invalidateWants, KI as isActive, $r as isBroken, qr as isLayout, Sv as isMotionValue, MY as isReviewCategory, Hpe as isRoutine, k0 as javBrowserSkeleton, Y0 as javContentSkeleton, oM as javLayout, J0 as javTagSkeleton, sDe as junkBreakdown, dTe as keepGroup, YAe as keepPlaylist, ke as keepPreviousData, pi as keepSelected, F3 as known, yge as l1, Ege as l7, zpe as latestOfKind, $n as leadingGraphemes, GFe as lengthRows, Cr as localTime, mo as logoUrl, Ii as lookupFeedActor, yB as m7, RB as mM, Dn as mapLimit, Ai as markItem, B3 as max, UFe as mediumRows, V3 as min, nEe as mirrorText, TTe as missingToolText, bY as mixedCloudPreferences, ZI as momentText, pS as motion, pv as motionValue, rn as nameFallback, Ue as notifyManager, Pge as oe, IEe as organizeOutcome, d2 as overlayHost, Jr as pageSizeOf, fi as pageWindow, Bi as patchSource, Bp as peachHistory, Bp as peachHistory$1, KTe as pendingGenres, FFe as percentText, kEe as pickOrganizeFolder, d$ as plainStatClass, FEe as planSummary, I3 as playedFor, LFe as playedItemUrl, Tpe as pollInterval, Zs as popCount, GAe as posterUrl, Nxe as previewLibraryColor, OEe as previewOrganize, OTe as previewUrl, Lpe as problemDestination, XV as processingActive, JI as progressText, RH as providerIcon, cEe as pruneText, SX as purgeCount, VEe as purgeOrphan, VB as pv, r_e as qE, H as queryClient, hB as r2, jIe as radarRows, BFe as radialArc, VFe as radialBarSize, zFe as radialCeiling, RFe as radialSlices, AN as randomId, kIe as rankDetail, AIe as rankShares, R3 as reachedShare, YI as readableErrorHeadline, tbe as recommendationScore, QTe as recordGenre, UEe as recordsText, XAe as recreatePlaylist, UAe as refreshPlaylists, Ol as relayoutCovers, G0 as releaseColumns, DW as releaseFilters, OW as releaseKey, Hi as reloadFollowManage, tEe as reloadReview, wMe as rememberShape, jEe as rememberTemplates, Di as removeAlias, Pi as removeFeed, wi as removeSource, SIe as removeTasteSource, hW as removeWants, Oi as renameAliasGroup, qAe as renamePlaylist, Se as replaceEqualDeep, qFe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, oq as require_with_selector, Zye as resetWants, mr as resolveFollowSort, Jg as resolveStartTime, sve as restartEffectText, WAe as resumeAssetId, LTe as reviewGroupingOptions, IY as reviewQueueData, FY as reviewQueueOf, oDe as reviewSummary, zTe as reviewWindow, WTe as rowEvidence, zY as rowFieldName, iJ as rowPaginationFeature, TJ as rowSelectionFeature, RJ as rowSortingFeature, RY as rowSubject, GTe as rowTags, UTe as rowTitle, Cge as s5, ki as saveCredential, XEe as scanLine, yEe as schedulePollInterval, $ye as searchNote, VTe as selectReviewRange, mi as selectionState, Ni as setFeedEnabled, Ci as setSourceEnabled, kpe as setTaskSpeed, Vf as settingsPath, eEe as settleReviewRows, pTe as sharedNamePrefix, Vp as shellNavigate, N8 as showToast, qU as showToast$1, Bn as siteMarkUrl, vq as skipFirstRun, OI as sortCx, Xr as sortLabel, bn as sourceDefaultCost, Yi as sourceIconUrl, $Ee as sourceMeta, Hs as spinnerHtml, zg as spring, cV as spriteGlyph, xi as startCheck, oEe as startLinkCheck, sEe as startLinkPrune, AEe as startOrganize, Si as startResolve, qEe as startResourceApply, KEe as startResourceScan, xIe as startTasteRefresh, bAe as statCardClass, Npe as statusLabel, wTe as statusLine, Qr as statusText, hM as storeJavLayout, XTe as submitDecision, QI as summaryItems, Bq as tableFeatures, yq as tableMemo, di as tableRows, Ipe as taskIssues, Rpe as taskSubject, o6 as tasteDate, DIe as tasteDimensions, EIe as tasteHours, i6 as tasteKey, gIe as tasteRefetchInterval, _Ie as tasteTime, PI as textLang, H0 as tierPlaceholdersHtml, hh as time, Bge as tl, hi as toggleGroup, s6 as topScores, Zge as um, Gge as uo, uH as useAction, NZ as useBackgroundJob, bG as useCatalogView, jU as useClientUpdates, Dm as useConstant, $I as useEntityNames, aL as useHorizontalScroller, Om as useIsomorphicLayoutEffect, hK as useLibraryTints, It as useMutation, FV as useOverlayScrollbar, Ft as useQuery, ae as useQueryClient, tS as useReducedMotion, vEe as useRunSchedule, gEe as useSaveFollowSchedule, cX as useSaveSettings, bEe as useSaveThumbnailMode, zJ as useTable, eY as useTablePreferences, fL as useViewGlide, bTe as victimBytes, Vge as vl, Qye as wantName, IFe as watchNote, L3 as watchedShare, Fge as we, Mc as wireHorizontalScroller, MEe as withOrganizeJob, nbe as writeJavQuery, jge as z3 };
-//# debugId=9b0d5d94-ae4c-4f1e-8b97-ec421f84553c
\ No newline at end of file
+//# debugId=3af1056a-f933-4605-926f-e958a90202e2
\ No newline at end of file
diff --git a/web/dist/peach-app.review-page-B1VG9j0D.js b/web/dist/peach-app.review-page-BehssYU2.js
similarity index 65%
rename from web/dist/peach-app.review-page-B1VG9j0D.js
rename to web/dist/peach-app.review-page-BehssYU2.js
index fc8502f8c..9cccfffc8 100644
--- a/web/dist/peach-app.review-page-B1VG9j0D.js
+++ b/web/dist/peach-app.review-page-BehssYU2.js
@@ -1,27 +1,27 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3f268e66-ba55-4603-a484-c03e96069af0", e._sentryDebugIdIdentifier = "sentry-dbid-3f268e66-ba55-4603-a484-c03e96069af0");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a742d258-e180-4041-804f-8b63522f897e", e._sentryDebugIdIdentifier = "sentry-dbid-a742d258-e180-4041-804f-8b63522f897e");
} catch {}
})();
-import { $b4f18e3395fe64d7$export$3d96ec278d3efce4 as e, $b4f18e3395fe64d7$export$3e41faf802a29e71 as t, $b4f18e3395fe64d7$export$b2539bed5023c21c as n, $ea3928288112382f$export$439d29a4e110a164 as r, $fe21c36db05242bb$export$a98f0dcb43a68a25 as i, $fe21c36db05242bb$export$d7b12c4107be0d61 as a, Button as o, ButtonLink as s, Checkbox as c, CheckboxGlyph as l, Chip as u, CollapseChevron as d, CollapseRegion as f, DEFAULT_CATEGORY as p, ENTITY_REVIEW_KINDS as m, Ea as h, EmptyState as ee, ExternalLink as g, FIELDSET_FOOT as _, FilterGlassRows as v, Gg as y, InputBase as te, LinkButton as ne, Note as b, REVIEW_CATEGORIES as x, REVIEW_DECISION_LABELS as re, REVIEW_KEY as S, REVIEW_LABELS as C, REVIEW_QUEUES as w, REVIEW_QUEUE_LABELS as T, Select as E, SelectItem as D, SelectionActions as O, SelectionDock as k, TextField as A, Wt as j, __toESM as M, apiGet as N, apiSend as P, avatarInner as F, busyProps as I, canApprove as ie, cardClass as L, commonReviewSources as ae, composingKey as R, confirmModal as oe, currentReviewRow as se, cx as z, decisionPayload as ce, decisionReceipt as le, defaultChoice as ue, errorMessage as B, fetchReview as de, filterReviewRows as fe, groupReviewRows as pe, isReviewCategory as me, l7 as he, localTime as ge, m7 as _e, mirrorText as ve, paginationRange as ye, pendingGenres as be, queryClient as V, recordGenre as xe, reloadReview as Se, require_jsx_runtime as Ce, require_react as H, reviewGroupingOptions as we, reviewQueueData as Te, reviewQueueOf as Ee, reviewWindow as De, rowEvidence as U, rowFieldName as W, rowSubject as Oe, rowTags as ke, rowTitle as G, selectReviewRange as Ae, settleReviewRows as je, spinnerHtml as Me, submitDecision as Ne, useMutation as Pe, useOverlayScrollbar as K, useQuery as Fe, useViewGlide as Ie } from "./peach-app.js";
-import { Page as Le } from "./peach-app.page-QAncjzM1.js";
-import { DataTable as Re } from "./peach-app.data-table-aWN3V7mT.js";
-import { LEGACY_AVATAR_IMG as ze } from "./peach-app.legacy-avatar-NSITxLRS.js";
+import { $b4f18e3395fe64d7$export$3d96ec278d3efce4 as e, $b4f18e3395fe64d7$export$3e41faf802a29e71 as t, $b4f18e3395fe64d7$export$b2539bed5023c21c as n, $ea3928288112382f$export$439d29a4e110a164 as r, $fe21c36db05242bb$export$a98f0dcb43a68a25 as i, $fe21c36db05242bb$export$d7b12c4107be0d61 as a, Button as o, ButtonLink as s, Checkbox as c, CheckboxGlyph as l, Chip as u, CollapseChevron as d, CollapseRegion as f, DEFAULT_CATEGORY as p, DataTableFooter as m, ENTITY_REVIEW_KINDS as h, Ea as ee, EmptyState as g, ExternalLink as _, FIELDSET_FOOT as v, FilterGlassRows as te, Gg as y, InputBase as ne, LinkButton as re, Note as b, REVIEW_CATEGORIES as x, REVIEW_DECISION_LABELS as ie, REVIEW_KEY as S, REVIEW_LABELS as C, REVIEW_QUEUES as w, REVIEW_QUEUE_LABELS as T, Select as E, SelectItem as D, SelectionActions as O, SelectionDock as k, TextField as A, Wt as j, __toESM as M, apiGet as N, apiSend as P, avatarInner as F, busyProps as I, canApprove as ae, cardClass as L, commonReviewSources as oe, composingKey as R, confirmModal as se, currentReviewRow as ce, cx as z, decisionPayload as le, decisionReceipt as ue, defaultChoice as de, errorMessage as B, fetchReview as fe, filterReviewRows as pe, groupReviewRows as me, isReviewCategory as he, l7 as ge, localTime as _e, m7 as ve, mirrorText as ye, pendingGenres as be, queryClient as xe, recordGenre as Se, reloadReview as Ce, require_jsx_runtime as V, require_react as we, reviewGroupingOptions as Te, reviewQueueData as Ee, reviewQueueOf as De, reviewWindow as Oe, rowEvidence as ke, rowFieldName as Ae, rowSubject as H, rowTags as U, rowTitle as W, selectReviewRange as je, settleReviewRows as Me, spinnerHtml as Ne, submitDecision as Pe, useMutation as Fe, useOverlayScrollbar as Ie, useQuery as Le, useViewGlide as G } from "./peach-app.js";
+import { Page as Re } from "./peach-app.page-QAncjzM1.js";
+import { DataTable as ze } from "./peach-app.data-table-BRJ5A5Cl.js";
+import { LEGACY_AVATAR_IMG as K } from "./peach-app.legacy-avatar-NSITxLRS.js";
import { PillAriaTabList as Be } from "./peach-app.pill-aria-tab-list-BMY1ZEv1.js";
// src/react/review/auto-landings.ts
-var q = /* @__PURE__ */ M(H(), 1), Ve = "/api/review/auto-landings", He = "/api/review/auto-landings/revert", Ue = ["review", "auto-landings"], We = (e) => N(Ve, e), J = (e) => N(`${Ve}?items=${encodeURIComponent(e.join("\n"))}`), Ge = (e, t) => P(He, {
+var q = /* @__PURE__ */ M(we(), 1), Ve = "/api/review/auto-landings", He = "/api/review/auto-landings/revert", Ue = ["review", "auto-landings"], We = (e) => N(Ve, e), Ge = (e) => N(`${Ve}?items=${encodeURIComponent(e.join("\n"))}`), Ke = (e, t) => P(He, {
items: e,
token: t
-}), Ke = (e) => e.at === null ? "" : ge((/* @__PURE__ */ new Date(e.at * 1e3)).toISOString()), Y = (e) => e.code || e.name || (e.asset_id ? `#${e.asset_id}` : "未知作品"), qe = (e) => e ? `「${e}」` : "空", Je = (e) => e.tags.length ? e.tags.join("、") : e.value, X = (e) => e.tags.length ? "原有标签保留" : `原为 ${e.previous.length ? e.previous.map(qe).join("、") : "空"}`;
-function Z(e) {
+}), qe = (e) => e.at === null ? "" : _e((/* @__PURE__ */ new Date(e.at * 1e3)).toISOString()), J = (e) => e.code || e.name || (e.asset_id ? `#${e.asset_id}` : "未知作品"), Y = (e) => e ? `「${e}」` : "空", Je = (e) => e.tags.length ? e.tags.join("、") : e.value, Ye = (e) => e.tags.length ? "原有标签保留" : `原为 ${e.previous.length ? e.previous.map(Y).join("、") : "空"}`;
+function Xe(e) {
return [
- ...e.restores.map((e) => `${Y(e)} ${e.field}:${qe(e.current)} 改回 ${qe(e.previous)}`),
- ...e.tags.map((e) => `${Y(e)} 删除标签「${e.tag}」`),
- ...e.changed.map((e) => e.gone ? `${Y(e)} ${e.field}:作品已不在账本中,跳过` : `${Y(e)} ${e.field}:之后已被修改,保留现值`)
+ ...e.restores.map((e) => `${J(e)} ${e.field}:${Y(e.current)} 改回 ${Y(e.previous)}`),
+ ...e.tags.map((e) => `${J(e)} 删除标签「${e.tag}」`),
+ ...e.changed.map((e) => e.gone ? `${J(e)} ${e.field}:作品已不在账本中,跳过` : `${J(e)} ${e.field}:之后已被修改,保留现值`)
];
}
-function Ye(e) {
+function Ze(e) {
let t = [e.restores.length ? `改回 ${e.restores.length} 条资料` : "", e.tags.length ? `删除 ${e.tags.length} 个自动补上的标签` : ""].filter(Boolean);
return [
`将撤回 ${e.decisions} 条自动写入:${t.join(",") || "没有要改的资料"}。`,
@@ -29,39 +29,39 @@ function Ye(e) {
"撤回前会自动备份账本。下一轮资料处理仍按同一判据判断,可能再次写入。"
].filter(Boolean).join("");
}
-function Xe(e) {
+function Qe(e) {
let t = [e.restored ? `改回 ${e.restored} 条资料` : "", e.removed_tags ? `删除 ${e.removed_tags} 个标签` : ""].filter(Boolean);
return `已撤回 ${e.decisions} 条自动写入${t.length ? `:${t.join(",")}` : ""}`;
}
// src/react/review/auto-landings-card.tsx
-var Q = Ce(), Ze = "资料处理按确定判据自动写入的标题、发行日期与标签,一行一条。撤回会把覆盖的值改回写入前、删掉补上的标签;写入后又被修改过的作品保留现值。";
-function Qe({ item: e, openItem: t }) {
+var X = V(), Z = "资料处理按确定判据自动写入的标题、发行日期与标签,一行一条。撤回会把覆盖的值改回写入前、删掉补上的标签;写入后又被修改过的作品保留现值。";
+function Q({ item: e, openItem: t }) {
let n = e.asset_id && !e.gone ? () => t(e.asset_id) : void 0;
- return /* @__PURE__ */ (0, Q.jsxs)("span", {
+ return /* @__PURE__ */ (0, X.jsxs)("span", {
className: "flex min-w-0 items-center gap-3",
- children: [/* @__PURE__ */ (0, Q.jsxs)("button", {
+ children: [/* @__PURE__ */ (0, X.jsxs)("button", {
type: "button",
disabled: !n,
onClick: n,
className: "flex aspect-card-cover w-16 shrink-0 cursor-pointer items-center justify-center overflow-hidden rounded-lg bg-background-tertiary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring disabled:cursor-default",
- children: [e.preview_url ? /* @__PURE__ */ (0, Q.jsx)("img", {
+ children: [e.preview_url ? /* @__PURE__ */ (0, X.jsx)("img", {
src: e.preview_url,
alt: "",
loading: "lazy",
className: "size-full object-cover"
- }) : /* @__PURE__ */ (0, Q.jsx)("span", {
+ }) : /* @__PURE__ */ (0, X.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, Q.jsx)(r, { children: `打开作品 ${Y(e)}` })]
- }), /* @__PURE__ */ (0, Q.jsxs)("span", {
+ }), /* @__PURE__ */ (0, X.jsx)(r, { children: `打开作品 ${J(e)}` })]
+ }), /* @__PURE__ */ (0, X.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, Q.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, X.jsxs)("span", {
className: "truncate text-body-medium text-text-primary",
- children: [Y(e), e.assets > 1 ? /* @__PURE__ */ (0, Q.jsx)("small", {
+ children: [J(e), e.assets > 1 ? /* @__PURE__ */ (0, X.jsx)("small", {
className: "ml-1 text-caption-1-regular text-text-secondary",
children: `${e.assets} 个文件`
}) : null]
- }), /* @__PURE__ */ (0, Q.jsx)("small", {
+ }), /* @__PURE__ */ (0, X.jsx)("small", {
title: e.name,
className: "truncate text-caption-1-regular text-text-secondary",
children: e.gone ? "作品已不在账本中" : e.name
@@ -70,67 +70,67 @@ function Qe({ item: e, openItem: t }) {
});
}
function $e({ item: e }) {
- return /* @__PURE__ */ (0, Q.jsxs)("span", {
+ return /* @__PURE__ */ (0, X.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, Q.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, X.jsxs)("span", {
title: Je(e),
className: "truncate text-body-regular text-text-primary",
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [/* @__PURE__ */ (0, X.jsx)("span", {
className: "text-text-secondary",
children: `${e.field}:`
}), Je(e)]
- }), /* @__PURE__ */ (0, Q.jsx)("small", {
- title: X(e),
+ }), /* @__PURE__ */ (0, X.jsx)("small", {
+ title: Ye(e),
className: "truncate text-caption-1-regular text-text-secondary",
- children: X(e)
+ children: Ye(e)
})]
});
}
function et({ locked: e, openItem: t, toast: n }) {
- let [r, i] = (0, q.useState)([]), [a, s] = (0, q.useState)(null), c = Fe({
+ let [r, i] = (0, q.useState)([]), [a, s] = (0, q.useState)(null), c = Le({
queryKey: Ue,
queryFn: ({ signal: e }) => We(e)
- }), l = c.data?.items ?? [], u = Pe({
+ }), l = c.data?.items ?? [], u = Fe({
mutationFn: async (e) => {
- let t = await J(e), { confirmed: n, result: r } = await oe({
+ let t = await Ge(e), { confirmed: n, result: r } = await se({
title: "撤回自动写入",
- body: Ye(t),
- items: Z(t),
+ body: Ze(t),
+ items: Xe(t),
confirmLabel: "撤回",
- onConfirm: () => Ge(t.items, t.token)
+ onConfirm: () => Ke(t.items, t.token)
});
return n ? r : null;
},
onSuccess: (e) => {
- e && (s(e), i([]), n(Xe(e)), V.invalidateQueries({ queryKey: S }));
+ e && (s(e), i([]), n(Qe(e)), xe.invalidateQueries({ queryKey: S }));
},
onError: (e) => n(B(e))
});
- return !l.length && !a && !c.isError ? null : /* @__PURE__ */ (0, Q.jsxs)("section", {
+ return !l.length && !a && !c.isError ? null : /* @__PURE__ */ (0, X.jsxs)("section", {
"aria-labelledby": "auto-landings-title",
className: "flex flex-col gap-4",
- children: [a ? /* @__PURE__ */ (0, Q.jsxs)(b, {
+ children: [a ? /* @__PURE__ */ (0, X.jsxs)(b, {
tone: "success",
- title: Xe(a),
- children: [/* @__PURE__ */ (0, Q.jsx)("p", {
+ title: Qe(a),
+ children: [/* @__PURE__ */ (0, X.jsx)("p", {
className: "text-body-2-regular",
children: `撤回前的账本已备份为 ${a.backup}。`
- }), a.changed.length ? /* @__PURE__ */ (0, Q.jsxs)("p", {
+ }), a.changed.length ? /* @__PURE__ */ (0, X.jsxs)("p", {
className: "flex flex-wrap items-center gap-x-2 gap-y-1 text-body-2-regular",
- children: [`${a.changed.length} 条资料写入后被修改过或作品已删除,未改动:`, a.changed.map((e) => e.gone ? /* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [`${a.changed.length} 条资料写入后被修改过或作品已删除,未改动:`, a.changed.map((e) => e.gone ? /* @__PURE__ */ (0, X.jsx)("span", {
className: "text-text-secondary",
children: `#${e.asset_id}(已删除)`
- }, `${e.asset_id}:${e.field}`) : /* @__PURE__ */ (0, Q.jsx)(ne, {
+ }, `${e.asset_id}:${e.field}`) : /* @__PURE__ */ (0, X.jsx)(re, {
size: "small",
onClick: () => t(e.asset_id),
- children: Y(e)
+ children: J(e)
}, `${e.asset_id}:${e.field}`))]
}) : null]
- }) : null, c.isError ? /* @__PURE__ */ (0, Q.jsx)(b, {
+ }) : null, c.isError ? /* @__PURE__ */ (0, X.jsx)(b, {
tone: "error",
title: "读取自动写入的资料失败",
children: B(c.error)
- }) : l.length ? /* @__PURE__ */ (0, Q.jsx)(Re, {
+ }) : l.length ? /* @__PURE__ */ (0, X.jsx)(ze, {
label: "自动写入的资料",
items: l,
columns: [
@@ -139,8 +139,8 @@ function et({ locked: e, openItem: t, toast: n }) {
label: "作品",
width: 300,
min: 240,
- value: (e) => Y(e),
- render: (e) => /* @__PURE__ */ (0, Q.jsx)(Qe, {
+ value: (e) => J(e),
+ render: (e) => /* @__PURE__ */ (0, X.jsx)(Q, {
item: e,
openItem: t
})
@@ -151,7 +151,7 @@ function et({ locked: e, openItem: t, toast: n }) {
width: 320,
min: 220,
value: (e) => `${e.field}${Je(e)}`,
- render: (e) => /* @__PURE__ */ (0, Q.jsx)($e, { item: e })
+ render: (e) => /* @__PURE__ */ (0, X.jsx)($e, { item: e })
},
{
id: "rule",
@@ -159,15 +159,15 @@ function et({ locked: e, openItem: t, toast: n }) {
width: 176,
min: 144,
value: (e) => e.at ?? 0,
- render: (e) => /* @__PURE__ */ (0, Q.jsxs)("span", {
+ render: (e) => /* @__PURE__ */ (0, X.jsxs)("span", {
title: e.batch,
className: "flex min-w-0 flex-col gap-0.5 text-text-secondary",
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [/* @__PURE__ */ (0, X.jsx)("span", {
className: "truncate text-body-2-regular",
children: e.label
- }), /* @__PURE__ */ (0, Q.jsx)("small", {
+ }), /* @__PURE__ */ (0, X.jsx)("small", {
className: "tabular-nums text-caption-1-regular",
- children: Ke(e) || "时间未知"
+ children: qe(e) || "时间未知"
})]
})
}
@@ -175,12 +175,12 @@ function et({ locked: e, openItem: t, toast: n }) {
title: "自动写入的资料",
titleId: "auto-landings-title",
unit: "条",
- description: Ze,
+ description: Z,
rowId: (e) => e.item_key,
- rowLabel: (e) => `${Y(e)} ${e.field}`,
+ rowLabel: (e) => `${J(e)} ${e.field}`,
selected: r,
onSelected: i,
- actions: (t) => /* @__PURE__ */ (0, Q.jsx)(o, {
+ actions: (t) => /* @__PURE__ */ (0, X.jsx)(o, {
variant: "secondary",
size: "small",
disabled: e || !t.length,
@@ -193,98 +193,98 @@ function et({ locked: e, openItem: t, toast: n }) {
}
// src/react/review/bulk-toolbar.tsx
function tt(e) {
- let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: s, pageKeys: c, selected: l, onSelected: u, selectedRows: d, metadata: f, approvable: p, busy: m, feedback: h, onUnifySource: ee, onRun: g, queueView: _ = "pending", queueCounts: y, onQueueChange: te, locked: ne, fields: b, fieldFilter: x, onFieldFilter: re } = e, S = c.filter((e) => l.has(e)), C = S.length > 0 && S.length === c.length, O = ae(d), A = f && d.some((e) => (e.candidates?.length || 0) > 1), j = O.length ? "统一选择来源" : "所选项目无共同来源", M = (0, q.useRef)(null), N = (0, q.useRef)(null), P = (0, q.useRef)(null), [F, I] = (0, q.useState)(!1), ie = Ie(M, N, "[data-entity-state][aria-pressed=\"true\"]", _);
+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: s, pageKeys: c, selected: l, onSelected: u, selectedRows: d, metadata: f, approvable: p, busy: m, feedback: h, onUnifySource: ee, onRun: g, queueView: _ = "pending", queueCounts: v, onQueueChange: y, locked: ne, fields: re, fieldFilter: b, onFieldFilter: x } = e, ie = c.filter((e) => l.has(e)), S = ie.length > 0 && ie.length === c.length, C = oe(d), O = f && d.some((e) => (e.candidates?.length || 0) > 1), A = C.length ? "统一选择来源" : "所选项目无共同来源", j = (0, q.useRef)(null), M = (0, q.useRef)(null), N = (0, q.useRef)(null), [P, F] = (0, q.useState)(!1), I = G(j, M, "[data-entity-state][aria-pressed=\"true\"]", _);
return (0, q.useLayoutEffect)(() => {
- let e = N.current, t = P.current, n = e?.parentElement, r = e?.closest("[data-review-filter]");
+ let e = M.current, t = N.current, n = e?.parentElement, r = e?.closest("[data-review-filter]");
if (!e || !t || !n || !r) return;
- let i = () => I(t.offsetHeight > 0 && Math.abs(n.getBoundingClientRect().top - t.getBoundingClientRect().top) < 1), a = new ResizeObserver(i);
+ let i = () => F(t.offsetHeight > 0 && Math.abs(n.getBoundingClientRect().top - t.getBoundingClientRect().top) < 1), a = new ResizeObserver(i);
for (let n of [
r,
e,
t
]) a.observe(n);
return i(), () => a.disconnect();
- }, []), /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(v, {
+ }, []), /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [/* @__PURE__ */ (0, X.jsx)(te, {
label: "复核筛选",
topLabel: "处理状态",
attrs: { "data-review-filter": "" },
className: "mb-0 flex-row flex-wrap",
topClassName: "max-w-full flex-none",
bottomClassName: c.length ? "min-h-12 max-w-full flex-none flex-wrap" : "hidden",
- bottomRef: P,
- panes: /* @__PURE__ */ (0, Q.jsx)("span", {
- ref: M,
+ bottomRef: N,
+ panes: /* @__PURE__ */ (0, X.jsx)("span", {
+ ref: j,
"data-view-glide": "",
"aria-hidden": "true"
}),
- top: /* @__PURE__ */ (0, Q.jsxs)("div", {
- ref: N,
+ top: /* @__PURE__ */ (0, X.jsxs)("div", {
+ ref: M,
role: "group",
"aria-label": "复核状态",
"data-entity-states": "",
- onPointerLeave: ie.leave,
- children: [w.map((e) => /* @__PURE__ */ (0, Q.jsxs)("button", {
+ onPointerLeave: I.leave,
+ children: [w.map((e) => /* @__PURE__ */ (0, X.jsxs)("button", {
type: "button",
"data-entity-state": e,
"data-entity-press": "",
disabled: m,
"aria-pressed": _ === e,
- onPointerEnter: ie.hover,
+ onPointerEnter: I.hover,
onClick: () => {
- e !== _ && te(e);
+ e !== _ && y(e);
},
children: [
- /* @__PURE__ */ (0, Q.jsx)("span", {
+ /* @__PURE__ */ (0, X.jsx)("span", {
"data-copy-key": `review.queue.${e}`,
children: T[e]
}),
" ",
- /* @__PURE__ */ (0, Q.jsx)("span", {
+ /* @__PURE__ */ (0, X.jsx)("span", {
className: "ms-1.5 tabular-nums text-caption-1-medium text-text-secondary",
- children: y ? y[e].toLocaleString() : "…"
+ children: v ? v[e].toLocaleString() : "…"
})
]
- }, e)), /* @__PURE__ */ (0, Q.jsx)("span", {
+ }, e)), /* @__PURE__ */ (0, X.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true",
- className: F ? void 0 : "invisible"
+ className: P ? void 0 : "invisible"
})]
}),
- bottom: c.length ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
- f && b.length ? /* @__PURE__ */ (0, Q.jsxs)(E, {
+ bottom: c.length ? /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
+ f && re.length ? /* @__PURE__ */ (0, X.jsxs)(E, {
"aria-label": "筛选资料字段",
size: "sm",
- prefix: /* @__PURE__ */ (0, Q.jsx)("span", {
+ prefix: /* @__PURE__ */ (0, X.jsx)("span", {
"data-copy-key": "review.filter.field",
className: "pointer-events-auto",
children: "字段"
}),
- selectedKey: x || "*",
+ selectedKey: b || "*",
isDisabled: m,
onSelectionChange: (e) => {
- e !== null && re(String(e) === "*" ? "" : String(e));
+ e !== null && x(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, Q.jsx)(D, {
+ children: [/* @__PURE__ */ (0, X.jsx)(D, {
id: "*",
children: "全部"
- }), b.map((e) => /* @__PURE__ */ (0, Q.jsx)(D, {
+ }), re.map((e) => /* @__PURE__ */ (0, X.jsx)(D, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
}) : null,
- /* @__PURE__ */ (0, Q.jsx)(E, {
+ /* @__PURE__ */ (0, X.jsx)(E, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(D, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, X.jsx)(D, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, Q.jsxs)(E, {
+ i.length > 1 ? /* @__PURE__ */ (0, X.jsxs)(E, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
prefix: "分类",
@@ -292,84 +292,84 @@ function tt(e) {
onSelectionChange: (e) => {
e !== null && s(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, Q.jsx)(D, {
+ children: [/* @__PURE__ */ (0, X.jsx)(D, {
id: "*",
children: "全部"
- }), i.map((e) => /* @__PURE__ */ (0, Q.jsx)(D, {
+ }), i.map((e) => /* @__PURE__ */ (0, X.jsx)(D, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
}) : null,
- ne ? null : /* @__PURE__ */ (0, Q.jsx)(o, {
+ ne ? null : /* @__PURE__ */ (0, X.jsx)(o, {
variant: "secondary",
size: "small",
- leadingIcon: he,
- "aria-pressed": C,
+ leadingIcon: ge,
+ "aria-pressed": S,
disabled: m,
onClick: () => {
let e = new Set(l);
- for (let t of c) C ? e.delete(t) : e.add(t);
+ for (let t of c) S ? e.delete(t) : e.add(t);
u(e);
},
- children: C ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
+ children: S ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
] }) : null
- }), /* @__PURE__ */ (0, Q.jsxs)(k, {
+ }), /* @__PURE__ */ (0, X.jsxs)(k, {
label: "复核所选项目",
visible: !ne && l.size > 0,
count: `已选 ${l.size} 项`,
children: [
- A && _ !== "ignored" ? /* @__PURE__ */ (0, Q.jsxs)(E, {
+ O && _ !== "ignored" ? /* @__PURE__ */ (0, X.jsxs)(E, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
- isDisabled: m || !O.length,
+ isDisabled: m || !C.length,
onSelectionChange: (e) => {
e !== null && e !== "" && ee(String(e));
},
- children: [/* @__PURE__ */ (0, Q.jsx)(D, {
+ children: [/* @__PURE__ */ (0, X.jsx)(D, {
id: "",
- children: j
- }), O.map((e) => /* @__PURE__ */ (0, Q.jsx)(D, {
+ children: A
+ }), C.map((e) => /* @__PURE__ */ (0, X.jsx)(D, {
id: e,
children: e
}, e))]
}) : null,
- _ === "ignored" ? null : /* @__PURE__ */ (0, Q.jsx)(o, {
+ _ === "ignored" ? null : /* @__PURE__ */ (0, X.jsx)(o, {
variant: "ghost",
size: "small",
disabled: m || !l.size,
onClick: () => g("rejected"),
children: "忽略所选"
}),
- _ === "pending" ? /* @__PURE__ */ (0, Q.jsx)(o, {
+ _ === "pending" ? /* @__PURE__ */ (0, X.jsx)(o, {
variant: "secondary",
size: "small",
disabled: m || !l.size,
onClick: () => g("skipped"),
children: "稍后处理所选"
- }) : /* @__PURE__ */ (0, Q.jsx)(o, {
+ }) : /* @__PURE__ */ (0, X.jsx)(o, {
variant: _ === "ignored" ? "primary" : "secondary",
size: "small",
disabled: m || !l.size,
onClick: () => g("restore"),
children: "恢复所选"
}),
- _ === "ignored" ? null : /* @__PURE__ */ (0, Q.jsx)(o, {
+ _ === "ignored" ? null : /* @__PURE__ */ (0, X.jsx)(o, {
variant: "primary",
size: "small",
disabled: m || !l.size || !p,
onClick: () => g("approved"),
children: "通过所选"
}),
- /* @__PURE__ */ (0, Q.jsx)(o, {
+ /* @__PURE__ */ (0, X.jsx)(o, {
variant: "ghost",
size: "small",
disabled: m,
onClick: () => u(/* @__PURE__ */ new Set()),
children: "取消选择"
}),
- h ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ h ? /* @__PURE__ */ (0, X.jsx)("p", {
role: "status",
className: "w-full text-body-2-regular text-text-secondary",
children: h
@@ -398,18 +398,18 @@ var nt = {
};
function rt({ selected: e = !1, size: t = "sm", focusVisible: n = !1, className: r }) {
let i = nt[t];
- return /* @__PURE__ */ (0, Q.jsxs)("span", {
+ return /* @__PURE__ */ (0, X.jsxs)("span", {
"aria-hidden": !0,
className: z("relative flex shrink-0 items-center justify-center rounded-full", i.dot, n && "ring-2 ring-border-focus-ring ring-offset-2", r),
children: [
- /* @__PURE__ */ (0, Q.jsx)("span", { className: z("absolute inset-0 rounded-full border-border-checkbox-default bg-background-primary-default shadow-xs", "transition-opacity duration-200 ease", i.border, e && "opacity-0") }),
- /* @__PURE__ */ (0, Q.jsx)("span", { className: z("absolute inset-0 rounded-full", "transition-opacity duration-200 ease", i.selected, !e && "opacity-0") }),
- /* @__PURE__ */ (0, Q.jsx)("span", { className: z("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-control-indicator-background", "transition-[scale,opacity] duration-200 ease", i.inner, e ? "scale-100 opacity-100" : "scale-0 opacity-0") })
+ /* @__PURE__ */ (0, X.jsx)("span", { className: z("absolute inset-0 rounded-full border-border-checkbox-default bg-background-primary-default shadow-xs", "transition-opacity duration-200 ease", i.border, e && "opacity-0") }),
+ /* @__PURE__ */ (0, X.jsx)("span", { className: z("absolute inset-0 rounded-full", "transition-opacity duration-200 ease", i.selected, !e && "opacity-0") }),
+ /* @__PURE__ */ (0, X.jsx)("span", { className: z("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-control-indicator-background", "transition-[scale,opacity] duration-200 ease", i.inner, e ? "scale-100 opacity-100" : "scale-0 opacity-0") })
]
});
}
function it({ className: e, children: t, ref: n, ...r }) {
- return /* @__PURE__ */ (0, Q.jsx)(i, {
+ return /* @__PURE__ */ (0, X.jsx)(i, {
ref: n,
...r,
className: (t) => z("flex flex-col gap-2", typeof e == "function" ? e(t) : e),
@@ -418,22 +418,22 @@ function it({ className: e, children: t, ref: n, ...r }) {
}
// src/react/boardui/components/base/radio/radio-card.tsx
function at({ className: e, title: t, description: n, ref: r, ...i }) {
- return /* @__PURE__ */ (0, Q.jsx)(a, {
+ return /* @__PURE__ */ (0, X.jsx)(a, {
ref: r,
...i,
className: (t) => z("group flex w-full items-center justify-between gap-3 rounded-2lg border border-border-button-default py-3 pe-5 ps-4 select-none", "transition-colors duration-150 ease", t.isHovered && !t.isDisabled ? "bg-background-primary-hover" : "bg-background-primary-default", t.isDisabled ? "cursor-not-allowed opacity-50" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsxs)("span", {
+ children: (e) => /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [/* @__PURE__ */ (0, X.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [/* @__PURE__ */ (0, X.jsx)("span", {
className: "truncate text-body-medium text-text-primary",
children: t
- }), n != null && /* @__PURE__ */ (0, Q.jsx)("span", {
+ }), n != null && /* @__PURE__ */ (0, X.jsx)("span", {
className: "truncate text-body-regular text-text-secondary",
children: n
})]
- }), /* @__PURE__ */ (0, Q.jsx)("span", {
+ }), /* @__PURE__ */ (0, X.jsx)("span", {
className: "flex shrink-0 items-center py-1",
- children: /* @__PURE__ */ (0, Q.jsx)(rt, {
+ children: /* @__PURE__ */ (0, X.jsx)(rt, {
size: "md",
selected: e.isSelected,
focusVisible: e.isFocusVisible
@@ -807,11 +807,11 @@ function Et({ value: e, reference: t }) {
value: e,
added: !1
}], [e, t]);
- return /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: n.map((e, t) => e.added ? /* @__PURE__ */ (0, Q.jsx)("mark", {
+ return /* @__PURE__ */ (0, X.jsx)(X.Fragment, { children: n.map((e, t) => e.added ? /* @__PURE__ */ (0, X.jsx)("mark", {
"data-review-difference": "",
className: "rounded-sm bg-status-yellow-background text-status-yellow-text",
children: e.value
- }, t) : /* @__PURE__ */ (0, Q.jsx)("span", { children: e.value }, t)) });
+ }, t) : /* @__PURE__ */ (0, X.jsx)("span", { children: e.value }, t)) });
}
// src/react/review/candidate-form.tsx
var Dt = {
@@ -826,16 +826,16 @@ var Dt = {
trailer_url: "预告片"
}, Ot = "reviewgenretags";
function kt({ tags: e }) {
- return e.length ? /* @__PURE__ */ (0, Q.jsx)("datalist", {
+ return e.length ? /* @__PURE__ */ (0, X.jsx)("datalist", {
id: Ot,
- children: e.map((e) => /* @__PURE__ */ (0, Q.jsx)("option", { value: e }, e))
+ children: e.map((e) => /* @__PURE__ */ (0, X.jsx)("option", { value: e }, e))
}) : null;
}
function At({ candidate: e, row: t }) {
let [n, r] = (0, q.useState)(!1), i = (0, q.useId)(), a = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value);
- return a.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ return a.length ? /* @__PURE__ */ (0, X.jsxs)("div", {
className: "min-w-0",
- children: [/* @__PURE__ */ (0, Q.jsxs)(o, {
+ children: [/* @__PURE__ */ (0, X.jsxs)(o, {
variant: "secondary",
size: "small",
leadingIcon: d,
@@ -843,30 +843,30 @@ function At({ candidate: e, row: t }) {
"aria-controls": i,
"aria-label": `${n ? "收起" : "展开"} ${e.source || "该来源"} 的来源依据`,
onClick: () => r(!n),
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [/* @__PURE__ */ (0, X.jsx)("span", {
"data-copy-key": "review.card.source_evidence",
children: "来源依据"
}), ` · ${a.length}`]
- }), /* @__PURE__ */ (0, Q.jsx)(f, {
+ }), /* @__PURE__ */ (0, X.jsx)(f, {
id: i,
open: n,
- children: /* @__PURE__ */ (0, Q.jsx)("dl", {
+ children: /* @__PURE__ */ (0, X.jsx)("dl", {
className: "flex min-w-0 flex-col gap-2 px-3 pt-2 pb-1",
- children: a.map(([n, r]) => /* @__PURE__ */ (0, Q.jsxs)("div", {
+ children: a.map(([n, r]) => /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex min-w-0 flex-wrap gap-x-2",
children: [
- /* @__PURE__ */ (0, Q.jsx)("dt", {
+ /* @__PURE__ */ (0, X.jsx)("dt", {
className: "text-caption-1-regular text-text-tertiary",
children: Dt[n] || n
}),
- /* @__PURE__ */ (0, Q.jsx)("dd", {
+ /* @__PURE__ */ (0, X.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
- children: /* @__PURE__ */ (0, Q.jsx)(Et, {
+ children: /* @__PURE__ */ (0, X.jsx)(Et, {
value: r.display_value || "",
reference: n === t.field && t.current_value ? t.current_value : t.candidates?.find((t) => t.candidate_key !== e.candidate_key && t.catalog_evidence?.[n]?.display_value)?.catalog_evidence?.[n]?.display_value
})
}),
- (r.warnings || []).map((e) => /* @__PURE__ */ (0, Q.jsx)("small", {
+ (r.warnings || []).map((e) => /* @__PURE__ */ (0, X.jsx)("small", {
className: "w-full text-caption-1-regular text-status-yellow-text",
children: e
}, e))
@@ -881,15 +881,15 @@ function jt(e) {
return `${e.source || "未标注来源"}${e.official ? " · 官方优先" : ""}${t ? ` · ID ${t}` : ""}`;
}
function Mt({ candidate: e, reference: t }) {
- return /* @__PURE__ */ (0, Q.jsxs)("span", {
+ return /* @__PURE__ */ (0, X.jsxs)("span", {
className: "flex min-w-0 flex-col gap-2 whitespace-normal wrap-anywhere",
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [/* @__PURE__ */ (0, X.jsx)("span", {
className: "text-body-regular text-text-primary",
- children: /* @__PURE__ */ (0, Q.jsx)(Et, {
+ children: /* @__PURE__ */ (0, X.jsx)(Et, {
value: e.display_value || "",
reference: t
})
- }), (e.warnings || []).map((e) => /* @__PURE__ */ (0, Q.jsx)("span", {
+ }), (e.warnings || []).map((e) => /* @__PURE__ */ (0, X.jsx)("span", {
className: "text-body-2-regular text-status-yellow-text",
children: e
}, e))]
@@ -897,42 +897,42 @@ function Mt({ candidate: e, reference: t }) {
}
function Nt({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
- return a.length ? a.length === 1 ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ return a.length ? a.length === 1 ? /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex min-w-0 flex-col gap-2",
- children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex min-w-0 flex-col gap-2 rounded-2lg bg-background-primary-default px-4 py-3",
- children: [/* @__PURE__ */ (0, Q.jsx)("p", {
+ children: [/* @__PURE__ */ (0, X.jsx)("p", {
className: "text-body-medium text-text-primary",
children: jt(a[0])
- }), /* @__PURE__ */ (0, Q.jsx)(Mt, {
+ }), /* @__PURE__ */ (0, X.jsx)(Mt, {
candidate: a[0],
reference: e.current_value || void 0
})]
- }), /* @__PURE__ */ (0, Q.jsx)(At, {
+ }), /* @__PURE__ */ (0, X.jsx)(At, {
candidate: a[0],
row: e
})]
- }) : /* @__PURE__ */ (0, Q.jsx)(it, {
+ }) : /* @__PURE__ */ (0, X.jsx)(it, {
"aria-label": `${t || "资料"}的来源`,
value: n,
isDisabled: i,
onChange: r,
- children: /* @__PURE__ */ (0, Q.jsx)("div", {
+ children: /* @__PURE__ */ (0, X.jsx)("div", {
className: "flex min-w-0 flex-col gap-3",
- children: a.map((t) => /* @__PURE__ */ (0, Q.jsxs)("div", {
+ children: a.map((t) => /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex min-w-0 flex-col gap-1",
- children: [/* @__PURE__ */ (0, Q.jsx)(at, {
+ children: [/* @__PURE__ */ (0, X.jsx)(at, {
value: t.candidate_key,
className: "relative items-start",
- title: /* @__PURE__ */ (0, Q.jsx)("span", {
+ title: /* @__PURE__ */ (0, X.jsx)("span", {
title: jt(t),
children: jt(t)
}),
- description: /* @__PURE__ */ (0, Q.jsx)(Mt, {
+ description: /* @__PURE__ */ (0, X.jsx)(Mt, {
candidate: t,
reference: e.current_value || a.find((e) => e.candidate_key !== t.candidate_key)?.display_value
})
- }), /* @__PURE__ */ (0, Q.jsx)(At, {
+ }), /* @__PURE__ */ (0, X.jsx)(At, {
candidate: t,
row: e
})]
@@ -941,32 +941,32 @@ function Nt({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
}) : null;
}
function Pt({ genre: e, tags: t, locked: n, toast: r }) {
- let [i, a] = (0, q.useState)(""), [s, c] = (0, q.useState)(""), l = Pe({
- mutationFn: (t) => xe(e, t),
+ let [i, a] = (0, q.useState)(""), [s, c] = (0, q.useState)(""), l = Fe({
+ mutationFn: (t) => Se(e, t),
onSuccess: async (t, n) => {
- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Se()) : c(t.error || "服务端拒绝了这次收录");
+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Ce()) : c(t.error || "服务端拒绝了这次收录");
},
onError: (e) => c(B(e))
}), u = () => {
let e = i.trim();
e ? (c(""), l.mutate(e)) : c("先给它一个中文标签");
};
- return /* @__PURE__ */ (0, Q.jsxs)("div", {
+ return /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, Q.jsx)("b", {
+ /* @__PURE__ */ (0, X.jsx)("b", {
lang: "ja",
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, Q.jsx)(A, {
+ /* @__PURE__ */ (0, X.jsx)(A, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || l.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, Q.jsx)(te, {
+ children: /* @__PURE__ */ (0, X.jsx)(ne, {
size: "small",
list: t.length ? Ot : void 0,
autoComplete: "off",
@@ -976,14 +976,14 @@ function Pt({ genre: e, tags: t, locked: n, toast: r }) {
}
})
}),
- /* @__PURE__ */ (0, Q.jsx)(o, {
+ /* @__PURE__ */ (0, X.jsx)(o, {
variant: "secondary",
size: "small",
disabled: n || l.isPending,
onClick: u,
children: "收录"
}),
- /* @__PURE__ */ (0, Q.jsx)(o, {
+ /* @__PURE__ */ (0, X.jsx)(o, {
variant: "secondary",
size: "small",
disabled: n || l.isPending,
@@ -992,7 +992,7 @@ function Pt({ genre: e, tags: t, locked: n, toast: r }) {
},
children: "不是内容"
}),
- s ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ s ? /* @__PURE__ */ (0, X.jsx)("p", {
role: "status",
className: "w-full text-body-2-regular text-text-error-primary",
children: s
@@ -1002,20 +1002,20 @@ function Pt({ genre: e, tags: t, locked: n, toast: r }) {
}
function Ft({ row: e, tags: t, locked: n, toast: r }) {
let i = be(e);
- return i.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ return i.length ? /* @__PURE__ */ (0, X.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
className: "flex flex-col gap-2 border-t border-separator-border pt-4",
- children: [/* @__PURE__ */ (0, Q.jsx)("h5", {
+ children: [/* @__PURE__ */ (0, X.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), /* @__PURE__ */ (0, Q.jsx)("div", {
+ }), /* @__PURE__ */ (0, X.jsx)("div", {
role: "list",
className: "flex flex-col",
- children: i.map((e, i) => /* @__PURE__ */ (0, Q.jsx)("div", {
+ children: i.map((e, i) => /* @__PURE__ */ (0, X.jsx)("div", {
role: "listitem",
className: `py-3 first:pt-0 last:pb-0 ${i ? "border-t border-separator-border" : ""}`,
- children: /* @__PURE__ */ (0, Q.jsx)(Pt, {
+ children: /* @__PURE__ */ (0, X.jsx)(Pt, {
genre: e,
tags: t,
locked: n,
@@ -1029,7 +1029,7 @@ function Ft({ row: e, tags: t, locked: n, toast: r }) {
var It = (e = "") => /^https?:\/\//i.test(e) ? e : "", Lt = (e = "") => It(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
function Rt({ url: e }) {
let t = Lt(e || "");
- return /* @__PURE__ */ (0, Q.jsx)(zt, { source: t }, t);
+ return /* @__PURE__ */ (0, X.jsx)(zt, { source: t }, t);
}
function zt({ source: e }) {
let [t, n] = (0, q.useState)("idle");
@@ -1037,13 +1037,13 @@ function zt({ source: e }) {
if (t !== "loading") return;
let e = setTimeout(() => n("failed"), 3e4);
return () => clearTimeout(e);
- }, [t]), /* @__PURE__ */ (0, Q.jsxs)("div", {
+ }, [t]), /* @__PURE__ */ (0, X.jsxs)("div", {
className: "relative flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
- children: [t === "loading" ? /* @__PURE__ */ (0, Q.jsxs)("span", {
+ children: [t === "loading" ? /* @__PURE__ */ (0, X.jsxs)("span", {
role: "status",
className: "absolute flex items-center gap-2 text-body-2-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, Q.jsx)("span", { dangerouslySetInnerHTML: { __html: Me("正在加载图片") } }), "正在加载图片"]
- }) : null, e && (t === "loading" || t === "ready") ? /* @__PURE__ */ (0, Q.jsx)("img", {
+ children: [/* @__PURE__ */ (0, X.jsx)("span", { dangerouslySetInnerHTML: { __html: Ne("正在加载图片") } }), "正在加载图片"]
+ }) : null, e && (t === "loading" || t === "ready") ? /* @__PURE__ */ (0, X.jsx)("img", {
src: e,
alt: "来源提供的备选图片",
referrerPolicy: "no-referrer",
@@ -1051,19 +1051,19 @@ function zt({ source: e }) {
className: `size-full object-contain ${t === "loading" ? "invisible" : ""}`,
onLoad: () => n("ready"),
onError: () => n("failed")
- }) : e ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ }) : e ? /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex flex-col items-center gap-2",
- children: [t === "failed" ? /* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [t === "failed" ? /* @__PURE__ */ (0, X.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: "未取得来源图片"
- }) : null, /* @__PURE__ */ (0, Q.jsx)(o, {
+ }) : null, /* @__PURE__ */ (0, X.jsx)(o, {
variant: "secondary",
size: "small",
"aria-label": t === "failed" ? "立即重试加载来源图片" : void 0,
onClick: () => n("loading"),
children: t === "failed" ? "立即重试" : "查看来源图片"
})]
- }) : /* @__PURE__ */ (0, Q.jsx)("span", {
+ }) : /* @__PURE__ */ (0, X.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: "未取得来源图片"
})]
@@ -1071,28 +1071,28 @@ function zt({ source: e }) {
}
function Bt({ asset: e, openItem: t }) {
let n = e.name || "";
- return /* @__PURE__ */ (0, Q.jsxs)("div", {
+ return /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [/* @__PURE__ */ (0, Q.jsxs)("button", {
+ children: [/* @__PURE__ */ (0, X.jsxs)("button", {
type: "button",
onClick: () => t(e.id),
className: "flex aspect-card-cover w-20 shrink-0 cursor-pointer items-center justify-center overflow-hidden rounded-2lg bg-background-tertiary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [e.preview_url ? /* @__PURE__ */ (0, Q.jsx)("img", {
+ children: [e.preview_url ? /* @__PURE__ */ (0, X.jsx)("img", {
src: e.preview_url,
alt: "",
loading: "lazy",
className: "size-full object-cover"
- }) : /* @__PURE__ */ (0, Q.jsx)("span", {
+ }) : /* @__PURE__ */ (0, X.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, Q.jsx)(r, { children: `打开原视频 ${n}` })]
- }), /* @__PURE__ */ (0, Q.jsxs)("div", {
+ }), /* @__PURE__ */ (0, X.jsx)(r, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
- children: [/* @__PURE__ */ (0, Q.jsx)("b", {
+ children: [/* @__PURE__ */ (0, X.jsx)("b", {
title: n,
className: "w-full truncate text-body-medium text-text-primary",
children: e.code || n || "原视频"
- }), /* @__PURE__ */ (0, Q.jsx)(o, {
+ }), /* @__PURE__ */ (0, X.jsx)(o, {
variant: "secondary",
size: "small",
leadingIcon: y,
@@ -1103,22 +1103,22 @@ function Bt({ asset: e, openItem: t }) {
});
}
function Vt({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
- return /* @__PURE__ */ (0, Q.jsxs)("div", {
+ return /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [/* @__PURE__ */ (0, Q.jsx)("button", {
+ children: [/* @__PURE__ */ (0, X.jsx)("button", {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${ze}`,
+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${K}`,
dangerouslySetInnerHTML: { __html: r }
- }), /* @__PURE__ */ (0, Q.jsxs)("div", {
+ }), /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
- children: [/* @__PURE__ */ (0, Q.jsx)("button", {
+ children: [/* @__PURE__ */ (0, X.jsx)("button", {
type: "button",
onClick: () => i(e, t),
className: "max-w-full cursor-pointer truncate text-body-medium text-text-primary underline-offset-2 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: t
- }), n ? /* @__PURE__ */ (0, Q.jsx)("small", {
+ }), n ? /* @__PURE__ */ (0, X.jsx)("small", {
className: "tabular-nums text-body-2-regular text-text-secondary",
children: `${n.toLocaleString()} 部作品`
}) : null]
@@ -1127,16 +1127,16 @@ function Vt({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
}
function Ht({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
let c = It(e.profile_url || ""), l = (e.preview_assets || []).slice(0, 6), u = Math.max(0, Number(e.video_count || e.videos || 0));
- return /* @__PURE__ */ (0, Q.jsxs)("section", {
+ return /* @__PURE__ */ (0, X.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, Q.jsx)("h5", {
+ /* @__PURE__ */ (0, X.jsx)("h5", {
className: "text-body-medium text-text-primary",
children: `待确认人物:${e.babepedia_name || "未标注"}`
}),
- /* @__PURE__ */ (0, Q.jsxs)("div", {
+ /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [c ? /* @__PURE__ */ (0, Q.jsx)(s, {
+ children: [c ? /* @__PURE__ */ (0, X.jsx)(s, {
variant: "secondary",
size: "small",
trailingIcon: j,
@@ -1144,36 +1144,36 @@ function Ht({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, not
target: "_blank",
rel: "noopener noreferrer",
children: "来源资料"
- }) : null, /* @__PURE__ */ (0, Q.jsx)(o, {
+ }) : null, /* @__PURE__ */ (0, X.jsx)(o, {
variant: "secondary",
size: "small",
onClick: () => n("creator", e.creator || ""),
children: `查看全部 ${u.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, Q.jsx)(Rt, { url: e.preview_url }),
- /* @__PURE__ */ (0, Q.jsx)("p", {
+ /* @__PURE__ */ (0, X.jsx)(Rt, { url: e.preview_url }),
+ /* @__PURE__ */ (0, X.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
}),
- l.length ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)("h5", {
+ l.length ? /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [/* @__PURE__ */ (0, X.jsx)("h5", {
className: "text-body-medium text-text-primary",
children: "本地作品样本"
- }), /* @__PURE__ */ (0, Q.jsx)("ul", {
+ }), /* @__PURE__ */ (0, X.jsx)("ul", {
className: "flex flex-col gap-1",
- children: l.map((e) => /* @__PURE__ */ (0, Q.jsxs)("li", {
+ children: l.map((e) => /* @__PURE__ */ (0, X.jsxs)("li", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(o, {
+ children: [/* @__PURE__ */ (0, X.jsx)(o, {
variant: "ghost",
size: "small",
className: "min-w-0",
onClick: () => t(e.id),
- children: /* @__PURE__ */ (0, Q.jsx)("span", {
+ children: /* @__PURE__ */ (0, X.jsx)("span", {
title: e.name,
className: "block max-w-full truncate",
children: e.name
})
- }), /* @__PURE__ */ (0, Q.jsx)(o, {
+ }), /* @__PURE__ */ (0, X.jsx)(o, {
variant: "ghost",
size: "small",
"aria-label": `打开 ${e.name} 的文件位置`,
@@ -1182,11 +1182,11 @@ function Ht({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, not
children: "文件位置"
})]
}, e.id))
- })] }) : /* @__PURE__ */ (0, Q.jsx)("p", {
+ })] }) : /* @__PURE__ */ (0, X.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "暂无本地作品样本,打开全部作品核对。"
}),
- a ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ a ? /* @__PURE__ */ (0, X.jsx)("p", {
role: "status",
className: "text-body-2-regular text-text-error-primary",
children: a
@@ -1207,10 +1207,10 @@ function Ut({ assets: e, picked: t, onPicked: n, locked: i }) {
}
o(t), n(e.filter((e) => c.has(e.id)).map((e) => e.id));
};
- return /* @__PURE__ */ (0, Q.jsxs)("div", {
+ return /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(O, {
- prefix: /* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [/* @__PURE__ */ (0, X.jsx)(O, {
+ prefix: /* @__PURE__ */ (0, X.jsx)("span", {
className: "tabular-nums text-body-2-regular text-text-secondary",
children: `已选 ${s.size} / ${e.length}`
}),
@@ -1223,26 +1223,26 @@ function Ut({ assets: e, picked: t, onPicked: n, locked: i }) {
disabled: i,
onPress: () => n([])
}]
- }), /* @__PURE__ */ (0, Q.jsx)("div", {
+ }), /* @__PURE__ */ (0, X.jsx)("div", {
className: "review-asset-grid gap-1.5",
children: e.map((e, t) => {
let n = s.has(e.id);
- return /* @__PURE__ */ (0, Q.jsxs)("button", {
+ return /* @__PURE__ */ (0, X.jsxs)("button", {
type: "button",
"aria-pressed": n,
title: e.name,
onClick: (e) => c(t, e.shiftKey),
className: `relative aspect-card-cover cursor-pointer overflow-hidden rounded-surface bg-background-tertiary-default outline-none transition-opacity focus-visible:ring-2 focus-visible:ring-border-focus-ring ${n ? "opacity-100 ring-2 ring-border-button-active ring-inset" : "opacity-50"}`,
children: [
- /* @__PURE__ */ (0, Q.jsx)("img", {
+ /* @__PURE__ */ (0, X.jsx)("img", {
src: `/poster?id=${e.id}&c=4`,
alt: "",
loading: "lazy",
className: "size-full object-cover"
}),
- /* @__PURE__ */ (0, Q.jsx)("span", {
+ /* @__PURE__ */ (0, X.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, Q.jsx)(l, {
+ children: /* @__PURE__ */ (0, X.jsx)(l, {
size: "sm",
state: {
isSelected: n,
@@ -1253,7 +1253,7 @@ function Ut({ assets: e, picked: t, onPicked: n, locked: i }) {
}
})
}),
- /* @__PURE__ */ (0, Q.jsx)(r, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, X.jsx)(r, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -1267,240 +1267,240 @@ var Wt = L({
className: "flex flex-col overflow-hidden"
}), Gt = "flex min-h-6 min-w-0 items-center", Kt = 2, qt = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
function Jt(e) {
- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: s, locked: l, busy: d, problem: f, genreTags: p, onDecide: g, handlers: v, queueView: y = "pending" } = e, te = (0, q.useRef)(!1), b = K(), x = t === "metadata_fields", S = m[t] || "", C = String(n.creator || "").trim(), w = !!S && !!C, T = G(t, n), E = W(t, n), D = Oe(t, n), O = U(n), k = ke(n), A = ie(t, n), j = n.comparison_assets || [], M = n.preview_assets || [], N = re[n.decision || ""], P = j.length > 1 ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: s, locked: l, busy: d, problem: f, genreTags: p, onDecide: m, handlers: _, queueView: te = "pending" } = e, y = (0, q.useRef)(!1), ne = Ie(), b = t === "metadata_fields", x = h[t] || "", S = String(n.creator || "").trim(), C = !!x && !!S, w = W(t, n), T = Ae(t, n), E = H(t, n), D = ke(n), O = U(n), k = ae(t, n), A = n.comparison_assets || [], j = n.preview_assets || [], M = ie[n.decision || ""], N = A.length > 1 ? /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [j.slice(0, Kt).map((e) => /* @__PURE__ */ (0, Q.jsx)(Bt, {
+ children: [A.slice(0, Kt).map((e) => /* @__PURE__ */ (0, X.jsx)(Bt, {
asset: e,
- openItem: v.openItem
- }, e.id)), j.length > Kt ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ openItem: _.openItem
+ }, e.id)), A.length > Kt ? /* @__PURE__ */ (0, X.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: `另有 ${(j.length - Kt).toLocaleString()} 部对照作品`
+ children: `另有 ${(A.length - Kt).toLocaleString()} 部对照作品`
}) : null]
- }) : w ? /* @__PURE__ */ (0, Q.jsx)(Vt, {
- kind: S,
- name: C,
+ }) : C ? /* @__PURE__ */ (0, X.jsx)(Vt, {
+ kind: x,
+ name: S,
works: Number(n.video_count || n.videos || 0),
- openEntity: v.openEntity,
- avatar: F(C, n.entity_id ? {
+ openEntity: _.openEntity,
+ avatar: F(S, n.entity_id ? {
id: n.entity_id,
has_image: !!n.has_image,
image_version: n.image_version,
avatar_focus: n.avatar_focus
- } : null, null, S)
- }) : n.asset_id ? /* @__PURE__ */ (0, Q.jsx)(Bt, {
- openItem: v.openItem,
+ } : null, null, x)
+ }) : n.asset_id ? /* @__PURE__ */ (0, X.jsx)(Bt, {
+ openItem: _.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
code: n.code,
preview_url: n.asset_preview_url
}
- }) : null, L = x ? /* @__PURE__ */ (0, Q.jsx)(Nt, {
+ }) : null, P = b ? /* @__PURE__ */ (0, X.jsx)(Nt, {
row: n,
- fieldName: E,
+ fieldName: T,
value: r.candidateKey,
onChange: (e) => i({
...r,
candidateKey: e
}),
locked: l
- }) : t === "creator_tags" ? M.length ? /* @__PURE__ */ (0, Q.jsx)(Ut, {
- assets: M,
+ }) : t === "creator_tags" ? j.length ? /* @__PURE__ */ (0, X.jsx)(Ut, {
+ assets: j,
picked: r.assets,
locked: l,
onPicked: (e) => i({
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, Q.jsx)(ee, {
+ }) : /* @__PURE__ */ (0, X.jsx)(g, {
size: "compact",
- icon: h,
+ icon: ee,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按所选资料写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, Q.jsx)(Ht, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, X.jsx)(Ht, {
row: n,
- openItem: v.openItem,
- openEntity: v.openEntity,
- onReveal: v.onReveal,
- revealing: v.revealing,
- note: v.revealNote
- }) : /* @__PURE__ */ (0, Q.jsx)(Rt, { url: n.preview_url }), ae = w ? P : E ? /* @__PURE__ */ (0, Q.jsxs)("h4", {
+ openItem: _.openItem,
+ openEntity: _.openEntity,
+ onReveal: _.onReveal,
+ revealing: _.revealing,
+ note: _.revealNote
+ }) : /* @__PURE__ */ (0, X.jsx)(Rt, { url: n.preview_url }), L = C ? N : T ? /* @__PURE__ */ (0, X.jsxs)("h4", {
className: z(Gt, "flex-wrap gap-2"),
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
- title: E,
+ children: [/* @__PURE__ */ (0, X.jsx)("span", {
+ title: T,
className: "flex max-w-full min-w-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, Q.jsx)(u, {
+ children: /* @__PURE__ */ (0, X.jsx)(u, {
variant: "caption",
color: "neutral",
- children: E
+ children: T
})
- }), /* @__PURE__ */ (0, Q.jsx)("span", {
- title: D,
+ }), /* @__PURE__ */ (0, X.jsx)("span", {
+ title: E,
className: "min-w-0 truncate text-body-medium text-text-primary",
- children: D
+ children: E
})]
- }) : /* @__PURE__ */ (0, Q.jsx)("h4", {
+ }) : /* @__PURE__ */ (0, X.jsx)("h4", {
className: Gt,
- children: /* @__PURE__ */ (0, Q.jsx)("span", {
- title: T,
+ children: /* @__PURE__ */ (0, X.jsx)("span", {
+ title: w,
className: "min-w-0 truncate text-body-medium text-text-primary",
- children: T
+ children: w
})
});
- return /* @__PURE__ */ (0, Q.jsxs)("section", {
- "aria-label": T,
+ return /* @__PURE__ */ (0, X.jsxs)("section", {
+ "aria-label": w,
"data-review-key": n.item_key,
className: z(Wt, qt(t)),
children: [
- /* @__PURE__ */ (0, Q.jsxs)("header", {
+ /* @__PURE__ */ (0, X.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-center gap-2 border-b border-separator-border px-5 py-4",
children: [
- l ? null : /* @__PURE__ */ (0, Q.jsx)("span", {
+ l ? null : /* @__PURE__ */ (0, X.jsx)("span", {
className: z(Gt, "shrink-0"),
onPointerDownCapture: (e) => {
- te.current = e.shiftKey;
+ y.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
- te.current = e.shiftKey;
+ y.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, Q.jsx)(c, {
+ children: /* @__PURE__ */ (0, X.jsx)(c, {
isSelected: a,
- "aria-label": `选择 ${T}`,
- onChange: (e) => s(te.current, e)
+ "aria-label": `选择 ${w}`,
+ onChange: (e) => s(y.current, e)
})
}),
- /* @__PURE__ */ (0, Q.jsx)("div", {
+ /* @__PURE__ */ (0, X.jsx)("div", {
className: "min-w-0 flex-1",
- children: ae
+ children: L
}),
- N ? /* @__PURE__ */ (0, Q.jsx)(u, {
+ M ? /* @__PURE__ */ (0, X.jsx)(u, {
variant: "caption",
color: "neutral",
- children: N
+ children: M
}) : null
]
}),
- /* @__PURE__ */ (0, Q.jsx)("div", {
+ /* @__PURE__ */ (0, X.jsx)("div", {
className: "relative mx-5 flex min-w-0 min-h-0 flex-1 flex-col",
- children: /* @__PURE__ */ (0, Q.jsxs)("div", {
- ref: b,
+ children: /* @__PURE__ */ (0, X.jsxs)("div", {
+ ref: ne,
className: "flex min-w-0 min-h-0 flex-1 flex-col gap-4 overflow-y-auto py-4",
children: [
- n.source_name ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ n.source_name ? /* @__PURE__ */ (0, X.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: `来源写法:${n.source_name}`
}) : null,
- !w && (n.board || n.assets) ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ !C && (n.board || n.assets) ? /* @__PURE__ */ (0, X.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: `对照文件:${Number(n.video_count || n.assets || 0).toLocaleString()}`
}) : null,
- !w && P ? P : null,
- x && (O || n.current_value !== void 0) ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ !C && N ? N : null,
+ b && (D || n.current_value !== void 0) ? /* @__PURE__ */ (0, X.jsxs)("div", {
role: "region",
"aria-label": "当前信息",
className: "flex min-w-0 flex-col gap-1 border-b border-separator-border pb-4",
children: [
- /* @__PURE__ */ (0, Q.jsxs)("div", {
+ /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)("h5", {
+ children: [/* @__PURE__ */ (0, X.jsx)("h5", {
"data-copy-key": "review.card.current_value",
className: "text-caption-1-medium text-text-secondary",
children: "当前值"
- }), n.current_owner?.startsWith("user:") || n.current_owner?.startsWith("review:") ? /* @__PURE__ */ (0, Q.jsx)(u, {
+ }), n.current_owner?.startsWith("user:") || n.current_owner?.startsWith("review:") ? /* @__PURE__ */ (0, X.jsx)(u, {
variant: "caption",
color: "neutral",
children: "人工确认"
}) : null]
}),
- /* @__PURE__ */ (0, Q.jsx)("p", {
+ /* @__PURE__ */ (0, X.jsx)("p", {
className: "text-body-2-regular text-text-primary wrap-anywhere",
- children: n.current_value === void 0 ? O : n.current_value ? /* @__PURE__ */ (0, Q.jsx)(Et, {
+ children: n.current_value === void 0 ? D : n.current_value ? /* @__PURE__ */ (0, X.jsx)(Et, {
value: n.current_value,
reference: (n.candidates?.find((e) => e.candidate_key === r.candidateKey) || n.candidates?.[0])?.display_value
}) : "尚无资料"
}),
- n.videos === void 0 ? null : /* @__PURE__ */ (0, Q.jsx)("p", {
+ n.videos === void 0 ? null : /* @__PURE__ */ (0, X.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `${Number(n.videos).toLocaleString()} 个${n.asset_path ? "匹配文件" : "同番号文件"}`
})
]
}) : null,
- k.length || t === "creator_tags" ? /* @__PURE__ */ (0, Q.jsx)("div", {
+ O.length || t === "creator_tags" ? /* @__PURE__ */ (0, X.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: k.length ? k.map((e) => /* @__PURE__ */ (0, Q.jsx)(u, {
+ children: O.length ? O.map((e) => /* @__PURE__ */ (0, X.jsx)(u, {
variant: "caption",
color: "soft",
children: e
- }, e)) : /* @__PURE__ */ (0, Q.jsx)("small", {
+ }, e)) : /* @__PURE__ */ (0, X.jsx)("small", {
className: "text-body-2-regular text-text-secondary",
children: "暂无待确认标签"
})
}) : null,
- x ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ b ? /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
- children: [/* @__PURE__ */ (0, Q.jsxs)("h5", {
+ children: [/* @__PURE__ */ (0, X.jsxs)("h5", {
className: "text-caption-1-medium text-text-secondary",
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [/* @__PURE__ */ (0, X.jsx)("span", {
"data-copy-key": "review.card.candidate_sources",
children: "候选来源"
}), ` · ${n.candidates?.length || 0}`]
- }), n.current_value || (n.candidates?.length || 0) > 1 ? /* @__PURE__ */ (0, Q.jsx)("span", {
+ }), n.current_value || (n.candidates?.length || 0) > 1 ? /* @__PURE__ */ (0, X.jsx)("span", {
"data-copy-key": n.current_value ? "review.card.compare_current" : "review.card.compare_sources",
className: "text-caption-1-regular text-text-tertiary",
children: n.current_value ? "与当前值比较" : "来源间差异"
}) : null]
}) : null,
- L,
- /* @__PURE__ */ (0, Q.jsx)(Ft, {
+ P,
+ /* @__PURE__ */ (0, X.jsx)(Ft, {
row: n,
tags: p,
locked: l,
- toast: v.toast
+ toast: _.toast
}),
- !x && O ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ !b && D ? /* @__PURE__ */ (0, X.jsx)("p", {
className: "text-body-2-regular text-text-secondary wrap-anywhere",
- children: O
+ children: D
}) : null
]
})
}),
- /* @__PURE__ */ (0, Q.jsxs)("footer", {
- className: z(_.stack, "shrink-0"),
+ /* @__PURE__ */ (0, X.jsxs)("footer", {
+ className: z(v.stack, "shrink-0"),
children: [
- y === "ignored" ? null : /* @__PURE__ */ (0, Q.jsx)(ne, {
+ te === "ignored" ? null : /* @__PURE__ */ (0, X.jsx)(re, {
variant: "secondary",
size: "small",
className: "me-auto",
disabled: l,
...I(d),
- onClick: () => g("rejected"),
+ onClick: () => m("rejected"),
children: "忽略"
}),
- y === "pending" ? /* @__PURE__ */ (0, Q.jsx)(o, {
+ te === "pending" ? /* @__PURE__ */ (0, X.jsx)(o, {
variant: "secondary",
size: "small",
disabled: l,
...I(d),
- onClick: () => g("skipped"),
+ onClick: () => m("skipped"),
children: "稍后处理"
- }) : /* @__PURE__ */ (0, Q.jsx)(o, {
- variant: y === "ignored" ? "primary" : "secondary",
+ }) : /* @__PURE__ */ (0, X.jsx)(o, {
+ variant: te === "ignored" ? "primary" : "secondary",
size: "small",
disabled: l,
...I(d),
- onClick: () => g("restore"),
+ onClick: () => m("restore"),
children: "恢复待处理"
}),
- y === "ignored" ? null : /* @__PURE__ */ (0, Q.jsx)(o, {
+ te === "ignored" ? null : /* @__PURE__ */ (0, X.jsx)(o, {
variant: "primary",
size: "small",
- disabled: l || !A,
+ disabled: l || !k,
...I(d),
- title: A ? void 0 : "没有可采用的资料,可先保留或忽略",
- onClick: () => g("approved"),
- children: A ? "通过" : "不可通过"
+ title: k ? void 0 : "没有可采用的资料,可先保留或忽略",
+ onClick: () => m("approved"),
+ children: k ? "通过" : "不可通过"
}),
- f ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ f ? /* @__PURE__ */ (0, X.jsx)("p", {
role: "status",
className: "w-full text-body-2-regular text-text-error-primary",
children: f
@@ -1512,58 +1512,20 @@ function Jt(e) {
}
// src/react/review/review-page.tsx
var Yt = "flex cursor-pointer items-center justify-between gap-2";
-function Xt({ page: e, pages: t, onPage: n }) {
- return t <= 1 ? null : /* @__PURE__ */ (0, Q.jsxs)("nav", {
- "aria-label": "复核分页",
- "data-pagination-layout": "",
- className: "inline-grid w-full min-w-0 items-center gap-2",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(o, {
- variant: "secondary",
- size: "small",
- disabled: e <= 1,
- onClick: () => n(e - 1),
- children: "上一页"
- }),
- /* @__PURE__ */ (0, Q.jsx)("ul", {
- className: "flex min-w-0 flex-wrap items-center justify-center gap-1",
- children: ye(e, t).map((t, r) => /* @__PURE__ */ (0, Q.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, Q.jsx)("span", {
- "aria-hidden": !0,
- className: "px-1 text-body-2-regular text-text-tertiary",
- children: "…"
- }) : /* @__PURE__ */ (0, Q.jsx)(o, {
- variant: t === e ? "secondary" : "ghost",
- size: "small",
- "aria-label": `第 ${t} 页`,
- "aria-current": t === e ? "page" : void 0,
- onClick: () => n(Number(t)),
- children: t
- }) }, t === "…" ? `dots-${r}` : t))
- }),
- /* @__PURE__ */ (0, Q.jsx)(o, {
- variant: "secondary",
- size: "small",
- disabled: e >= t,
- onClick: () => n(e + 1),
- children: "下一页"
- })
- ]
- });
-}
-function Zt(r) {
+function Xt(r) {
let [i, a] = (0, q.useState)(() => matchMedia("(max-width:900px)").matches);
(0, q.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => a(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: s, openItem: c, openEntity: l, revealSource: u, toast: d, readOnly: f, readOnlyMessage: m, writerUrl: h } = r, [_, v] = (0, q.useState)(me(r.category) ? r.category : p), [y, te] = (0, q.useState)(() => Ee(r.queue)), [ne, re] = (0, q.useState)("candidates"), [E, D] = (0, q.useState)(""), [O, k] = (0, q.useState)(""), [A, j] = (0, q.useState)(1), [M, N] = (0, q.useState)(/* @__PURE__ */ new Set()), [P, F] = (0, q.useState)(/* @__PURE__ */ new Map()), [I, L] = (0, q.useState)(/* @__PURE__ */ new Map()), [ae, R] = (0, q.useState)(""), oe = (0, q.useRef)(null), [z, he] = (0, q.useState)(0), [ge, ye] = (0, q.useState)(""), be = (0, q.useRef)(!0);
+ let { route: s, openItem: c, openEntity: l, revealSource: u, toast: d, readOnly: f, readOnlyMessage: h, writerUrl: ee } = r, [v, te] = (0, q.useState)(he(r.category) ? r.category : p), [y, ne] = (0, q.useState)(() => De(r.queue)), [re, ie] = (0, q.useState)("candidates"), [E, D] = (0, q.useState)(""), [O, k] = (0, q.useState)(""), [A, j] = (0, q.useState)(1), [M, N] = (0, q.useState)(20), [P, F] = (0, q.useState)(/* @__PURE__ */ new Set()), [I, L] = (0, q.useState)(/* @__PURE__ */ new Map()), [oe, R] = (0, q.useState)(/* @__PURE__ */ new Map()), [se, z] = (0, q.useState)(""), ge = (0, q.useRef)(null), [_e, be] = (0, q.useState)(0), [xe, Se] = (0, q.useState)(""), Ce = (0, q.useRef)(!0);
(0, q.useEffect)(() => () => {
- be.current = !1;
+ Ce.current = !1;
}, []);
- let V = Fe({
+ let V = Le({
queryKey: S,
- queryFn: ({ signal: e }) => de(e)
- }), xe = V.data || {
+ queryFn: ({ signal: e }) => fe(e)
+ }), we = V.data || {
sections: {},
counts: {},
queues: {
@@ -1576,61 +1538,64 @@ function Zt(r) {
counts: {}
}
}
- }, Se = Te(xe, y), Ce = V.data ? Object.fromEntries(w.map((e) => [e, x.reduce((t, n) => t + Number(Te(xe, e).counts[n] || 0), 0)])) : void 0, H = Se.sections[_] || [], U = _ === "metadata_fields", W = f;
+ }, ke = Ee(we, y), Ae = V.data ? Object.fromEntries(w.map((e) => [e, x.reduce((t, n) => t + Number(Ee(we, e).counts[n] || 0), 0)])) : void 0, H = ke.sections[v] || [], U = v === "metadata_fields", W = f;
(0, q.useEffect)(() => {
let e = new Set(H.map((e) => e.item_key));
- N((t) => {
+ F((t) => {
let n = [...t].filter((t) => e.has(t));
return n.length === t.size ? t : new Set(n);
- }), F((t) => {
+ }), L((t) => {
let n = [...t].filter(([t]) => e.has(t));
return n.length === t.size ? t : new Map(n);
- }), L((t) => {
+ }), R((t) => {
let n = [...t].filter(([t]) => e.has(t));
return n.length === t.size ? t : new Map(n);
});
}, [H]);
- let Oe = (0, q.useMemo)(() => U ? pe(H, "field") : [], [H, U]), ke = Oe.some((e) => e.key === O) ? O : "", G = (0, q.useMemo)(() => U ? fe(H, "field", ke) : H, [
+ let Ne = (0, q.useMemo)(() => U ? me(H, "field") : [], [H, U]), Ie = Ne.some((e) => e.key === O) ? O : "", G = (0, q.useMemo)(() => U ? pe(H, "field", Ie) : H, [
H,
U,
- ke
- ]), Me = (0, q.useMemo)(() => we(G, U), [G, U]), K = Me.some(([e]) => e === ne) ? ne : "candidates", Ie = (0, q.useMemo)(() => pe(G, K), [G, K]), Re = Ie.some((e) => e.key === E) ? E : "", ze = (0, q.useMemo)(() => De(fe(G, K, Re), A), [
+ Ie
+ ]), ze = (0, q.useMemo)(() => Te(G, U), [G, U]), K = ze.some(([e]) => e === re) ? re : "candidates", Ve = (0, q.useMemo)(() => me(G, K), [G, K]), He = Ve.some((e) => e.key === E) ? E : "", Ue = (0, q.useMemo)(() => pe(G, K, He), [
G,
K,
- Re,
- A
- ]), Ve = ze.rows.map((e) => e.item_key), He = new Set(Ve), Ue = Ie.map((e) => ({
+ He
+ ]), We = (0, q.useMemo)(() => Oe(Ue, A, M), [
+ Ue,
+ A,
+ M
+ ]), Ge = We.rows.map((e) => e.item_key), Ke = new Set(Ge), qe = Ve.map((e) => ({
...e,
- rows: e.rows.filter((e) => He.has(e.item_key))
- })).filter((e) => e.rows.length), We = (e) => P.get(e.item_key) || ue(e), J = (0, q.useMemo)(() => H.filter((e) => M.has(e.item_key)), [H, M]), Ge = (e) => {
+ rows: e.rows.filter((e) => Ke.has(e.item_key))
+ })).filter((e) => e.rows.length), J = (e) => I.get(e.item_key) || de(e), Y = (0, q.useMemo)(() => H.filter((e) => P.has(e.item_key)), [H, P]), Je = (e) => {
let t = new Set(e);
- N((e) => new Set([...e].filter((e) => !t.has(e)))), F((e) => new Map([...e].filter(([e]) => !t.has(e)))), L((e) => new Map([...e].filter(([e]) => !t.has(e))));
- }, Ke = (e, t) => L((n) => new Map(n).set(e, t)), Y = () => {
- re("candidates"), D(""), k(""), j(1), N(/* @__PURE__ */ new Set()), F(/* @__PURE__ */ new Map()), L(/* @__PURE__ */ new Map()), R(""), oe.current = null;
- }, qe = (e) => {
- v(e), Y(), s({
+ F((e) => new Set([...e].filter((e) => !t.has(e)))), L((e) => new Map([...e].filter(([e]) => !t.has(e)))), R((e) => new Map([...e].filter(([e]) => !t.has(e))));
+ }, Ye = (e, t) => R((n) => new Map(n).set(e, t)), Xe = () => {
+ ie("candidates"), D(""), k(""), j(1), F(/* @__PURE__ */ new Set()), L(/* @__PURE__ */ new Map()), R(/* @__PURE__ */ new Map()), z(""), ge.current = null;
+ }, Ze = (e) => {
+ te(e), Xe(), s({
category: e === "metadata_fields" ? "" : e,
queue: y === "pending" ? "" : y
});
- }, Je = (e) => {
- te(e), Y(), s({
- category: _ === "metadata_fields" ? "" : _,
+ }, Qe = (e) => {
+ ne(e), Xe(), s({
+ category: v === "metadata_fields" ? "" : v,
queue: e === "pending" ? "" : e
});
- }, X = Pe({
- mutationFn: ({ row: e, status: t, category: n }) => Ne(ce(n, se(n, e), t, We(e))),
+ }, Z = Fe({
+ mutationFn: ({ row: e, status: t, category: n }) => Pe(le(n, ce(n, e), t, J(e))),
onSuccess: (e, { row: t, status: n, category: r }) => {
- e.ok ? (je(r, [t.item_key], n), Ge([t.item_key]), d(le(n))) : Ke(t.item_key, e.error || "服务端拒绝了这次判定");
+ e.ok ? (Me(r, [t.item_key], n), Je([t.item_key]), d(ue(n))) : Ye(t.item_key, e.error || "服务端拒绝了这次判定");
},
- onError: (e, { row: t }) => Ke(t.item_key, B(e))
- }), Z = Pe({
+ onError: (e, { row: t }) => Ye(t.item_key, B(e))
+ }), Q = Fe({
mutationFn: async ({ status: e, category: t, rows: n }) => {
let r = [], i = [];
for (let [a, o] of n.entries()) {
- if (!be.current) break;
- R(`正在处理 ${a} / ${n.length}`);
+ if (!Ce.current) break;
+ z(`正在处理 ${a} / ${n.length}`);
try {
- let n = await Ne(ce(t, se(t, o), e, We(o)));
+ let n = await Pe(le(t, ce(t, o), e, J(o)));
if (!n.ok) throw Error(n.error || "服务端未采用该项");
r.push(o.item_key);
} catch (e) {
@@ -1645,7 +1610,7 @@ function Zt(r) {
};
},
onSuccess: ({ status: e, category: t, done: n, failures: r }) => {
- je(t, n, e), Ge(n), r.forEach(([e, t]) => Ke(e, t)), R("");
+ Me(t, n, e), Je(n), r.forEach(([e, t]) => Ye(e, t)), z("");
let i = {
approved: "通过",
rejected: "忽略",
@@ -1655,172 +1620,172 @@ function Zt(r) {
d(`已${i} ${n.length} 项` + (r.length ? `,${r.length} 项未完成` : ""));
},
onError: (e) => {
- R(B(e));
+ z(B(e));
}
- }), Ye = (e) => {
- !Z.isPending && J.length && (e === "approved" && U && J.some((e) => !We(e).candidateKey) ? R("请先为所选资料选择要采用的来源。") : (R(""), Z.mutate({
+ }), $e = (e) => {
+ !Q.isPending && Y.length && (e === "approved" && U && Y.some((e) => !J(e).candidateKey) ? z("请先为所选资料选择要采用的来源。") : (z(""), Q.mutate({
status: e,
- category: _,
- rows: J
+ category: v,
+ rows: Y
})));
- }, Xe = (e) => {
- F((t) => {
+ }, nt = (e) => {
+ L((t) => {
let n = new Map(t);
- for (let t of J) {
+ for (let t of Y) {
let r = t.candidates?.find((t) => t.source === e);
r && n.set(t.item_key, {
- ...We(t),
+ ...J(t),
candidateKey: r.candidate_key
});
}
return n;
- }), R(`已选择 ${e},点击通过所选采用。`);
- }, Ze = async (e) => {
- if (z) return;
- he(e), ye("");
+ }), z(`已选择 ${e},点击通过所选采用。`);
+ }, rt = async (e) => {
+ if (_e) return;
+ be(e), Se("");
let t = await u(e);
- be.current && (he(0), ye(t));
- }, Qe = ve(xe.mirror, m), $e = xe.genre_tags || [], nt = {
+ Ce.current && (be(0), Se(t));
+ }, it = ye(we.mirror, h), at = we.genre_tags || [], $ = {
openItem: c,
openEntity: l,
- onReveal: Ze,
- revealing: z,
- revealNote: ge,
+ onReveal: rt,
+ revealing: _e,
+ revealNote: xe,
toast: d
};
- return /* @__PURE__ */ (0, Q.jsx)(Le, { children: /* @__PURE__ */ (0, Q.jsxs)("div", {
+ return /* @__PURE__ */ (0, X.jsx)(Re, { children: /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
- W ? /* @__PURE__ */ (0, Q.jsx)(b, {
+ W ? /* @__PURE__ */ (0, X.jsx)(b, {
tone: "warning",
title: "本机只能浏览",
- extra: h ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ extra: ee ? /* @__PURE__ */ (0, X.jsx)("p", {
className: "text-body-2-regular",
- children: /* @__PURE__ */ (0, Q.jsx)(g, {
- href: h,
+ children: /* @__PURE__ */ (0, X.jsx)(_, {
+ href: ee,
children: "前往写入端复核"
})
}) : void 0,
- children: Qe
+ children: it
}) : null,
- /* @__PURE__ */ (0, Q.jsx)(kt, { tags: $e }),
- /* @__PURE__ */ (0, Q.jsxs)(n, {
+ /* @__PURE__ */ (0, X.jsx)(kt, { tags: at }),
+ /* @__PURE__ */ (0, X.jsxs)(n, {
orientation: i ? "horizontal" : "vertical",
- selectedKey: _,
+ selectedKey: v,
onSelectionChange: (e) => {
let t = String(e);
- me(t) && qe(t);
+ he(t) && Ze(t);
},
className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",
- children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, X.jsxs)("div", {
"data-section-nav": !0,
className: "w-full min-w-0 review-split:sticky review-split:top-topbar review-split:w-review-tabs review-split:shrink-0",
- children: [/* @__PURE__ */ (0, Q.jsx)("h2", {
+ children: [/* @__PURE__ */ (0, X.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, Q.jsx)(Be, {
+ }), /* @__PURE__ */ (0, X.jsx)(Be, {
scrollable: i,
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
children: x.map((e) => {
- let n = Number(Se.counts[e] || 0);
- return /* @__PURE__ */ (0, Q.jsxs)(t, {
+ let n = Number(ke.counts[e] || 0);
+ return /* @__PURE__ */ (0, X.jsxs)(t, {
id: e,
className: Yt,
- isDisabled: X.isPending || Z.isPending,
- "data-pill-selected": _ === e ? "" : void 0,
+ isDisabled: Z.isPending || Q.isPending,
+ "data-pill-selected": v === e ? "" : void 0,
"data-pill-variant": "gray",
- children: [C[e], n ? /* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [C[e], n ? /* @__PURE__ */ (0, X.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: n.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, Q.jsxs)(e, {
- id: _,
+ }), /* @__PURE__ */ (0, X.jsxs)(e, {
+ id: v,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- /* @__PURE__ */ (0, Q.jsx)(tt, {
+ /* @__PURE__ */ (0, X.jsx)(tt, {
queueView: y,
- queueCounts: Ce,
- onQueueChange: Je,
+ queueCounts: Ae,
+ onQueueChange: Qe,
locked: W,
- fields: Oe,
- fieldFilter: ke,
+ fields: Ne,
+ fieldFilter: Ie,
onFieldFilter: (e) => {
k(e), D(""), j(1);
},
- groupOptions: Me,
+ groupOptions: ze,
groupBy: K,
onGroupBy: (e) => {
- re(e), D(""), j(1);
+ ie(e), D(""), j(1);
},
- groups: Ie,
- filter: Re,
+ groups: Ve,
+ filter: He,
onFilter: (e) => {
D(e), j(1);
},
- pageKeys: Ve,
- selected: M,
- onSelected: N,
- selectedRows: J,
+ pageKeys: Ge,
+ selected: P,
+ onSelected: F,
+ selectedRows: Y,
metadata: U,
- approvable: J.every((e) => ie(_, e)),
- busy: Z.isPending || X.isPending,
- feedback: ae,
- onUnifySource: Xe,
- onRun: Ye
+ approvable: Y.every((e) => ae(v, e)),
+ busy: Q.isPending || Z.isPending,
+ feedback: se,
+ onUnifySource: nt,
+ onRun: $e
}),
- ze.rows.length ? Ue.map((e) => /* @__PURE__ */ (0, Q.jsxs)("section", {
+ We.rows.length ? qe.map((e) => /* @__PURE__ */ (0, X.jsxs)("section", {
className: "flex flex-col gap-3",
- children: [Ue.length > 1 || K !== "candidates" ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ children: [qe.length > 1 || K !== "candidates" ? /* @__PURE__ */ (0, X.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)("h3", {
+ children: [/* @__PURE__ */ (0, X.jsx)("h3", {
className: "text-body-medium text-text-primary",
children: `${e.title} · ${e.rows.length}`
- }), W ? null : /* @__PURE__ */ (0, Q.jsx)(o, {
+ }), W ? null : /* @__PURE__ */ (0, X.jsx)(o, {
variant: "ghost",
size: "small",
onClick: () => {
- let t = e.rows.map((e) => e.item_key), n = t.every((e) => M.has(e)), r = new Set(M);
+ let t = e.rows.map((e) => e.item_key), n = t.every((e) => P.has(e)), r = new Set(P);
for (let e of t) n ? r.delete(e) : r.add(e);
- N(r);
+ F(r);
},
- children: e.rows.every((e) => M.has(e.item_key)) ? "清空本组" : "全选本组"
+ children: e.rows.every((e) => P.has(e.item_key)) ? "清空本组" : "全选本组"
})]
- }) : null, /* @__PURE__ */ (0, Q.jsx)("div", {
+ }) : null, /* @__PURE__ */ (0, X.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, Q.jsx)(Jt, {
- category: _,
+ children: e.rows.map((e) => /* @__PURE__ */ (0, X.jsx)(Jt, {
+ category: v,
row: e,
queueView: y,
- choice: We(e),
- onChoice: (t) => F((n) => new Map(n).set(e.item_key, t)),
- selected: M.has(e.item_key),
- onSelect: (t, n) => N((r) => {
+ choice: J(e),
+ onChoice: (t) => L((n) => new Map(n).set(e.item_key, t)),
+ selected: P.has(e.item_key),
+ onSelect: (t, n) => F((r) => {
let i = new Set(r);
- return oe.current = Ae(i, Ve, oe.current, e.item_key, t, n), i;
+ return ge.current = je(i, Ge, ge.current, e.item_key, t, n), i;
}),
locked: W,
- busy: Z.isPending || X.isPending && X.variables?.row.item_key === e.item_key,
- problem: I.get(e.item_key) || "",
- genreTags: $e,
+ busy: Q.isPending || Z.isPending && Z.variables?.row.item_key === e.item_key,
+ problem: oe.get(e.item_key) || "",
+ genreTags: at,
onDecide: (t) => {
- X.isPending || Z.isPending || (L((t) => new Map([...t].filter(([t]) => t !== e.item_key))), X.mutate({
+ Z.isPending || Q.isPending || (R((t) => new Map([...t].filter(([t]) => t !== e.item_key))), Z.mutate({
row: e,
status: t,
- category: _
+ category: v
}));
},
- handlers: nt
+ handlers: $
}, e.item_key))
})]
- }, e.key)) : V.isError && !V.data ? /* @__PURE__ */ (0, Q.jsx)(b, {
+ }, e.key)) : V.isError && !V.data ? /* @__PURE__ */ (0, X.jsx)(b, {
tone: "error",
title: "复核队列读取失败",
- action: /* @__PURE__ */ (0, Q.jsx)(o, {
+ action: /* @__PURE__ */ (0, X.jsx)(o, {
variant: "secondary",
size: "small",
disabled: V.isFetching,
@@ -1828,25 +1793,31 @@ function Zt(r) {
children: "立即重试"
}),
children: B(V.error)
- }) : /* @__PURE__ */ (0, Q.jsx)(ee, {
- icon: _e,
+ }) : /* @__PURE__ */ (0, X.jsx)(g, {
+ icon: ve,
title: `此分类没有${T[y]}项目`,
- actions: x.some((e) => e !== _ && Number(Se.counts[e] || 0) > 0) ? /* @__PURE__ */ (0, Q.jsx)(o, {
+ actions: x.some((e) => e !== v && Number(ke.counts[e] || 0) > 0) ? /* @__PURE__ */ (0, X.jsx)(o, {
size: "small",
onClick: () => {
- let e = x.find((e) => e !== _ && Number(Se.counts[e] || 0) > 0);
- e && qe(e);
+ let e = x.find((e) => e !== v && Number(ke.counts[e] || 0) > 0);
+ e && Ze(e);
},
children: "查看其他分类"
}) : void 0,
children: y === "pending" ? "可切换分类查看其他待确认资料。" : `${T[y]}的资料会保留在这里,可恢复到待处理。`
}),
- /* @__PURE__ */ (0, Q.jsx)(Xt, {
- page: ze.page,
- pages: ze.pages,
- onPage: j
- }),
- U && y === "pending" ? /* @__PURE__ */ (0, Q.jsx)(et, {
+ Ue.length ? /* @__PURE__ */ (0, X.jsx)(m, {
+ label: "复核",
+ total: Ue.length,
+ pagination: {
+ pageIndex: We.page - 1,
+ pageSize: M
+ },
+ onChange: (e) => {
+ j(e.pageIndex + 1), N(e.pageSize);
+ }
+ }) : null,
+ U && y === "pending" ? /* @__PURE__ */ (0, X.jsx)(et, {
locked: W,
openItem: c,
toast: d
@@ -1857,6 +1828,6 @@ function Zt(r) {
]
}) });
}
-export { Zt as ReviewPage };
+export { Xt as ReviewPage };
-//# debugId=3f268e66-ba55-4603-a484-c03e96069af0
\ No newline at end of file
+//# debugId=a742d258-e180-4041-804f-8b63522f897e
\ No newline at end of file
diff --git a/web/dist/peach-app.scraping-page-C1N85_Sm.js b/web/dist/peach-app.scraping-page-D7UjTqN_.js
similarity index 99%
rename from web/dist/peach-app.scraping-page-C1N85_Sm.js
rename to web/dist/peach-app.scraping-page-D7UjTqN_.js
index a292dfb70..31a3b7539 100644
--- a/web/dist/peach-app.scraping-page-C1N85_Sm.js
+++ b/web/dist/peach-app.scraping-page-D7UjTqN_.js
@@ -1,11 +1,11 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "383a2275-18e0-4000-88e8-d6afd5fd1120", e._sentryDebugIdIdentifier = "sentry-dbid-383a2275-18e0-4000-88e8-d6afd5fd1120");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "6fcfa524-490c-4c81-834d-09d1b05b276f", e._sentryDebugIdIdentifier = "sentry-dbid-6fcfa524-490c-4c81-834d-09d1b05b276f");
} catch {}
})();
import { $fe21c36db05242bb$export$d7b12c4107be0d61 as e, AMANE_BRIDGE_CHECK_URL as t, AMANE_BRIDGE_KEY as n, AMANE_BRIDGE_REBUILD_URL as r, Button as i, CHECK_ALL_KEY as a, COVER_JOB_KEY as o, CUSTOM_SOURCES_KEY as s, CUSTOM_SOURCES_URL as c, Checkbox as l, Disclosure as u, ErrorText as d, ExternalLink as f, Fact as p, FactList as m, FieldLabel as h, Footer as g, Help as _, Input as v, IssueRow as y, LinkButton as ee, LoadingDots as b, Note as x, Progress as S, Rows as te, SCRAPING_CHECK_ALL_URL as C, SCRAPING_CHECK_URL as ne, SCRAPING_COVER_URL as w, SCRAPING_KEY as T, SCRAPING_SETTINGS_URL as re, SEGMENT as ie, SEGMENTED_TRACK as ae, Section as E, SegmentedRadioGroup as oe, Select$1 as se, SelectField as D, SelectItem as ce, SettingsRow as le, Stack as O, StatusLabel as k, __toESM as A, apiSend as j, busyProps as M, checkText as ue, composingKey as N, confirmModal as de, errorMessage as P, esc as F, fetchAmaneBridge as I, fetchCheckAllJob as L, fetchCoverJob as R, fetchCustomSources as z, fetchSources as fe, i2 as pe, momentText as me, queryClient as B, require_jsx_runtime as he, require_react as ge, spinnerHtml as _e, useAction as V, useBackgroundJob as H, useMutation as U, useQuery as W } from "./peach-app.js";
-import { CodeBlock as ve } from "./peach-app.code-block-CyDva4Ms.js";
+import { CodeBlock as ve } from "./peach-app.code-block-5D8eSV-F.js";
import { Page as G } from "./peach-app.page-QAncjzM1.js";
import { SiteMark as K } from "./peach-app.site-mark-D_VlIyJz.js";
import { ConnectionStatus as ye } from "./peach-app.connection-status-DI6kgn3i.js";
@@ -729,4 +729,4 @@ function Me({ toast: e }) {
}
export { Me as ScrapingPage, Z as linkHost, X as networkOptions };
-//# debugId=383a2275-18e0-4000-88e8-d6afd5fd1120
\ No newline at end of file
+//# debugId=6fcfa524-490c-4c81-834d-09d1b05b276f
\ No newline at end of file
diff --git a/web/dist/peach-app.source-list-ri5fRK2E.js b/web/dist/peach-app.source-list-ri5fRK2E.js
deleted file mode 100644
index e5673fca2..000000000
--- a/web/dist/peach-app.source-list-ri5fRK2E.js
+++ /dev/null
@@ -1,787 +0,0 @@
-(function() {
- try {
- var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cf9fe502-e46c-4f37-a8b5-bb57a7442240", e._sentryDebugIdIdentifier = "sentry-dbid-cf9fe502-e46c-4f37-a8b5-bb57a7442240");
- } catch {}
-})();
-import { createPaginatedRowModel as e } from "./peach-app.createPaginatedRowModel-ClHnhG_T.js";
-import { $76d00c5a4edb230a$export$76ccd210b9029917 as t, $76d00c5a4edb230a$export$816b5d811295e6bc as n, $76d00c5a4edb230a$export$b59bdbef9ce70de2 as r, $76d00c5a4edb230a$export$f6f0c3fe4ec306ea as i, $76d00c5a4edb230a$export$f850895b287ef28e as ee, $ea3928288112382f$export$439d29a4e110a164 as a, Button as o, Bx as te, COLUMN_SORT as s, Checkbox as c, ChevronSortDown as ne, CollapseChevron as re, CollapseRegion as l, DataTableFooter as ie, DataTableFrame as u, EmptyState as d, FOLLOW_CHECK_KEY as f, LAYOUTS as ae, M6 as oe, Note as p, SORT_DEFAULT_DIR as se, SORT_OPTIONS as ce, Select as le, SelectItem as ue, SelectionDock as de, SortDirectionIcon as fe, Switch as pe, Table as me, TableColumnControls as he, TableColumnResizer as ge, TableSelectionHeader as _e, TaskProgress as ve, Un as ye, __toESM as m, authorGroups as be, authorName as xe, busyProps as h, cardClass as Se, checkEvidenceGap as Ce, checkFailures as we, checkReceipt as Te, checkSummary as Ee, checkedText as De, clickedBlank as g, columnVisibilityFeature as Oe, confirmModal as _, createColumnHelper as ke, dZ as v, dropSources as Ae, du as je, errorHeadline as Me, errorMessage as y, fetchCheckJob as Ne, fetchPending as Pe, flexRender as Fe, isBroken as Ie, l7 as b, mapLimit as Le, markItem as Re, pageWindow as ze, patchSource as Be, reloadFollowManage as Ve, removeSource as He, require_jsx_runtime as x, require_react as S, rowPaginationFeature as C, rowSelectionFeature as Ue, rowSortingFeature as w, selectionState as We, setSourceEnabled as Ge, sortLabel as Ke, startCheck as qe, tableFeatures as Je, tableRows as Ye, toggleGroup as T, useBackgroundJob as Xe, useMutation as E, useTable as Ze, useTablePreferences as Qe } from "./peach-app.js";
-import { AuthorAvatar as $e, ErrorLine as et, SourceIcon as D, SourceLink as tt, StatusBadge as nt } from "./peach-app.source-view-DalWfDkm.js";
-// src/react/follow-manage/source-list.tsx
-var O = /* @__PURE__ */ m(S(), 1), k = x(), rt = Je({
- rowPaginationFeature: C,
- rowSelectionFeature: Ue,
- rowSortingFeature: w,
- columnVisibilityFeature: Oe,
- paginatedRowModel: e()
-}), A = (e) => (Number(e) || 0).toLocaleString(), it = Object.fromEntries(Object.entries(s).map(([e, t]) => [t, e])), j = 740;
-function at() {
- let [e, t] = (0, O.useState)(!1), n = (0, O.useRef)(null), r = (0, O.useCallback)((e) => {
- if (n.current?.disconnect(), !e) {
- n.current = null;
- return;
- }
- let r = new ResizeObserver(() => t(e.clientWidth < j));
- r.observe(e), n.current = r, t(e.clientWidth < j);
- }, []);
- return (0, O.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
-}
-var ot = {
- select: "选择",
- author: "创作者",
- source: "来源",
- provider: "站点",
- status: "状态",
- checked: "上次检查",
- actions: "操作"
-}, st = Object.entries(ot).map(([e, t]) => ({
- id: e,
- label: t,
- width: e === "select" ? 48 : e === "source" ? 320 : e === "author" ? 240 : e === "actions" ? 208 : 184,
- min: e === "select" ? 48 : e === "actions" ? 200 : e === "source" ? 320 : 112,
- max: e === "select" ? 48 : e === "source" ? 2e3 : 800,
- flex: e === "source",
- required: e === "select" || e === "source"
-}));
-function M({ source: e, selected: t, onToggle: n, handlers: r }) {
- return /* @__PURE__ */ (0, k.jsxs)("div", {
- "data-selected": t || void 0,
- "data-follow-source-row": "",
- className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 last:rounded-b-lg max-sm:gap-x-2",
- onClick: (e) => {
- g(e, e.currentTarget) && n(!t);
- },
- children: [
- /* @__PURE__ */ (0, k.jsx)(c, {
- isSelected: t,
- onChange: n,
- "aria-label": `选择 ${e.label}`
- }),
- /* @__PURE__ */ (0, k.jsxs)("span", {
- className: "flex min-w-0 grow basis-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, k.jsx)("span", {
- "data-follow-source-site": "",
- className: "flex shrink-0 items-center text-body-medium",
- children: /* @__PURE__ */ (0, k.jsx)(D, { provider: e.provider })
- }), /* @__PURE__ */ (0, k.jsx)(tt, { source: e })]
- }),
- /* @__PURE__ */ (0, k.jsx)(a, { children: e.provider_label }),
- /* @__PURE__ */ (0, k.jsx)(nt, { source: e }),
- e.last_error ? /* @__PURE__ */ (0, k.jsxs)("span", {
- "data-follow-source-error": "",
- className: "flex min-w-0 basis-full gap-3 max-sm:gap-x-2 sm:order-last",
- children: [/* @__PURE__ */ (0, k.jsx)("span", {
- "aria-hidden": !0,
- className: "w-4 shrink-0"
- }), /* @__PURE__ */ (0, k.jsxs)("span", {
- className: "flex min-w-0 grow gap-1.5",
- children: [/* @__PURE__ */ (0, k.jsx)("span", {
- "aria-hidden": !0,
- className: "w-(--icon-inline) shrink-0 text-body-medium"
- }), /* @__PURE__ */ (0, k.jsx)("span", {
- className: "min-w-0 grow",
- children: /* @__PURE__ */ (0, k.jsx)(et, { text: e.last_error })
- })]
- })]
- }) : null,
- /* @__PURE__ */ (0, k.jsxs)("span", {
- "data-follow-source-controls": "",
- className: "flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full",
- children: [
- /* @__PURE__ */ (0, k.jsx)("span", {
- className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular",
- children: De(e)
- }),
- /* @__PURE__ */ (0, k.jsx)(pe, {
- "aria-label": `启用 ${e.label}`,
- isSelected: e.enabled,
- isDisabled: r.readOnly,
- onChange: (t) => r.toggle(e, t)
- }),
- /* @__PURE__ */ (0, k.jsxs)("span", {
- className: "flex shrink-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- iconOnly: !0,
- leadingIcon: v,
- "aria-label": `检查 ${e.label} 的更新`,
- disabled: !e.enabled || r.readOnly,
- ...h(r.busy),
- onClick: () => r.check([e.id])
- }), /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- iconOnly: !0,
- leadingIcon: oe,
- "aria-label": `移除 ${e.label}`,
- disabled: r.readOnly,
- onClick: () => r.remove(e)
- })]
- })
- ]
- })
- ]
- });
-}
-function ct({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: ee, onToggleGroup: te, onToggle: s }) {
- let c = e.map((e) => e.id), ne = e.filter((e) => e.enabled).map((e) => e.id), ie = e.filter(Ie).length, u = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), d = `follow-author-${e[0].id}`, f = We(r, c);
- return /* @__PURE__ */ (0, k.jsxs)("section", {
- "aria-label": `${t} 的关注来源`,
- className: Se({
- variant: "raised",
- padding: "none",
- className: "flex flex-col overflow-hidden p-2"
- }),
- children: [/* @__PURE__ */ (0, k.jsxs)("div", {
- "data-follow-author-header": !0,
- "data-open": n || void 0,
- className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
- children: [
- /* @__PURE__ */ (0, k.jsx)($e, {
- group: e,
- name: t
- }),
- /* @__PURE__ */ (0, k.jsxs)("span", {
- className: "flex min-w-0 grow basis-0 flex-col gap-1",
- children: [/* @__PURE__ */ (0, k.jsx)("b", {
- className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",
- children: t
- }), /* @__PURE__ */ (0, k.jsxs)("span", {
- "data-follow-author-sites": "",
- className: "flex min-w-0 flex-wrap items-center gap-1 text-body-2-regular",
- title: u,
- children: [
- e.map((e) => /* @__PURE__ */ (0, k.jsx)(D, { provider: e.provider }, e.id)),
- /* @__PURE__ */ (0, k.jsx)(a, { children: `来源:${u}` }),
- ie ? /* @__PURE__ */ (0, k.jsx)("span", {
- className: "ml-1 shrink-0 text-text-error-primary",
- children: `${ie} 个失败`
- }) : null
- ]
- })]
- }),
- /* @__PURE__ */ (0, k.jsxs)("span", {
- "data-follow-author-controls": "",
- className: "flex flex-none items-center gap-2 max-sm:w-full max-sm:justify-end",
- children: [/* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- iconOnly: !0,
- leadingIcon: v,
- "aria-label": `检查 ${t} 的全部来源`,
- disabled: !ne.length || i.readOnly,
- ...h(i.busy),
- onClick: () => i.check(ne)
- }), /* @__PURE__ */ (0, k.jsxs)("span", {
- className: "flex flex-none items-center gap-2",
- children: [/* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- leadingIcon: b,
- "aria-pressed": f.all ? "true" : f.some ? "mixed" : "false",
- "aria-label": `${f.all ? "取消全选" : "全选"} ${t} 的来源`,
- onClick: () => te(!f.all),
- children: f.all ? "取消全选" : "全选"
- }), /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- "aria-expanded": n,
- "aria-controls": d,
- leadingIcon: re,
- "aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
- onClick: () => ee(!n),
- children: n ? "收起" : "展开"
- })]
- })]
- })
- ]
- }), /* @__PURE__ */ (0, k.jsx)(l, {
- id: d,
- open: n,
- "data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, k.jsx)(M, {
- source: e,
- handlers: i,
- selected: r.has(e.id),
- onToggle: (t) => s(e.id, t)
- }, e.id))
- })]
- });
-}
-function lt(e) {
- let { data: l, sort: m, dir: g, page: Oe, layout: Ie, pageSize: b, selected: x, readOnly: S, onSort: C, onPage: Ue, onLayout: w, onPageSize: Je, onSelected: j, toast: M, openFollow: lt, onAdd: ut } = e, N = l.sources, P = (0, O.useMemo)(() => l.author_aliases || [], [l.author_aliases]), F = l.counts || {}, [I, dt] = (0, O.useState)(/* @__PURE__ */ new Set()), [ft, pt] = at(), [mt, L] = (0, O.useState)(""), R = (0, O.useMemo)(() => be(N, m, g, P), [
- N,
- m,
- g,
- P
- ]), ht = (0, O.useMemo)(() => Ye(R, m, g, P), [
- R,
- m,
- g,
- P
- ]), { job: z, running: B, outcome: V, start: gt } = Xe({
- queryKey: f,
- queryFn: ({ signal: e }) => Ne(e),
- start: (e) => qe(e),
- onError: (e) => L(y(e)),
- onFinish: (e) => {
- Ve(), M(e.status === "failed" ? e.error || "检查失败" : Te(e));
- }
- }), H = (e) => {
- B || gt.isPending || (L(""), gt.mutate(e));
- }, _t = (e, t) => j(T(x, [e], t)), vt = (e, t) => j(T(x, e, t)), yt = E({
- mutationFn: (e) => He(e),
- onSuccess: (e, t) => {
- Ae([t]), j(T(x, [t], !1)), M("已取消关注来源");
- },
- onError: (e) => L(y(e))
- }), bt = E({
- mutationFn: (e) => Ge(e.id, e.enabled),
- onSuccess: (e, t) => {
- Be(t.id, { enabled: t.enabled }), L("");
- },
- onError: (e) => L(y(e))
- }), xt = (e) => void _({
- title: "取消关注来源",
- body: "将移除这个来源及已抓取的条目,媒体文件保留。",
- confirmLabel: "取消关注来源",
- danger: !0,
- onConfirm: () => yt.mutateAsync(e.id)
- }), U = E({
- mutationFn: async (e) => {
- let t = await Le(e.ids, 4, async (t) => {
- e.action === "remove" ? await He(t) : await Ge(t, e.action === "enabled");
- });
- return {
- ...e,
- done: e.ids.filter((e, n) => t[n]?.ok),
- results: t
- };
- },
- onSuccess: (e) => {
- if (e.action === "remove") Ae(e.done);
- else for (let t of e.done) Be(t, { enabled: e.action === "enabled" });
- j(T(x, e.done, !1));
- let t = e.results.filter((e) => !e.ok);
- if (t.length) {
- L(`${t.length}/${e.ids.length} 个来源未更新:${y(t[0]?.error)}`);
- return;
- }
- L("");
- let n = e.action === "remove" ? "删除" : e.action === "enabled" ? "启用" : "暂停";
- M(`已${n} ${e.done.length} 个关注来源`);
- },
- onError: (e) => L(y(e))
- }), W = E({
- mutationFn: async (e) => {
- let t = ((await Pe()).groups || []).flatMap((e) => [
- e.primary,
- ...e.variants,
- ...e.duplicates
- ]).filter((e) => e.status === "new").map((e) => e.id);
- return {
- ids: t,
- failed: (await Le(t, 6, (t) => Re(t, e))).filter((e) => !e.ok)
- };
- },
- onSuccess: (e) => {
- Ve(), e.failed.length ? L(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`) : (L(""), M(`已批量标记 ${e.ids.length} 项`));
- },
- onError: (e) => L(y(e))
- }), St = (e, t) => bt.mutate({
- id: e.id,
- enabled: t
- }), G = (0, O.useRef)({
- check: H,
- toggle: St,
- remove: xt,
- busy: !1,
- readOnly: S
- });
- G.current = {
- check: H,
- toggle: St,
- remove: xt,
- busy: B || gt.isPending,
- readOnly: S
- };
- let K = G.current, Ct = (0, O.useMemo)(() => {
- let e = ke(), t = (e) => () => ot[e] || e;
- return e.columns([
- e.display({
- id: "select",
- header: (e) => /* @__PURE__ */ (0, k.jsx)(_e, {
- table: e.table,
- label: "全选本页来源",
- page: !0
- }),
- cell: (e) => /* @__PURE__ */ (0, k.jsx)(c, {
- slot: null,
- isSelected: e.row.getIsSelected(),
- onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${e.row.original.source.label}`
- })
- }),
- e.accessor((e) => e.author, {
- id: "author",
- header: t("author"),
- cell: (e) => /* @__PURE__ */ (0, k.jsxs)("span", {
- className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, k.jsx)($e, {
- group: e.row.original.group,
- name: e.row.original.author
- }), /* @__PURE__ */ (0, k.jsx)("span", {
- className: "min-w-0 break-words",
- children: e.row.original.author
- })]
- })
- }),
- e.accessor((e) => e.source.label, {
- id: "source",
- header: t("source"),
- cell: (e) => /* @__PURE__ */ (0, k.jsxs)("span", {
- className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, k.jsx)(tt, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, k.jsx)(et, { text: e.row.original.source.last_error }) : null]
- })
- }),
- e.accessor((e) => e.source.provider_label, {
- id: "provider",
- header: t("provider"),
- cell: (e) => /* @__PURE__ */ (0, k.jsxs)("span", {
- className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, k.jsx)(D, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
- })
- }),
- e.display({
- id: "status",
- header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, k.jsx)(nt, { source: e.row.original.source })
- }),
- e.accessor((e) => e.source.last_checked_at || "", {
- id: "checked",
- header: t("checked"),
- cell: (e) => De(e.row.original.source)
- }),
- e.display({
- id: "actions",
- header: t("actions"),
- cell: (e) => /* @__PURE__ */ (0, k.jsxs)("span", {
- className: "flex items-center gap-1",
- children: [
- /* @__PURE__ */ (0, k.jsx)(pe, {
- "aria-label": `启用 ${e.row.original.source.label}`,
- isSelected: e.row.original.source.enabled,
- isDisabled: K.readOnly,
- onChange: (t) => G.current.toggle(e.row.original.source, t)
- }),
- /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- iconOnly: !0,
- leadingIcon: v,
- "aria-label": `检查 ${e.row.original.source.label} 的更新`,
- disabled: !e.row.original.source.enabled || K.readOnly,
- ...h(K.busy),
- onClick: () => G.current.check([e.row.original.source.id])
- }),
- /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- iconOnly: !0,
- leadingIcon: oe,
- "aria-label": `移除 ${e.row.original.source.label}`,
- disabled: K.readOnly,
- onClick: () => G.current.remove(e.row.original.source)
- })
- ]
- })
- })
- ]);
- }, [K]), q = (0, O.useMemo)(() => {
- let e = it[m];
- return e ? [{
- id: e,
- desc: g === "desc"
- }] : [];
- }, [m, g]), wt = (0, O.useMemo)(() => Object.fromEntries([...x].map((e) => [String(e), !0])), [x]), J = Ie === "table", Y = Qe("follow-sources", st), X = ze(J ? ht.length : R.length, b, Oe), Z = Ze({
- features: rt,
- data: ht,
- columns: Ct,
- getRowId: (e) => String(e.source.id),
- state: {
- sorting: q,
- rowSelection: wt,
- pagination: {
- pageIndex: X.page - 1,
- pageSize: b
- },
- columnVisibility: Y.visibility
- },
- onColumnVisibilityChange: Y.change,
- manualSorting: !0,
- enableRowSelection: !0,
- onSortingChange: (e) => {
- let t = (typeof e == "function" ? e(q) : e)[0];
- if (!t) return;
- let n = s[t.id];
- n && C(n, t.desc ? "desc" : "asc");
- },
- onRowSelectionChange: (e) => {
- let t = typeof e == "function" ? e(wt) : e;
- j(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
- },
- onPaginationChange: (e) => {
- let t = {
- pageIndex: X.page - 1,
- pageSize: b
- }, n = typeof e == "function" ? e(t) : e;
- n.pageSize === b ? n.pageIndex !== t.pageIndex && Ue(n.pageIndex + 1) : Je(n.pageSize);
- }
- }), Tt = Z.getRowModel().rows, Et = J ? Tt.map((e) => e.original.source.id) : R.slice(X.start, X.end).flatMap((e) => e.map((e) => e.id)), Dt = We(x, Et), Q = [...x], Ot = we(V), kt = N.filter((e) => e.enabled && (e.last_status === "error" || e.last_status === "unauthorized")).map((e) => e.id), At = Ce(V), $ = R.length > 0 && I.size >= R.length;
- return N.length ? /* @__PURE__ */ (0, k.jsxs)("div", {
- className: Se({
- padding: "none",
- className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
- }),
- children: [
- /* @__PURE__ */ (0, k.jsxs)("div", {
- ref: ft,
- "data-follow-toolbar": "",
- "data-responsive-toolbar": "",
- children: [/* @__PURE__ */ (0, k.jsxs)("span", {
- "data-follow-toolbar-heading": "",
- "data-toolbar-heading": "",
- children: [/* @__PURE__ */ (0, k.jsx)("h3", {
- className: "text-title-2-medium text-text-primary",
- children: "关注列表"
- }), /* @__PURE__ */ (0, k.jsx)("span", {
- className: "text-body-2-regular text-text-secondary",
- children: `${N.length.toLocaleString()} 个来源${F.new ? ` · ${A(F.new)} 条未看` : ""}`
- })]
- }), /* @__PURE__ */ (0, k.jsxs)("div", {
- "data-follow-toolbar-actions": "",
- "data-toolbar-actions": "",
- children: [
- kt.length ? /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- disabled: S,
- ...h(K.busy),
- onClick: () => H(kt),
- children: "检查失败项"
- }) : null,
- /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "primary",
- leadingIcon: v,
- disabled: S,
- "aria-label": "检查全部",
- iconOnly: pt,
- ...h(K.busy),
- onClick: () => H([]),
- children: "检查全部"
- }),
- /* @__PURE__ */ (0, k.jsxs)("span", {
- "data-follow-toolbar-controls": "",
- className: "contents",
- children: [
- /* @__PURE__ */ (0, k.jsxs)("span", {
- "data-button-group": !0,
- role: "group",
- "aria-label": "关注列表版式",
- children: [/* @__PURE__ */ (0, k.jsx)(o, {
- variant: "ghost",
- iconOnly: !0,
- leadingIcon: ye,
- "aria-label": ae[0][1],
- "aria-pressed": !J,
- onClick: () => w("default")
- }), /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "ghost",
- iconOnly: !0,
- leadingIcon: je,
- "aria-label": ae[1][1],
- "aria-pressed": J,
- onClick: () => w("table")
- })]
- }),
- J ? /* @__PURE__ */ (0, k.jsx)(he, {
- preferences: Y,
- label: "关注来源"
- }) : null,
- /* @__PURE__ */ (0, k.jsxs)("span", {
- className: "flex flex-none items-center gap-2",
- children: [/* @__PURE__ */ (0, k.jsx)(le, {
- "aria-label": "关注列表排序",
- prefix: "排序",
- selectedKey: m,
- onSelectionChange: (e) => {
- if (e === null) return;
- let t = String(e);
- C(t, se[t]);
- },
- children: ce.map(([e, t]) => /* @__PURE__ */ (0, k.jsx)(ue, {
- id: e,
- children: t
- }, e))
- }), /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- iconOnly: !0,
- leadingIcon: fe,
- "data-icon-state": g === "asc" ? "a" : "b",
- "aria-label": Ke(m, g),
- onClick: () => C(m, g === "asc" ? "desc" : "asc")
- })]
- }),
- J ? null : /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- iconOnly: pt,
- leadingIcon: re,
- "aria-expanded": !$,
- "aria-label": $ ? "全部展开" : "全部收起",
- onClick: () => dt($ ? /* @__PURE__ */ new Set() : new Set(R.map((e) => String(e[0].author_key || e[0].id)))),
- children: $ ? "全部展开" : "全部收起"
- })
- ]
- })
- ]
- })]
- }),
- /* @__PURE__ */ (0, k.jsxs)("div", {
- "aria-live": "polite",
- className: "flex flex-col gap-3 empty:hidden",
- children: [
- B ? /* @__PURE__ */ (0, k.jsx)(ve, {
- embedded: !0,
- label: z?.message || (z?.total ? `${z.older ? "抓取历史" : "检查更新"}:已完成 ${z.checked || 0}/${z.total} 个来源` : "正在准备检查任务"),
- value: z?.checked,
- total: z?.total
- }) : null,
- mt ? /* @__PURE__ */ (0, k.jsx)(p, {
- tone: "error",
- title: "操作未完成",
- children: mt
- }) : null,
- !B && V?.results?.length ? /* @__PURE__ */ (0, k.jsx)(p, {
- tone: "neutral",
- title: "检查结果",
- children: Ee(V)
- }) : null,
- Ot.length ? /* @__PURE__ */ (0, k.jsx)(p, {
- tone: "error",
- title: `${Ot.length} 个来源检查失败`,
- extra: /* @__PURE__ */ (0, k.jsx)("ul", {
- className: "flex flex-col gap-0.5 text-body-2-regular",
- children: Ot.map((e, t) => /* @__PURE__ */ (0, k.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${Me(e.error || "") || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))
- }),
- children: "这些来源这一轮没有取到更新。"
- }) : null,
- At ? /* @__PURE__ */ (0, k.jsx)(p, {
- tone: "warning",
- children: `条目已保存,但这次未保存来源的原始响应:${At}`
- }) : null
- ]
- }),
- /* @__PURE__ */ (0, k.jsxs)(de, {
- label: "关注来源批量操作",
- visible: Q.length > 0,
- count: `已选 ${Q.length} 个来源`,
- children: [
- /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- disabled: S,
- ...h(K.busy),
- onClick: () => H(Q),
- children: "检查所选"
- }),
- /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- disabled: S,
- ...h(U.isPending),
- onClick: () => U.mutate({
- ids: Q,
- action: "enabled"
- }),
- children: "启用"
- }),
- /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- disabled: S,
- ...h(U.isPending),
- onClick: () => U.mutate({
- ids: Q,
- action: "paused"
- }),
- children: "暂停"
- }),
- /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "danger",
- size: "small",
- disabled: S,
- ...h(U.isPending),
- onClick: () => void _({
- title: `删除 ${Q.length} 个关注来源`,
- body: "将移除所选关注来源及其已抓取条目,媒体文件保留。",
- confirmLabel: "删除所选来源",
- danger: !0,
- onConfirm: () => U.mutateAsync({
- ids: Q,
- action: "remove"
- })
- }),
- children: "删除"
- }),
- /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "ghost",
- size: "small",
- onClick: () => j(/* @__PURE__ */ new Set()),
- children: "取消选择"
- })
- ]
- }),
- J ? /* @__PURE__ */ (0, k.jsx)(u, {
- follow: !0,
- preferences: Y,
- onRowClick: (e) => _t(Number(e), !x.has(Number(e))),
- children: /* @__PURE__ */ (0, k.jsxs)(me, {
- "aria-label": "关注来源",
- size: "sm",
- sortDescriptor: q[0] ? {
- column: q[0].id,
- direction: q[0].desc ? "descending" : "ascending"
- } : void 0,
- onSortChange: (e) => Z.setSorting([{
- id: String(e.column),
- desc: e.direction === "descending"
- }]),
- children: [/* @__PURE__ */ (0, k.jsxs)(ee, { children: [Z.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in s, r = Fe(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, k.jsx)(n, {
- id: e.id,
- allowsSorting: t,
- isRowHeader: e.column.id === "source",
- ...Y.columnProps(e.id),
- children: ({ sortDirection: n }) => /* @__PURE__ */ (0, k.jsxs)(k.Fragment, { children: [e.id === "select" ? r : t ? /* @__PURE__ */ (0, k.jsxs)("span", {
- className: "flex items-center gap-0.5",
- children: [r, /* @__PURE__ */ (0, k.jsx)("span", {
- "data-sort-indicator": !0,
- "data-direction": n || void 0,
- children: /* @__PURE__ */ (0, k.jsx)(ne, {})
- })]
- }) : /* @__PURE__ */ (0, k.jsx)(a, { children: r }), /* @__PURE__ */ (0, k.jsx)(ge, {
- preferences: Y,
- id: e.id
- })] })
- }, e.id);
- }), /* @__PURE__ */ (0, k.jsx)(n, {
- id: "remaining-space",
- "aria-label": "行空白区域",
- "data-table-space": "",
- width: Y.spaceWidth,
- minWidth: 0
- })] }), /* @__PURE__ */ (0, k.jsx)(t, {
- renderEmptyState: () => "这一页没有来源",
- children: Tt.map((e) => /* @__PURE__ */ (0, k.jsxs)(r, {
- id: e.id,
- "data-follow-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, k.jsx)(i, { children: Fe(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, k.jsx)(i, { "data-table-space": "" })]
- }, e.id))
- })]
- })
- }) : /* @__PURE__ */ (0, k.jsxs)(k.Fragment, { children: [/* @__PURE__ */ (0, k.jsx)(c, {
- isSelected: Dt.all,
- isIndeterminate: Dt.some,
- onChange: (e) => vt(Et, e),
- "aria-label": "全选本页来源",
- children: "全选本页"
- }), /* @__PURE__ */ (0, k.jsx)("div", {
- className: "flex flex-col gap-3",
- children: R.slice(X.start, X.end).map((e) => {
- let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, k.jsx)(ct, {
- group: e,
- name: xe(e, P),
- handlers: K,
- selected: x,
- open: !I.has(t),
- onOpen: (e) => {
- let n = new Set(I);
- e ? n.delete(t) : n.add(t), dt(n);
- },
- onToggleGroup: (t) => vt(e.map((e) => e.id), t),
- onToggle: _t
- }, t);
- })
- })] }),
- /* @__PURE__ */ (0, k.jsx)(ie, {
- label: "关注列表",
- total: X.total,
- pagination: {
- pageIndex: X.page - 1,
- pageSize: b
- },
- unit: J ? "个来源" : "位创作者",
- pageUnit: J ? "条" : "位",
- onChange: (e) => {
- e.pageSize === b ? Z.setPageIndex(e.pageIndex) : Z.setPageSize(e.pageSize);
- }
- }),
- F.new ? /* @__PURE__ */ (0, k.jsxs)("div", {
- className: "-mx-6 -mb-5 flex flex-wrap items-center gap-2 border-t border-separator-border rounded-b-2xl bg-card-footer px-6 py-4 max-sm:-mx-4 max-sm:px-4",
- children: [
- /* @__PURE__ */ (0, k.jsx)("span", {
- className: "mr-auto text-body-2-regular text-text-secondary",
- children: `未看 ${A(F.new)} · 已看 ${A(F.seen)} · 已保存 ${A(F.saved)} · 已忽略 ${A(F.ignored)}`
- }),
- /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- onClick: lt,
- children: "去看更新"
- }),
- /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- disabled: S,
- ...h(W.isPending),
- onClick: () => void _({
- title: "标记已看",
- body: "将把当前未看作品标记为已看。",
- confirmLabel: "标记已看",
- onConfirm: () => W.mutateAsync("seen")
- }),
- children: "全部标记已看"
- }),
- /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "secondary",
- size: "small",
- disabled: S,
- ...h(W.isPending),
- onClick: () => void _({
- title: "标记已忽略",
- body: "将把当前未看作品标记为已忽略。",
- confirmLabel: "标记已忽略",
- onConfirm: () => W.mutateAsync("ignored")
- }),
- children: "全部忽略"
- })
- ]
- }) : null
- ]
- }) : /* @__PURE__ */ (0, k.jsx)(d, {
- icon: te,
- title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, k.jsx)(o, {
- variant: "primary",
- size: "small",
- onClick: ut,
- children: "添加关注"
- }),
- children: "关注来源及其检查状态会显示在这里。"
- });
-}
-export { lt as SourceList };
-
-//# debugId=cf9fe502-e46c-4f37-a8b5-bb57a7442240
\ No newline at end of file
diff --git a/web/dist/peach-app.use-table-selection-BSdXI_Nc.js b/web/dist/peach-app.use-table-selection-CnuGRvGn.js
similarity index 54%
rename from web/dist/peach-app.use-table-selection-BSdXI_Nc.js
rename to web/dist/peach-app.use-table-selection-CnuGRvGn.js
index b269c2b75..025ee9efd 100644
--- a/web/dist/peach-app.use-table-selection-BSdXI_Nc.js
+++ b/web/dist/peach-app.use-table-selection-CnuGRvGn.js
@@ -1,25 +1,65 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "076d9335-7e0e-414a-987a-28e135eff52b", e._sentryDebugIdIdentifier = "sentry-dbid-076d9335-7e0e-414a-987a-28e135eff52b");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3b1ffe1f-fc6a-4dd6-881b-26bb8533a510", e._sentryDebugIdIdentifier = "sentry-dbid-3b1ffe1f-fc6a-4dd6-881b-26bb8533a510");
} catch {}
})();
-import { __toESM as e, autoResetPageIndex as t, column_getCanSort as n, column_getSortFn as r, copyInstancePropertiesWithoutMemos as i, require_react as a, skipFirstRun as o, tableMemo as s } from "./peach-app.js";
+import { __toESM as e, autoResetPageIndex as t, column_getCanSort as n, column_getSortFn as r, copyInstancePropertiesWithoutMemos as i, expandRowModel as a, getDefaultPaginationState as o, require_react as s, skipFirstRun as c, tableMemo as l } from "./peach-app.js";
+// node_modules/@tanstack/table-core/dist/features/row-pagination/createPaginatedRowModel.js
+function u() {
+ return (e) => {
+ let t = e;
+ return l({
+ feature: "rowPaginationFeature",
+ table: t,
+ fnName: "table.getPaginatedRowModel",
+ memoDeps: () => [
+ t.getPrePaginatedRowModel(),
+ t.atoms.pagination?.get(),
+ t.options.paginateExpandedRows ? void 0 : t.atoms.expanded?.get()
+ ],
+ fn: () => d(t)
+ });
+ };
+}
+function d(e) {
+ let t = e.getPrePaginatedRowModel(), n = e.atoms.pagination?.get();
+ if (!t.rows.length) return t;
+ let { pageSize: r, pageIndex: i } = n ?? o(), { rows: s, flatRows: c, rowsById: l } = t, u = s;
+ if (r !== Infinity || i !== 0) {
+ let e = r * i, t = e + r;
+ u = s.slice(e, t);
+ }
+ let d;
+ d = e.options.paginateExpandedRows ? {
+ rows: u,
+ flatRows: c,
+ rowsById: l
+ } : a(e, {
+ rows: u,
+ flatRows: c,
+ rowsById: l
+ }), d.flatRows = [];
+ let f = /* @__PURE__ */ new Set(), p = (e) => {
+ f.has(e.id) || (f.add(e.id), d.flatRows.push(e), e.subRows.length && e.subRows.forEach(p));
+ };
+ return d.rows.forEach(p), d;
+}
// node_modules/@tanstack/table-core/dist/features/row-sorting/createSortedRowModel.js
-function c() {
+function f() {
return (e) => {
let n = e;
- return s({
+ return l({
feature: "rowSortingFeature",
table: n,
fnName: "table.getSortedRowModel",
memoDeps: () => [n.atoms.sorting?.get(), n.getPreSortedRowModel()],
- fn: () => l(n),
- onAfterUpdate: o(() => t(n))
+ fn: () => p(n),
+ onAfterUpdate: c(() => t(n))
});
};
}
-function l(e) {
+function p(e) {
let t = e.getPreSortedRowModel(), a = e.atoms.sorting?.get();
if (!t.rows.length || !a?.length) return t;
let o = [], s = a.filter((t) => {
@@ -81,15 +121,15 @@ function l(e) {
};
}
// src/react/components/use-table-selection.ts
-var u = /* @__PURE__ */ e(a(), 1), d = /* @__PURE__ */ new Map();
-function f(e) {
- let t = (0, u.useId)(), n = (0, u.useRef)(e);
- return n.current = e, (0, u.useEffect)(() => (d.set(t, () => n.current()), () => {
- d.delete(t);
- }), [t]), (0, u.useCallback)(() => {
- for (let [e, n] of d) e !== t && n();
+var m = /* @__PURE__ */ e(s(), 1), h = /* @__PURE__ */ new Map();
+function g(e) {
+ let t = (0, m.useId)(), n = (0, m.useRef)(e);
+ return n.current = e, (0, m.useEffect)(() => (h.set(t, () => n.current()), () => {
+ h.delete(t);
+ }), [t]), (0, m.useCallback)(() => {
+ for (let [e, n] of h) e !== t && n();
}, [t]);
}
-export { c as createSortedRowModel, f as useTableSelection };
+export { u as createPaginatedRowModel, f as createSortedRowModel, g as useTableSelection };
-//# debugId=076d9335-7e0e-414a-987a-28e135eff52b
\ No newline at end of file
+//# debugId=3b1ffe1f-fc6a-4dd6-881b-26bb8533a510
\ No newline at end of file
diff --git a/web/dist/peach-pages.css b/web/dist/peach-pages.css
index fa159a48f..5818c3cbe 100644
--- a/web/dist/peach-pages.css
+++ b/web/dist/peach-pages.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-500:oklch(72.3% .219 149.579);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--font-weight-semibold:600;--tracking-normal:0em;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-out:cubic-bezier(0, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.-inset-y-px{inset-block:-1px}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\/2{top:50%}.top-\[3px\]{top:3px}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\/2{left:50%}.left-\[3px\]{left:3px}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.ms-auto{margin-inline-start:auto}.mt-1{margin-top:var(--spacing)}.mr-auto{margin-right:auto}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-0\.5{margin-left:calc(var(--spacing) * .5)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.size-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-full{width:100%;height:100%}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-full{height:100%}.h-max{height:max-content}.max-h-\[240px\]{max-height:240px}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-\[52px\]{min-height:52px}.w-2{width:calc(var(--spacing) * 2)}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-72{width:calc(var(--spacing) * 72)}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-1\/2{max-width:50%}.max-w-140{max-width:calc(var(--spacing) * 140)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-40{min-width:calc(var(--spacing) * 40)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-decimal{list-style-type:decimal}.list-none{list-style-type:none}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-\[5px\]{gap:5px}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-accent-600{border-color:var(--color-accent-600)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-separator-border{border-color:var(--color-separator-border)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-kbd-background{background-color:var(--color-kbd-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-transparent{background-color:#0000}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-8{padding:calc(var(--spacing) * 8)}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-px{padding-top:1px}.pr-1{padding-right:var(--spacing)}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-accent-600{color:var(--color-accent-600)}.text-blue-900{color:var(--color-blue-900)}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-kbd-foreground{color:var(--color-kbd-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-placeholder{color:var(--color-text-placeholder)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[scale\,opacity\]{transition-property:scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}:is(:where(.group\/tree-view)[data-show-guides=false] .group-data-\[show-guides\=false\]\/tree-view\:hidden){display:none}:is(:where(.group\/tree-view)[data-size=sm] .group-data-\[size\=sm\]\/tree-view\:min-h-8){min-height:calc(var(--spacing) * 8)}:is(:where(.group\/tree-view)[data-size=sm] .group-data-\[size\=sm\]\/tree-view\:text-body-2-regular){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover{background-color:var(--color-background-primary-hover)}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=40rem){.max-sm\:p-5{padding:calc(var(--spacing) * 5)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-6{padding-block:calc(var(--spacing) * 6)}}@container (width>=32rem){.\@lg\:w-32{width:calc(var(--spacing) * 32)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>\.ui-settings-facts\]\:-mr-3>.ui-settings-facts{margin-right:calc(var(--spacing) * -3)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}:where(.peach-react label[data-rac]:has(>span>input:is([type=radio],[type=checkbox]))){position:relative}:root{--font-inter:"Inter Variable", "Inter";--font-sans:var(--font-inter), "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:lang(ja){font-family:var(--font-inter), "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans JP", ui-sans-serif, system-ui, sans-serif}.peach-react [data-long-text]{text-wrap:pretty;hanging-punctuation:allow-end;line-height:1.75}.peach-react [data-long-text]:not(:lang(en)){text-align:justify}:root{--icon-inline:1.2em;--control-h-inline:28px;--control-h-compact:32px;--control-h:36px;--control-h-large:40px;--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;text-autospace:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-webkit-scrollbar{display:none}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body[data-batch-dock-open] :is(#grid,[data-stage]){padding-bottom:var(--selection-dock-space,180px)}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}body.peach-react{--ink:var(--color-text-primary);--ink-2:var(--color-text-secondary);--muted:var(--color-text-tertiary);--ground:var(--color-background-full);--surface:var(--color-background-primary-default);--line:var(--color-border-button-default);--border-15:var(--color-border-button-default);--hover:var(--color-background-primary-hover);--control-hover:var(--color-background-primary-hover);--tungsten:var(--color-border-focus-ring);--badge-radius:var(--radius-lg);--control-radius:var(--radius-2lg);--board-body:400 14px/20px var(--font-sans);--board-body-medium:500 14px/20px var(--font-sans)}:is(body.peach-react,[data-copy-editor].peach-react) [data-copy-bar]{border:1px solid var(--color-border-button-default);background:var(--color-background-secondary-default);box-shadow:var(--elevation-card,var(--elevation-dropdown))}body.peach-react:has([data-copy-bar]){padding-bottom:108px}:root,:root[data-accent=blue],[data-accent-ball=blue]{--color-accent-50:oklch(97% .014 254.604);--color-accent-100:oklch(93.2% .032 255.585);--color-accent-200:oklch(88.2% .059 254.128);--color-accent-300:oklch(80.9% .105 251.813);--color-accent-400:#3392ff;--color-accent-500:oklch(62.3% .214 259.815);--color-accent-600:oklch(54.6% .245 262.881);--color-accent-700:oklch(48.8% .243 264.376);--color-accent-800:oklch(42.4% .199 265.638);--color-accent-900:oklch(37.9% .146 265.522);--color-accent-950:oklch(28.2% .091 267.935)}:root[data-accent=red],[data-accent-ball=red]{--color-accent-50:oklch(97.1% .013 17.38);--color-accent-100:oklch(93.6% .032 17.717);--color-accent-200:oklch(88.5% .062 18.334);--color-accent-300:oklch(80.8% .114 19.571);--color-accent-400:oklch(70.4% .191 22.216);--color-accent-500:oklch(63.7% .237 25.331);--color-accent-600:oklch(57.7% .245 27.325);--color-accent-700:oklch(50.5% .213 27.518);--color-accent-800:oklch(44.4% .177 26.899);--color-accent-900:oklch(39.6% .141 25.723);--color-accent-950:oklch(25.8% .092 26.042)}:root[data-accent=orange],[data-accent-ball=orange]{--color-accent-50:oklch(98% .016 73.684);--color-accent-100:oklch(95.4% .038 75.164);--color-accent-200:oklch(90.1% .076 70.697);--color-accent-300:oklch(83.7% .128 66.29);--color-accent-400:oklch(75% .183 55.934);--color-accent-500:oklch(70.5% .213 47.604);--color-accent-600:oklch(64.6% .222 41.116);--color-accent-700:oklch(55.3% .195 38.402);--color-accent-800:oklch(47% .157 37.304);--color-accent-900:oklch(40.8% .123 38.172);--color-accent-950:oklch(26.6% .079 36.259)}:root[data-accent=amber],[data-accent-ball=amber]{--color-accent-50:oklch(98.7% .022 95.277);--color-accent-100:oklch(96.2% .059 95.617);--color-accent-200:oklch(92.4% .12 95.746);--color-accent-300:oklch(87.9% .169 91.605);--color-accent-400:oklch(82.8% .189 84.429);--color-accent-500:oklch(76.9% .188 70.08);--color-accent-600:oklch(66.6% .179 58.318);--color-accent-700:oklch(55.5% .163 48.998);--color-accent-800:oklch(47.3% .137 46.201);--color-accent-900:oklch(41.4% .112 45.904);--color-accent-950:oklch(27.9% .077 45.635)}:root[data-accent=lime],[data-accent-ball=lime]{--color-accent-50:oklch(98.6% .031 120.757);--color-accent-100:oklch(96.7% .067 122.328);--color-accent-200:oklch(93.8% .127 124.321);--color-accent-300:oklch(89.7% .196 126.665);--color-accent-400:oklch(84.1% .238 128.85);--color-accent-500:oklch(76.8% .233 130.85);--color-accent-600:oklch(64.8% .2 131.684);--color-accent-700:oklch(53.2% .157 131.589);--color-accent-800:oklch(45.3% .124 130.933);--color-accent-900:oklch(40.5% .101 131.063);--color-accent-950:oklch(27.4% .072 132.109)}:root[data-accent=emerald],[data-accent-ball=emerald]{--color-accent-50:oklch(97.9% .021 166.113);--color-accent-100:oklch(95% .052 163.051);--color-accent-200:oklch(90.5% .093 164.15);--color-accent-300:oklch(84.5% .143 164.978);--color-accent-400:oklch(76.5% .177 163.223);--color-accent-500:oklch(69.6% .17 162.48);--color-accent-600:oklch(59.6% .145 163.225);--color-accent-700:oklch(50.8% .118 165.612);--color-accent-800:oklch(43.2% .095 166.913);--color-accent-900:oklch(37.8% .077 168.94);--color-accent-950:oklch(26.2% .051 172.552)}:root[data-accent=teal],[data-accent-ball=teal]{--color-accent-50:oklch(98.4% .014 180.72);--color-accent-100:oklch(95.3% .051 180.801);--color-accent-200:oklch(91% .096 180.426);--color-accent-300:oklch(85.5% .138 181.071);--color-accent-400:oklch(77.7% .152 181.912);--color-accent-500:oklch(70.4% .14 182.503);--color-accent-600:oklch(60% .118 184.704);--color-accent-700:oklch(51.1% .096 186.391);--color-accent-800:oklch(43.7% .078 188.216);--color-accent-900:oklch(38.6% .063 188.416);--color-accent-950:oklch(27.7% .046 192.524)}:root[data-accent=sky],[data-accent-ball=sky]{--color-accent-50:oklch(97.7% .013 236.62);--color-accent-100:oklch(95.1% .026 236.824);--color-accent-200:oklch(90.1% .058 230.902);--color-accent-300:oklch(82.8% .111 230.318);--color-accent-400:oklch(74.6% .16 232.661);--color-accent-500:oklch(68.5% .169 237.323);--color-accent-600:oklch(58.8% .158 241.966);--color-accent-700:oklch(50% .134 242.749);--color-accent-800:oklch(44.3% .11 240.79);--color-accent-900:oklch(39.1% .09 240.876);--color-accent-950:oklch(29.3% .066 243.157)}:root[data-accent=indigo],[data-accent-ball=indigo]{--color-accent-50:oklch(96.2% .018 272.314);--color-accent-100:oklch(93% .034 272.788);--color-accent-200:oklch(87% .065 274.039);--color-accent-300:oklch(78.5% .115 274.713);--color-accent-400:oklch(67.3% .182 276.935);--color-accent-500:oklch(58.5% .233 277.117);--color-accent-600:oklch(51.1% .262 276.966);--color-accent-700:oklch(45.7% .24 277.023);--color-accent-800:oklch(39.8% .195 277.366);--color-accent-900:oklch(35.9% .144 278.697);--color-accent-950:oklch(25.7% .09 281.288)}:root[data-accent=violet],[data-accent-ball=violet]{--color-accent-50:oklch(96.9% .016 293.756);--color-accent-100:oklch(94.3% .029 294.588);--color-accent-200:oklch(89.4% .057 293.283);--color-accent-300:oklch(81.1% .111 293.571);--color-accent-400:oklch(70.2% .183 293.541);--color-accent-500:oklch(60.6% .25 292.717);--color-accent-600:oklch(54.1% .281 293.009);--color-accent-700:oklch(49.1% .27 292.581);--color-accent-800:oklch(43.2% .232 292.759);--color-accent-900:oklch(38% .189 293.745);--color-accent-950:oklch(28.3% .141 291.089)}:root[data-accent=fuchsia],[data-accent-ball=fuchsia]{--color-accent-50:oklch(97.7% .017 320.058);--color-accent-100:oklch(95.2% .037 318.852);--color-accent-200:oklch(90.3% .076 319.62);--color-accent-300:oklch(83.3% .145 321.434);--color-accent-400:oklch(74% .238 322.16);--color-accent-500:oklch(66.7% .295 322.15);--color-accent-600:oklch(59.1% .293 322.896);--color-accent-700:oklch(51.8% .253 323.949);--color-accent-800:oklch(45.2% .211 324.591);--color-accent-900:oklch(40.1% .17 325.612);--color-accent-950:oklch(29.3% .136 325.661)}:root[data-accent=rose],[data-accent-ball=rose]{--color-accent-50:oklch(96.9% .015 12.422);--color-accent-100:oklch(94.1% .03 12.58);--color-accent-200:oklch(89.2% .058 10.001);--color-accent-300:oklch(81% .117 11.638);--color-accent-400:oklch(71.2% .194 13.428);--color-accent-500:oklch(64.5% .246 16.439);--color-accent-600:oklch(58.6% .253 17.585);--color-accent-700:oklch(51.4% .222 16.935);--color-accent-800:oklch(45.5% .188 13.697);--color-accent-900:oklch(41% .159 10.272);--color-accent-950:oklch(27.1% .105 12.094)}body.peach-react:has([data-setup-page]){box-sizing:border-box;margin:0}.peach-react [data-setup-page]{--color-button-ghost-background:transparent;--color-button-ghost-foreground:var(--color-text-secondary);--color-button-ghost-hover:var(--color-background-primary-hover);--color-button-ghost-active:var(--color-background-primary-active);place-items:center;min-height:100dvh;padding:32px 24px;display:grid}body:has([data-copy-bar]) [data-setup-page]{min-height:calc(100dvh - 108px)}body:has([data-copy-bar]) [data-setup-window]{height:min(720px,100dvh - 172px)}.peach-react [data-setup-window]{border:1px solid var(--color-separator-border);background:var(--color-background-secondary-default);border-radius:24px;grid-template-columns:36% minmax(0,1fr);width:min(100%,960px);height:min(720px,100dvh - 64px);min-height:520px;display:grid;overflow:hidden;box-shadow:0 24px 80px #00000012}.peach-react [data-setup-scene]{color:#483d38;background:radial-gradient(at 5% 10%,#f3b3a4 0%,#0000 55%),radial-gradient(at 90% 75%,#a8b8a1 0%,#0000 55%),#e7dac8;flex-direction:column;padding:28px;display:flex;position:relative;overflow:hidden}.peach-react [data-setup-scene-brand]{align-items:center;gap:8px;font-weight:600;display:flex}.peach-react :is([data-setup-mark=brand],[data-setup-mark=welcome]){flex-shrink:0;display:block}.peach-react [data-setup-mark=brand]{width:28px;height:28px}.peach-react [data-setup-mark=welcome]{color:#657866;width:148px;height:148px}.peach-react [data-setup-original-mark]{object-fit:contain;width:148px;height:148px;display:block}.peach-react [data-setup-scene-art]{flex:1;place-items:center;animation:.36s ease-out both setup-scene-in;display:grid}.peach-react [data-setup-scene-caption]{gap:8px;display:grid}.peach-react [data-setup-scene-caption] p:last-child{opacity:.72}.peach-react [data-setup-mini-library]{background:#fffaf1e6;border:1px solid #ffffffb0;border-radius:14px;width:100%;max-width:280px;padding:16px;position:relative;transform:rotate(-5deg);box-shadow:0 24px 48px #67503b25}.peach-react [data-setup-library-scene]{width:100%;position:relative}.peach-react [data-setup-mini-toolbar]{align-items:center;gap:4px;margin-bottom:18px;display:flex}.peach-react [data-setup-mini-toolbar]>span{background:#c9bbab;border-radius:50%;width:5px;height:5px}.peach-react [data-setup-mini-toolbar] svg{opacity:.5;width:14px;height:14px;margin-left:auto}.peach-react [data-setup-mini-posters]{gap:8px;display:flex}.peach-react [data-setup-mini-posters]>div{aspect-ratio:2/3;background:linear-gradient(140deg,#e9bda0,#ae7762);border-radius:6px;flex:1;place-items:center;display:grid}.peach-react [data-setup-mini-posters]>div:nth-child(2){background:linear-gradient(145deg,#bcc8b2,#5a786b)}.peach-react [data-setup-mini-posters]>div:nth-child(3){background:linear-gradient(145deg,#c8c4d1,#79748b)}.peach-react [data-setup-mini-posters] svg{color:#fff8ed;width:26px;height:26px}.peach-react [data-setup-mini-lines]{gap:7px;margin-top:14px;display:grid}.peach-react [data-setup-mini-lines] span{background:#e4dbcf;border-radius:4px;width:72%;height:4px}.peach-react [data-setup-mini-lines] span:last-child{width:45%}.peach-react [data-setup-scene-badge]{background:#fdfaf5;border-radius:12px;align-items:center;gap:8px;padding:12px 16px;font-size:13px;display:flex;position:absolute;bottom:-20px;right:-12px;transform:rotate(5deg);box-shadow:0 8px 28px #59463422}.peach-react [data-setup-scene-badge] svg{color:#62816c;width:18px;height:18px}.peach-react [data-setup-devices]{width:108%;position:relative}.peach-react :is([data-setup-macbook],[data-setup-iphone]){filter:drop-shadow(0 12px 12px #483d3820);position:relative}.peach-react :is([data-setup-macbook],[data-setup-iphone])>img{z-index:1;width:100%;height:auto;display:block;position:relative}.peach-react [data-setup-device-screen]{background:#fffaf1;position:absolute;overflow:hidden}.peach-react [data-setup-macbook] [data-setup-device-screen]{border-radius:3px;width:78.342%;height:77.323%;top:11.339%;left:10.829%}.peach-react [data-setup-iphone]{width:26%;position:absolute;bottom:-12%;right:0}.peach-react [data-setup-iphone] [data-setup-device-screen]{border-radius:11%/5%;width:89.333%;height:95%;padding-top:14%;top:2.5%;left:5.333%}.peach-react [data-setup-device-screen] [data-setup-mini-library]{max-width:none;height:100%;box-shadow:none;border:0;border-radius:0;padding:7%;transform:none}.peach-react [data-setup-device-screen] [data-setup-mini-toolbar]{margin-bottom:8%}.peach-react [data-setup-device-screen] [data-setup-mini-toolbar] svg{width:10px;height:10px}.peach-react [data-setup-device-screen] [data-setup-mini-posters]{gap:4%}.peach-react [data-setup-device-screen] [data-setup-mini-posters]>div{aspect-ratio:3/4;border-radius:3px}.peach-react [data-setup-device-screen] [data-setup-mini-lines]{gap:4px;margin-top:6%}.peach-react [data-setup-device-screen] [data-setup-mini-lines] span{height:3px}.peach-react [data-setup-iphone] [data-setup-mini-toolbar]>span{display:none}.peach-react [data-setup-iphone] [data-setup-mini-posters]{grid-template-columns:1fr 1fr;gap:5px;display:grid}.peach-react [data-setup-iphone] [data-setup-mini-posters]>div:first-child{aspect-ratio:4/3;grid-column:1/-1}.peach-react [data-setup-iphone] [data-setup-mini-posters] svg{width:18px;height:18px}.peach-react [data-setup-form-panel]{flex-direction:column;min-width:0;min-height:0;display:flex}.peach-react [data-setup-top]{justify-content:space-between;align-items:center;gap:16px;padding:28px 40px 16px;display:flex}.peach-react [data-setup-progress]{gap:6px;display:flex}.peach-react [data-setup-progress] span{background:var(--color-text-tertiary);opacity:.3;border-radius:5px;width:6px;height:6px;transition:width .2s,opacity .2s}.peach-react [data-setup-progress] span[data-active]{opacity:1;background:var(--color-text-primary);width:22px}.peach-react [data-setup-progress] span[data-complete]{opacity:.8}.peach-react [data-setup-step-scroll]{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--color-border-button-default) transparent;flex-direction:column;flex:1;min-height:0;padding:28px 40px;display:flex;overflow:auto}.peach-react [data-setup-step-content]{width:100%}.peach-react [data-setup-step="0"] [data-setup-step-content],.peach-react [data-setup-step=restore] [data-setup-step-content],.peach-react [data-setup-step=done] [data-setup-step-content]{margin-block:auto}.peach-react [data-setup-step-content]>div:not([hidden]),.peach-react [data-setup-step-heading]{animation:.24s ease-out both setup-step-in}.peach-react [data-setup-step-heading]{outline:none;gap:10px;margin-bottom:28px;display:grid}.peach-react [data-setup-step-heading] h1:focus{outline:none}.peach-react [data-setup-step-content]>div:not([hidden]){flex-direction:column;gap:24px;display:flex}.peach-react [data-setup-step-content]>div[hidden]{display:none}.peach-react [data-setup-footer]{justify-content:space-between;align-items:center;gap:12px;padding:16px 40px 24px;display:flex}.peach-react [data-setup-footer-end]{justify-content:flex-end}.peach-react [data-setup-library-block]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);border-radius:14px;padding:8px}.peach-react [data-setup-library-block] [data-library-head]{grid-template-columns:auto minmax(0,1fr);display:grid}.peach-react [data-setup-library-block] [data-library-head]>:first-child{justify-self:start}.peach-react [data-setup-library-block] [data-library-head]>:nth-child(2){min-width:0}.peach-react [data-setup-library-block] [data-library-head]>:nth-child(3){justify-self:start}.peach-react [data-setup-library-policy]{min-width:0}.peach-react [data-setup-loading]{gap:18px;display:grid}.peach-react [data-setup-loading] span{background:var(--color-background-tertiary-default);border-radius:8px;height:48px}.peach-react [data-setup-welcome-points]{flex-direction:column;gap:18px;display:flex}.peach-react [data-setup-welcome-points] li{align-items:center;gap:12px;display:flex}.peach-react [data-setup-welcome-points] svg{width:20px;height:20px;color:var(--color-text-secondary);flex-shrink:0}.peach-react [data-setup-welcome-copy]{gap:4px;display:grid}.peach-react [data-setup-step-content] section:first-child{border-top:0;padding-top:0}@keyframes setup-step-in{0%{opacity:0;transform:translateX(var(--setup-direction,20px))}to{opacity:1;transform:translate(0)}}@keyframes setup-scene-in{0%{opacity:.6;transform:translateY(10px)scale(.98)}to{opacity:1;transform:none}}@media (width<=700px){.peach-react [data-setup-page]{padding:12px}.peach-react [data-setup-window]{border-radius:20px;flex-direction:column;height:calc(100dvh - 24px);min-height:480px;display:flex}.peach-react [data-setup-scene]{flex:0 0 128px;padding:20px}.peach-react [data-setup-scene-art]{width:130px;position:absolute;top:28px;right:28px}.peach-react :is([data-setup-mark=welcome],[data-setup-original-mark]){width:80px;height:80px}.peach-react [data-setup-scene-caption],.peach-react [data-setup-scene-badge]{display:none}.peach-react [data-setup-form-panel]{flex:1}.peach-react [data-setup-top]{padding:20px 24px 0}.peach-react [data-setup-step-scroll]{padding:24px}.peach-react [data-setup-footer]{padding:12px 24px max(20px, env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.peach-react [data-setup-step-content]>div:not([hidden]),.peach-react [data-setup-step-heading],.peach-react [data-setup-scene-art]{animation:none}.peach-react [data-setup-progress] span{transition:none}}@media (width<=480px){.peach-react [data-setup-library-block] [data-library-head]>[data-library-color-trigger],.peach-react [data-setup-library-policy]{grid-column:1/-1}}body.peach-react{background-color:var(--color-background-full);min-height:100dvh}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}.peach-react [data-policy-matrix]{border-collapse:collapse;width:100%;max-width:560px;color:var(--ink-2);margin-top:4px}.peach-react [data-policy-matrix] :is(th,td){border-bottom:1px solid var(--line-soft);text-align:center;padding:6px 8px;font-weight:400}.peach-react [data-policy-matrix] thead th{color:var(--muted)}.peach-react [data-policy-matrix] tbody th{text-align:left;color:var(--ink-2)}.peach-react [data-policy-matrix] [data-policy-cell=on]{color:var(--ink)}.peach-react [data-policy-matrix] [data-policy-cell=off]{color:var(--muted)}.peach-react [data-policy-matrix] tr:last-child>*{border-bottom:0}.peach-react [data-library-head]{border-bottom:1px solid var(--color-border-button-default);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 8px;display:flex}.peach-react [data-library-head]>*{min-width:0;max-width:100%}.peach-react [data-library-head]>:nth-child(2){flex:180px;width:auto}.peach-react [data-library-head]>:last-child{flex:200px;width:auto}.peach-react [data-library-head]>:is(:first-child,:nth-child(3)){flex-shrink:0}.peach-react [data-library-block]>:not([data-library-head],[data-library-folders]){padding:10px 8px 0}.peach-react [data-library-folders]{flex-direction:column;display:flex}.peach-react [data-library-folders]>*{padding:12px 8px}.peach-react [data-library-folders]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-library-folders]>[data-folder-row]{background:0 0;border-width:0;border-radius:0}.peach-react [data-library-folders]>[data-folder-row]+*{border-top-width:1px}.peach-react [data-library-color-trigger]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:auto;height:36px;box-shadow:var(--shadow-xs);color:var(--color-text-primary);white-space:nowrap;border-radius:10px;gap:8px;padding:0 10px 0 7px;display:inline-flex}.peach-react [data-library-color-trigger]:hover{background:var(--color-background-primary-hover)}.peach-react [data-library-color-trigger] [data-glow-ball]{width:20px;height:20px}.peach-react [data-library-colors]{grid-template-columns:repeat(7,28px);padding:0}.peach-react [data-glow-ball][data-library-none]{--glow-chip:linear-gradient(135deg, transparent 46%, var(--color-text-tertiary) 46% 54%, transparent 54%), var(--color-background-tertiary-default)}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-500:oklch(72.3% .219 149.579);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--font-weight-semibold:600;--tracking-normal:0em;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-out:cubic-bezier(0, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.-inset-y-px{inset-block:-1px}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\/2{top:50%}.top-\[3px\]{top:3px}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\/2{left:50%}.left-\[3px\]{left:3px}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.ms-auto{margin-inline-start:auto}.mt-1{margin-top:var(--spacing)}.mr-auto{margin-right:auto}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-0\.5{margin-left:calc(var(--spacing) * .5)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.size-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-full{width:100%;height:100%}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-full{height:100%}.h-max{height:max-content}.max-h-\[240px\]{max-height:240px}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-\[52px\]{min-height:52px}.w-2{width:calc(var(--spacing) * 2)}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-72{width:calc(var(--spacing) * 72)}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-1\/2{max-width:50%}.max-w-140{max-width:calc(var(--spacing) * 140)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-40{min-width:calc(var(--spacing) * 40)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-decimal{list-style-type:decimal}.list-none{list-style-type:none}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-\[5px\]{gap:5px}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-accent-600{border-color:var(--color-accent-600)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-separator-border{border-color:var(--color-separator-border)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-kbd-background{background-color:var(--color-kbd-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-transparent{background-color:#0000}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-8{padding:calc(var(--spacing) * 8)}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-px{padding-top:1px}.pr-1{padding-right:var(--spacing)}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-accent-600{color:var(--color-accent-600)}.text-blue-900{color:var(--color-blue-900)}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-kbd-foreground{color:var(--color-kbd-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-placeholder{color:var(--color-text-placeholder)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[scale\,opacity\]{transition-property:scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}:is(:where(.group\/tree-view)[data-show-guides=false] .group-data-\[show-guides\=false\]\/tree-view\:hidden){display:none}:is(:where(.group\/tree-view)[data-size=sm] .group-data-\[size\=sm\]\/tree-view\:min-h-8){min-height:calc(var(--spacing) * 8)}:is(:where(.group\/tree-view)[data-size=sm] .group-data-\[size\=sm\]\/tree-view\:text-body-2-regular){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover{background-color:var(--color-background-primary-hover)}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=40rem){.max-sm\:p-5{padding:calc(var(--spacing) * 5)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-6{padding-block:calc(var(--spacing) * 6)}}@container (width>=32rem){.\@lg\:w-32{width:calc(var(--spacing) * 32)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>\.ui-settings-facts\]\:-mr-3>.ui-settings-facts{margin-right:calc(var(--spacing) * -3)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}:where(.peach-react label[data-rac]:has(>span>input:is([type=radio],[type=checkbox]))){position:relative}:root{--font-inter:"Inter Variable", "Inter";--font-sans:var(--font-inter), "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:lang(ja){font-family:var(--font-inter), "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans JP", ui-sans-serif, system-ui, sans-serif}.peach-react [data-long-text]{text-wrap:pretty;hanging-punctuation:allow-end;line-height:1.75}.peach-react [data-long-text]:not(:lang(en)){text-align:justify}:root{--icon-inline:1.2em;--control-h-inline:28px;--control-h-compact:32px;--control-h:36px;--control-h-large:40px;--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;text-autospace:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-webkit-scrollbar{display:none}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body[data-batch-dock-open] :is(#grid,[data-stage]){padding-bottom:var(--selection-dock-space,180px)}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}body.peach-react{--ink:var(--color-text-primary);--ink-2:var(--color-text-secondary);--muted:var(--color-text-tertiary);--ground:var(--color-background-full);--surface:var(--color-background-primary-default);--line:var(--color-border-button-default);--border-15:var(--color-border-button-default);--hover:var(--color-background-primary-hover);--control-hover:var(--color-background-primary-hover);--tungsten:var(--color-border-focus-ring);--badge-radius:var(--radius-lg);--control-radius:var(--radius-2lg);--board-body:400 14px/20px var(--font-sans);--board-body-medium:500 14px/20px var(--font-sans)}:is(body.peach-react,[data-copy-editor].peach-react) [data-copy-bar]{border:1px solid var(--color-border-button-default);background:var(--color-background-secondary-default);box-shadow:var(--elevation-card,var(--elevation-dropdown))}body.peach-react:has([data-copy-bar]){padding-bottom:108px}:root,:root[data-accent=blue],[data-accent-ball=blue]{--color-accent-50:oklch(97% .014 254.604);--color-accent-100:oklch(93.2% .032 255.585);--color-accent-200:oklch(88.2% .059 254.128);--color-accent-300:oklch(80.9% .105 251.813);--color-accent-400:#3392ff;--color-accent-500:oklch(62.3% .214 259.815);--color-accent-600:oklch(54.6% .245 262.881);--color-accent-700:oklch(48.8% .243 264.376);--color-accent-800:oklch(42.4% .199 265.638);--color-accent-900:oklch(37.9% .146 265.522);--color-accent-950:oklch(28.2% .091 267.935)}:root[data-accent=red],[data-accent-ball=red]{--color-accent-50:oklch(97.1% .013 17.38);--color-accent-100:oklch(93.6% .032 17.717);--color-accent-200:oklch(88.5% .062 18.334);--color-accent-300:oklch(80.8% .114 19.571);--color-accent-400:oklch(70.4% .191 22.216);--color-accent-500:oklch(63.7% .237 25.331);--color-accent-600:oklch(57.7% .245 27.325);--color-accent-700:oklch(50.5% .213 27.518);--color-accent-800:oklch(44.4% .177 26.899);--color-accent-900:oklch(39.6% .141 25.723);--color-accent-950:oklch(25.8% .092 26.042)}:root[data-accent=orange],[data-accent-ball=orange]{--color-accent-50:oklch(98% .016 73.684);--color-accent-100:oklch(95.4% .038 75.164);--color-accent-200:oklch(90.1% .076 70.697);--color-accent-300:oklch(83.7% .128 66.29);--color-accent-400:oklch(75% .183 55.934);--color-accent-500:oklch(70.5% .213 47.604);--color-accent-600:oklch(64.6% .222 41.116);--color-accent-700:oklch(55.3% .195 38.402);--color-accent-800:oklch(47% .157 37.304);--color-accent-900:oklch(40.8% .123 38.172);--color-accent-950:oklch(26.6% .079 36.259)}:root[data-accent=amber],[data-accent-ball=amber]{--color-accent-50:oklch(98.7% .022 95.277);--color-accent-100:oklch(96.2% .059 95.617);--color-accent-200:oklch(92.4% .12 95.746);--color-accent-300:oklch(87.9% .169 91.605);--color-accent-400:oklch(82.8% .189 84.429);--color-accent-500:oklch(76.9% .188 70.08);--color-accent-600:oklch(66.6% .179 58.318);--color-accent-700:oklch(55.5% .163 48.998);--color-accent-800:oklch(47.3% .137 46.201);--color-accent-900:oklch(41.4% .112 45.904);--color-accent-950:oklch(27.9% .077 45.635)}:root[data-accent=lime],[data-accent-ball=lime]{--color-accent-50:oklch(98.6% .031 120.757);--color-accent-100:oklch(96.7% .067 122.328);--color-accent-200:oklch(93.8% .127 124.321);--color-accent-300:oklch(89.7% .196 126.665);--color-accent-400:oklch(84.1% .238 128.85);--color-accent-500:oklch(76.8% .233 130.85);--color-accent-600:oklch(64.8% .2 131.684);--color-accent-700:oklch(53.2% .157 131.589);--color-accent-800:oklch(45.3% .124 130.933);--color-accent-900:oklch(40.5% .101 131.063);--color-accent-950:oklch(27.4% .072 132.109)}:root[data-accent=emerald],[data-accent-ball=emerald]{--color-accent-50:oklch(97.9% .021 166.113);--color-accent-100:oklch(95% .052 163.051);--color-accent-200:oklch(90.5% .093 164.15);--color-accent-300:oklch(84.5% .143 164.978);--color-accent-400:oklch(76.5% .177 163.223);--color-accent-500:oklch(69.6% .17 162.48);--color-accent-600:oklch(59.6% .145 163.225);--color-accent-700:oklch(50.8% .118 165.612);--color-accent-800:oklch(43.2% .095 166.913);--color-accent-900:oklch(37.8% .077 168.94);--color-accent-950:oklch(26.2% .051 172.552)}:root[data-accent=teal],[data-accent-ball=teal]{--color-accent-50:oklch(98.4% .014 180.72);--color-accent-100:oklch(95.3% .051 180.801);--color-accent-200:oklch(91% .096 180.426);--color-accent-300:oklch(85.5% .138 181.071);--color-accent-400:oklch(77.7% .152 181.912);--color-accent-500:oklch(70.4% .14 182.503);--color-accent-600:oklch(60% .118 184.704);--color-accent-700:oklch(51.1% .096 186.391);--color-accent-800:oklch(43.7% .078 188.216);--color-accent-900:oklch(38.6% .063 188.416);--color-accent-950:oklch(27.7% .046 192.524)}:root[data-accent=sky],[data-accent-ball=sky]{--color-accent-50:oklch(97.7% .013 236.62);--color-accent-100:oklch(95.1% .026 236.824);--color-accent-200:oklch(90.1% .058 230.902);--color-accent-300:oklch(82.8% .111 230.318);--color-accent-400:oklch(74.6% .16 232.661);--color-accent-500:oklch(68.5% .169 237.323);--color-accent-600:oklch(58.8% .158 241.966);--color-accent-700:oklch(50% .134 242.749);--color-accent-800:oklch(44.3% .11 240.79);--color-accent-900:oklch(39.1% .09 240.876);--color-accent-950:oklch(29.3% .066 243.157)}:root[data-accent=indigo],[data-accent-ball=indigo]{--color-accent-50:oklch(96.2% .018 272.314);--color-accent-100:oklch(93% .034 272.788);--color-accent-200:oklch(87% .065 274.039);--color-accent-300:oklch(78.5% .115 274.713);--color-accent-400:oklch(67.3% .182 276.935);--color-accent-500:oklch(58.5% .233 277.117);--color-accent-600:oklch(51.1% .262 276.966);--color-accent-700:oklch(45.7% .24 277.023);--color-accent-800:oklch(39.8% .195 277.366);--color-accent-900:oklch(35.9% .144 278.697);--color-accent-950:oklch(25.7% .09 281.288)}:root[data-accent=violet],[data-accent-ball=violet]{--color-accent-50:oklch(96.9% .016 293.756);--color-accent-100:oklch(94.3% .029 294.588);--color-accent-200:oklch(89.4% .057 293.283);--color-accent-300:oklch(81.1% .111 293.571);--color-accent-400:oklch(70.2% .183 293.541);--color-accent-500:oklch(60.6% .25 292.717);--color-accent-600:oklch(54.1% .281 293.009);--color-accent-700:oklch(49.1% .27 292.581);--color-accent-800:oklch(43.2% .232 292.759);--color-accent-900:oklch(38% .189 293.745);--color-accent-950:oklch(28.3% .141 291.089)}:root[data-accent=fuchsia],[data-accent-ball=fuchsia]{--color-accent-50:oklch(97.7% .017 320.058);--color-accent-100:oklch(95.2% .037 318.852);--color-accent-200:oklch(90.3% .076 319.62);--color-accent-300:oklch(83.3% .145 321.434);--color-accent-400:oklch(74% .238 322.16);--color-accent-500:oklch(66.7% .295 322.15);--color-accent-600:oklch(59.1% .293 322.896);--color-accent-700:oklch(51.8% .253 323.949);--color-accent-800:oklch(45.2% .211 324.591);--color-accent-900:oklch(40.1% .17 325.612);--color-accent-950:oklch(29.3% .136 325.661)}:root[data-accent=rose],[data-accent-ball=rose]{--color-accent-50:oklch(96.9% .015 12.422);--color-accent-100:oklch(94.1% .03 12.58);--color-accent-200:oklch(89.2% .058 10.001);--color-accent-300:oklch(81% .117 11.638);--color-accent-400:oklch(71.2% .194 13.428);--color-accent-500:oklch(64.5% .246 16.439);--color-accent-600:oklch(58.6% .253 17.585);--color-accent-700:oklch(51.4% .222 16.935);--color-accent-800:oklch(45.5% .188 13.697);--color-accent-900:oklch(41% .159 10.272);--color-accent-950:oklch(27.1% .105 12.094)}body.peach-react:has([data-setup-page]){box-sizing:border-box;margin:0}.peach-react [data-setup-page]{--color-button-ghost-background:transparent;--color-button-ghost-foreground:var(--color-text-secondary);--color-button-ghost-hover:var(--color-background-primary-hover);--color-button-ghost-active:var(--color-background-primary-active);place-items:center;min-height:100dvh;padding:32px 24px;display:grid}body:has([data-copy-bar]) [data-setup-page]{min-height:calc(100dvh - 108px)}body:has([data-copy-bar]) [data-setup-window]{height:min(720px,100dvh - 172px)}.peach-react [data-setup-window]{border:1px solid var(--color-separator-border);background:var(--color-background-secondary-default);border-radius:24px;grid-template-columns:36% minmax(0,1fr);width:min(100%,960px);height:min(720px,100dvh - 64px);min-height:520px;display:grid;overflow:hidden;box-shadow:0 24px 80px #00000012}.peach-react [data-setup-scene]{color:#483d38;background:radial-gradient(at 5% 10%,#f3b3a4 0%,#0000 55%),radial-gradient(at 90% 75%,#a8b8a1 0%,#0000 55%),#e7dac8;flex-direction:column;padding:28px;display:flex;position:relative;overflow:hidden}.peach-react [data-setup-scene-brand]{align-items:center;gap:8px;font-weight:600;display:flex}.peach-react :is([data-setup-mark=brand],[data-setup-mark=welcome]){flex-shrink:0;display:block}.peach-react [data-setup-mark=brand]{width:28px;height:28px}.peach-react [data-setup-mark=welcome]{color:#657866;width:148px;height:148px}.peach-react [data-setup-original-mark]{object-fit:contain;width:148px;height:148px;display:block}.peach-react [data-setup-scene-art]{flex:1;place-items:center;animation:.36s ease-out both setup-scene-in;display:grid}.peach-react [data-setup-scene-caption]{gap:8px;display:grid}.peach-react [data-setup-scene-caption] p:last-child{opacity:.72}.peach-react [data-setup-mini-library]{background:#fffaf1e6;border:1px solid #ffffffb0;border-radius:14px;width:100%;max-width:280px;padding:16px;position:relative;transform:rotate(-5deg);box-shadow:0 24px 48px #67503b25}.peach-react [data-setup-library-scene]{width:100%;position:relative}.peach-react [data-setup-mini-toolbar]{align-items:center;gap:4px;margin-bottom:18px;display:flex}.peach-react [data-setup-mini-toolbar]>span{background:#c9bbab;border-radius:50%;width:5px;height:5px}.peach-react [data-setup-mini-toolbar] svg{opacity:.5;width:14px;height:14px;margin-left:auto}.peach-react [data-setup-mini-posters]{gap:8px;display:flex}.peach-react [data-setup-mini-posters]>div{aspect-ratio:2/3;background:linear-gradient(140deg,#e9bda0,#ae7762);border-radius:6px;flex:1;place-items:center;display:grid}.peach-react [data-setup-mini-posters]>div:nth-child(2){background:linear-gradient(145deg,#bcc8b2,#5a786b)}.peach-react [data-setup-mini-posters]>div:nth-child(3){background:linear-gradient(145deg,#c8c4d1,#79748b)}.peach-react [data-setup-mini-posters] svg{color:#fff8ed;width:26px;height:26px}.peach-react [data-setup-mini-lines]{gap:7px;margin-top:14px;display:grid}.peach-react [data-setup-mini-lines] span{background:#e4dbcf;border-radius:4px;width:72%;height:4px}.peach-react [data-setup-mini-lines] span:last-child{width:45%}.peach-react [data-setup-scene-badge]{background:#fdfaf5;border-radius:12px;align-items:center;gap:8px;padding:12px 16px;font-size:13px;display:flex;position:absolute;bottom:-20px;right:-12px;transform:rotate(5deg);box-shadow:0 8px 28px #59463422}.peach-react [data-setup-scene-badge] svg{color:#62816c;width:18px;height:18px}.peach-react [data-setup-devices]{width:108%;position:relative}.peach-react :is([data-setup-macbook],[data-setup-iphone]){filter:drop-shadow(0 12px 12px #483d3820);position:relative}.peach-react :is([data-setup-macbook],[data-setup-iphone])>img{z-index:1;width:100%;height:auto;display:block;position:relative}.peach-react [data-setup-device-screen]{background:#fffaf1;position:absolute;overflow:hidden}.peach-react [data-setup-macbook] [data-setup-device-screen]{border-radius:3px;width:78.342%;height:77.323%;top:11.339%;left:10.829%}.peach-react [data-setup-iphone]{width:26%;position:absolute;bottom:-12%;right:0}.peach-react [data-setup-iphone] [data-setup-device-screen]{border-radius:11%/5%;width:89.333%;height:95%;padding-top:14%;top:2.5%;left:5.333%}.peach-react [data-setup-device-screen] [data-setup-mini-library]{max-width:none;height:100%;box-shadow:none;border:0;border-radius:0;padding:7%;transform:none}.peach-react [data-setup-device-screen] [data-setup-mini-toolbar]{margin-bottom:8%}.peach-react [data-setup-device-screen] [data-setup-mini-toolbar] svg{width:10px;height:10px}.peach-react [data-setup-device-screen] [data-setup-mini-posters]{gap:4%}.peach-react [data-setup-device-screen] [data-setup-mini-posters]>div{aspect-ratio:3/4;border-radius:3px}.peach-react [data-setup-device-screen] [data-setup-mini-lines]{gap:4px;margin-top:6%}.peach-react [data-setup-device-screen] [data-setup-mini-lines] span{height:3px}.peach-react [data-setup-iphone] [data-setup-mini-toolbar]>span{display:none}.peach-react [data-setup-iphone] [data-setup-mini-posters]{grid-template-columns:1fr 1fr;gap:5px;display:grid}.peach-react [data-setup-iphone] [data-setup-mini-posters]>div:first-child{aspect-ratio:4/3;grid-column:1/-1}.peach-react [data-setup-iphone] [data-setup-mini-posters] svg{width:18px;height:18px}.peach-react [data-setup-form-panel]{flex-direction:column;min-width:0;min-height:0;display:flex}.peach-react [data-setup-top]{justify-content:space-between;align-items:center;gap:16px;padding:28px 40px 16px;display:flex}.peach-react [data-setup-progress]{gap:6px;display:flex}.peach-react [data-setup-progress] span{background:var(--color-text-tertiary);opacity:.3;border-radius:5px;width:6px;height:6px;transition:width .2s,opacity .2s}.peach-react [data-setup-progress] span[data-active]{opacity:1;background:var(--color-text-primary);width:22px}.peach-react [data-setup-progress] span[data-complete]{opacity:.8}.peach-react [data-setup-step-scroll]{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--color-border-button-default) transparent;flex-direction:column;flex:1;min-height:0;padding:28px 40px;display:flex;overflow:auto}.peach-react [data-setup-step-content]{width:100%}.peach-react [data-setup-step="0"] [data-setup-step-content],.peach-react [data-setup-step=restore] [data-setup-step-content],.peach-react [data-setup-step=done] [data-setup-step-content]{margin-block:auto}.peach-react [data-setup-step-content]>div:not([hidden]),.peach-react [data-setup-step-heading]{animation:.24s ease-out both setup-step-in}.peach-react [data-setup-step-heading]{outline:none;gap:10px;margin-bottom:28px;display:grid}.peach-react [data-setup-step-heading] h1:focus{outline:none}.peach-react [data-setup-step-content]>div:not([hidden]){flex-direction:column;gap:24px;display:flex}.peach-react [data-setup-step-content]>div[hidden]{display:none}.peach-react [data-setup-footer]{justify-content:space-between;align-items:center;gap:12px;padding:16px 40px 24px;display:flex}.peach-react [data-setup-footer-end]{justify-content:flex-end}.peach-react [data-setup-library-block]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);border-radius:14px;padding:8px}.peach-react [data-setup-library-block] [data-library-head]{grid-template-columns:auto minmax(0,1fr);display:grid}.peach-react [data-setup-library-block] [data-library-head]>:first-child{justify-self:start}.peach-react [data-setup-library-block] [data-library-head]>:nth-child(2){min-width:0}.peach-react [data-setup-library-block] [data-library-head]>:nth-child(3){justify-self:start}.peach-react [data-setup-library-policy]{min-width:0}.peach-react [data-setup-loading]{gap:18px;display:grid}.peach-react [data-setup-loading] span{background:var(--color-background-tertiary-default);border-radius:8px;height:48px}.peach-react [data-setup-welcome-points]{flex-direction:column;gap:18px;display:flex}.peach-react [data-setup-welcome-points] li{align-items:center;gap:12px;display:flex}.peach-react [data-setup-welcome-points] svg{width:20px;height:20px;color:var(--color-text-secondary);flex-shrink:0}.peach-react [data-setup-welcome-copy]{gap:4px;display:grid}.peach-react [data-setup-step-content] section:first-child{border-top:0;padding-top:0}@keyframes setup-step-in{0%{opacity:0;transform:translateX(var(--setup-direction,20px))}to{opacity:1;transform:translate(0)}}@keyframes setup-scene-in{0%{opacity:.6;transform:translateY(10px)scale(.98)}to{opacity:1;transform:none}}@media (width<=700px){.peach-react [data-setup-page]{padding:12px}.peach-react [data-setup-window]{border-radius:20px;flex-direction:column;height:calc(100dvh - 24px);min-height:480px;display:flex}.peach-react [data-setup-scene]{flex:0 0 128px;padding:20px}.peach-react [data-setup-scene-art]{width:130px;position:absolute;top:28px;right:28px}.peach-react :is([data-setup-mark=welcome],[data-setup-original-mark]){width:80px;height:80px}.peach-react [data-setup-scene-caption],.peach-react [data-setup-scene-badge]{display:none}.peach-react [data-setup-form-panel]{flex:1}.peach-react [data-setup-top]{padding:20px 24px 0}.peach-react [data-setup-step-scroll]{padding:24px}.peach-react [data-setup-footer]{padding:12px 24px max(20px, env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.peach-react [data-setup-step-content]>div:not([hidden]),.peach-react [data-setup-step-heading],.peach-react [data-setup-scene-art]{animation:none}.peach-react [data-setup-progress] span{transition:none}}@media (width<=480px){.peach-react [data-setup-library-block] [data-library-head]>[data-library-color-trigger],.peach-react [data-setup-library-policy]{grid-column:1/-1}}body.peach-react{background-color:var(--color-background-full);min-height:100dvh}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}.peach-react [data-policy-matrix]{border-collapse:collapse;width:100%;max-width:560px;color:var(--ink-2);margin-top:4px}.peach-react [data-policy-matrix] :is(th,td){border-bottom:1px solid var(--line-soft);text-align:center;padding:6px 8px;font-weight:400}.peach-react [data-policy-matrix] thead th{color:var(--muted)}.peach-react [data-policy-matrix] tbody th{text-align:left;color:var(--ink-2)}.peach-react [data-policy-matrix] [data-policy-cell=on]{color:var(--ink)}.peach-react [data-policy-matrix] [data-policy-cell=off]{color:var(--muted)}.peach-react [data-policy-matrix] tr:last-child>*{border-bottom:0}.peach-react [data-library-head]{border-bottom:1px solid var(--color-border-button-default);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 8px;display:flex}.peach-react [data-library-head]>*{min-width:0;max-width:100%}.peach-react [data-library-head]>:nth-child(2){flex:180px;width:auto}.peach-react [data-library-head]>:last-child{flex:200px;width:auto}.peach-react [data-library-head]>:is(:first-child,:nth-child(3)){flex-shrink:0}.peach-react [data-library-block]>:not([data-library-head],[data-library-folders]){padding:10px 8px 0}.peach-react [data-library-folders]{flex-direction:column;display:flex}.peach-react [data-library-folders]>*{padding:12px 8px}.peach-react [data-library-folders]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-library-folders]>[data-folder-row]{background:0 0;border-width:0;border-radius:0}.peach-react [data-library-folders]>[data-folder-row]+*{border-top-width:1px}.peach-react [data-library-color-trigger]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:auto;height:36px;box-shadow:var(--shadow-xs);color:var(--color-text-primary);white-space:nowrap;border-radius:10px;gap:8px;padding:0 10px 0 7px;display:inline-flex}.peach-react [data-library-color-trigger]:hover{background:var(--color-background-primary-hover)}.peach-react [data-library-color-trigger] [data-glow-ball]{width:20px;height:20px}.peach-react [data-library-colors]{grid-template-columns:repeat(7,28px);padding:0}.peach-react [data-glow-ball][data-library-none]{--glow-chip:linear-gradient(135deg, transparent 46%, var(--color-text-tertiary) 46% 54%, transparent 54%), var(--color-background-tertiary-default)}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-pages.js b/web/dist/peach-pages.js
index e6a4109cf..2e684b4b7 100644
--- a/web/dist/peach-pages.js
+++ b/web/dist/peach-pages.js
@@ -2,7 +2,7 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "56a3ac81-61da-4987-ab16-4073f28b195b", e._sentryDebugIdIdentifier = "sentry-dbid-56a3ac81-61da-4987-ab16-4073f28b195b");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "27e6addd-c099-4061-a555-550d94bc3913", e._sentryDebugIdIdentifier = "sentry-dbid-27e6addd-c099-4061-a555-550d94bc3913");
} catch {}
})();
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, i, o, s) => {
@@ -19604,38 +19604,38 @@ function Hm({ term: e, children: t }) {
})]
});
}
-function Um({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {
- let s = (0, j.useId)(), c = (0, j.useRef)(null), l = (0, j.useRef)(null), u = (0, j.useRef)(!1), [d, f] = (0, j.useState)(n ?? t);
+function Um({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, row: a = !1, onOpenChange: o, contentClassName: s }) {
+ let c = (0, j.useId)(), l = (0, j.useRef)(null), u = (0, j.useRef)(null), d = (0, j.useRef)(!1), [f, p] = (0, j.useState)(n ?? t);
return (0, j.useLayoutEffect)(() => {
- n !== void 0 && n !== d && c.current && l.current && (Sm(c.current, l.current, n), f(n));
- }, [n, d]), /* @__PURE__ */ (0, z.jsxs)("details", {
+ n !== void 0 && n !== f && l.current && u.current && (Sm(l.current, u.current, n), p(n));
+ }, [n, f]), /* @__PURE__ */ (0, z.jsxs)("details", {
ref: (e) => {
- c.current = e, e && (n ?? t) && !u.current && (u.current = !0, e.open = !0);
+ l.current = e, e && (n ?? t) && !d.current && (d.current = !0, e.open = !0);
},
children: [/* @__PURE__ */ (0, z.jsxs)("summary", {
- "aria-expanded": d,
- "aria-controls": s,
+ "aria-expanded": f,
+ "aria-controls": c,
onClick: (e) => {
- e.preventDefault(), c.current && l.current && (Sm(c.current, l.current, !d), f(!d), a?.(!d));
+ e.preventDefault(), l.current && u.current && (Sm(l.current, u.current, !f), p(!f), o?.(!f));
},
- className: `${i ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
+ className: R("flex w-full cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring", a && "px-5 py-2.5"),
children: [
i ? null : /* @__PURE__ */ (0, z.jsx)($p, {
"aria-hidden": !0,
- className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"
+ className: f ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"
}),
e,
i ? /* @__PURE__ */ (0, z.jsx)($p, {
"aria-hidden": !0,
- className: d ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"
+ className: f ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"
}) : null
]
}), /* @__PURE__ */ (0, z.jsx)("div", {
- ref: l,
- id: s,
- inert: !d,
+ ref: u,
+ id: c,
+ inert: !f,
children: /* @__PURE__ */ (0, z.jsx)("div", {
- className: R("flex flex-col gap-2 pt-3", o),
+ className: R("flex flex-col gap-2", a ? "px-5 pt-0.5" : "pt-3", s),
children: r
})
})]
@@ -22792,4 +22792,4 @@ E();
var mv = document.getElementById("peach-page"), hv = mv ? pv[mv.dataset.page ?? ""] : void 0;
mv && hv && (0, M.createRoot)(mv).render(/* @__PURE__ */ (0, z.jsx)(hv, { data: { ...mv.dataset } }));
-//# debugId=56a3ac81-61da-4987-ab16-4073f28b195b
\ No newline at end of file
+//# debugId=27e6addd-c099-4061-a555-550d94bc3913
\ No newline at end of file