Peach: Local-first video metadata scraper and media manager.
fix(integration): 接收已认可的 codex-scan-partial-results 改动
longmeidaoe959ddb83952
diff --git a/docs/OPERATIONS.md b/docs/OPERATIONS.mdindex 5e9f3920e..ba697a63e 100644--- a/docs/OPERATIONS.md+++ b/docs/OPERATIONS.md@@ -267,6 +267,12 @@ Peach 配置页地址是 `/configuration`。从管理菜单或设置弹窗的「媒体修复在「数据管理」页,订阅源在「关注管理」页的「订阅源」页签(分工见 [ADR-0050](adr/0050-settings-modal-holds-values-pages-hold-work.md))。+扫描与采集逐项保留结果。文件抽帧失败、资料请求超时等单项问题记入清单,继续处理其余文件与后续阶段;所有阶段结束后,有问题的任务显示「处理已结束,部分项目需处理」,可查看全部内容或仅重试未完成项。状态保存、数据库等公共环节异常导致的中断单独显示。未取得发行资料的视频仍可在「全部内容」浏览;JAV 分类按番号和发行资料筛选。需要选择处理范围时,使用「更多同步方式」中的仅扫描、仅补资料或仅补预览图。++媒体目录、NFO 与配套图片的单次读取限时 20 秒,超时会结束读取子进程并记录问题;本趟任务不反复读取已失败的目录。单个视频的九宫格共用 120 秒处理时限,失败后继续下一部影片与外部资料采集。用户暂停、磁盘空间不足、账本或结果保存失败会中断任务并保留检查点。未登记成功的目录需要重新扫描;已登记影片的问题可按清单重试。++文件在磁盘上被移除后,可到数据管理页下方的「资源同步」检查账本记录。该分区要求至少一个可扫描来源配置了根目录;清理前核对检查结果并确认。带个人记录的失联作品保留为已消失,其余清理规则见资源同步的确认说明。+采集预估同时显示资料与预览产物的预计新增磁盘占用、临时文件峰值,以及各输出盘的可用空间。封面按番号去重,资料快照和九宫格按待执行范围估算;缓存命中和已完成工作不重复计入。占用依据本地缓存大小中位数估算,没有样本时使用计划值。各盘分别保留 1 GiB 运行余量,空间不足显示差额;容量读取失败显示未取得。网盘挂载缓存与预读无法准确测量时单独提示,不能据此认定网盘缓存也可容纳。应用资料采集器每次会话最多 6,000 次请求、1 GiB 下载和 4 小时,另有来源限速、冷却及单项截止时间。应用采集流水线运行期检查数据盘 1 GiB 底线;独立封面、探测和九宫格脚本采用各自的磁盘参数,封面与九宫格默认 40 GiB。流量和磁盘预估本身不改变这些限制。diff --git a/docs/REUSE.md b/docs/REUSE.mdindex 1351a2b26..7d775ce40 100644--- a/docs/REUSE.md+++ b/docs/REUSE.md@@ -898,6 +898,12 @@ Python 源文件纳入 `src/peach/library_sharing.py` 与 `src/peach/library_pro普通 Toast 与扫描任务卡共用 Agent Progress 外框,16px 半径由通知栈内的既有 token 解析,细边框与接触阴影分别复用 `border-button-default`、`elevation-xs`,不改变内容排版。浏览器回归核对桌面、手机和明暗主题下的外框一致性,并以同一任务、同一内容回放外框基线生成对比图。+## 媒体读取与单项超时++`media_io` 复用 `local_poster` 的短生命周期子进程方式,以及标准库 [`subprocess.run(timeout=…)`](https://docs.python.org/3.14/library/subprocess.html#subprocess.run)。目录枚举、NFO、图片引用、路径解析和文件属性在只读子进程中取得;超时后先终止并回收进程,再处理下一项。NFO 解析和图片引用边界仍由 `library_nfo` 维护,扫描继续使用 `scan_location` 的批量登记与检查点。任务层缓存本趟失败的目录,避免逐部影片重复等候同一故障。++预览生成复用 `frame_capture` 与 `processing_control.deadline_after`,同一影片的抽帧和拼图共享截止时间;用户暂停不占活动预算。公共状态、证据和产物保存失败向任务层传播,只有媒体读取或来源取证失败进入单项问题清单。测试覆盖超时进程回收、相邻目录继续、NFO 失败后保留番号、预览总时限和公共写入中断。标准库随 Python 运行时维护,PSF 许可,支持 Windows/macOS/Linux,未新增依赖。+## 媒体库与根目录身份身份生成复用 Python 3.14 标准库 [`uuid`](https://docs.python.org/3.14/library/uuid.html) 的 UUIDv4、UUIDv5(PSF 许可,随运行时维护,Windows/macOS/Linux,无新增安装体积);路径归属复用 `platform.resolve_root`、`PureWindowsPath`,配置写入复用 `fsutil.atomic_write_text`,扫描沿用 SQLite upsert 与现有断点。当前树与 Git 中的媒体库分组、目录索引、来源探测和下载渠道共同消费这些身份。diff --git a/frontend/src/catalog-onboarding.ts b/frontend/src/catalog-onboarding.tsindex edd4447ce..aa0deee34 100644--- a/frontend/src/catalog-onboarding.ts+++ b/frontend/src/catalog-onboarding.ts@@ -37,7 +37,9 @@ export function catalogEmptyHtml({ kind = 'catalog', filtered = false, jav = falconst follow = '<a class="geist-button' + (online ? ' primary' : '') + '" href="/subscriptions?tab=add">添加关注</a>';if (filtered || jav) return emptyStateHtml('search', jav ? '还没有符合条件的 JAV 作品' : '没有符合条件的内容',jav ? '已扫描但尚未补充发行资料的视频可在全部内容中查看。' : '清除筛选或搜索条件后查看全部内容。',- { actions: `<a class="geist-button primary" href="${filtered ? esc(clearCatalogAddress()) : '/?loc=&thumb=0'}">${filtered ? '清除筛选' : '查看全部内容'}</a>` });+ { actions: jav+ ? '<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="${filtered ? esc(clearCatalogAddress()) : '/?loc=&thumb=0'}">${filtered ? '清除筛选' : '查看全部内容'}</a>` });if (kind !== 'catalog') {const labels: Record<string, string> = { tags: '标签', performers: '艺人', creators: '卖家', studios: '厂牌', agencies: '事务所', series: '系列' };// 在线那一档数的是来源上的东西,名字也跟着来源的说法:艺人页在线摆的是关注来源里的创作者。diff --git a/frontend/src/react/activity/activity-page.tsx b/frontend/src/react/activity/activity-page.tsxindex d5749328d..1c14bcc48 100644--- a/frontend/src/react/activity/activity-page.tsx+++ b/frontend/src/react/activity/activity-page.tsx@@ -46,9 +46,11 @@ const BADGE_COLORS: Record<string, 'lime' | 'rose' | 'yellow' | 'blue' | 'neutra};function StatusBadge({ run }: { run: TaskRunPayload }) {- const problems = run.status === 'succeeded' && hasResultProblems(run);+ const partial = run.status === 'failed' && run.task_key === 'library-processing'+ && run.result_summary?.outcome === 'partial';+ const problems = partial || run.status === 'succeeded' && hasResultProblems(run);return <Chip color={problems ? 'yellow' : BADGE_COLORS[run.status] ?? 'neutral'}>- {problems ? '发现问题' : statusLabel(run.status)}+ {partial ? '部分项目需处理' : problems ? '发现问题' : statusLabel(run.status)}</Chip>;}diff --git a/frontend/src/react/activity/tasks.ts b/frontend/src/react/activity/tasks.tsindex 910eee7dc..a1448bb17 100644--- a/frontend/src/react/activity/tasks.ts+++ b/frontend/src/react/activity/tasks.ts@@ -282,6 +282,7 @@ export function readableErrorHeadline(text: string | null | undefined): string {}const OUTCOME_LABELS: Record<string, string> = {+ partial: '处理已结束,部分项目需处理', complete: '处理完成', interrupted: '处理已中断','没有新写法': '未发现新别名', '已装上': '已保存资料图片','已装着认得准的小图': '已保留身份核对通过的小尺寸图片','档案已不存在': '资料记录已不存在', '资料未过期': '现有资料仍在有效期内',diff --git a/frontend/src/react/library-processing/library-processing-card.tsx b/frontend/src/react/library-processing/library-processing-card.tsxindex 442bb1ea7..4abbcf802 100644--- a/frontend/src/react/library-processing/library-processing-card.tsx+++ b/frontend/src/react/library-processing/library-processing-card.tsx@@ -24,8 +24,8 @@ import { PathLine } from '../components/path-line';import { Disclosure } from '../settings/section';import { queryClient } from '../query';import {- DISCONNECTED_TEXT, issueDetails, LIBRARY_PROCESSING_KEY, LIBRARY_PROCESSING_URL,- notesLine, processingActive, remainingTime, type LibraryProcessingCommand, type LibraryProcessingData,+ ALL_CONTENT_URL, DISCONNECTED_TEXT, issueDetails, LIBRARY_PROCESSING_KEY, LIBRARY_PROCESSING_URL, PARTIAL_RESULT_TEXT,+ notesLine, processingActive, processingHasPartialResult, remainingTime, type LibraryProcessingCommand, type LibraryProcessingData,} from './library-processing';import { useLibraryProcessingJob } from './use-library-processing';import { ProcessingActions } from './processing-actions';@@ -68,6 +68,7 @@ function Outcome(const retryable = state.status === 'failed' && !!state.retryable_asset_ids?.length;const notes = notesLine(state.notes || {});const failed = !!problem || state.status === 'failed';+ const partial = !problem && processingHasPartialResult(state);/* 同一份日志只印一处:失败提示带着问题清单时归清单,跑完只剩「7 天内不再问」时归那条提示。 */const logInList = failed && !!details?.log;/* 清单是这一页唯一自己滚的块,原生滚动条在这儿就是一条系统灰柱子。 */@@ -79,12 +80,14 @@ function Outcome(? <Note tone="warning" title="处理较慢">{STALLED_TEXT}</Note>: null}{failed- ? <Note tone="error" className="gap-0 p-3"- action={retryable- ? <Button variant="secondary" size="small" aria-label="立即重试未完成项" onClick={onRetry}>立即重试</Button>- : null}+ ? <Note tone={partial ? 'warning' : 'error'} className="gap-0 p-3"+ title={partial ? '处理已结束,部分项目需处理' : '处理未完成'}+ action={<div className="flex flex-wrap items-center gap-2">+ {partial ? <LinkButton href={ALL_CONTENT_URL} size="small" trailingIcon={RiArrowRightLine}>查看全部内容</LinkButton> : null}+ {retryable ? <Button variant="secondary" size="small" aria-label="立即重试未完成项" onClick={onRetry}>立即重试</Button> : null}+ </div>}extra={details- /* 三层东西叠在同一块红底上:一句结论、一份清单、一条日志地址。各自之间+ /* 三层东西叠在同一块提示里:一句结论、一份清单、一条日志地址。各自之间横一条自己颜色的发丝线,读的人才看得出哪一段结束了——只靠间距的话,几十条同样长短的明细会连成一片。 */? <div className="mt-3 border-t border-current/20 pt-3">@@ -108,8 +111,8 @@ function Outcome(</ul></div>{details.log- /* 日志地址使用次级文字色,分隔线沿用错误提示的红色。 */- ? <div className="mt-3 border-t border-border-error-default/20 pt-3 text-text-secondary">+ /* 日志地址与分隔线使用次级文字色。 */+ ? <div className="mt-3 border-t border-current/20 pt-3 text-text-secondary"><PathLine path={details.log} prefix="完整记录:" className="text-caption-1-regular"onRevealed={toast} /></div>@@ -118,6 +121,7 @@ function Outcome(</div>: null}>{problem || state.error || '处理未完成,请重试'}+ {partial ? `\n${PARTIAL_RESULT_TEXT}` : null}</Note>: null}{settled?.status === 'complete'diff --git a/frontend/src/react/library-processing/library-processing-notice.tsx b/frontend/src/react/library-processing/library-processing-notice.tsxindex 4c312634b..9d2c7b07f 100644--- a/frontend/src/react/library-processing/library-processing-notice.tsx+++ b/frontend/src/react/library-processing/library-processing-notice.tsx@@ -7,7 +7,7 @@ import { LinkButton } from '@/components/base/buttons/link-button';import { cx } from '@/utils/cx';import { errorMessage } from '../../api';import type { LibraryProcessingProps } from '../bundle';-import { DISCONNECTED_TEXT, processingActive, remainingTime, type LibraryProcessingData } from './library-processing';+import { ALL_CONTENT_URL, DISCONNECTED_TEXT, PARTIAL_RESULT_TEXT, processingActive, processingHasPartialResult, remainingTime, type LibraryProcessingData } from './library-processing';import { ProcessingControls } from './processing-controls';import { useLibraryProcessingJob } from './use-library-processing';import { ProcessingLine } from './processing-line';@@ -37,7 +37,8 @@ export function ProcessingNoticePanel({ state, problem = '', measure = false }:const bodyId = useId();const [trafficExpanded, setTrafficExpanded] = useState(false);const panel = useRef<HTMLElement>(null);- const failed = state?.status === 'failed';+ const partial = !problem && processingHasPartialResult(state);+ const failed = state?.status === 'failed' && !partial;const active = processingActive(state);useEffect(() => { setExpanded(expandedFor(state?.job_id)); setTrafficExpanded(false) }, [state?.job_id]);const toggle = () => {@@ -61,9 +62,9 @@ export function ProcessingNoticePanel({ state, problem = '', measure = false }:observer.observe(node);return () => { disposed = true; observer.disconnect(); document.documentElement.style.removeProperty('--processing-toast-space') };}, [measure]);- if (!problem && !active && !failed) return null;- const warning = !!problem || !!state?.stalled;- const title = failed ? '扫描与资料采集未完成' : state?.status === 'paused' ? '扫描与采集已暂停' : '扫描与采集';+ if (!problem && !active && !failed && !partial) return null;+ const warning = !!problem || !!state?.stalled || partial;+ const title = partial ? '处理已结束,部分项目需处理' : failed ? '扫描与采集已中断' : state?.status === 'paused' ? '扫描与采集已暂停' : '扫描与采集';return <aside ref={panel} data-processing-dock="" data-processing-tone={failed ? 'error' : warning ? 'warning' : 'neutral'}aria-label="扫描任务" role={failed ? 'alert' : 'status'}className={cx('flex min-w-0 flex-col border bg-background-primary-default p-4',@@ -97,14 +98,16 @@ export function ProcessingNoticePanel({ state, problem = '', measure = false }:{step.status === 'complete' ? <s className="wrap-anywhere">{step.label}</s> : <span className="wrap-anywhere">{step.label}</span>}</li>)}</ol> : null}- <p className="text-body-2-regular wrap-anywhere">{problem || (failed ? state?.error || '请查看并处理未完成项' : <ProcessingLine state={state!} />)}</p>+ <p className="text-body-2-regular wrap-anywhere">{problem || (failed || partial ? state?.error || '请查看并处理未完成项' : <ProcessingLine state={state!} />)}</p>+ {partial ? <p className="text-body-2-regular wrap-anywhere">{PARTIAL_RESULT_TEXT}</p> : null}{active && state?.stage && !state.steps?.length ? <p className="text-caption-1-regular text-text-tertiary">当前阶段 · {state.stage}</p> : null}{state?.stalled && !problem ? <p className="text-caption-1-regular">当前步骤耗时较长,正在等待进展</p> : null}</div></div></CollapseRegion><div className="flex flex-wrap items-center justify-between gap-2 pt-3"><LinkButton href="/data-cleanup#libraryProcessing" variant="secondary" size="small" trailingIcon={RiArrowRightLine}>- {problem || failed ? '打开扫描与采集' : '任务详情'}+ {problem || failed || partial ? '打开扫描与采集' : '任务详情'}</LinkButton>+ {partial ? <LinkButton href={ALL_CONTENT_URL} size="small" trailingIcon={RiArrowRightLine}>查看全部内容</LinkButton> : null}{active ? <ProcessingControls state={state!} disabled={!!problem} /> : null}</div></aside>;diff --git a/frontend/src/react/library-processing/library-processing.ts b/frontend/src/react/library-processing/library-processing.tsindex edb0061ba..df17a8446 100644--- a/frontend/src/react/library-processing/library-processing.ts+++ b/frontend/src/react/library-processing/library-processing.ts@@ -27,6 +27,8 @@ export interface LibraryProcessingData {metadata_only?: boolean;/** `idle` | `running` | `pausing` | `paused` | `complete` | `failed`。 */status: string;+ /** 本轮各阶段已处理完但留有问题,或执行中断。 */+ outcome?: 'complete' | 'partial' | 'interrupted';speed_mode?: ProcessingSpeed;eta_seconds_min?: number | null;eta_seconds_max?: number | null;@@ -123,6 +125,12 @@ export type ProcessingControlCommand =export const processingActive = (state?: LibraryProcessingData) =>!!state && ['running', 'pausing', 'paused'].includes(state.status);+export const processingHasPartialResult = (state?: LibraryProcessingData) =>+ state?.status === 'failed' && state.outcome === 'partial';++export const PARTIAL_RESULT_TEXT = '已入库的视频可在全部内容中浏览,未完成项可单独重试。';+export const ALL_CONTENT_URL = '/?loc=&thumb=0';+/** 时间向分钟取整;区间两端始终使用同一单位。 */export function remainingTime(state: LibraryProcessingData): string {if (!processingActive(state)) return '';diff --git a/frontend/test/catalog-onboarding.test.ts b/frontend/test/catalog-onboarding.test.tsindex dadc14916..239409419 100644--- a/frontend/test/catalog-onboarding.test.ts+++ b/frontend/test/catalog-onboarding.test.ts@@ -30,6 +30,10 @@ describe('馆藏与资料空状态', () => {it('JAV 与筛选无结果可查看未筛选内容', () => {expect(catalogEmptyHtml({ jav: true })).toContain('尚未补充发行资料');expect(catalogEmptyHtml({ filtered: true })).toContain('清除筛选');+ const page = document.createElement('div');+ page.innerHTML = catalogEmptyHtml({ jav: true, filtered: true });+ expect([...page.querySelectorAll('a')].map(link => link.getAttribute('href')))+ .toEqual(['/?loc=&thumb=0', '/data-cleanup#libraryProcessing']);});it('标签和各类实体没有资料时显示说明', () => {for (const kind of ['tags', 'performers', 'creators', 'studios', 'agencies', 'series']) {diff --git a/frontend/test/react/activity.test.tsx b/frontend/test/react/activity.test.tsxindex 8e3ad67b3..4ad9e5816 100644--- a/frontend/test/react/activity.test.tsx+++ b/frontend/test/react/activity.test.tsx@@ -97,6 +97,16 @@ function serve(...responses: (ActivityData | null)[]) {const page = () => <QueryClientProvider client={queryClient}><ActivityPage /></QueryClientProvider>;+it('扫描各阶段已结束且留有问题时显示部分结果状态', async () => {+ serve(payload({ finished: [run({ task_key: 'library-processing', task_label: '扫描与采集',+ status: 'failed', finished_at: '2026-09-11T10:04:00Z',+ result_summary: { outcome: 'partial', issue_count: 2 }, error: '2 项需要处理' })] }));+ const host = await mount(page());+ expect(host.textContent).toContain('部分项目需处理');+ expect(host.textContent).toContain('2 项需要处理');+ expect(host.textContent).not.toContain('partial');+});+it('追更检查的问题详情绑定任务快照并提供来源入口', async () => {serve(payload({ finished: [run({ status: 'succeeded', result_summary: { source_failed: 1,issues: [{ source: 7, label: '示例作者', provider: '示例站点', kind: '检查失败', error: 'HTTP 403' }] } })] }));diff --git a/frontend/test/react/library-processing.test.tsx b/frontend/test/react/library-processing.test.tsxindex 004bbaab6..0cb6ebd44 100644--- a/frontend/test/react/library-processing.test.tsx+++ b/frontend/test/react/library-processing.test.tsx@@ -110,6 +110,28 @@ it('来源说没有只报一个数,不算问题也不提供失败重试', asynexpect(host.querySelector('details')).toBeNull();});+it('已结束的部分结果提供浏览与定向重试,中断保持错误提示', async () => {+ const state: LibraryProcessingData = { status: 'failed', outcome: 'partial', job_id: 'partial',+ issue_count: 2, error: '2 项需要处理', retryable_asset_ids: [7],+ issue_preview: [{ asset_id: 7, message: '视频抽帧超时' }] };+ const served = await open(state, method => method === 'POST' ? { status: 'running', job_id: 'retry' } : state);+ const host = await mount(card({ toast: vi.fn() }));+ const banner = await mount(notice({ toast: vi.fn(), mode: 'notice' }));+ for (const surface of [host, banner]) {+ expect(surface.textContent).toContain('处理已结束,部分项目需处理');+ expect(surface.textContent).toContain('已入库的视频可在全部内容中浏览');+ expect(surface.querySelector('a[href="/?loc=&thumb=0"]')?.textContent).toBe('查看全部内容');+ expect(surface.querySelector('[role="alert"]')).toBeNull();+ }+ expect(banner.querySelector('[data-processing-tone]')?.getAttribute('data-processing-tone')).toBe('warning');+ await click(buttonNamed('立即重试未完成项', host));+ expect(served.posts()).toEqual([{ job_id: 'partial', retry: [7] }]);+ await act(async () => { queryClient.setQueryData(LIBRARY_PROCESSING_KEY,+ { ...state, outcome: 'interrupted', error: '处理被中断' }); });+ expect(banner.querySelector('[role="alert"]')?.textContent).toContain('扫描与采集已中断');+ expect(banner.querySelector('a[href="/?loc=&thumb=0"]')).toBeNull();+});+it('扫描与补全方式共用一颗主键加一个下拉,各自交自己的阶段', async () => {const served = await open({ status: 'idle' }, () => ({ status: 'complete' }));const host = await mount(card({ toast: vi.fn() }));diff --git a/scripts/test_runner.py b/scripts/test_runner.pyindex 3f5f3698b..e962bba4f 100644--- a/scripts/test_runner.py+++ b/scripts/test_runner.py@@ -74,7 +74,7 @@ SCOPES: dict[str, tuple[str, ...]] = {"test_mdns.py", "test_netwatch.py", "test_certs.py","test_review_mirror.py", "test_runtime_prepare.py"),"metadata": ("test_custom_metadata.py", "test_scraping_access.py", "test_browser_transport.py", "test_metadata*.py", "test_genre_taxonomy.py", "test_processing_control.py", "test_processing_traffic.py", "test_processing_inventory.py",- "test_fc2*.py", "test_local_poster.py",+ "test_fc2*.py", "test_local_poster.py", "test_media_io.py","test_community_catalog.py","test_babepedia_match.py","test_western_artwork.py",@@ -217,6 +217,7 @@ AUTO_SCOPE_FILES: dict[str, tuple[str, ...]] = {# 模块名与测试文件名对不上,按名字推不出来,不指明就退化成 full。"src/peach/library_processing.py": ("metadata", "web"),"src/peach/local_poster.py": ("metadata", "web"),+ "src/peach/media_io.py": ("metadata", "media", "tooling"),"src/peach/processing_control.py": ("media", "metadata", "web"),# 刮削后继:主体测试 `test_followups.py` 与 `test_studio_followup.py`,按名字推不出来。"src/peach/avatar_followup.py": ("catalog", "media", "tooling"),diff --git a/src/peach/cli.py b/src/peach/cli.pyindex 5bcd10fd4..b43ae1fdf 100644--- a/src/peach/cli.py+++ b/src/peach/cli.py@@ -707,6 +707,13 @@ def build_parser() -> argparse.ArgumentParser:local_image.add_argument('output', type=Path)local_image.set_defaults(handler=lambda args: local_image_main([str(args.source), str(args.output)]))+ from .media_io import main as media_read_main, OPERATIONS+ media_read = commands.add_parser('media-read', help='限时读取媒体目录与配套文件')+ media_read.add_argument('operation', choices=OPERATIONS)+ media_read.add_argument('path')+ media_read.add_argument('value', nargs='?', default='')+ media_read.set_defaults(handler=lambda args: media_read_main([args.operation, args.path, args.value]))+init = commands.add_parser("init", help="首次运行:不带参数在终端里问答;带任何参数或 --no-input 走非交互")init.add_argument("--no-input", action="store_true",diff --git a/src/peach/hardware_transcode.py b/src/peach/hardware_transcode.pyindex fbcc6653c..a69c7a864 100644--- a/src/peach/hardware_transcode.py+++ b/src/peach/hardware_transcode.py@@ -88,7 +88,8 @@ def frame_decode_options(ffmpeg: str, source: str) -> tuple[str, ...]:codec = ""ffprobe = Path(ffmpeg).with_name("ffprobe" + Path(ffmpeg).suffix)try:- stat = Path(source).stat()+ from .media_io import file_stat+ stat = file_stat(source, timeout=5)if ffprobe.is_file():codec = _frame_codec(str(ffprobe), source, stat.st_size, stat.st_mtime_ns)except OSError:diff --git a/src/peach/library_processing.py b/src/peach/library_processing.pyindex 6ca8fa7eb..3040d3151 100644--- a/src/peach/library_processing.py+++ b/src/peach/library_processing.py@@ -27,7 +27,8 @@ from .profiles import read_settingsfrom .images import measure_image_filefrom .jav_cover_fetch import MIN_WIDTH, DeadlineExceeded, NotFoundfrom .sources.base import SourceFailure-from .library_nfo import directory_files, read_nfo, sidecars, local_art, SidecarIndex+from .library_nfo import sidecars, SidecarIndex+from .media_io import directory_files, read_nfo, local_art, root_online, directory_entries, file_statfrom .genre_decisions import load_genre_decisionsfrom .metadata import extract_catalog_evidence, extract_peach_fields, validate_provider_codefrom . import metadata_routes@@ -35,12 +36,12 @@ from . import media_identityfrom . import junkfrom . import sample_followupfrom .metadata_policy import SOURCE_SPECS, preferred_tag_source-from .platform import root_online, translate_ledger_path+from .platform import translate_ledger_pathfrom .review_csv import read_rows, write_rowsfrom .scan import scan_locationfrom .fsutil import atomic_write_textfrom .ffmpeg import FFmpegResolver-from .jobs import DiskGuard+from .jobs import DiskGuard, JobPolicyErrorfrom .media_probe import probe_unmeasuredfrom .media_sources import cost_forfrom .media_processing_policy import metadata_only@@ -384,6 +385,7 @@ class LibraryMetadataProvider:proxy_options={'trust_env': False} if len(direct_sites) == len(sites)else peach_proxy.client_options(self.secrets_root), direct_sites=direct_sites)except Exception as error: # noqa: BLE001 - 桥没装、venv 坏了、超时:整档未取得,原因给人看+ _raise_task_failure(error)return Unavailable(f'amane 桥:{str(error).strip() or describe_failure(error)}')raw_sites = report.get('sites')raw_sites = raw_sites if isinstance(raw_sites, dict) else {}@@ -456,6 +458,7 @@ class LibraryMetadataProvider:return foundraiseexcept Exception as error:+ _raise_task_failure(error)if is_missing(error):said_no.append(source)continue@@ -527,6 +530,7 @@ class LibraryMetadataProvider:raisebreakexcept Exception as error: # noqa: BLE001 - 原因由调用方汇总成一句话+ _raise_task_failure(error)if not is_missing(error):state['problems'].append(error)finally:@@ -551,6 +555,7 @@ class LibraryMetadataProvider:try:cache[code] = [(ONEPONDO.name, self.site(ONEPONDO.name, code, deadline=deadline))]except Exception as error: # noqa: BLE001 - 原因由调用方汇总成一句话+ _raise_task_failure(error)cache[code] = errorif isinstance(cache[code], Exception):raise _again(cache[code])@@ -592,6 +597,7 @@ class LibraryMetadataProvider:except DeadlineExceeded:raiseexcept Exception as error: # noqa: BLE001 - 交给 `cover()` 汇总成一句话+ _raise_task_failure(error)# 「没有」交回 `cover()` 时是传输层那一档的 `NotFound`:它按这一档跳到社区来源。if is_missing(error):raise NotFound(str(error)) from error@@ -734,6 +740,11 @@ def decorate(state, *, now=None):path=str(row.get('path') or ''), message=str(row.get('message') or ''))for row in legacy[:ISSUE_PREVIEW_LIMIT]]state['issues_truncated'] = len(legacy) > ISSUE_PREVIEW_LIMIT+ # 完整走完各阶段且留有问题的历史快照仍可展示已取得的结果。+ if state.get('status') == 'failed' and 'outcome' not in state:+ state['outcome'] = ('partial' if state.get('stage') == '处理结束'+ and state.get('completed_at') and state.get('issue_count')+ else 'interrupted')if state.get('status') != 'running' or state.get('waiting_for_update'):return statenow = time.time() if now is None else now@@ -827,7 +838,7 @@ def snapshot(config):if state.get('status') == 'running':# 拿得到锁说明写入者已经不在了。结论写回文件:只改副本的话,另一个读取者# 正好短暂占着锁时会读到原样的「运行中」,界面就在两种状态之间来回跳。- state.update(status='failed', error='处理被中断,可重试未完成的部分。',+ state.update(status='failed', outcome='interrupted', error='处理被中断,可重试未完成的部分。',completed_at=state.get('last_progress_at') or time.time())_save(state_path(config), state)except Timeout:@@ -896,22 +907,25 @@ def _read_local_posters(jobs, state, *, update, issue):workers = {'low': 1, 'standard': 2, 'high': 4}[state['speed_mode']]while submitted < len(jobs) and len(futures) < workers:row, source, code, target = jobs[submitted]- futures[executor.submit(copy_context().run, read_jpeg, source, isolated=row.get('location') != 'local')] = (+ futures[executor.submit(copy_context().run, read_jpeg, source, isolated=True)] = (row, code, target, time.time())submitted += 1completed, _ = wait(futures, return_when=FIRST_COMPLETED)for future in completed:row, code, target, _ = futures.pop(future)try:- if not target.is_file():- data, size = future.result()- install_cover(target, code, data, size)- state['covers'] += 1+ data, size = future.result()+ except InterruptedError:+ raiseexcept (OSError, ValueError, subprocess.TimeoutExpired) as error:failed.add(row['id'])message = ('读取配套图片超时,可稍后重试' if isinstance(error, subprocess.TimeoutExpired)else '配套图片无法读取')issue(row, message, action='reading_local_cover', retryable=True)+ else:+ if not target.is_file():+ install_cover(target, code, data, size)+ state['covers'] += 1done += 1update(checked=done, covers=state['covers'])return failed@@ -1169,13 +1183,22 @@ class _DirectoryIndex:def __init__(self):self._cache: dict[str, dict[str, Path]] = {}+ self._errors: dict[str, OSError] = {}self._sidecars: dict[str, SidecarIndex] = {}def files(self, directory: Path) -> dict[str, Path]:key = str(directory)+ if key in self._errors:+ raise self._errors[key]found = self._cache.get(key)if found is None:- found = self._cache[key] = directory_files(directory)+ try:+ found = self._cache[key] = directory_files(directory)+ except InterruptedError:+ raise+ except OSError as error:+ self._errors[key] = error+ raisereturn founddef sidecars(self, video):@@ -1283,9 +1306,14 @@ class _MetadataResults:self.received(fresh)def save(self, found):- entries = [self.remote._evidence(name, self.code, payload) for name, payload in found- if self.known.get(name) != payload]- self.cached(entries)+ try:+ entries = [self.remote._evidence(name, self.code, payload) for name, payload in found+ if self.known.get(name) != payload]+ self.cached(entries)+ except InterruptedError:+ raise+ except OSError as error:+ raise _ProcessingPersistenceError(f'资料证据无法保存:{error}') from errorclass _RemoteSession:@@ -1505,6 +1533,7 @@ class _RemoteSession:issue(row, '外部资料在预算时间内未取得,可稍后重试', action=action, retryable=True)return []except Exception as error:+ _raise_task_failure(error)if is_missing(error):for name in getattr(error, 'sites', None) or members:self._record_miss(name, code)@@ -1546,6 +1575,7 @@ class _RemoteSession:try:payload = self.provider().query(code, source, deadline=deadline)except Exception as error:+ _raise_task_failure(error)if isinstance(error, DeadlineExceeded):self.reset()issue(row, 'JavDB 标签在预算时间内未取得', action='querying_metadata', retryable=True)@@ -1583,6 +1613,7 @@ class _RemoteSession:self._record_miss('cover', code, lineup)issue(row, MISS_MESSAGES[action], action=action, retryable=True)except Exception as error:+ _raise_task_failure(error)paused = source_paused(error)issue(row, ('封面本趟没轮到:' if paused else '封面未取得:') + describe_failure(error),action=action, retryable=True, paused=paused)@@ -1741,8 +1772,14 @@ def _online_source_root(source, root, chosen_paths, *, retrying, issue):for path in chosen_paths.get(source, ()))if not relevant:return None- if root_online(translated_root):- return translated_root+ try:+ if root_online(translated_root):+ return translated_root+ except InterruptedError:+ raise+ except OSError as error:+ issue(None, f'{source} 来源目录读取失败:{error}', action='reading_local')+ return Noneissue(None, f'{source} 来源离线', action='reading_local')return None@@ -1784,6 +1821,8 @@ def _scan_sources(config, db_path, *, locations, asset_ids, stage, guard, updatesave_checkpoint()registered = scan_location(db_path, source, root, declared_roots=config.locations,mounts=mounts, report=lambda line: None,+ read_directory=directory_entries,+ onerror=lambda error: issue(None, str(error), action='scanning_files'),resume_state=scan_checkpoints.get(key), save_checkpoint=remember,progress=lambda files, size: update(stage='扫描文件', scanned=result.scanned + files,@@ -1975,6 +2014,18 @@ def _asset_selection(db_path, asset_ids):return chosen+PREVIEW_TIMEOUT_SECONDS = 120.0+++class _ProcessingPersistenceError(RuntimeError):+ """公共进度或检查点未保存,必须由任务层处理。"""+++def _raise_task_failure(error):+ if isinstance(error, (InterruptedError, JobPolicyError, sqlite3.Error, _ProcessingPersistenceError)):+ raise error++class _PreviewCaptureError(ValueError):"""预览失败的操作提示及脱敏工具证据。"""@@ -1995,6 +2046,14 @@ def _generate_preview(config, row, database, resolver, *, progress):from .fsutil import atomic_pathfrom .previews import PreviewUnavailable+ deadline = deadline_after(PREVIEW_TIMEOUT_SECONDS)++ def remaining(limit):+ value = deadline - time.monotonic()+ if value <= 0:+ raise _PreviewCaptureError(dict(reason='timeout', timeout_seconds=PREVIEW_TIMEOUT_SECONDS))+ return min(limit, value)+root = (config.directory('generated') / 'snapshots').resolve()previous = row.get('snapshot_path')if previous:@@ -2005,14 +2064,15 @@ def _generate_preview(config, row, database, resolver, *, progress):if choice is None:raise PreviewUnavailable('未找到 FFmpeg,无法生成预览图,请在诊断页检查工具状态')video = translate_ledger_path(row['path'])- if not video.is_file():+ import stat+ if not stat.S_ISREG(file_stat(video, timeout=remaining(20)).st_mode):raise PreviewUnavailable('媒体文件不可访问')duration = row.get('duration') or 0if duration <= 0:probe = resolver.ffprobe()if probe is None:raise PreviewUnavailable('未找到 ffprobe,无法读取视频时长')- measured = media_probe.measure(str(probe.path), row['id'], str(video))+ measured = media_probe.measure(str(probe.path), row['id'], str(video), timeout=remaining(20))duration = measured[0]if duration <= 0:raise PreviewUnavailable('视频时长未取得,请检查媒体文件后重试')@@ -2032,7 +2092,7 @@ def _generate_preview(config, row, database, resolver, *, progress):diagnostic = {}if not frame_capture.capture_with_retry(str(choice.path), str(video), timestamp, frames / f's{index:02d}.jpg',- diagnostics=diagnostic):+ diagnostics=diagnostic, timeout=remaining(45)):for attempt in diagnostic.get('attempts', []):attempt['stderr'] = attempt.get('stderr', '').replace(str(video), '<media>')[-4096:]diagnostic['stderr'] = diagnostic.get('stderr', '').replace(str(video), '<media>')[-4096:]@@ -2041,11 +2101,15 @@ def _generate_preview(config, row, database, resolver, *, progress):tool_name=Path(choice.path).name)raise _PreviewCaptureError(diagnostic)progress()- with atomic_path(destination) as output:- if not frame_capture.tile_frames(str(choice.path), str(frames / 's%02d.jpg'), 3, 3, output):- raise ValueError('预览图未生成,请检查媒体文件后重试')- if not measure_image_file(output):- raise ValueError('预览图无法读取,请重试')+ try:+ with atomic_path(destination) as output:+ if not frame_capture.tile_frames(str(choice.path), str(frames / 's%02d.jpg'), 3, 3, output,+ timeout=remaining(60)):+ raise ValueError('预览图未生成,请检查媒体文件后重试')+ if not measure_image_file(output):+ raise ValueError('预览图无法读取,请重试')+ except OSError as error:+ raise _ProcessingPersistenceError(f'预览图无法保存:{error}') from errorprogress()with database.write_transaction() as connection:result = connection.execute(@@ -2070,17 +2134,22 @@ def _generate_previews(config, rows, database, *, update, issue, guard,for index, row in enumerate(rows):if metadata_only(config.directory('state')):break+ started = time.time()+ deadline = deadline_after(PREVIEW_TIMEOUT_SECONDS)def progress(row=row, index=index, made=made):guard.check()- update(stage='生成预览图', checked=base_done + index, total=base_done + len(rows), previews=made,- current_asset_id=row['id'], current_asset_name=Path(str(row['name'] or '')).name,- current_action='generating_preview', current_started_at=time.time(),- current_deadline_at=time.time() + 90)+ try:+ update(stage='生成预览图', checked=base_done + index, total=base_done + len(rows), previews=made,+ current_asset_id=row['id'], current_asset_name=Path(str(row['name'] or '')).name,+ current_action='generating_preview', current_started_at=started,+ current_deadline_at=time.time() + max(0, deadline - time.monotonic()))+ except InterruptedError:+ raise+ except OSError as error:+ raise _ProcessingPersistenceError(f'处理进度无法保存:{error}') from errorprogress()try:made += int(_generate_preview(config, row, database, resolver, progress=progress))- update(previews=made)- checkpoint(row)except InterruptedError:raiseexcept (OSError, ValueError, subprocess.SubprocessError, PreviewUnavailable) as error:@@ -2091,6 +2160,9 @@ def _generate_previews(config, rows, database, *, update, issue, guard,'生成预览图失败,请检查 FFmpeg 与目录权限后重试')details = {'diagnostics': error.diagnostics} if isinstance(error, _PreviewCaptureError) else {}issue(row, message, action='generating_preview', retryable=True, **details)+ else:+ update(previews=made)+ checkpoint(row)update(checked=base_done + index + 1, previews=made, current_asset_id=None, current_asset_name='',current_action='', current_started_at=None, current_deadline_at=None)return made@@ -2173,8 +2245,11 @@ def _read_local_metadata(config, db_path, row, cover_root, listing, state, updatvideo = translate_ledger_path(row['path'])try:files = listing.files(video.parent)- except OSError:- files = {}+ except InterruptedError:+ raise+ except OSError as error:+ issue(row, str(error), action='reading_local', retryable=True)+ return Noneif video.name.casefold() not in files:issue(row, '媒体文件不可访问', action='reading_local', retryable=True)return None@@ -2188,8 +2263,10 @@ def _read_local_metadata(config, db_path, row, cover_root, listing, state, updatif payload['id'] and code and not same_release_code(code, payload['id']):raise ValueError('文件名与 NFO 番号冲突,请复核')code = code or _provider_code(payload['id'])+ except InterruptedError:+ raiseexcept (OSError, ValueError, ET.ParseError) as error:- issue(row, str(error), action='reading_local')+ issue(row, str(error), action='reading_local', retryable=isinstance(error, OSError))payload = Noneif code and not row['code']:with closing(sqlite3.connect(db_path, timeout=30)) as connection, connection:@@ -2199,6 +2276,8 @@ def _read_local_metadata(config, db_path, row, cover_root, listing, state, updatposter_root = cover_root if code else config.directory('generated') / 'posters'_queue_local_poster(video, code or f"{row['id']}_4", poster_root, payload, posters=posters,enqueue=lambda source, key, target: poster_jobs.append((row, source, key, target)))+ except InterruptedError:+ raiseexcept (OSError, ValueError):issue(row, '配套图片无法读取', action='reading_local_cover', retryable=True)if payload:@@ -2466,6 +2545,7 @@ def process_library(config, db_path, candidate_root, cover_root, *, location='coif stage == SCAN_STAGE:# `checked`/`total` 在探时长时借给进度条用过;只扫描这一段没有采集,读数归零。update(status='failed' if state['issue_count'] else 'complete',+ outcome='partial' if state['issue_count'] else 'complete',stage='处理结束', completed_at=time.time(), checked=0, total=0,error=issue_summary(state['issue_count'], state['paused_count']))return state@@ -2483,6 +2563,7 @@ def process_library(config, db_path, candidate_root, cover_root, *, location='coscope_ids, protected_ids, state, update)finish_step('media')update(status='failed' if state['issue_count'] else 'complete', stage='处理结束',+ outcome='partial' if state['issue_count'] else 'complete',completed_at=time.time(), error=issue_summary(state['issue_count'], state['paused_count']))return stateoutput = candidate_root / 'library-metadata-field-candidates.csv'@@ -2604,13 +2685,14 @@ def process_library(config, db_path, candidate_root, cover_root, *, location='cosummary['auto_rejected'] = summary.get('auto_rejected', 0) + state['auto_rejected']finish_step('collect')update(status='failed' if state['issue_count'] else 'complete', stage='处理结束',+ outcome='partial' if state['issue_count'] else 'complete',checked=len(rows), total=len(rows),**summary,error=issue_summary(state['issue_count'], state['paused_count']),completed_at=time.time(), current_asset_id=None, current_asset_name='',current_action='', current_started_at=None, current_deadline_at=None)except Exception:- state.update(status='failed', error='处理被中断。核对媒体目录后重试。', completed_at=time.time())+ state.update(status='failed', outcome='interrupted', error='处理被中断。核对媒体目录后重试。', completed_at=time.time())state.update(interrupted_state(control))state['traffic'] = traffic.snapshot(finished=state.get('status') == 'failed')_save(path, state)diff --git a/src/peach/media_io.py b/src/peach/media_io.pynew file mode 100644index 000000000..7af27e689--- /dev/null+++ b/src/peach/media_io.py@@ -0,0 +1,152 @@+"""在可终止的只读子进程中访问媒体挂载;账本与任务状态由调用方保存。"""+from __future__ import annotations++import argparse+import base64+import errno+import json+import os+from pathlib import Path+import subprocess+import sys+from types import SimpleNamespace++TIMEOUT_SECONDS = 20.0+OPERATIONS = ('directory', 'files', 'nfo', 'art', 'online', 'resolve', 'stat')+++def _request(operation, path, *, value='', timeout=None):+ command = ([sys.executable, 'media-read'] if getattr(sys, 'frozen', False)+ else [sys.executable, '-m', 'peach.media_io'])+ try:+ result = subprocess.run([*command, operation, str(path), value],+ stdin=subprocess.DEVNULL, stdout=subprocess.PIPE, stderr=subprocess.PIPE,+ timeout=TIMEOUT_SECONDS if timeout is None else timeout,+ creationflags=subprocess.CREATE_NO_WINDOW if os.name == 'nt' else 0)+ except subprocess.TimeoutExpired as error:+ raise TimeoutError(errno.ETIMEDOUT, '读取媒体目录或配套文件超时,已跳过,可重试', str(path)) from error+ if result.returncode:+ raise OSError(errno.EIO, '媒体读取进程未完成', str(path))+ response = json.loads(result.stdout)+ if 'error' in response:+ error = response['error']+ if error['kind'] == 'value':+ raise ValueError(error['message'])+ raise OSError(error.get('errno'), error['message'], str(path))+ return response['value']+++class DirectoryEntry:+ """目录快照中的条目,属性访问不再触碰媒体盘。"""++ def __init__(self, value):+ self.__dict__.update(value)++ def is_dir(self):+ return self.directory++ def is_symlink(self):+ return self.symlink++ def stat(self):+ if self.error:+ raise OSError(errno.EIO, self.error, self.path)+ return SimpleNamespace(**self.attributes)+++def directory_entries(path):+ return [DirectoryEntry(value) for value in _request('directory', path)]+++def directory_files(path):+ return {name: Path(value) for name, value in _request('files', path).items()}+++def read_nfo(path):+ from .processing_traffic import record_media_read+ payload, encoded = _request('nfo', path)+ raw = base64.b64decode(encoded)+ record_media_read(path, len(raw))+ return payload, raw+++def local_art(video, payload):+ value = payload.get('local_art', '')+ if not value or '://' in value:+ return None+ found = _request('art', video, value=value)+ return Path(found) if found else None+++def root_online(path):+ return _request('online', path)+++def resolve_case_insensitive(path):+ from .platform import translate_ledger_path+ return _request('resolve', translate_ledger_path(path))+++def file_stat(path, *, timeout=None):+ return SimpleNamespace(**_request('stat', path, timeout=timeout))+++def _attributes(stat):+ return {key: getattr(stat, key) for key in ('st_size', 'st_mtime', 'st_mtime_ns', 'st_mode')}+++def _read(operation, path, value):+ if operation == 'directory':+ result = []+ with os.scandir(path) as entries:+ for entry in entries:+ item = dict(name=entry.name, path=entry.path, directory=False, symlink=False,+ attributes={}, error='')+ try:+ item.update(directory=entry.is_dir(), symlink=entry.is_symlink())+ if not item['directory']:+ item['attributes'] = _attributes(entry.stat())+ except OSError as error:+ item['error'] = str(error)+ result.append(item)+ return result+ if operation in ('files', 'nfo', 'art'):+ from . import library_nfo+ if operation == 'files':+ return {key: str(value) for key, value in library_nfo.directory_files(path).items()}+ if operation == 'art':+ found = library_nfo.local_art(path, {'local_art': value})+ return str(found) if found else None+ payload, raw = library_nfo.read_nfo(path)+ return payload, base64.b64encode(raw).decode('ascii')+ if operation == 'online':+ from .platform import root_online+ return root_online(path)+ if operation == 'resolve':+ from .media import resolve_case_insensitive+ return str(resolve_case_insensitive(str(path)))+ return _attributes(path.stat())+++def main(argv=None):+ parser = argparse.ArgumentParser(description='限时读取媒体目录与配套文件')+ parser.add_argument('operation', choices=OPERATIONS)+ parser.add_argument('path', type=Path)+ parser.add_argument('value', nargs='?', default='')+ args = parser.parse_args(argv)+ try:+ response = {'value': _read(args.operation, args.path, args.value)}+ except (OSError, ValueError) as error:+ response = {'error': dict(kind='os' if isinstance(error, OSError) else 'value',+ errno=getattr(error, 'errno', None), message=str(error))}+ except Exception as error:+ from xml.etree.ElementTree import ParseError+ if not isinstance(error, ParseError):+ raise+ response = {'error': dict(kind='value', message=str(error))}+ print(json.dumps(response, ensure_ascii=True))+ return 0+++if __name__ == '__main__':+ raise SystemExit(main())diff --git a/src/peach/media_probe.py b/src/peach/media_probe.pyindex b7c4bbea2..b1b2d7d86 100644--- a/src/peach/media_probe.py+++ b/src/peach/media_probe.py@@ -23,7 +23,7 @@ from contextvars import copy_contextfrom pathlib import PureWindowsPathfrom .jobs import ACTIVE_ASSET_SQL-from .media import resolve_case_insensitive+from .media_io import resolve_case_insensitivefrom .media_sources import cost_forfrom .strm import skip_background_readfrom .processing_control import CURRENT, checkpoint@@ -100,6 +100,8 @@ def measure(ffprobe: str, asset_id: int, path: str, timeout: float = TIMEOUT_SECtry:duration, width, height, codec, fps, audio = probe_file(ffprobe, resolve_case_insensitive(path), timeout)+ except InterruptedError:+ raiseexcept Exception as error: # 超时、文件读不到、输出不是 JSON:对这一行都是「没拿到」if isinstance(error, subprocess.TimeoutExpired):from .processing_traffic import media_statisticsdiff --git a/src/peach/scan.py b/src/peach/scan.pyindex 386142342..f7d877f54 100644--- a/src/peach/scan.py+++ b/src/peach/scan.py@@ -372,7 +372,7 @@ class ScanResult:f"垃圾移入回收站 {self.junk_isolated:,} 个,待复核 {self.junk_review:,} 个")-def _walk(top: Path, pending: list[str] | None = None, *, onerror=lambda error: None):+def _walk(top: Path, pending: list[str] | None = None, *, onerror=lambda error: None, read_directory=None):"""自顶向下遍历,每个目录给出它里面的非目录条目(`os.DirEntry`)。与 `os.walk` 的差别只在一处:条目的大小与时间从 `DirEntry.stat()` 拿。Windows 的目录@@ -384,8 +384,11 @@ def _walk(top: Path, pending: list[str] | None = None, *, onerror=lambda error:checkpoint('scan')directory = stack.pop()try:- with os.scandir(directory) as scanner:- entries = list(scanner)+ if read_directory is not None:+ entries = read_directory(directory)+ else:+ with os.scandir(directory) as scanner:+ entries = list(scanner)except OSError as error:onerror(error)continue@@ -458,6 +461,7 @@ def _scan_location(progress: Callable[[int, int], None] = lambda files, total_bytes: None,resume_state: dict | None = None,save_checkpoint: Callable[[dict], None] = lambda state: None,+ read_directory=None, onerror=lambda error: None,) -> ScanResult:"""遍历 `root`(数据库中的路径格式)对应的本机目录,把文件元数据 upsert 进 `asset`。@@ -500,7 +504,7 @@ def _scan_location(try:connection.execute("PRAGMA journal_mode=WAL")registered = _registered_paths(connection, location, root)- for directory, entries in _walk(walk_root, pending):+ for directory, entries in _walk(walk_root, pending, read_directory=read_directory, onerror=onerror):checkpoint('scan')relative = Path(directory).relative_to(walk_root).partscontinuing = directory == previous.get('current_directory')@@ -522,7 +526,8 @@ def _scan_location(continuetry:stat = entry.stat()- except OSError:+ except OSError as error:+ onerror(error)continueledger_path = str(ledger_root.joinpath(*relative, name))mtime = time.strftime("%Y-%m-%d", time.localtime(stat.st_mtime))diff --git a/src/peach/web_library_processing.py b/src/peach/web_library_processing.pyindex 88716f18f..c7d750f10 100644--- a/src/peach/web_library_processing.py+++ b/src/peach/web_library_processing.py@@ -14,7 +14,7 @@ ACTIVE = ('running', 'pausing', 'paused')#: `asset_ids`、`completed_metadata` 等大字段,页面一个都不读;照发的话每页每 10 秒轮询一次#: 就是两兆多,还把媒体路径交给了浏览器。续跑与重试读的是 `_current()`,不经过这里。PUBLIC_FIELDS = frozenset({- 'run_id', 'metadata_only', 'status', 'speed_mode', 'eta_seconds_min', 'eta_seconds_max', 'eta_kind',+ 'run_id', 'metadata_only', 'status', 'outcome', 'speed_mode', 'eta_seconds_min', 'eta_seconds_max', 'eta_kind','eta_scope', 'eta_initial', 'job_id', 'stage', 'requested_stage', 'steps', 'checked', 'total','scanned', 'scanned_bytes', 'identified', 'candidates', 'auto_applied', 'covers', 'previews','performer_aliases', 'performer_avatars', 'performer_profile_conflicts',@@ -53,7 +53,7 @@ def q_library_processing(contract, _args):from .job_recovery import readrecovery = read(contract.db_path, 'library-processing')if state.get('status') not in ACTIVE and recovery.get('status') == 'blocked':- state.update(status='failed', error=f"任务未能自动恢复:{recovery.get('error') or '请重新发起任务'}")+ state.update(status='failed', outcome='interrupted', error=f"任务未能自动恢复:{recovery.get('error') or '请重新发起任务'}")# 上一趟任务的状态文件里没有这个字段,而它那份完整清单还在磁盘上:按 job_id# 推出地址补回去,界面才有得可给。if state.get('issue_count') and state.get('job_id') and not state.get('issues_log'):diff --git a/tests/test_local_poster.py b/tests/test_local_poster.pyindex 07fe2424b..a9088c55a 100644--- a/tests/test_local_poster.py+++ b/tests/test_local_poster.py@@ -127,7 +127,7 @@ class LocalPosterTests(unittest.TestCase):issue=lambda *_args, **_kwargs: self.fail('图片应可读取'))self.assertEqual((state['covers'], failed), (1, set()))- def test_mixed_sources_isolate_only_the_cloud_picture(self):+ def test_mixed_sources_isolate_every_picture(self):from peach.library_processing import _read_local_postersjobs = [(dict(id=index, name=f'{index}.mp4', location=location), self.source, str(index),self.root / 'covers' / f'{index}.jpg') for index, location in enumerate(('local', 'pikpak'))]@@ -136,4 +136,4 @@ class LocalPosterTests(unittest.TestCase):failed = _read_local_posters(jobs, state, update=lambda **_: None,issue=lambda *_args, **_kwargs: self.fail('图片应可读取'))self.assertEqual((state['covers'], failed), (2, set()))- self.assertEqual(run.call_count, 1)+ self.assertEqual(run.call_count, 2)diff --git a/tests/test_media_io.py b/tests/test_media_io.pynew file mode 100644index 000000000..9c3bd9e9b--- /dev/null+++ b/tests/test_media_io.py@@ -0,0 +1,177 @@+"""媒体读取超时的进程回收、问题隔离与公共写入边界。"""+import contextlib+import io+import json+from pathlib import Path+import subprocess+import sys+import tempfile+import unittest+from unittest.mock import Mock, patch+from types import SimpleNamespace++from peach import media_io, library_processing+++class MediaIoTests(unittest.TestCase):+ def setUp(self):+ self.root = Path(self.enterContext(tempfile.TemporaryDirectory())).resolve()+ self.config = Mock()+ self.config.directory.side_effect = lambda name: self.root / name++ def test_worker_reads_unicode_nfo_and_directory_attributes(self):+ source = self.root / '影片.nfo'+ raw = '<movie><title>测试影片</title><num>ABW-101</num></movie>'.encode()+ source.write_bytes(raw)+ payload, evidence = media_io.read_nfo(source)+ self.assertEqual((payload['title'], evidence), ('测试影片', raw))+ entries = media_io.directory_entries(self.root)+ self.assertEqual([(entry.name, entry.stat().st_size) for entry in entries], [(source.name, len(raw))])+ self.assertEqual(media_io.directory_files(self.root), {source.name: source})++ def test_timeout_reaps_reader_before_returning(self):+ children = []+ original_run, original_popen = subprocess.run, subprocess.Popen+ def spawn(*args, **kwargs):+ child = original_popen(*args, **kwargs)+ children.append(child)+ return child+ def blocked(_command, **options):+ return original_run([sys.executable, '-c', 'import time; time.sleep(60)'], **options)+ with patch.object(media_io, 'TIMEOUT_SECONDS', 0.2), \+ patch.object(media_io.subprocess, 'run', side_effect=blocked), \+ patch.object(media_io.subprocess, 'Popen', side_effect=spawn), \+ self.assertRaises(TimeoutError):+ media_io.directory_files(self.root)+ self.assertEqual(len(children), 1)+ self.assertIsNotNone(children[0].poll())++ def test_packaged_cli_dispatches_the_read_only_worker(self):+ from peach.cli import main+ output = io.StringIO()+ with contextlib.redirect_stdout(output):+ self.assertEqual(main(['media-read', 'online', str(self.root)]), 0)+ self.assertEqual(json.loads(output.getvalue()), {'value': True})++ def test_invalid_nfo_and_art_outside_media_directory_are_rejected(self):+ nfo = self.root / 'broken.nfo'+ nfo.write_text('<movie>', encoding='utf-8')+ with self.assertRaises(ValueError):+ media_io.read_nfo(nfo)+ outside = self.root / 'outside.jpg'+ outside.write_bytes(b'image')+ inside = self.root / 'media'+ inside.mkdir()+ self.assertIsNone(media_io.local_art(inside / 'video.mp4', {'local_art': '../outside.jpg'}))++ def test_failed_directory_is_attempted_once_in_a_task(self):+ listing = library_processing._DirectoryIndex()+ with patch.object(library_processing, 'directory_files', side_effect=TimeoutError('读取超时')) as read:+ for _ in range(3):+ with self.assertRaises(TimeoutError):+ listing.files(self.root)+ self.assertEqual(read.call_count, 1)++ def test_scan_continues_to_sibling_after_directory_timeout(self):+ from peach.scan import _walk+ good, bad = self.root / 'good', self.root / 'bad'+ good.mkdir()+ bad.mkdir()+ (good / 'video.mp4').write_bytes(b'video')+ def read(path):+ if Path(path) == bad:+ raise TimeoutError('目录读取超时')+ return media_io.directory_entries(path)+ errors = []+ walked = list(_walk(self.root, read_directory=read, onerror=errors.append))+ self.assertEqual(len(errors), 1)+ self.assertEqual([entry.name for directory, entries in walked if Path(directory) == good+ for entry in entries], ['video.mp4'])++ def test_cover_output_failure_interrupts_instead_of_marking_bad_media(self):+ row = dict(id=1, name='video.mp4')+ issue = Mock()+ with patch('peach.local_poster.read_jpeg', return_value=(b'image', (20, 30))), \+ patch('peach.cover_artwork.install_cover', side_effect=OSError('空间不足')), \+ self.assertRaisesRegex(OSError, '空间不足'):+ library_processing._read_local_posters(+ [(row, self.root / 'source.jpg', 'ABW-101', self.root / 'cover.jpg')],+ dict(speed_mode='standard', covers=0), update=lambda **_: None, issue=issue)+ issue.assert_not_called()++ def test_metadata_persistence_failure_propagates(self):+ remote = Mock()+ remote._evidence.side_effect = PermissionError('证据目录无法写入')+ result = library_processing._MetadataResults(remote, 'ABW-101', Mock())+ with self.assertRaises(library_processing._ProcessingPersistenceError) as caught:+ result.save([('r18dev', {'id': 'ABW-101'})])+ with self.assertRaises(library_processing._ProcessingPersistenceError):+ library_processing._raise_task_failure(caught.exception)++ def test_source_pause_request_is_not_a_file_failure(self):+ from peach.jobs import JobPaused+ for error in (InterruptedError('停止'), JobPaused('暂停')):+ with self.subTest(error=type(error)), self.assertRaises(type(error)):+ library_processing._raise_task_failure(error)++ def test_nfo_timeout_preserves_filename_code_for_external_collection(self):+ video = self.root / 'ABW-101.mp4'+ row = dict(id=1, name=video.name, path=str(video), code='ABW-101')+ listing = Mock()+ listing.files.return_value = {video.name.casefold(): video}+ listing.sidecars.return_value = (video.with_suffix('.nfo'), [])+ issues = Mock()+ with patch.object(library_processing, 'read_nfo', side_effect=TimeoutError('NFO 读取超时')):+ result = library_processing._read_local_metadata(+ Mock(), self.root / 'unused.db', row, self.root, listing,+ dict(identified=0, covers=0), Mock(), issues, [])+ self.assertEqual(result, ('ABW-101', True, None, []))+ self.assertTrue(issues.call_args.kwargs['retryable'])++ def test_preview_frames_share_one_deadline(self):+ video = self.root / 'video.mp4'+ video.write_bytes(b'video')+ row = dict(id=1, name=video.name, path=str(video), duration=30)+ config = Mock()+ config.directory.side_effect = lambda name: self.root / name+ resolver = Mock()+ resolver.ffmpeg.return_value = SimpleNamespace(path=Path('ffmpeg'))+ now, budgets = [100.0], []+ def capture(*_args, **options):+ budgets.append(options['timeout'])+ now[0] += options['timeout']+ return True+ with patch.object(library_processing.time, 'monotonic', side_effect=lambda: now[0]), \+ patch.object(library_processing, 'metadata_only', return_value=False), \+ patch('peach.frame_capture.capture_with_retry', side_effect=capture), \+ self.assertRaises(library_processing._PreviewCaptureError) as caught:+ library_processing._generate_preview(config, row, Mock(), resolver, progress=lambda: None)+ self.assertEqual(budgets, [45, 45, 30])+ self.assertEqual(caught.exception.diagnostics['reason'], 'timeout')++ def test_preview_timeout_continues_and_only_success_gets_checkpoint(self):+ rows = [dict(id=index, name=f'{index}.mp4', path=str(self.root / f'{index}.mp4'), location='local')+ for index in (1, 2)]+ issue, checkpoint = Mock(), Mock()+ with patch.object(library_processing, '_library_stages', return_value=lambda _: {'preview'}), \+ patch.object(library_processing, 'metadata_only', return_value=False), \+ patch.object(library_processing, '_generate_preview', side_effect=[TimeoutError('超时'), True]):+ made = library_processing._generate_previews(self.config, rows, Mock(), update=Mock(),+ issue=issue, guard=Mock(), checkpoint=checkpoint)+ self.assertEqual(made, 1)+ self.assertEqual(issue.call_args.args[0]['id'], 1)+ checkpoint.assert_called_once_with(rows[1])++ def test_preview_progress_write_failure_stops_the_batch(self):+ row = dict(id=1, name='video.mp4', path=str(self.root / 'video.mp4'), location='local')+ issue = Mock()+ def capture(_config, _row, _database, _resolver, *, progress):+ progress()+ return True+ with patch.object(library_processing, '_library_stages', return_value=lambda _: {'preview'}), \+ patch.object(library_processing, 'metadata_only', return_value=False), \+ patch.object(library_processing, '_generate_preview', side_effect=capture), \+ self.assertRaises(library_processing._ProcessingPersistenceError):+ library_processing._generate_previews(self.config, [row], Mock(),+ update=Mock(side_effect=[None, PermissionError('状态无法保存')]), issue=issue, guard=Mock())+ issue.assert_not_called()diff --git a/tests/test_metadata_library.py b/tests/test_metadata_library.pyindex c07bda809..5ab9410b9 100644--- a/tests/test_metadata_library.py+++ b/tests/test_metadata_library.py@@ -2635,6 +2635,21 @@ class LibraryWatchdogTests(unittest.TestCase):{'asset_id': 1, 'title': '', 'path': '', 'message': '未识别到番号'})self.assertTrue(state['issues_truncated'])+ def test_finished_issues_and_interruption_have_distinct_outcomes(self):+ finished = dict(status='failed', stage='处理结束', completed_at=123,+ issue_count=14, retryable_asset_ids=[1, 2])+ self.assertEqual(decorate(finished)['outcome'], 'partial')+ self.assertNotIn('outcome', finished)+ for state in ({**finished, 'stage': '生成预览图'},+ {**finished, 'outcome': 'interrupted'},+ {**finished, 'completed_at': None}):+ self.assertEqual(decorate(state)['outcome'], 'interrupted')+ from peach.web_library_processing import public_state+ self.assertEqual(public_state(decorate(finished))['outcome'], 'partial')+ legacy = dict(status='failed', stage='处理结束', completed_at=123,+ issues=[{'asset_id': 1, 'message': '视频抽帧超时'}])+ self.assertEqual(decorate(legacy)['outcome'], 'partial')+@windows_ledger_rootsdef test_deadline_skips_one_asset_and_keeps_processing(self):from peach.jav_cover_fetch import DeadlineExceeded@@ -2653,6 +2668,7 @@ class LibraryWatchdogTests(unittest.TestCase):ids = {name: row_id for name, row_id in connection.execute('SELECT name, id FROM asset')}self.assertEqual(result['retryable_asset_ids'], [ids['ABW-101.mp4']])self.assertEqual(result['status'], 'failed')+ self.assertEqual(result['outcome'], 'partial')self.assertEqual([item.args for item in provider.query.call_args_list],[('ABW-101', 'r18dev'), ('ABW-102', 'r18dev'), ('ABW-102', 'dmm')])self.assertEqual(provider.reset.call_count, 1)@@ -2943,7 +2959,7 @@ class LibraryPreviewCompletionTests(unittest.TestCase):database=self.database, **options)@staticmethod- def make_tile(_ffmpeg, _pattern, _columns, _rows, destination):+ def make_tile(_ffmpeg, _pattern, _columns, _rows, destination, **_options):Image.new('RGB', (1440, 810), 'green').save(destination, format='JPEG')return Truediff --git a/web/dist/peach-app.activity-page-ClyZLUeQ.js b/web/dist/peach-app.activity-page-DAASgSRU.jssimilarity index 96%rename from web/dist/peach-app.activity-page-ClyZLUeQ.jsrename to web/dist/peach-app.activity-page-DAASgSRU.jsindex 81ccf6da7..34697b4d2 100644--- a/web/dist/peach-app.activity-page-ClyZLUeQ.js+++ b/web/dist/peach-app.activity-page-DAASgSRU.js@@ -1,7 +1,7 @@(function() {try {var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cd935c10-0d1c-4516-b106-7e429c6ec869", e._sentryDebugIdIdentifier = "sentry-dbid-cd935c10-0d1c-4516-b106-7e429c6ec869");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4ef4db2f-ac8c-4921-9877-33825cf6f62f", e._sentryDebugIdIdentifier = "sentry-dbid-4ef4db2f-ac8c-4921-9877-33825cf6f62f");} catch {}})();import { Button as e, Chip as t, Disclosure as n, DownloadsPanel as r, EmptyState as i, LinkButton as a, LoadingDots as o, Note as s, Progress as c, TASKS_KEY as l, TRIGGER_LABELS as u, __toESM as d, apiGet as f, apiSend as p, busyProps as m, cardClass as h, elapsedText as g, errorMessage as _, f1 as v, fetchEarlier as y, fetchTasks as b, foldRoutine as x, followupDetail as S, groupFollowups as C, hasResultProblems as w, i2 as T, isActive as E, isRoutine as D, latestOfKind as ee, mergeFinished as O, momentText as k, pollInterval as A, problemDestination as j, progressText as M, require_jsx_runtime as N, require_react as P, statusLabel as F, summaryItems as I, taskIssues as L, uo as R, useMutation as z, useQuery as B, useQueryClient as V } from "./peach-app.js";@@ -69,10 +69,10 @@ var re = {pending: "neutral"};function Y({ run: e }) {- let n = e.status === "succeeded" && w(e);+ let n = e.status === "failed" && e.task_key === "library-processing" && e.result_summary?.outcome === "partial", r = n || e.status === "succeeded" && w(e);return /* @__PURE__ */ (0, q.jsx)(t, {- color: n ? "yellow" : re[e.status] ?? "neutral",- children: n ? "发现问题" : F(e.status)+ color: r ? "yellow" : re[e.status] ?? "neutral",+ children: n ? "部分项目需处理" : r ? "发现问题" : F(e.status)});}function ie({ rows: e }) {@@ -370,4 +370,4 @@ function oe() {//#endregionexport { oe as ActivityPage };-//# debugId=cd935c10-0d1c-4516-b106-7e429c6ec869\ No newline at end of file+//# debugId=4ef4db2f-ac8c-4921-9877-33825cf6f62f\ No newline at end of filediff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex 0f5ab4441..692613b1a 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -2,7 +2,7 @@(function() {try {var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "99032ff4-87c0-4448-9107-37f6c03224b8", e._sentryDebugIdIdentifier = "sentry-dbid-99032ff4-87c0-4448-9107-37f6c03224b8");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "04416e02-4088-4fb7-ad4a-57a96a3a7bdc", e._sentryDebugIdIdentifier = "sentry-dbid-04416e02-4088-4fb7-ad4a-57a96a3a7bdc");} 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), e = null), t.exports), s = (e, n) => {@@ -19379,39 +19379,39 @@ function uy(e, t) {max: r};}-function dy(e, t) {+function ine(e, t) {return {x: uy(e.x, t.x),y: uy(e.y, t.y)};}-function fy(e, t) {+function ane(e, t) {let n = .5, r = j_(e), i = j_(t);return i > r ? n = /* @__PURE__ */ mu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ mu(e.min, e.max - i, t.min)), ou(0, 1, n);}-function py(e, t) {+function dy(e, t) {let n = {};return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;}-var my = .35;-function hy(e = my) {- return e === !1 ? e = 0 : e === !0 && (e = my), {- x: gy(e, "left", "right"),- y: gy(e, "top", "bottom")+var fy = .35;+function py(e = fy) {+ return e === !1 ? e = 0 : e === !0 && (e = fy), {+ x: my(e, "left", "right"),+ y: my(e, "top", "bottom")};}-function gy(e, t, n) {+function my(e, t, n) {return {- min: _y(e, t),- max: _y(e, n)+ min: hy(e, t),+ max: hy(e, n)};}-function _y(e, t) {+function hy(e, t) {return typeof e == "number" ? e : e[t] || 0;}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs-var vy = /* @__PURE__ */ new WeakMap(), yy = class {+var gy = /* @__PURE__ */ new WeakMap(), _y = class {constructor(e) {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,@@ -19444,7 +19444,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();if (!n && !this.openDragLock) return;let { offset: o } = t;- r && this.currentDirection === null ? (this.currentDirection = ine(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && cf.update(() => a(e, t), !1, !0));+ r && this.currentDirection === null ? (this.currentDirection = one(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && cf.update(() => a(e, t), !1, !0));}, s = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;}, c = () => {@@ -19488,14 +19488,14 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {}updateAxis(e, t, n) {let { drag: r } = this.getProps();- if (!n || !Sy(e, r, this.currentDirection)) return;+ if (!n || !by(e, r, this.currentDirection)) return;let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];this.constraints && this.constraints[e] && (a = nne(a, this.constraints[e], this.elastic[e])), i.set(a);}resolveConstraints() {let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;- e && Yv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? rne(n.layoutBox, e) : !1, this.elastic = hy(t), r !== this.constraints && !Yv(e) && n && this.constraints && !this.hasMutatedConstraints && $_((e) => {- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = py(n.layoutBox[e], this.constraints[e]));+ e && Yv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? rne(n.layoutBox, e) : !1, this.elastic = py(t), r !== this.constraints && !Yv(e) && n && this.constraints && !this.hasMutatedConstraints && $_((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = dy(n.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {@@ -19504,7 +19504,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {let n = e.current, { projection: r } = this.visualElement;if (!r || !r.layout) return !1;r.root && (r.root.scroll = void 0, r.root.updateScroll());- let i = Eg(n, r.root, this.visualElement.getTransformPagePoint()), a = dy(r.layout.layoutBox, i);+ let i = Eg(n, r.root, this.visualElement.getTransformPagePoint()), a = ine(r.layout.layoutBox, i);if (t) {let e = t(oee(a));this.hasMutatedConstraints = !!e, e && (a = cg(e));@@ -19513,7 +19513,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {}startAnimation(e) {let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = $_((o) => {- if (!Sy(o, t, this.currentDirection)) return;+ if (!by(o, t, this.currentDirection)) return;let c = s && s[o] || {};(a === !0 || a === o) && (c = {min: 0,@@ -19551,7 +19551,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();$_((e) => {- if (!Sy(e, n, this.currentDirection)) return;+ if (!by(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];t.set((t.get() || 0) + i[e] - Bd(r, o, .5));});@@ -19567,7 +19567,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {};$_((e) => {let t = this.getAxisMotionValue(e).get();- i[e] = fy({+ i[e] = ane({min: t,max: t}, r[e]);@@ -19575,20 +19575,20 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {let { transformTemplate: a } = this.visualElement.getProps();this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), $_((t) => {let n = this.getAxisMotionValue(t);- if (!Sy(t, e, null) || !n.get()) return;+ if (!by(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];n.set(Bd(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;- vy.set(this.visualElement, this);+ gy.set(this.visualElement, this);let e = this.visualElement.current, t = ey(e, "pointerdown", (t) => {let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && hee(i);n && r && !a && this.start(t);}), n, r = () => {let { dragConstraints: t } = this.getProps();- Yv(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= xy(e, t.current, () => this.scalePositionWithinConstraints()));+ Yv(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= yy(e, t.current, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), cf.read(r);let o = ov(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {@@ -19602,7 +19602,7 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {};}getProps() {- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = my, dragMomentum: o = !0 } = e;+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = fy, dragMomentum: o = !0 } = e;return {...e,drag: t,@@ -19614,30 +19614,30 @@ var vy = /* @__PURE__ */ new WeakMap(), yy = class {};}};-function by(e) {+function vy(e) {let t = !0;return () => {t ? t = !1 : e();};}-function xy(e, t, n) {- let r = Yg(e, by(n)), i = Yg(t, by(n));+function yy(e, t, n) {+ let r = Yg(e, vy(n)), i = Yg(t, vy(n));return () => {r(), i();};}-function Sy(e, t, n) {+function by(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}-function ine(e, t = 10) {+function one(e, t = 10) {let n = null;return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs-var ane = class extends g_ {+var sne = class extends g_ {constructor(e) {- super(e), this.removeGroupControls = fu, this.removeListeners = fu, this.controls = new yy(e);+ super(e), this.removeGroupControls = fu, this.removeListeners = fu, this.controls = new _y(e);}mount() {let { dragControls: e } = this.node.getProps();@@ -19650,9 +19650,9 @@ var ane = class extends g_ {unmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, Cy = (e) => (t, n) => {+}, xy = (e) => (t, n) => {e && cf.update(() => e(t, n), !1, !0);-}, one = class extends g_ {+}, cne = class extends g_ {constructor() {super(...arguments), this.removePointerDownListener = fu;}@@ -19665,9 +19665,9 @@ var ane = class extends g_ {createPanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: Cy(e),- onStart: Cy(t),- onMove: Cy(n),+ onSessionStart: xy(e),+ onStart: xy(t),+ onMove: xy(n),onEnd: (e, t) => {delete this.session, r && cf.postRender(() => r(e, t));}@@ -19682,10 +19682,10 @@ var ane = class extends g_ {unmount() {this.removePointerDownListener(), this.session && this.session.end();}-}, wy = !1, sne = class extends D.Component {+}, Sy = !1, lne = class extends D.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), wy && i.root.didUpdate(), i.addEventListener("animationComplete", () => {+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Sy && i.root.didUpdate(), i.addEventListener("animationComplete", () => {this.safeToRemove();}), i.setOptions({...i.options,@@ -19698,7 +19698,7 @@ var ane = class extends g_ {return a && (a.isPresent = i, e.layoutDependency !== t && a.setOptions({...a.options,layoutDependency: t- }), wy = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || cf.postRender(() => {+ }), Sy = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || cf.postRender(() => {let e = a.getStack();(!e || !e.members.length) && this.safeToRemove();}))), null;@@ -19711,7 +19711,7 @@ var ane = class extends g_ {}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- wy = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));+ Sy = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));}safeToRemove() {let { safeToRemove: e } = this.props;@@ -19721,9 +19721,9 @@ var ane = class extends g_ {return null;}};-function Ty(e) {+function Cy(e) {let [t, n] = Ov(), r = (0, D.useContext)(eu);- return (0, O.jsx)(sne, {+ return (0, O.jsx)(lne, {...e,layoutGroup: r,switchLayoutGroup: (0, D.useContext)(Jv),@@ -19733,29 +19733,29 @@ function Ty(e) {}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs-var cne = {- pan: { Feature: one },+var une = {+ pan: { Feature: cne },drag: {- Feature: ane,+ Feature: sne,ProjectionNode: Tv,- MeasureLayout: Ty+ MeasureLayout: Cy}};//#endregion//#region node_modules/framer-motion/dist/es/gestures/hover.mjs-function Ey(e, t, n) {+function wy(e, t, n) {let { props: r } = e;e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");let i = r["onHover" + n];i && cf.postRender(() => i(t, $v(t)));}-var lne = class extends g_ {+var dne = class extends g_ {mount() {let { current: e } = this.node;- e && (this.unmount = dee(e, (e, t) => (Ey(this.node, t, "Start"), (e) => Ey(this.node, e, "End"))));+ e && (this.unmount = dee(e, (e, t) => (wy(this.node, t, "Start"), (e) => wy(this.node, e, "End"))));}unmount() {}-}, une = class extends g_ {+}, fne = class extends g_ {constructor() {super(...arguments), this.isActive = !1;}@@ -19778,51 +19778,51 @@ var lne = class extends g_ {};//#endregion//#region node_modules/framer-motion/dist/es/gestures/press.mjs-function Dy(e, t, n) {+function Ty(e, t, n) {let { props: r } = e;if (e.current instanceof HTMLButtonElement && e.current.disabled) return;e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");let i = r["onTap" + (n === "End" ? "" : n)];i && cf.postRender(() => i(t, $v(t)));}-var dne = class extends g_ {+var pne = class extends g_ {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = _ee(e, (e, t) => (Dy(this.node, t, "Start"), (e, { success: t }) => Dy(this.node, e, t ? "End" : "Cancel")), {+ this.unmount = _ee(e, (e, t) => (Ty(this.node, t, "Start"), (e, { success: t }) => Ty(this.node, e, t ? "End" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, Oy = /* @__PURE__ */ new WeakMap(), ky = /* @__PURE__ */ new WeakMap(), fne = (e) => {- let t = Oy.get(e.target);+}, Ey = /* @__PURE__ */ new WeakMap(), Dy = /* @__PURE__ */ new WeakMap(), mne = (e) => {+ let t = Ey.get(e.target);t && t(e);-}, pne = (e) => {- e.forEach(fne);+}, hne = (e) => {+ e.forEach(mne);};-function mne({ root: e, ...t }) {+function gne({ root: e, ...t }) {let n = e || document;- ky.has(n) || ky.set(n, {});- let r = ky.get(n), i = JSON.stringify(t);- return r[i] || (r[i] = new IntersectionObserver(pne, {+ Dy.has(n) || Dy.set(n, {});+ let r = Dy.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(hne, {root: e,...t})), r[i];}-function hne(e, t, n) {- let r = mne(t);- return Oy.set(e, n), r.observe(e), () => {- Oy.delete(e), r.unobserve(e);+function _ne(e, t, n) {+ let r = gne(t);+ return Ey.set(e, n), r.observe(e), () => {+ Ey.delete(e), r.unobserve(e);};}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var gne = {+var vne = {some: 0,all: 1-}, _ne = class extends g_ {+}, yne = class extends g_ {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -19831,7 +19831,7 @@ var gne = {let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {root: t ? t.current : void 0,rootMargin: n,- threshold: typeof r == "number" ? r : gne[r]+ threshold: typeof r == "number" ? r : vne[r]}, o = (e) => {let { isIntersecting: t } = e;if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;@@ -19839,7 +19839,7 @@ var gne = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = hne(this.node.current, a, o);+ this.stopObserver = _ne(this.node.current, a, o);}mount() {this.startObserver();@@ -19851,68 +19851,68 @@ var gne = {"amount","margin","root"- ].some(vne(e, t)) && this.startObserver();+ ].some(bne(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function vne({ viewport: e = {} }, { viewport: t = {} } = {}) {+function bne({ viewport: e = {} }, { viewport: t = {} } = {}) {return (n) => e[n] !== t[n];}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs-var yne = {- inView: { Feature: _ne },- tap: { Feature: dne },- focus: { Feature: une },- hover: { Feature: lne }-}, bne = { layout: {+var xne = {+ inView: { Feature: yne },+ tap: { Feature: pne },+ focus: { Feature: fne },+ hover: { Feature: dne }+}, Sne = { layout: {ProjectionNode: Tv,- MeasureLayout: Ty-} }, xne = /*@__PURE__*/ qte({+ MeasureLayout: Cy+} }, Cne = /*@__PURE__*/ qte({...Zte,- ...yne,- ...cne,- ...bne+ ...xne,+ ...une,+ ...Sne}, Jte);//#endregion//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function Ay() {+function Oy() {!u_.current && d_();let [e] = (0, D.useState)(l_.current);return e;}//#endregion//#region node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function jy(e) {+function ky(e) {return typeof e == "object" && !Array.isArray(e);}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function My(e, t, n, r) {- return e == null ? [] : typeof e == "string" && jy(t) ? Kh(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function Ay(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && ky(t) ? Kh(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs-function Sne(e, t, n) {+function wne(e, t, n) {return e * (t + 1) + n * t;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function Ny(e, t, n, r) {+function jy(e, t, n, r) {return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function Cne(e, t, n) {+function Tne(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];i.at > t && i.at < n && (au(e, i), r--);}}-function wne(e, t, n, r, i, a) {- Cne(e, i, a);+function Ene(e, t, n, r, i, a) {+ Tne(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],at: Bd(i, a, r[o]),@@ -19921,19 +19921,19 @@ function wne(e, t, n, r, i, a) {}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function Tne(e, t, n = 0) {+function Dne(e, t, n = 0) {let r = t + 1 + t * n;for (let t = 0; t < e.length; t++) e[t] = e[t] / r;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs-function Ene(e, t) {+function One(e, t) {return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/create.mjs-var Dne = "easeInOut", Py = 20;-function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {+var kne = "easeInOut", My = 20;+function Ane(e, { defaultTransition: t = {}, ...n } = {}, r, i) {let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;for (let n = 0; n < e.length; n++) {let o = e[n];@@ -19942,16 +19942,16 @@ function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {continue;}if (!Array.isArray(o)) {- l.set(o.name, Ny(d, o.at, u, l));+ l.set(o.name, jy(d, o.at, u, l));continue;}let [p, m, h = {}] = o;- h.at !== void 0 && (d = Ny(d, h.at, u, l));+ h.at !== void 0 && (d = jy(d, h.at, u, l));let g = 0, _ = (e, n, r, o = 0, s = 0) => {- let c = kne(e), { delay: l = 0, times: u = Mf(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Zp(p) ? p : i?.[p || "keyframes"];+ let c = jne(e), { delay: l = 0, times: u = Mf(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Zp(p) ? p : i?.[p || "keyframes"];if (S <= 2 && C) {let e = 100;- if (S === 2 && Mne(c)) {+ if (S === 2 && Pne(c)) {let t = c[1] - c[0];e = Math.abs(t);}@@ -19967,9 +19967,9 @@ function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {let w = d + x;u.length === 1 && u[0] === 0 && (u[1] = 1);let T = u.length - c.length;- if (T > 0 && jf(u, T), c.length === 1 && c.unshift(null), m && `${m}${Py}`, m && m < Py) {+ if (T > 0 && jf(u, T), c.length === 1 && c.unshift(null), m && `${m}${My}`, m && m < My) {let e = b > 0 ? _ / b : 0;- b = Sne(b, m, _);+ b = wne(b, m, _);let t = [...c], n = [...u];y = Array.isArray(y) ? [...y] : [y];let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;@@ -19979,20 +19979,20 @@ function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ Fu(f, e - 1));}- Tne(u, m, e);+ Dne(u, m, e);}let E = w + b;- wne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);+ Ene(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);};if (hh(p)) {- let e = Fy(p, s);- _(m, h, Iy("default", e));+ let e = Ny(p, s);+ _(m, h, Py("default", e));} else {- let e = My(p, m, r, c), t = e.length;+ let e = Ay(p, m, r, c), t = e.length;for (let n = 0; n < t; n++) {m = m, h = h;- let r = e[n], i = Fy(r, s);- for (let e in m) _(m[e], Ane(h, e), Iy(e, i), n, t);+ let r = e[n], i = Ny(r, s);+ for (let e in m) _(m[e], Mne(h, e), Py(e, i), n, t);}}u = d, d += g;@@ -20000,13 +20000,13 @@ function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {return s.forEach((e, r) => {for (let i in e) {let a = e[i];- a.sort(Ene);+ a.sort(One);let s = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];s.push(n), c.push(/* @__PURE__ */ mu(0, f, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Dne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {+ c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(kne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {keyframes: {},transition: {}});@@ -20023,33 +20023,33 @@ function One(e, { defaultTransition: t = {}, ...n } = {}, r, i) {}}), o;}-function Fy(e, t) {+function Ny(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function Iy(e, t) {+function Py(e, t) {return t[e] || (t[e] = []), t[e];}-function kne(e) {+function jne(e) {return Array.isArray(e) ? e : [e];}-function Ane(e, t) {+function Mne(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var jne = (e) => typeof e == "number", Mne = (e) => e.every(jne);+var Nne = (e) => typeof e == "number", Pne = (e) => e.every(Nne);//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function Nne(e, t) {- return hh(e) || typeof e == "number" || typeof e == "string" && !jy(t);+function Fne(e, t) {+ return hh(e) || typeof e == "number" || typeof e == "string" && !ky(t);}-function Ly(e, t, n, r) {+function Fy(e, t, n, r) {let i = [];- if (Nne(e, t)) i.push(av(e, jy(t) && t.default || t, n && (n.default || n)));+ if (Fne(e, t)) i.push(av(e, ky(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = My(e, t, r), o = a.length;+ let a = Ay(e, t, r), o = a.length;for (let e = 0; e < o; e++) {let r = a[e], s = { ...n };"delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...Ag(r, t, s, n_.get(r))) : i.push(...Hh(Bh(r) ?? jg, r, t, s));@@ -20059,9 +20059,9 @@ function Ly(e, t, n, r) {}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function Pne(e, t, n) {+function Ine(e, t, n) {let r = [];- return One(e.map((e) => {+ return Ane(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {let t = e[0], n = Km(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [@@ -20076,27 +20076,27 @@ function Pne(e, t, n) {}return e;}), t, n, { spring: Df }).forEach(({ keyframes: e, transition: t }, n) => {- r.push(...Ly(n, e, t));+ r.push(...Fy(n, e, t));}), r;}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/index.mjs-function Fne(e) {+function Lne(e) {return Array.isArray(e) && e.some(Array.isArray);}-function Ine(e = {}) {+function Rne(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {let o = [], s, c = {};- if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), Fne(e)) {+ if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), Lne(e)) {let { onComplete: n, ...r } = i || {};- typeof n == "function" && (s = n), o = Pne(e, {+ typeof n == "function" && (s = n), o = Ine(e, {...c,...r}, t);} else {let { onComplete: n, ...r } = a || {};- typeof n == "function" && (s = n), o = Ly(e, i, {+ typeof n == "function" && (s = n), o = Fy(e, i, {...c,...r}, t);@@ -20108,13 +20108,13 @@ function Ine(e = {}) {}return i;}-var Lne = Object.assign(Ine(), {+var zne = Object.assign(Rne(), {addEffect: Rh,removeEffect: zh});//#endregion//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function Rne(e, t, n, r) {+function Bne(e, t, n, r) {if (e == null) return [];let i = Kh(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {@@ -20150,12 +20150,12 @@ function Rne(e, t, n, r) {}return s;}-var zne = /*@__PURE__*/ ((e) => {+var Vne = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new Lm(Rne(t, n, r, e));+ return new Lm(Bne(t, n, r, e));}return t;-})(), Ry = xne, zy = class {+})(), Iy = Cne, Ly = class {constructor(e) {this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;}@@ -20170,22 +20170,22 @@ var zne = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, By = class extends zy {+}, Ry = class extends Ly {filter(e, t, n) {- let [r, i] = Wy(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = Hy(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends zy {+(class extends Ly {static {this.type = "header";}});-var Vy = class extends zy {+var zy = class extends Ly {static {this.type = "loader";}-}, Hy = class extends By {+}, By = class extends Ry {static {this.type = "item";}@@ -20196,7 +20196,7 @@ var Vy = class extends zy {}return null;}-}, Bne = class extends By {+}, Hne = class extends Ry {static {this.type = "section";}@@ -20208,7 +20208,7 @@ var Vy = class extends zy {}return null;}-}, Uy = class {+}, Vy = class {get size() {return this.itemCount;}@@ -20283,14 +20283,14 @@ var Vy = class extends zy {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = Wy(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = Hy(this, t, this.firstKey, e);return t?.commit(n, r), t;}constructor() {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;}};-function Wy(e, t, n, r) {+function Hy(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -20305,7 +20305,7 @@ function Wy(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/collections/Document.mjs-var Gy = class {+var Uy = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -20386,7 +20386,7 @@ var Gy = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, Ky = class e extends Gy {+}, Wy = class e extends Uy {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -20437,7 +20437,7 @@ var Gy = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, Vne = class extends Gy {+}, Une = class extends Uy {constructor(e) {super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;}@@ -20445,7 +20445,7 @@ var Gy = class {return !0;}createElement(e) {- return new Ky(e, this);+ return new Wy(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -20467,8 +20467,8 @@ var Gy = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof Ky && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof Ky ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);+ for (let e of this.dirtyNodes) e instanceof Wy && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof Wy ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));}queueUpdate() {@@ -20487,13 +20487,13 @@ var Gy = class {};//#endregion//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function qy(e) {+function Gy(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, D.useMemo)(() => void 0, [t]), s = (0, D.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, D.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = Hne(a) ? a : null, o = n ? s.get(n) : null;+ let n = Wne(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -20518,7 +20518,7 @@ function qy(e) {i]);}-function Hne(e) {+function Wne(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -20528,25 +20528,25 @@ function Hne(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function Jy(e) {+function Ky(e) {e.focus({ preventScroll: !0 });}//#endregion//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs-var Yy = (e) => Une(e) ? e.document : Wne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Xy = (e) => Yy(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function Zy(e) {+var qy = (e) => Gne(e) ? e.document : Kne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Jy = (e) => qy(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function Yy(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function Une(e) {+function Gne(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function Wne(e) {- return Zy(e) && e.nodeType === 9;+function Kne(e) {+ return Yy(e) && e.nodeType === 9;}-function Qy(e) {- return Zy(e) && e.nodeType === 11 && "host" in e;+function Xy(e) {+ return Yy(e) && e.nodeType === 11 && "host" in e;}-function $y(e, t, n, r) {+function Zy(e, t, n, r) {if (n == null || e == null) return () => {};let i = Array.isArray(e) ? e : [e];for (let e of i) e.addEventListener(t, n, r);@@ -20554,7 +20554,7 @@ function $y(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function eb(e, t, n, r) {+function Qy(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -20569,73 +20569,73 @@ function eb(e, t, n, r) {}//#endregion//#region node_modules/react-stately/dist/private/flags/flags.mjs-var Gne = !1;-function tb() {- return Gne;+var qne = !1;+function $y() {+ return qne;}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function nb(e, t) {- if (!tb()) return t && e ? e.contains(t) : !1;+function eb(e, t) {+ if (!$y()) return t && e ? e.contains(t) : !1;if (!e || !t) return !1;let n = t;for (; n != null;) {if (n === e) return !0;- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Qy(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Xy(n) ? n.host : n.parentNode;}return !1;}-var rb = (e = document) => {- if (!tb()) return e.activeElement;+var tb = (e = document) => {+ if (!$y()) return e.activeElement;let t = e.activeElement;for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;return t;};function K(e) {- if (tb() && e.target instanceof Element && e.target.shadowRoot) {+ if ($y() && e.target instanceof Element && e.target.shadowRoot) {if ("composedPath" in e) return e.composedPath()[0] ?? null;if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;}return e.target;}-function ib(e, t) {+function nb(e, t) {if (t === null) return [];- t ??= Xy(e);+ t ??= Jy(e);let n = [t];- if (!tb() || !e || e === t) return n;+ if (!$y() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; Qy(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; Xy(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function ab(e) {+function rb(e) {if (!e) return !1;- let t = e.getRootNode(), n = Xy(e);+ let t = e.getRootNode(), n = Jy(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}//#endregion//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var ob = typeof Element < "u" && "checkVisibility" in Element.prototype;-function sb(e) {- let t = Xy(e);+var ib = typeof Element < "u" && "checkVisibility" in Element.prototype;+function ab(e) {+ let t = Jy(e);if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";if (i) {- let { getComputedStyle: t } = Xy(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = Jy(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function cb(e, t) {+function ob(e, t) {return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);}-function lb(e, t) {- return ob ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && sb(e) && cb(e, t) && (!e.parentElement || lb(e.parentElement, e));+function sb(e, t) {+ return ib ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && ab(e) && ob(e, t) && (!e.parentElement || sb(e.parentElement, e));}//#endregion//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs-var ub = [+var cb = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -20650,41 +20650,41 @@ var ub = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], db = ub.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-ub.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var fb = ub.join(":not([hidden]):not([tabindex=\"-1\"]),");-function pb(e, t) {- return e.matches(db) && !hb(e) && (t?.skipVisibilityCheck || lb(e));+], lb = cb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+cb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var ub = cb.join(":not([hidden]):not([tabindex=\"-1\"]),");+function db(e, t) {+ return e.matches(lb) && !pb(e) && (t?.skipVisibilityCheck || sb(e));}-function mb(e) {- return e.matches(fb) && lb(e) && !hb(e);+function fb(e) {+ return e.matches(ub) && sb(e) && !pb(e);}-function hb(e) {+function pb(e) {let t = e;for (; t != null;) {- if (t instanceof Xy(t).HTMLElement && t.inert) return !0;+ if (t instanceof Jy(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}//#endregion//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var gb = typeof document < "u" ? D.useLayoutEffect : () => {};+var mb = typeof document < "u" ? D.useLayoutEffect : () => {};//#endregion//#region node_modules/react-aria/dist/private/interactions/utils.mjs-function _b(e) {+function hb(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function vb(e, t) {+function gb(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function yb(e) {+function _b(e) {let t = (0, D.useRef)({isFocused: !1,observer: null});- return gb(() => {+ return mb(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);@@ -20696,14 +20696,14 @@ function yb(e) {let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = _b(r);+ let t = hb(r);e?.(t);}t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);}, { once: !0 }), t.current.observer = new MutationObserver(() => {if (t.current.isFocused && n.disabled) {t.current.observer?.disconnect();- let e = n === rb() ? null : rb();+ let e = n === tb() ? null : tb();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -20716,83 +20716,83 @@ function yb(e) {}}, [e]);}-var bb = !1;-function xb(e) {- for (; e && !pb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = rb(Xy(e).document);+var vb = !1;+function yb(e) {+ for (; e && !db(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = tb(Jy(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && Qy(n) ? n : Xy(e), i = (t) => t === e || Zy(t) && nb(e, t), a = (e) => e === t || t != null && Zy(e) && nb(t, e);- bb = !0;+ let n = e?.getRootNode(), r = n != null && Xy(n) ? n : Jy(e), i = (t) => t === e || Yy(t) && eb(e, t), a = (e) => e === t || t != null && Yy(e) && eb(t, e);+ vb = !0;let o = !1, s = (e) => {(a(K(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(K(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Jy(t), d()));+ (a(K(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Ky(t), d()));}, l = (e) => {(i(K(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(K(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Jy(t), d()));+ (i(K(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Ky(t), d()));};r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);let d = () => {- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), bb = !1, o = !1;+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), vb = !1, o = !1;}, f = requestAnimationFrame(d);return d;}//#endregion//#region node_modules/react-aria/dist/private/utils/platform.mjs-function Sb(e) {+function bb(e) {if (typeof window > "u" || window.navigator == null) return !1;let t = window.navigator.userAgentData?.brands;return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);}-function Cb(e) {+function xb(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function wb(e) {+function Sb(e) {let t = null;return () => (t ??= e(), t);}-var Tb = wb(function() {- return Cb(/^Mac/i);-}), Eb = wb(function() {- return Cb(/^iPhone/i);-}), Db = wb(function() {- return Cb(/^iPad/i) || Tb() && navigator.maxTouchPoints > 1;-}), Ob = wb(function() {- return Eb() || Db();-}), kb = wb(function() {- return Tb() || Ob();-}), Ab = wb(function() {- return Sb(/AppleWebKit/i) && (Ob() || !jb());-}), jb = wb(function() {- return Sb(/Chrome|CriOS|CrMo/i);-}), Mb = wb(function() {- return Sb(/Android/i);+var Cb = Sb(function() {+ return xb(/^Mac/i);+}), wb = Sb(function() {+ return xb(/^iPhone/i);+}), Tb = Sb(function() {+ return xb(/^iPad/i) || Cb() && navigator.maxTouchPoints > 1;+}), Eb = Sb(function() {+ return wb() || Tb();+}), Db = Sb(function() {+ return Cb() || Eb();+}), Ob = Sb(function() {+ return bb(/AppleWebKit/i) && (Eb() || !kb());+}), kb = Sb(function() {+ return bb(/Chrome|CriOS|CrMo/i);+}), Ab = Sb(function() {+ return bb(/Android/i);});//#endregion//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function Nb(e) {- return e.pointerType === "" && e.isTrusted ? !0 : Mb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function jb(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : Ab() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function Pb(e) {- return !Mb() && e.width === 0 && e.height === 0 || Mb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function Mb(e) {+ return !Ab() && e.width === 0 && e.height === 0 || Ab() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";}//#endregion//#region node_modules/react-aria/dist/private/utils/openLink.mjs-var Fb = /*#__PURE__*/ (0, D.createContext)({+var Nb = /*#__PURE__*/ (0, D.createContext)({isNative: !0,- open: qne,+ open: Yne,useHref: (e) => e});-function Ib() {- return (0, D.useContext)(Fb);+function Pb() {+ return (0, D.useContext)(Nb);}-function Lb(e, t) {+function Fb(e, t) {let n = e.getAttribute("target");return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;}-function Rb(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Ab() && Tb() && !Db() ? new KeyboardEvent("keydown", {+function Ib(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Ob() && Cb() && !Tb() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -20807,21 +20807,21 @@ function Rb(e, t, n = !0) {bubbles: !0,cancelable: !0});- Rb.isOpening = n, Jy(e), e.dispatchEvent(s), Rb.isOpening = !1;+ Ib.isOpening = n, Ky(e), e.dispatchEvent(s), Ib.isOpening = !1;}-Rb.isOpening = !1;-function Kne(e, t) {+Ib.isOpening = !1;+function Jne(e, t) {if (e instanceof HTMLAnchorElement) t(e);else if (e.hasAttribute("data-href")) {let n = document.createElement("a");n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);}}-function qne(e, t) {- Kne(e, (e) => Rb(e, t));+function Yne(e, t) {+ Jne(e, (e) => Ib(e, t));}-function zb(e) {- let t = Ib().useHref(e.href ?? "");+function Lb(e) {+ let t = Pb().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -20831,8 +20831,8 @@ function zb(e) {"data-referrer-policy": e.referrerPolicy};}-function Bb(e) {- let t = Ib().useHref(e?.href ?? ""), n = {};+function Rb(e) {+ let t = Pb().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -20843,140 +20843,140 @@ function Bb(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-function Jne(e, t, n, r) {- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Lb(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));+function Xne(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Fb(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}//#endregion//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var Vb = {+var zb = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, Hb = /*#__PURE__*/ D.createContext(Vb), Yne = /*#__PURE__*/ D.createContext(!1);+}, Bb = /*#__PURE__*/ D.createContext(zb), Zne = /*#__PURE__*/ D.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var Ub = /* @__PURE__ */ new WeakMap();-function Xne(e = !1) {- let t = (0, D.useContext)(Hb), n = (0, D.useRef)(null);+var Vb = /* @__PURE__ */ new WeakMap();+function Qne(e = !1) {+ let t = (0, D.useContext)(Bb), n = (0, D.useRef)(null);if (n.current === null && !e) {let e = D.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = Ub.get(e);- n == null ? Ub.set(e, {+ let n = Vb.get(e);+ n == null ? Vb.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, Ub.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, Vb.delete(e));}n.current = ++t.current;}return n.current;}-function Zne(e) {- let t = (0, D.useContext)(Hb), n = Xne(!!e), r = `react-aria${t.prefix}`;+function $ne(e) {+ let t = (0, D.useContext)(Bb), n = Qne(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function Qne(e) {- let t = D.useId(), [n] = (0, D.useState)(Wb()), r = n ? "react-aria" : `react-aria${Vb.prefix}`;+function ere(e) {+ let t = D.useId(), [n] = (0, D.useState)(Hb()), r = n ? "react-aria" : `react-aria${zb.prefix}`;return e || `${r}-${t}`;}-var $ne = typeof D.useId == "function" ? Qne : Zne;-function ere() {+var tre = typeof D.useId == "function" ? ere : $ne;+function nre() {return !1;}-function tre() {+function rre() {return !0;}-function nre(e) {+function ire(e) {return () => {};}-function Wb() {- return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(nre, ere, tre) : (0, D.useContext)(Yne);+function Hb() {+ return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(ire, nre, rre) : (0, D.useContext)(Zne);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var Gb = null, Kb = /* @__PURE__ */ new Set(), qb = /* @__PURE__ */ new Map(), Jb = !1, Yb = !1, rre = {+var Ub = null, Wb = /* @__PURE__ */ new Set(), Gb = /* @__PURE__ */ new Map(), Kb = !1, qb = !1, are = {Tab: !0,Escape: !0};-function Xb(e, t) {- for (let n of Kb) n(e, t);+function Jb(e, t) {+ for (let n of Wb) n(e, t);}-function ire(e) {- return !(e.metaKey || !Tb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+function ore(e) {+ return !(e.metaKey || !Cb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+}+function Yb(e) {+ Kb = !0, !Ib.isOpening && ore(e) && (Ub = "keyboard", Jb("keyboard", e));+}+function Xb(e) {+ Ub = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Kb = !0, Jb("pointer", e));}function Zb(e) {- Jb = !0, !Rb.isOpening && ire(e) && (Gb = "keyboard", Xb("keyboard", e));+ !Ib.isOpening && jb(e) && (Kb = !0, Ub = "virtual");}function Qb(e) {- Gb = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Jb = !0, Xb("pointer", e));+ if (vb) return;+ let t = K(e), n = Jy(t), r = qy(t);+ t === n ? qb = !0 : t !== r && e.isTrusted && (!Kb && !qb && (Ub = "virtual", Jb("virtual", e)), Kb = !1, qb = !1);}-function $b(e) {- !Rb.isOpening && Nb(e) && (Jb = !0, Gb = "virtual");+function $b() {+ vb || (Kb = !1, qb = !0);}function ex(e) {- if (bb) return;- let t = K(e), n = Xy(t), r = Yy(t);- t === n ? Yb = !0 : t !== r && e.isTrusted && (!Jb && !Yb && (Gb = "virtual", Xb("virtual", e)), Jb = !1, Yb = !1);-}-function tx() {- bb || (Jb = !1, Yb = !0);-}-function nx(e) {- let t = rb(Yy(K(e)));+ let t = tb(qy(K(e)));queueMicrotask(() => {- rb(Yy(K(e))) !== t && sx("keyboard");+ tb(qy(K(e))) !== t && ax("keyboard");});}-function rx(e) {+function tx(e) {if (typeof window > "u" || typeof document > "u") return;- let t = Xy(e), n = Yy(e);- if (qb.get(t)) return;+ let t = Jy(e), n = qy(e);+ if (Gb.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- Jb = !0, r.apply(this, arguments);+ Kb = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", Zb, !0), n.addEventListener("keyup", Zb, !0), n.addEventListener("click", $b, !0), n.addEventListener("invalid", nx, !0), t.addEventListener("focus", ex, !0), t.addEventListener("blur", tx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Qb, !0), n.addEventListener("pointermove", Qb, !0), n.addEventListener("pointerup", Qb, !0)), t.addEventListener("beforeunload", () => {- ix(e);- }, { once: !0 }), qb.set(t, { focus: r });+ }), n.addEventListener("keydown", Yb, !0), n.addEventListener("keyup", Yb, !0), n.addEventListener("click", Zb, !0), n.addEventListener("invalid", ex, !0), t.addEventListener("focus", Qb, !0), t.addEventListener("blur", $b, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Xb, !0), n.addEventListener("pointermove", Xb, !0), n.addEventListener("pointerup", Xb, !0)), t.addEventListener("beforeunload", () => {+ nx(e);+ }, { once: !0 }), Gb.set(t, { focus: r });}-var ix = (e, t) => {- let n = Xy(e), r = Yy(e);- t && r.removeEventListener("DOMContentLoaded", t), qb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var nx = (e, t) => {+ let n = Jy(e), r = qy(e);+ t && r.removeEventListener("DOMContentLoaded", t), Gb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: qb.get(n).focus- }), r.removeEventListener("keydown", Zb, !0), r.removeEventListener("keyup", Zb, !0), r.removeEventListener("click", $b, !0), r.removeEventListener("invalid", nx, !0), n.removeEventListener("focus", ex, !0), n.removeEventListener("blur", tx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Qb, !0), r.removeEventListener("pointermove", Qb, !0), r.removeEventListener("pointerup", Qb, !0)), qb.delete(n));+ value: Gb.get(n).focus+ }), r.removeEventListener("keydown", Yb, !0), r.removeEventListener("keyup", Yb, !0), r.removeEventListener("click", Zb, !0), r.removeEventListener("invalid", ex, !0), n.removeEventListener("focus", Qb, !0), n.removeEventListener("blur", $b, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Xb, !0), r.removeEventListener("pointermove", Xb, !0), r.removeEventListener("pointerup", Xb, !0)), Gb.delete(n));};-function are(e) {- let t = Yy(e), n;+function sre(e) {+ let t = qy(e), n;return t.readyState === "loading" ? (n = () => {- rx(e);- }, t.addEventListener("DOMContentLoaded", n)) : rx(e), () => ix(e, n);+ tx(e);+ }, t.addEventListener("DOMContentLoaded", n)) : tx(e), () => nx(e, n);}-typeof document < "u" && are();-function ax() {- return Gb !== "pointer";+typeof document < "u" && sre();+function rx() {+ return Ub !== "pointer";}-function ox() {- return Gb;+function ix() {+ return Ub;}-function sx(e) {- Gb = e, Xb(e, null);+function ax(e) {+ Ub = e, Jb(e, null);}-function cx() {- rx();- let [e, t] = (0, D.useState)(Gb);+function ox() {+ tx();+ let [e, t] = (0, D.useState)(Ub);return (0, D.useEffect)(() => {let e = () => {- t(Gb);+ t(Ub);};- return Kb.add(e), () => {- Kb.delete(e);+ return Wb.add(e), () => {+ Wb.delete(e);};- }, []), Wb() ? null : e;+ }, []), Hb() ? null : e;}-var ore = /* @__PURE__ */ new Set([+var cre = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -20987,90 +20987,90 @@ var ore = /* @__PURE__ */ new Set(["submit","reset"]);-function sre(e, t, n) {- let r = n ? K(n) : void 0, i = Yy(r), a = Xy(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = rb(i);- return e = e || u instanceof o && !ore.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !rre[n.key]);+function lre(e, t, n) {+ let r = n ? K(n) : void 0, i = qy(r), a = Jy(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = tb(i);+ return e = e || u instanceof o && !cre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !are[n.key]);}-function lx(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, D.useState)(n || ax());- return ux((e) => {+function sx(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, D.useState)(n || rx());+ return cx((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function ux(e, t, n) {- rx(), (0, D.useEffect)(() => {+function cx(e, t, n) {+ tx(), (0, D.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- sre(!!n?.isTextInput, t, r) && e(ax());+ lre(!!n?.isTextInput, t, r) && e(rx());};- return Kb.add(t), () => {- Kb.delete(t);+ return Wb.add(t), () => {+ Wb.delete(t);};}, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var dx = /* @__PURE__ */ new Map(), fx = /* @__PURE__ */ new Set();-function px(e) {+var lx = /* @__PURE__ */ new Map(), ux = /* @__PURE__ */ new Set();+function dx(e) {return "propertyName" in e;}-function cre(e) {+function ure(e) {let t = K(e);- if (!px(e) || !t) return;- let n = dx.get(t);- n || (n = /* @__PURE__ */ new Set(), dx.set(t, n), t.addEventListener("transitioncancel", mx, { once: !0 })), n.add(e.propertyName);+ if (!dx(e) || !t) return;+ let n = lx.get(t);+ n || (n = /* @__PURE__ */ new Set(), lx.set(t, n), t.addEventListener("transitioncancel", fx, { once: !0 })), n.add(e.propertyName);}-function mx(e) {+function fx(e) {let t = K(e);- if (!px(e) || !t) return;- let n = dx.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", mx), dx.delete(t)), dx.size === 0)) for (let e of fx) e(!0), fx.delete(e);+ if (!dx(e) || !t) return;+ let n = lx.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", fx), lx.delete(t)), lx.size === 0)) for (let e of ux) e(!0), ux.delete(e);}-function hx() {- $y(document, "transitionrun", cre), $y(document, "transitionend", mx);+function px() {+ Zy(document, "transitionrun", ure), Zy(document, "transitionend", fx);}-function lre() {- for (let [e] of dx) "isConnected" in e && !e.isConnected && dx.delete(e);+function dre() {+ for (let [e] of lx) "isConnected" in e && !e.isConnected && lx.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? $y(document, "DOMContentLoaded", hx) : hx());-function gx(e) {+typeof document < "u" && (document.readyState === "loading" ? Zy(document, "DOMContentLoaded", px) : px());+function mx(e) {let t = window.requestAnimationFrame(() => {- if (lre(), dx.size === 0) return e(!1);- fx.add(e);+ if (dre(), lx.size === 0) return e(!1);+ ux.add(e);});return () => {- window.cancelAnimationFrame(t), fx.delete(e);+ window.cancelAnimationFrame(t), ux.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function _x(e) {+function hx(e) {if (!e.isConnected) return;- let t = Yy(e);- if (ox() === "virtual") {- let n = rb(t);- gx(() => {- let r = rb(t);- (r === n || r === t.body) && e.isConnected && Jy(e);+ let t = qy(e);+ if (ix() === "virtual") {+ let n = tb(t);+ mx(() => {+ let r = tb(t);+ (r === n || r === t.body) && e.isConnected && Ky(e);});- } else Jy(e);+ } else Ky(e);}//#endregion//#region node_modules/react-aria/dist/private/utils/chain.mjs-function vx(...e) {+function gx(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}//#endregion//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function ure(e) {+function fre(e) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(t), i = (0, D.useRef)(null), a = (0, D.useRef)(() => {if (!i.current) return;let e = i.current.next();e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);});- return gb(() => {+ return mb(() => {r.current = t, i.current && a.current();}), [t, (0, D.useCallback)((e) => {i.current = e(r.current), a.current();@@ -21078,21 +21078,21 @@ function ure(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useId.mjs-var dre = !!(typeof window < "u" && window.document && window.document.createElement), yx = /* @__PURE__ */ new Map(), bx;-typeof FinalizationRegistry < "u" && (bx = new FinalizationRegistry((e) => {- yx.delete(e);+var pre = !!(typeof window < "u" && window.document && window.document.createElement), _x = /* @__PURE__ */ new Map(), vx;+typeof FinalizationRegistry < "u" && (vx = new FinalizationRegistry((e) => {+ _x.delete(e);}));-var xx = /* @__PURE__ */ new WeakMap();-function Sx(e) {- let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = $ne(t), a = (0, D.useRef)(null), o = xx.get(a);- if (bx && o !== i && (o != null && bx.unregister(a), bx.register(a, i, a), xx.set(a, i)), dre) {- let e = yx.get(i);- e && !e.includes(r) ? e.push(r) : yx.set(i, [r]);- }- return gb(() => {+var yx = /* @__PURE__ */ new WeakMap();+function bx(e) {+ let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = tre(t), a = (0, D.useRef)(null), o = yx.get(a);+ if (vx && o !== i && (o != null && vx.unregister(a), vx.register(a, i, a), yx.set(a, i)), pre) {+ let e = _x.get(i);+ e && !e.includes(r) ? e.push(r) : _x.set(i, [r]);+ }+ return mb(() => {let e = i;return () => {- bx && (bx.unregister(a), xx.delete(a)), yx.delete(e);+ vx && (vx.unregister(a), yx.delete(a)), _x.delete(e);};}, [i]), (0, D.useEffect)(() => {let e = r.current;@@ -21101,20 +21101,20 @@ function Sx(e) {};}), i;}-function fre(e, t) {+function mre(e, t) {if (e === t) return e;- let n = yx.get(e);+ let n = _x.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = yx.get(t);+ let r = _x.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function Cx(e = []) {- let t = Sx(), [n, r] = ure(t), i = (0, D.useCallback)(() => {+function xx(e = []) {+ let t = bx(), [n, r] = fre(t), i = (0, D.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return gb(i, [+ return mb(i, [t,i,...e@@ -21122,38 +21122,38 @@ function Cx(e = []) {}//#endregion//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function wx(...e) {+function Sx(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = Tx(e, t);+ let r = Cx(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : Tx(e[n], null);+ typeof t == "function" ? t() : Cx(e[n], null);});};};}-function Tx(e, t) {+function Cx(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}//#endregion//#region node_modules/clsx/dist/clsx.mjs-function Ex(e) {+function wx(e) {var t, n, r = "";if (typeof e == "string" || typeof e == "number") r += e;else if (typeof e == "object") {if (Array.isArray(e)) {var i = e.length;- for (t = 0; t < i; t++) e[t] && (n = Ex(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = wx(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function Dx() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Ex(e)) && (r && (r += " "), r += t);+function Tx() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = wx(e)) && (r && (r += " "), r += t);return r;}//#endregion@@ -21164,18 +21164,18 @@ function q(...e) {let r = e[n];for (let e in r) {let n = t[e], i = r[e];- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = vx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Dx(n, i) : e === "id" && n && i ? t.id = fre(n, i) : e === "ref" && n && i ? t.ref = wx(n, i) : t[e] = i === void 0 ? n : i;+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = gx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Tx(n, i) : e === "id" && n && i ? t.id = mre(n, i) : e === "ref" && n && i ? t.ref = Sx(n, i) : t[e] = i === void 0 ? n : i;}}return t;}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs-function Ox(e) {+function Ex(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, D.useCallback)((e) => {if (K(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = yb(a), s = (0, D.useCallback)((e) => {- let t = K(e), r = Yy(t), a = r ? rb(r) : rb();+ }, [r, i]), o = _b(a), s = (0, D.useCallback)((e) => {+ let t = K(e), r = qy(t), a = r ? tb(r) : tb();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -21189,7 +21189,7 @@ function Ox(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function kx(e) {+function Dx(e) {if (e) return (t) => {let n = !0;e({@@ -21214,33 +21214,33 @@ function kx(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var pre = /* @__PURE__ */ new Set([+var hre = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), mre = [+]), gre = ["Alt","Control","Meta","Shift"];-function hre(e) {+function _re(e) {let t = /* @__PURE__ */ new Set();- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(Tb() ? "Meta" : "Control"), t;+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(Cb() ? "Meta" : "Control"), t;}-function gre(e) {+function vre(e) {let t = /* @__PURE__ */ new Set();return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;}-function Ax(e) {- return mre.filter((t) => e.has(t));+function Ox(e) {+ return gre.filter((t) => e.has(t));}-function _re(e) {+function yre(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return pre.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;+ return hre.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;}, {shift: !1,alt: !1,@@ -21252,10 +21252,10 @@ function _re(e) {if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t;}-function jx(e) {+function kx(e) {return e.toLowerCase();}-var vre = {+var bre = {space: " ",esc: "escape",del: "delete",@@ -21267,26 +21267,26 @@ var vre = {pageup: "pageup",pagedown: "pagedown"};-function yre(e) {- let t = jx(e);- return vre[t] ?? t;+function xre(e) {+ let t = kx(e);+ return bre[t] ?? t;}-function bre(e) {- let t = Ax(hre(e)), n = yre(e.key);+function Sre(e) {+ let t = Ox(_re(e)), n = xre(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function xre(e) {- let t = Ax(gre(e)), n = jx(e.key);+function Cre(e) {+ let t = Ox(vre(e)), n = kx(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function Sre(e) {+function wre(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = _re(n);- t.set(bre(e), r);+ let e = yre(n);+ t.set(Sre(e), r);}return (e) => {- let n = xre(e), r = t.get(n), i = r?.(e);+ let n = Cre(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -21298,16 +21298,16 @@ function Sre(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function Mx(e) {+function Ax(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = Sre(t), s = kx((e) => {- nb(e.currentTarget, K(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = kx((e) => {- nb(e.currentTarget, K(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = wre(t), s = Dx((e) => {+ eb(e.currentTarget, K(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = Dx((e) => {+ eb(e.currentTarget, K(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? vx(e.onKeyDown, s) : s, a = e.onKeyUp ? vx(e.onKeyUp, c) : c;- } else i = kx(e.onKeyDown), a = kx(e.onKeyUp);+ i = e.onKeyDown ? gx(e.onKeyDown, s) : s, a = e.onKeyUp ? gx(e.onKeyUp, c) : c;+ } else i = Dx(e.onKeyDown), a = Dx(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a@@ -21315,7 +21315,7 @@ function Mx(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function Nx(e) {+function jx(e) {let t = (0, D.useRef)(null), n = (0, D.useRef)(void 0), r = (0, D.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -21338,8 +21338,8 @@ function Nx(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function Px(e, t) {- gb(() => {+function Mx(e, t) {+ mb(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};@@ -21347,17 +21347,17 @@ function Px(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var Fx = /*#__PURE__*/ D.createContext(null);-function Cre(e) {- let t = (0, D.useContext)(Fx) || {};- Px(t, e);+var Nx = /*#__PURE__*/ D.createContext(null);+function Tre(e) {+ let t = (0, D.useContext)(Nx) || {};+ Mx(t, e);let { ref: n, ...r } = t;return r;}-function Ix(e, t) {- let { focusProps: n } = Ox(e), { keyboardProps: r } = Mx(e), i = q(n, r), a = Cre(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);+function Px(e, t) {+ let { focusProps: n } = Ex(e), { keyboardProps: r } = Ax(e), i = q(n, r), a = Tre(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);(0, D.useEffect)(() => {- s.current && t.current && _x(t.current), s.current = !1;+ s.current && t.current && hx(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;return e.isDisabled && (c = void 0), { focusableProps: q({@@ -21392,22 +21392,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var Lx = /*#__PURE__*/ (0, D.createContext)(!1);-function wre(e) {- if ((0, D.useContext)(Lx)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);- let t = /*#__PURE__*/ D.createElement(Lx.Provider, { value: !0 }, e.children);+var Fx = /*#__PURE__*/ (0, D.createContext)(!1);+function Ere(e) {+ if ((0, D.useContext)(Fx)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);+ let t = /*#__PURE__*/ D.createElement(Fx.Provider, { value: !0 }, e.children);return /*#__PURE__*/ D.createElement("template", null, t);}-function Rx(e) {- let t = (t, n) => (0, D.useContext)(Lx) ? null : e(t, n);+function Ix(e) {+ let t = (t, n) => (0, D.useContext)(Fx) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, D.forwardRef)(t);}-function zx() {- return (0, D.useContext)(Lx);+function Lx() {+ return (0, D.useContext)(Fx);}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var Tre = /* @__PURE__ */ o(((e) => {+var Dre = /* @__PURE__ */ o(((e) => {var t = v();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -21445,47 +21445,47 @@ var Tre = /* @__PURE__ */ o(((e) => {}var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;-})), Bx = /* @__PURE__ */ o(((e, t) => {- t.exports = Tre();-})), Ere = Bx(), Vx = /*#__PURE__*/ (0, D.createContext)(!1), Hx = /*#__PURE__*/ (0, D.createContext)(null);-function Ux(e) {- if ((0, D.useContext)(Hx)) return e.content;- let { collection: t, document: n } = Are(e.createCollection);- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(wre, null, /*#__PURE__*/ D.createElement(Hx.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(Dre, {+})), Rx = /* @__PURE__ */ o(((e, t) => {+ t.exports = Dre();+})), Ore = Rx(), zx = /*#__PURE__*/ (0, D.createContext)(!1), Bx = /*#__PURE__*/ (0, D.createContext)(null);+function Vx(e) {+ if ((0, D.useContext)(Bx)) return e.content;+ let { collection: t, document: n } = Mre(e.createCollection);+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(Ere, null, /*#__PURE__*/ D.createElement(Bx.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(kre, {render: e.children,collection: t}));}-function Dre({ collection: e, render: t }) {+function kre({ collection: e, render: t }) {return t(e);}-function Ore(e, t, n) {- let r = Wb(), i = (0, D.useRef)(r);+function Are(e, t, n) {+ let r = Hb(), i = (0, D.useRef)(r);i.current = r;let a = (0, D.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, Ere.useSyncExternalStore)(e, a);+ return (0, Ore.useSyncExternalStore)(e, a);}-var kre = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : Ore;-function Are(e) {- let [t] = (0, D.useState)(() => new Vne(e?.() || new Uy()));+var jre = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : Are;+function Mre(e) {+ let [t] = (0, D.useState)(() => new Une(e?.() || new Vy()));return {- collection: kre((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {+ collection: jre((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, D.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var Wx = /*#__PURE__*/ (0, D.createContext)(null);-function jre(e) {- return class extends zy {+var Hx = /*#__PURE__*/ (0, D.createContext)(null);+function Nre(e) {+ return class extends Ly {static {this.type = e;}};}-function Gx(e, t, n, r, i, a) {- typeof e == "string" && (e = jre(e));+function Ux(e, t, n, r, i, a) {+ typeof e == "string" && (e = Nre(e));let o = (0, D.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -21494,86 +21494,86 @@ function Gx(e, t, n, r, i, a) {r,a,e- ]), s = (0, D.useContext)(Wx);+ ]), s = (0, D.useContext)(Hx);if (s) {let o = s.ownerDocument.nodesByProps.get(t);- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ D.createElement(Wx.Provider, { value: o }, i) : null;+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ D.createElement(Hx.Provider, { value: o }, i) : null;}return /*#__PURE__*/ D.createElement(e.type, { ref: o }, i);}-function Kx(e, t) {+function Wx(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, D.forwardRef)((r, i) => {- let a = (0, D.useContext)(Fx);- if (!(0, D.useContext)(Vx)) {+ let a = (0, D.useContext)(Nx);+ if (!(0, D.useContext)(zx)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return Gx(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(Fx.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));+ return Ux(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(Nx.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function qx(e, t, n = Jx) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => Gx(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));+function Gx(e, t, n = Kx) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => Ux(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));return i.displayName = t.name, i;}-function Jx(e) {- return qy({+function Kx(e) {+ return Gy({...e,addIdAndValue: !0});}-var Yx = /*#__PURE__*/ (0, D.createContext)(null);-function Xx(e) {- let t = (0, D.useContext)(Yx), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Jx({+var qx = /*#__PURE__*/ (0, D.createContext)(null);+function Jx(e) {+ let t = (0, D.useContext)(qx), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Kx({...e,idScope: r,dependencies: n});- return (0, D.useContext)(Hx) && (i = /*#__PURE__*/ D.createElement(Mre, null, i)), t = (0, D.useMemo)(() => ({+ return (0, D.useContext)(Bx) && (i = /*#__PURE__*/ D.createElement(Pre, null, i)), t = (0, D.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ D.createElement(Yx.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ D.createElement(qx.Provider, { value: t }, i);}-function Mre({ children: e }) {- let t = (0, D.useContext)(Hx), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(Hx.Provider, { value: null }, /*#__PURE__*/ D.createElement(Vx.Provider, { value: !0 }, e)), [e]);- return Wb() ? /*#__PURE__*/ D.createElement(Wx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Tt.createPortal)(n, t);+function Pre({ children: e }) {+ let t = (0, D.useContext)(Bx), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(Bx.Provider, { value: null }, /*#__PURE__*/ D.createElement(zx.Provider, { value: !0 }, e)), [e]);+ return Hb() ? /*#__PURE__*/ D.createElement(Hx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Tt.createPortal)(n, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/constants.mjs-var Nre = "react-aria-clear-focus", Pre = "react-aria-focus";+var Fre = "react-aria-clear-focus", Ire = "react-aria-focus";//#endregion//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function Zx(e) {- let t = Ire(Yy(e));- t !== e && (t && Fre(t, e), e && Qx(e, t));+function Yx(e) {+ let t = Rre(qy(e));+ t !== e && (t && Lre(t, e), e && Xx(e, t));}-function Fre(e, t) {+function Lre(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function Qx(e, t) {+function Xx(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function Ire(e) {- let t = rb(e), n = t?.getAttribute("aria-activedescendant");+function Rre(e) {+ let t = tb(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}//#endregion//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function $x(e, t) {- let n = Xy(t), r = Yy(t);+function Zx(e, t) {+ let n = Jy(t), r = qy(t);if (r == null || n == null) return;let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;}//#endregion//#region node_modules/react-aria/dist/private/utils/keyboard.mjs-var eS = 100, tS = 600, nS = {+var Qx = 100, $x = 600, eS = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -21583,7 +21583,7 @@ var eS = 100, tS = 600, nS = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, Lre = /* @__PURE__ */ new Set([+}, zre = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21594,7 +21594,7 @@ var eS = 100, tS = 600, nS = {"submit","reset"]);-function rS() {+function tS() {let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);return {width: e * n,@@ -21602,59 +21602,59 @@ function rS() {angle: window.screen.orientation?.angle ?? 0};}-function Rre(e) {- nS.resizeTimeStamp <= e.timeStamp + 50 && (nS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(nS.resizeTimeout), nS.resizeTimeout = window.setTimeout(iS, 150));+function Bre(e) {+ eS.resizeTimeStamp <= e.timeStamp + 50 && (eS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(eS.resizeTimeout), eS.resizeTimeout = window.setTimeout(nS, 150));}-function iS() {- let e = $x("viewport");- if (Mb() && e?.includes("overlays-content")) return;- let t = performance.now(), n = rS(), r = t - nS.startTimeStamp, i = nS.screenHeight - n.height, a = nS.screenAngle - n.angle;- Math.abs(a) % 180 && nS.screenWidth - n.height < eS && (nS.screenWidth = n.width, nS.screenHeight = n.height, nS.screenAngle = n.angle, i = 0), r > tS && (window.clearTimeout(nS.screenTimeout), nS.screenTimeout = window.setTimeout(() => {- let e = sS(document.hasFocus() ? rb() : null), t = rS();- Math.abs(nS.screenAngle - t.angle) % 180 || nS.isOpen && e || (nS.screenWidth = t.width, nS.screenHeight = t.height, nS.screenAngle = t.angle, nS.isOpen = !1);- }, tS)), r <= tS && i >= eS && (nS.endTimeStamp = t), nS.isOpen = i >= eS;-}-function zre() {- let e = rS(), t = nS.screenAngle - e.angle;- if (Math.abs(t) % 180 && !nS.isOpen) {- let e = nS.screenWidth;- nS.screenWidth = nS.screenHeight, nS.screenHeight = e;- }- nS.isOpen || (nS.screenAngle = e.angle);+function nS() {+ let e = Zx("viewport");+ if (Ab() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = tS(), r = t - eS.startTimeStamp, i = eS.screenHeight - n.height, a = eS.screenAngle - n.angle;+ Math.abs(a) % 180 && eS.screenWidth - n.height < Qx && (eS.screenWidth = n.width, eS.screenHeight = n.height, eS.screenAngle = n.angle, i = 0), r > $x && (window.clearTimeout(eS.screenTimeout), eS.screenTimeout = window.setTimeout(() => {+ let e = aS(document.hasFocus() ? tb() : null), t = tS();+ Math.abs(eS.screenAngle - t.angle) % 180 || eS.isOpen && e || (eS.screenWidth = t.width, eS.screenHeight = t.height, eS.screenAngle = t.angle, eS.isOpen = !1);+ }, $x)), r <= $x && i >= Qx && (eS.endTimeStamp = t), eS.isOpen = i >= Qx;}-function Bre(e) {- let t = sS(K(e)), n = performance.now(), r = rS(), i = nS.screenHeight - r.height;- i < eS && t && (nS.screenWidth = r.width, nS.screenHeight = r.height, nS.screenAngle = r.angle, nS.startTimeStamp = n), t && window.clearTimeout(nS.screenTimeout), i >= eS && t && (nS.endTimeStamp = n);+function Vre() {+ let e = tS(), t = eS.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !eS.isOpen) {+ let e = eS.screenWidth;+ eS.screenWidth = eS.screenHeight, eS.screenHeight = e;+ }+ eS.isOpen || (eS.screenAngle = e.angle);}-function aS() {- let e = rS();- $y(window.visualViewport, "resize", Ab() ? iS : Rre), $y(window.screen.orientation, "change", zre), $y(window, "focus", Bre, {+function Hre(e) {+ let t = aS(K(e)), n = performance.now(), r = tS(), i = eS.screenHeight - r.height;+ i < Qx && t && (eS.screenWidth = r.width, eS.screenHeight = r.height, eS.screenAngle = r.angle, eS.startTimeStamp = n), t && window.clearTimeout(eS.screenTimeout), i >= Qx && t && (eS.endTimeStamp = n);+}+function rS() {+ let e = tS();+ Zy(window.visualViewport, "resize", Ob() ? nS : Bre), Zy(window.screen.orientation, "change", Vre), Zy(window, "focus", Hre, {capture: !0,passive: !0- }), nS.screenWidth = e.width, nS.screenHeight = e.height, nS.screenAngle = e.angle;+ }), eS.screenWidth = e.width, eS.screenHeight = e.height, eS.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? $y(document, "DOMContentLoaded", aS) : aS());-function oS() {- let e = $x("viewport");- return Mb() && e?.includes("overlays-content") ? !1 : nS.isOpen ? !0 : nS.startTimeStamp ? nS.endTimeStamp >= nS.startTimeStamp ? !0 : performance.now() - nS.startTimeStamp <= tS ? nS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? Zy(document, "DOMContentLoaded", rS) : rS());+function iS() {+ let e = Zx("viewport");+ return Ab() && e?.includes("overlays-content") ? !1 : eS.isOpen ? !0 : eS.startTimeStamp ? eS.endTimeStamp >= eS.startTimeStamp ? !0 : performance.now() - eS.startTimeStamp <= $x ? eS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function sS(e) {- if (!(e instanceof Element) || !pb(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Lre.has(e.type);+function aS(e) {+ if (!(e instanceof Element) || !db(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !zre.has(e.type);return t || n || r;}-function cS(e) {- return Tb() ? e.metaKey : e.ctrlKey;+function oS(e) {+ return Cb() ? e.metaKey : e.ctrlKey;}-function lS() {- return nS.isOpen;+function sS() {+ return eS.isOpen;}//#endregion//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var Vre = D.useInsertionEffect ?? gb;-function uS(e) {+var Ure = D.useInsertionEffect ?? mb;+function cS(e) {let t = (0, D.useRef)(null);- return Vre(() => {+ return Ure(() => {t.current = e;}, [e]), (0, D.useCallback)((...e) => {let n = t.current;@@ -21663,10 +21663,10 @@ function uS(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useEvent.mjs-function dS(e, t, n, r) {- let i = uS(n), a = n == null;+function lS(e, t, n, r) {+ let i = cS(n), a = n == null;(0, D.useEffect)(() => {- if (!(a || e.current == null)) return $y(e.current, t, i, r);+ if (!(a || e.current == null)) return Zy(e.current, t, i, r);}, [e,t,@@ -21676,9 +21676,9 @@ function dS(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLabels.mjs-function fS(e, t) {+function uS(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = Sx(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {+ return n = bx(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {id: n,"aria-label": r,"aria-labelledby": i@@ -21686,7 +21686,7 @@ function fS(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/utils.mjs-var Hre = /* @__PURE__ */ new Set([+var Wre = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -21697,7 +21697,7 @@ var Hre = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), Ure = /* @__PURE__ */ new Set([+]), Gre = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -21718,20 +21718,20 @@ var Hre = /* @__PURE__ */ new Set(["ur","yi"]);-function Wre(e) {+function Kre(e) {if (Intl.Locale) {let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;if (n) return n.direction === "rtl";- if (t.script) return Hre.has(t.script);+ if (t.script) return Wre.has(t.script);}let t = e.split("-")[0];- return Ure.has(t);+ return Gre.has(t);}//#endregion//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var pS = Symbol.for("react-aria.i18n.locale");-function mS() {- let e = typeof window < "u" && window[pS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var dS = Symbol.for("react-aria.i18n.locale");+function fS() {+ let e = typeof window < "u" && window[dS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -21739,33 +21739,33 @@ function mS() {}return {locale: e,- direction: Wre(e) ? "rtl" : "ltr"+ direction: Kre(e) ? "rtl" : "ltr"};}-var hS = mS(), gS = /* @__PURE__ */ new Set();-function _S() {- hS = mS();- for (let e of gS) e(hS);+var pS = fS(), mS = /* @__PURE__ */ new Set();+function hS() {+ pS = fS();+ for (let e of mS) e(pS);}-function Gre() {- let e = Wb(), [t, n] = (0, D.useState)(hS);- return (0, D.useEffect)(() => (gS.size === 0 && window.addEventListener("languagechange", _S), gS.add(n), () => {- gS.delete(n), gS.size === 0 && window.removeEventListener("languagechange", _S);+function qre() {+ let e = Hb(), [t, n] = (0, D.useState)(pS);+ return (0, D.useEffect)(() => (mS.size === 0 && window.addEventListener("languagechange", hS), mS.add(n), () => {+ mS.delete(n), mS.size === 0 && window.removeEventListener("languagechange", hS);}), []), e ? {- locale: typeof window < "u" && window[pS] || "en-US",+ locale: typeof window < "u" && window[dS] || "en-US",direction: "ltr"} : t;}//#endregion//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var Kre = /*#__PURE__*/ D.createContext(null);-function vS() {- let e = Gre();- return (0, D.useContext)(Kre) || e;+var Jre = /*#__PURE__*/ D.createContext(null);+function gS() {+ let e = qre();+ return (0, D.useContext)(Jre) || e;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var qre = Symbol.for("react-aria.i18n.locale"), Jre = Symbol.for("react-aria.i18n.strings"), yS = void 0, bS = class e {+var Yre = Symbol.for("react-aria.i18n.locale"), Xre = Symbol.for("react-aria.i18n.strings"), _S = void 0, vS = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -21776,39 +21776,39 @@ var qre = Symbol.for("react-aria.i18n.locale"), Jre = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = Yre(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = Zre(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[qre];- if (yS === void 0) {- let t = window[Jre];+ let n = window[Yre];+ if (_S === void 0) {+ let t = window[Xre];if (!t) return null;- yS = {};- for (let r in t) yS[r] = new e({ [n]: t[r] }, n);+ _S = {};+ for (let r in t) _S[r] = new e({ [n]: t[r] }, n);}- let r = yS?.[t];+ let r = _S?.[t];if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r;}};-function Yre(e, t, n = "en-US") {+function Zre(e, t, n = "en-US") {if (t[e]) return t[e];- let r = Xre(e), i = Zre(e);+ let r = Qre(e), i = $re(e);if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];if (t[r]) return t[r];for (let e in t) if (e.startsWith(r + "-")) return t[e];return t[n];}-function Xre(e) {+function Qre(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function Zre(e) {+function $re(e) {if (Intl.Locale) return new Intl.Locale(e).script;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var xS = /* @__PURE__ */ new Map(), SS = /* @__PURE__ */ new Map(), Qre = class {+var yS = /* @__PURE__ */ new Map(), bS = /* @__PURE__ */ new Map(), eie = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -21819,37 +21819,37 @@ var xS = /* @__PURE__ */ new Map(), SS = /* @__PURE__ */ new Map(), Qre = classplural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = xS.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), xS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = yS.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), yS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = SS.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), SS.set(this.locale, t)), t.format(e);+ let t = bS.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), bS.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, CS = /* @__PURE__ */ new WeakMap();-function $re(e) {- let t = CS.get(e);- return t || (t = new bS(e), CS.set(e, t)), t;+}, xS = /* @__PURE__ */ new WeakMap();+function tie(e) {+ let t = xS.get(e);+ return t || (t = new vS(e), xS.set(e, t)), t;}-function eie(e, t) {- return t && bS.getGlobalDictionaryForPackage(t) || $re(e);+function nie(e, t) {+ return t && vS.getGlobalDictionaryForPackage(t) || tie(e);}-function wS(e, t) {- let { locale: n } = vS(), r = eie(e, t);- return (0, D.useMemo)(() => new Qre(n, r), [n, r]);+function SS(e, t) {+ let { locale: n } = gS(), r = nie(e, t);+ return (0, D.useMemo)(() => new eie(n, r), [n, r]);}//#endregion//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var tie = /* @__PURE__ */ new Set(["id"]), nie = /* @__PURE__ */ new Set([+var rie = /* @__PURE__ */ new Set(["id"]), iie = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), rie = /* @__PURE__ */ new Set([+]), aie = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -21857,64 +21857,64 @@ var tie = /* @__PURE__ */ new Set(["id"]), nie = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), iie = /* @__PURE__ */ new Set([+]), oie = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), TS = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), aie = /^(data-.*)$/;-function ES(e, t = {}) {+]), CS = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), sie = /^(data-.*)$/;+function wS(e, t = {}) {let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (tie.has(t) || n && nie.has(t) || r && rie.has(t) || i && iie.has(t) || a && (TS.has(t) || t.endsWith("Capture") && TS.has(t.slice(0, -7))) || o?.has(t) || aie.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (rie.has(t) || n && iie.has(t) || r && aie.has(t) || i && oie.has(t) || a && (CS.has(t) || t.endsWith("Capture") && CS.has(t.slice(0, -7))) || o?.has(t) || sie.test(t)) && (s[t] = e[t]);return s;}//#endregion//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs-var DS = "default", OS = "", kS = /* @__PURE__ */ new WeakMap();-function AS(e) {- if (Ob() && Ab()) {- if (DS === "default") {- let t = Yy(e);- OS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- DS = "disabled";+var TS = "default", ES = "", DS = /* @__PURE__ */ new WeakMap();+function OS(e) {+ if (Eb() && Ob()) {+ if (TS === "default") {+ let t = qy(e);+ ES = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ TS = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- kS.set(e, e.style[t]), e.style[t] = "none";+ DS.set(e, e.style[t]), e.style[t] = "none";}}-function jS(e) {- if (Ob() && Ab()) {- if (DS !== "disabled") return;- DS = "restoring", setTimeout(() => {- gx(() => {- if (DS === "restoring") {- let t = Yy(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = OS || ""), OS = "", DS = "default";+function kS(e) {+ if (Eb() && Ob()) {+ if (TS !== "disabled") return;+ TS = "restoring", setTimeout(() => {+ mx(() => {+ if (TS === "restoring") {+ let t = qy(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = ES || ""), ES = "", TS = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && kS.has(e)) {- let t = kS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), kS.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && DS.has(e)) {+ let t = DS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), DS.delete(e);}}//#endregion//#region node_modules/react-aria/dist/private/utils/getNonce.mjs-var MS = /* @__PURE__ */ new WeakMap();-function NS(e) {- let t = Yy(e), n = MS.get(t);- return n ??= $x("csp-nonce", t), n !== void 0 && MS.set(t, n), n;+var AS = /* @__PURE__ */ new WeakMap();+function jS(e) {+ let t = qy(e), n = AS.get(t);+ return n ??= Zx("csp-nonce", t), n !== void 0 && AS.set(t, n), n;}//#endregion//#region node_modules/react-aria/dist/private/interactions/context.mjs-var PS = D.createContext({ register: () => {} });-PS.displayName = "PressResponderContext";+var MS = D.createContext({ register: () => {} });+MS.displayName = "PressResponderContext";//#endregion//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function FS() {+function NS() {let e = (0, D.useRef)(/* @__PURE__ */ new Map()), t = (0, D.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -21941,15 +21941,15 @@ function FS() {}//#endregion//#region node_modules/react-aria/dist/private/interactions/usePress.mjs-function oie(e) {- let t = (0, D.useContext)(PS);+function cie(e) {+ let t = (0, D.useContext)(MS);if (t) {let { register: n, ref: r, ...i } = t;e = q(i, e), n();}- return Px(t, e.ref), e;+ return Mx(t, e.ref), e;}-var IS = class {+var PS = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -21962,9 +21962,9 @@ var IS = class {get shouldStopPropagation() {return this.#e;}-}, LS = Symbol("linkClicked"), RS = "react-aria-pressable-style", zS = "data-react-aria-pressable";-function BS(e) {- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = oie(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({+}, FS = Symbol("linkClicked"), IS = "react-aria-pressable-style", LS = "data-react-aria-pressable";+function RS(e) {+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = cie(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -21974,12 +21974,12 @@ function BS(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = FS(), y = (0, D.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = NS(), y = (0, D.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new IS("pressstart", t, e);+ let n = new PS("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -21993,11 +21993,11 @@ function BS(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new IS("pressend", r, e);+ let t = new PS("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new IS("press", r, e);+ let n = new PS("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -22006,19 +22006,19 @@ function BS(e) {i,n,t- ]), x = uS(b), S = uS((0, D.useCallback)((e, t) => {+ ]), x = cS(b), S = cS((0, D.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new IS("pressup", t, e);+ let r = new PS("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), C = (0, D.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(US(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || jS(t.target);+ t.didFirePressStart && t.pointerType != null && b(VS(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || kS(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -22026,7 +22026,7 @@ function BS(e) {d,v,b- ]), w = uS(C);+ ]), w = cS(C);(0, D.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -22043,39 +22043,39 @@ function BS(e) {}, [s, o]), O = (0, D.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- vb(n, t), o(_b(n));+ gb(n, t), o(hb(n));}}, [s, o]), k = (0, D.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (HS(t.nativeEvent, t.currentTarget) && nb(t.currentTarget, K(t))) {- WS(K(t), t.key) && t.preventDefault();+ if (BS(t.nativeEvent, t.currentTarget) && eb(t.currentTarget, K(t))) {+ HS(K(t), t.key) && t.preventDefault();let r = !0;!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));let i = t.currentTarget;- _(Yy(t.currentTarget), "keyup", vx((t) => {- HS(t, i) && !t.repeat && nb(i, K(t)) && e.target && S(US(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && Tb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(qy(t.currentTarget), "keyup", gx((t) => {+ BS(t, i) && !t.repeat && eb(i, K(t)) && e.target && S(VS(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && Cb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || nb(t.currentTarget, K(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Rb.isOpening) {+ if ((!t || eb(t.currentTarget, K(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Ib.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Nb(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || jb(t.nativeEvent))) {let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");E(t), n = e && r && i;} else if (e.isPressed && e.pointerType !== "keyboard") {- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(US(t.currentTarget, t), r), a = x(US(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(VS(t.currentTarget, t), r), a = x(VS(t.currentTarget, t), r, !0);n = i && a, e.isOverTarget = !1, E(t), w(t);}e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();}}}, n = (t) => {- if (e.isPressed && e.target && HS(t, e.target)) {- WS(K(t), t.key) && t.preventDefault();- let n = K(t), r = nb(e.target, n);- x(US(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && VS(e.target) && nb(e.target, n) && !t[LS] && (t[LS] = !0, Rb(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && BS(t, e.target)) {+ HS(K(t), t.key) && t.preventDefault();+ let n = K(t), r = eb(e.target, n);+ x(VS(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && zS(e.target) && eb(e.target, n) && !t[FS] && (t[FS] = !0, Ib(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);} else if (t.key === "Meta" && e.metaKeyEvents?.size) {let t = e.metaKeyEvents;e.metaKeyEvents = void 0;@@ -22084,39 +22084,39 @@ function BS(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !nb(t.currentTarget, K(t))) return;- if (Pb(t.nativeEvent)) {+ if (t.button !== 0 || !eb(t.currentTarget, K(t))) return;+ if (Mb(t.nativeEvent)) {e.pointerType = "virtual";return;}e.pointerType = t.pointerType;let i = !0;if (!e.isPressed) {- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || AS(e.target), i = y(t, e.pointerType);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || OS(e.target), i = y(t, e.pointerType);let a = K(t);- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Yy(t.currentTarget), "pointerup", n, !1), _(Yy(t.currentTarget), "pointercancel", r, !1);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(qy(t.currentTarget), "pointerup", n, !1), _(qy(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (nb(t.currentTarget, K(t)) && t.button === 0) {+ if (eb(t.currentTarget, K(t)) && t.button === 0) {if (l) {- let n = xb(t.target);+ let n = yb(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- nb(t.currentTarget, K(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ eb(t.currentTarget, K(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);}, t.onPointerEnter = (t) => {- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(US(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(VS(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(US(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(VS(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (nb(e.target, K(t)) && e.pointerType != null) {+ if (eb(e.target, K(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Jy(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Ky(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -22126,7 +22126,7 @@ function BS(e) {w(e);};t.onDragStart = (e) => {- nb(e.currentTarget, K(e)) && w(e);+ eb(e.currentTarget, K(e)) && w(e);};}return t;@@ -22143,14 +22143,14 @@ function BS(e) {]);return (0, D.useEffect)(() => {if (!f) return;- let e = Yy(f.current);- if (!e || !e.head || e.getElementById(RS)) return;+ let e = qy(f.current);+ if (!e || !e.head || e.getElementById(IS)) return;let t = e.createElement("style");- t.id = RS;- let n = NS(e);+ t.id = IS;+ let n = jS(e);n && (t.nonce = n), t.textContent = `@layer {- [${zS}] {+ [${LS}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -22158,23 +22158,23 @@ function BS(e) {}, [f]), (0, D.useEffect)(() => {let e = g.current;return () => {- d || jS(e.target ?? void 0);+ d || kS(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: q(p, k, { [zS]: !0 })+ pressProps: q(p, k, { [LS]: !0 })};}-function VS(e) {+function zS(e) {return e.tagName === "A" && e.hasAttribute("href");}-function HS(e, t) {+function BS(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Xy(i).HTMLInputElement && !GS(i, n) || i instanceof Xy(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && VS(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Jy(i).HTMLInputElement && !US(i, n) || i instanceof Jy(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && zS(i)) && n !== "Enter");}-function US(e, t) {+function VS(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -22187,13 +22187,13 @@ function US(e, t) {key: t.key};}-function sie(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !VS(e);+function lie(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !zS(e);}-function WS(e, t) {- return Tb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !GS(e, t) : sie(e);+function HS(e, t) {+ return Cb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !US(e, t) : lie(e);}-var cie = /* @__PURE__ */ new Set([+var uie = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22204,12 +22204,12 @@ var cie = /* @__PURE__ */ new Set(["submit","reset"]);-function GS(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : cie.has(e.type);+function US(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : uie.has(e.type);}//#endregion//#region node_modules/react-aria/dist/private/button/useButton.mjs-function lie(e, t) {+function die(e, t) {let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;g = n === "button" ? {type: h,@@ -22231,7 +22231,7 @@ function lie(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = BS({+ let { pressProps: _, isPressed: v } = RS({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -22241,9 +22241,9 @@ function lie(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = Ix(e, t);+ }), { focusableProps: y } = Px(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = q(y, _, ES(e, { labelable: !0 }));+ let b = q(y, _, wS(e, { labelable: !0 }));return {isPressed: v,buttonProps: q(g, b, {@@ -22258,7 +22258,7 @@ function lie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var uie = class {+var fie = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -22283,7 +22283,7 @@ var uie = class {return this._currentNode;}set currentNode(e) {- if (!nb(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!eb(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t = [], n = e, r = e;for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });@@ -22297,7 +22297,7 @@ var uie = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return nb(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return eb(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -22361,45 +22361,45 @@ var uie = class {return null;}};-function KS(e, t, n, r) {- return tb() ? new uie(e, t, n, r) : e.createTreeWalker(t, n, r);+function WS(e, t, n, r) {+ return $y() ? new fie(e, t, n, r) : e.createTreeWalker(t, n, r);}//#endregion//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs-var qS = /*#__PURE__*/ D.createContext(null), JS = "react-aria-focus-scope-restore", YS = null;-function XS(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(qS) || {}, l = (0, D.useMemo)(() => new pC({ scopeRef: s }), [s]);- gb(() => {- let e = c || mC.root;- if (mC.getTreeNode(e.scopeRef) && YS && !nC(YS, e.scopeRef)) {- let t = mC.getTreeNode(YS);+var GS = /*#__PURE__*/ D.createContext(null), KS = "react-aria-focus-scope-restore", qS = null;+function JS(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(GS) || {}, l = (0, D.useMemo)(() => new dC({ scopeRef: s }), [s]);+ mb(() => {+ let e = c || fC.root;+ if (fC.getTreeNode(e.scopeRef) && qS && !eC(qS, e.scopeRef)) {+ let t = fC.getTreeNode(qS);t && (e = t);}- e.addChild(l), mC.addNode(l);- }, [l, c]), gb(() => {- let e = mC.getTreeNode(s);+ e.addChild(l), fC.addNode(l);+ }, [l, c]), mb(() => {+ let e = fC.getTreeNode(s);e && (e.contain = !!n);- }, [n]), gb(() => {+ }, [n]), mb(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(JS, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(KS, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(JS, n);+ for (let e of t) e.removeEventListener(KS, n);};- }, [t]), sC(s, r, n), mie(s, n), lC(s, r, n), oC(s, i), (0, D.useEffect)(() => {- let e = rb(Yy(s.current ? s.current[0] : void 0)), t = null;- if (eC(e, s.current)) {- for (let n of mC.traverse()) n.scopeRef && eC(e, n.scopeRef.current) && (t = n);- t === mC.getTreeNode(s) && (YS = t.scopeRef);- }- }, [s]), gb(() => () => {- let e = mC.getTreeNode(s)?.parent?.scopeRef ?? null;- (s === YS || nC(s, YS)) && (!e || mC.getTreeNode(e)) && (YS = e), mC.removeTreeNode(s);+ }, [t]), aC(s, r, n), gie(s, n), sC(s, r, n), iC(s, i), (0, D.useEffect)(() => {+ let e = tb(qy(s.current ? s.current[0] : void 0)), t = null;+ if (QS(e, s.current)) {+ for (let n of fC.traverse()) n.scopeRef && QS(e, n.scopeRef.current) && (t = n);+ t === fC.getTreeNode(s) && (qS = t.scopeRef);+ }+ }, [s]), mb(() => () => {+ let e = fC.getTreeNode(s)?.parent?.scopeRef ?? null;+ (s === qS || eC(s, qS)) && (!e || fC.getTreeNode(e)) && (qS = e), fC.removeTreeNode(s);}, [s]);- let u = (0, D.useMemo)(() => die(s), []), d = (0, D.useMemo)(() => ({+ let u = (0, D.useMemo)(() => pie(s), []), d = (0, D.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ D.createElement(qS.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {+ return /*#__PURE__*/ D.createElement(GS.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -22409,154 +22409,154 @@ function XS(e) {ref: o}));}-function die(e) {+function pie(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || rb(Yy(n[0] ?? void 0)), c = n[0].previousElementSibling, l = dC(ZS(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || tb(qy(n[0] ?? void 0)), c = n[0].previousElementSibling, l = lC(YS(n), {tabbable: i,accept: o}, n);- l.currentNode = eC(s, n) ? s : c;+ l.currentNode = QS(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && rC(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && tC(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || rb(Yy(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = dC(ZS(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || tb(qy(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = lC(YS(n), {tabbable: i,accept: o}, n);- l.currentNode = eC(s, n) ? s : c;+ l.currentNode = QS(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && rC(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && tC(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = dC(ZS(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = lC(YS(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && rC(o, !0), o;+ return o && tC(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = dC(ZS(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = lC(YS(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && rC(o, !0), o;+ return o && tC(o, !0), o;}};}-function ZS(e) {+function YS(e) {return e[0].parentElement;}-function QS(e) {- let t = mC.getTreeNode(YS);+function XS(e) {+ let t = fC.getTreeNode(qS);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function fie(e) {- if (!e.form) return Array.from(Yy(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = Xy(e);+function mie(e) {+ if (!e.form) return Array.from(qy(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = Jy(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function pie(e) {+function hie(e) {if (e.checked) return !0;- let t = fie(e);+ let t = mie(e);return t.length > 0 && !t.some((e) => e.checked);}-function mie(e, t) {+function gie(e, t) {let n = (0, D.useRef)(void 0), r = (0, D.useRef)(void 0);- gb(() => {+ mb(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = Yy(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !QS(e) || t.isComposing) return;- let n = rb(a), r = e.current;- if (!r || !eC(n, r)) return;- let i = dC(ZS(r), { tabbable: !0 }, r);+ let a = qy(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !XS(e) || t.isComposing) return;+ let n = tb(a), r = e.current;+ if (!r || !QS(n, r)) return;+ let i = lC(YS(r), { tabbable: !0 }, r);if (!n) return;i.currentNode = n;let o = t.shiftKey ? i.previousNode() : i.nextNode();- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (rC(o, !0), o instanceof Xy(o).HTMLInputElement && o.select());+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (tC(o, !0), o instanceof Jy(o).HTMLInputElement && o.select());}, s = (t) => {- (!YS || nC(YS, e)) && eC(K(t), e.current) ? (YS = e, n.current = K(t)) : QS(e) && !tC(K(t), e) ? n.current ? rC(n.current) : YS && YS.current && aC(YS.current) : QS(e) && (n.current = K(t));+ (!qS || eC(qS, e)) && QS(K(t), e.current) ? (qS = e, n.current = K(t)) : XS(e) && !$S(K(t), e) ? n.current ? tC(n.current) : qS && qS.current && rC(qS.current) : XS(e) && (n.current = K(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = ox(), i = (r === "virtual" || r === null) && Mb() && jb(), o = rb(a);- if (!i && o && QS(e) && !tC(o, e)) {- YS = e;+ let r = ix(), i = (r === "virtual" || r === null) && Ab() && kb(), o = tb(a);+ if (!i && o && XS(e) && !$S(o, e)) {+ qS = e;let r = K(t);- r && r.isConnected ? (n.current = r, rC(n.current)) : YS.current && aC(YS.current);+ r && r.isConnected ? (n.current = r, tC(n.current)) : qS.current && rC(qS.current);}});};return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));};- }, [e, t]), gb(() => () => {+ }, [e, t]), mb(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function $S(e) {- return tC(e);+function ZS(e) {+ return $S(e);}-function eC(e, t) {- return !e || !t ? !1 : t.some((t) => nb(t, e));+function QS(e, t) {+ return !e || !t ? !1 : t.some((t) => eb(t, e));}-function tC(e, t = null) {+function $S(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of mC.traverse(mC.getTreeNode(t))) if (n && eC(e, n.current)) return !0;+ for (let { scopeRef: n } of fC.traverse(fC.getTreeNode(t))) if (n && QS(e, n.current)) return !0;return !1;}-function hie(e) {- return tC(e, YS);+function _ie(e) {+ return $S(e, qS);}-function nC(e, t) {- let n = mC.getTreeNode(t)?.parent;+function eC(e, t) {+ let n = fC.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function rC(e, t = !1) {+function tC(e, t = !1) {if (e != null && !t) try {- _x(e);+ hx(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function iC(e, t = !0) {- let n = e[0].previousElementSibling, r = ZS(e), i = dC(r, { tabbable: t }, e);+function nC(e, t = !0) {+ let n = e[0].previousElementSibling, r = YS(e), i = lC(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = ZS(e), i = dC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = YS(e), i = lC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function aC(e, t = !0) {- rC(iC(e, t));+function rC(e, t = !0) {+ tC(nC(e, t));}-function oC(e, t) {+function iC(e, t) {let n = D.useRef(t);(0, D.useEffect)(() => {- n.current && (YS = e, !eC(rb(Yy(e.current ? e.current[0] : void 0)), YS.current) && e.current && aC(e.current)), n.current = !1;+ n.current && (qS = e, !QS(tb(qy(e.current ? e.current[0] : void 0)), qS.current) && e.current && rC(e.current)), n.current = !1;}, [e]);}-function sC(e, t, n) {- gb(() => {+function aC(e, t, n) {+ mb(() => {if (t || n) return;- let r = e.current, i = Yy(r ? r[0] : void 0), a = (t) => {+ let r = e.current, i = qy(r ? r[0] : void 0), a = (t) => {let n = K(t);- eC(n, e.current) ? YS = e : $S(n) || (YS = null);+ QS(n, e.current) ? qS = e : ZS(n) || (qS = null);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));@@ -22567,43 +22567,43 @@ function sC(e, t, n) {n]);}-function cC(e) {- let t = mC.getTreeNode(YS);+function oC(e) {+ let t = fC.getTreeNode(qS);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function lC(e, t, n) {- let r = (0, D.useRef)(typeof document < "u" ? rb(Yy(e.current ? e.current[0] : void 0)) : null);- gb(() => {- let r = e.current, i = Yy(r ? r[0] : void 0);+function sC(e, t, n) {+ let r = (0, D.useRef)(typeof document < "u" ? tb(qy(e.current ? e.current[0] : void 0)) : null);+ mb(() => {+ let r = e.current, i = qy(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!YS || nC(YS, e)) && eC(rb(i), e.current) && (YS = e);+ (!qS || eC(qS, e)) && QS(tb(i), e.current) && (qS = e);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));};- }, [e, n]), gb(() => {- let r = Yy(e.current ? e.current[0] : void 0);+ }, [e, n]), mb(() => {+ let r = qy(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !QS(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !XS(e) || t.isComposing) return;let n = r.activeElement;- if (!tC(n, e) || !cC(e)) return;- let i = mC.getTreeNode(e);+ if (!$S(n, e) || !oC(e)) return;+ let i = fC.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = dC(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = lC(r.body, { tabbable: !0 });o.currentNode = n;let s = t.shiftKey ? o.previousNode() : o.nextNode();- if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !tC(s, e)) && a) {+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !$S(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (tC(s, e));- t.preventDefault(), t.stopPropagation(), s ? rC(s, !0) : $S(a) ? rC(a, !0) : n.blur();+ while ($S(s, e));+ t.preventDefault(), t.stopPropagation(), s ? tC(s, !0) : ZS(a) ? tC(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -22613,31 +22613,31 @@ function lC(e, t, n) {e,t,n- ]), gb(() => {- let n = Yy(e.current ? e.current[0] : void 0);+ ]), mb(() => {+ let n = qy(e.current ? e.current[0] : void 0);if (!t) return;- let i = mC.getTreeNode(e);+ let i = fC.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = mC.getTreeNode(e);+ let r = fC.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = rb(n);- if (t && i && (a && tC(a, e) || a === n.body && cC(e))) {- let t = mC.clone();+ let i = r.nodeToRestore, a = tb(n);+ if (t && i && (a && $S(a, e) || a === n.body && oC(e))) {+ let t = fC.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- uC(n.nodeToRestore);+ cC(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && mC.getTreeNode(n.scopeRef)) {- let e = iC(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && fC.getTreeNode(n.scopeRef)) {+ let e = nC(n.scopeRef.current, !0);if (e) {- uC(e);+ cC(e);return;}}@@ -22649,21 +22649,21 @@ function lC(e, t, n) {};}, [e, t]);}-function uC(e) {- e.dispatchEvent(new CustomEvent(JS, {+function cC(e) {+ e.dispatchEvent(new CustomEvent(KS, {bubbles: !0,cancelable: !0- })) && rC(e);+ })) && tC(e);}-function dC(e, t, n) {- let r = t?.tabbable ? mb : pb, i = Yy(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = KS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return nb(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!pie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || eC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function lC(e, t, n) {+ let r = t?.tabbable ? fb : db, i = qy(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = WS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return eb(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!hie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || QS(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var fC = class e {+var uC = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new pC({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new dC({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -22674,7 +22674,7 @@ var fC = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new pC({ scopeRef: e });+ let i = new dC({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -22685,7 +22685,7 @@ var fC = class e {let t = this.fastMap.get(e);if (!t) return;let n = t.parent;- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && eC(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && QS(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);let r = t.children;n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);}@@ -22697,7 +22697,7 @@ var fC = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, pC = class {+}, dC = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -22707,13 +22707,13 @@ var fC = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, mC = new fC(), hC = 7e3, gC = null;-function _C(e, t = "assertive", n = hC) {- gC ? gC.announce(e, t, n) : (gC = new vC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? gC.announce(e, t, n) : setTimeout(() => {- gC?.isAttached() && gC?.announce(e, t, n);+}, fC = new uC(), pC = 7e3, mC = null;+function hC(e, t = "assertive", n = pC) {+ mC ? mC.announce(e, t, n) : (mC = new gC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? mC.announce(e, t, n) : setTimeout(() => {+ mC?.isAttached() && mC?.announce(e, t, n);}, 100));}-var vC = class {+var gC = class {constructor() {this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {border: 0,@@ -22738,7 +22738,7 @@ var vC = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = hC) {+ announce(e, t = "assertive", n = pC) {if (!this.node) return;let r = document.createElement("div");typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {@@ -22751,8 +22751,8 @@ var vC = class {};//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function yC(e, t) {- let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = uS(e);+function _C(e, t) {+ let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = cS(e);(0, D.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, D.useEffect)(() => {@@ -22762,33 +22762,33 @@ function yC(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs-function bC(e, t) {+function vC(e, t) {if (!e) return !1;let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs-function xC(e, t) {+function yC(e, t) {let n = e;- for (bC(n, t) && (n = n.parentElement); n && !bC(n, t);) n = n.parentElement;+ for (vC(n, t) && (n = n.parentElement); n && !vC(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function SC(e, t) {+function bC(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (bC(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (vC(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}//#endregion//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function CC(e, t, n = {}) {- e !== t && wC(e, t, t.getBoundingClientRect(), n);+function xC(e, t, n = {}) {+ e !== t && SC(e, t, t.getBoundingClientRect(), n);}-function wC(e, t, n, r = {}) {+function SC(e, t, n, r = {}) {let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, ee = e === d ? 0 : e.offsetWidth - e.clientWidth - N, F = e === d ? 0 : e.offsetHeight - e.clientHeight - P, te = p + (f ? 0 : T) + x, I = m - (f ? 0 : E) - S - F, ne = h + (f ? 0 : D) + C, re = g - (f ? 0 : O) - w;- Ob() && Ab() || u.direction === "ltr" ? re -= ee : u.direction === "rtl" && (ne += ee);+ Eb() && Ob() || u.direction === "ltr" ? re -= ee : u.direction === "rtl" && (ne += ee);let ie = k < te || A > I, ae = j < ne || M > re;if (ie && i === "start") o += k - te;else if (ie && i === "center") o += (k + A) / 2 - (te + I) / 2;@@ -22809,7 +22809,7 @@ function wC(e, t, n, r = {}) {top: o});}-function TC(e, t = {}) {+function CC(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -22822,47 +22822,47 @@ function TC(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = SC(e, !0);- for (let t of i) CC(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = bC(e, !0);+ for (let t of i) xC(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? SC(n, !0) : [];- for (let e of i) CC(e, n, {+ i = n ? bC(n, !0) : [];+ for (let e of i) xC(e, n, {block: "center",inline: "center"});- for (let t of SC(e, !0)) CC(t, e);+ for (let t of bC(e, !0)) xC(t, e);}}}}//#endregion//#region node_modules/react-aria/dist/private/utils/useDescription.mjs-var EC = 0, DC = /* @__PURE__ */ new Map();-function OC(e) {+var wC = 0, TC = /* @__PURE__ */ new Map();+function EC(e) {let [t, n] = (0, D.useState)();- return gb(() => {+ return mb(() => {if (!e) return;- let t = DC.get(e);+ let t = TC.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${EC++}`;+ let r = `react-aria-description-${wC++}`;n(r);let i = document.createElement("div");i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {refCount: 0,element: i- }, DC.set(e, t);+ }, TC.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), DC.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), TC.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}//#endregion//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs-function kC(e, t, n) {- let r = uS((e) => {+function DC(e, t, n) {+ let r = cS((e) => {n && !e.defaultPrevented && n(t);});(0, D.useEffect)(() => {@@ -22874,21 +22874,21 @@ function kC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs-function AC(e, t, n) {+function OC(e, t, n) {let { validationBehavior: r, focus: i } = e;- gb(() => {+ mb(() => {if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(MC(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(AC(n.current));}});- let a = (0, D.useRef)(!1), o = uS(() => {+ let a = (0, D.useRef)(!1), o = cS(() => {a.current || t.resetValidation();- }), s = uS((e) => {+ }), s = cS((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && NC(r) === n.current && (i ? i() : n.current?.focus(), sx("keyboard")), e.preventDefault();- }), c = uS(() => {+ !e.defaultPrevented && n && r && jC(r) === n.current && (i ? i() : n.current?.focus(), ax("keyboard")), e.preventDefault();+ }), c = cS(() => {t.commitValidation();});(0, D.useEffect)(() => {@@ -22902,7 +22902,7 @@ function AC(e, t, n) {};}, [n, r]);}-function jC(e) {+function kC(e) {let t = e.validity;return {badInput: t.badInput,@@ -22918,14 +22918,14 @@ function jC(e) {valid: t.valid};}-function MC(e) {+function AC(e) {return {isInvalid: !e.validity.valid,- validationDetails: jC(e),+ validationDetails: kC(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function NC(e) {+function jC(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -22934,16 +22934,16 @@ function NC(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSlot.mjs-function PC(e = !0) {+function MC(e = !0) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return gb(() => {+ return mb(() => {r.current || n(!1);}, []), [i, t];}-function FC(e = !0) {- let t = Sx(), [n, r] = PC(e);+function NC(e = !0) {+ let t = bx(), [n, r] = MC(e);return {id: r ? t : void 0,ref: n@@ -22951,7 +22951,7 @@ function FC(e = !0) {}//#endregion//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var IC = {+var PC = {badInput: !1,customError: !1,patternMismatch: !1,@@ -22963,18 +22963,18 @@ var IC = {typeMismatch: !1,valueMissing: !1,valid: !0-}, LC = {- ...IC,+}, FC = {+ ...PC,customError: !0,valid: !1-}, RC = {+}, IC = {isInvalid: !1,- validationDetails: IC,+ validationDetails: PC,validationErrors: []-}, zC = (0, D.createContext)({}), BC = "__reactAriaFormValidationState";-function VC(e) {+}, LC = (0, D.createContext)({}), RC = "__reactAriaFormValidationState";+function zC(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[BC];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[RC];return {realtimeValidation: t,displayValidation: n,@@ -22983,71 +22983,71 @@ function VC(e) {commitValidation: a};}- return HC(e);+ return BC(e);}-function HC(e) {+function BC(e) {let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;n && (t ||= n === "invalid");let c = t === void 0 ? null : {isInvalid: t,validationErrors: [],- validationDetails: LC- }, l = (0, D.useMemo)(() => !o || i == null ? null : GC(WC(o, i)), [o, i]);+ validationDetails: FC+ }, l = (0, D.useMemo)(() => !o || i == null ? null : UC(HC(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, D.useContext)(zC), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => UC(u[e])) : UC(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);+ let u = (0, D.useContext)(LC), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => VC(u[e])) : VC(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, D.useMemo)(() => GC(m ? [] : d), [m, d]), _ = (0, D.useRef)(RC), [v, y] = (0, D.useState)(RC), b = (0, D.useRef)(RC), x = () => {+ let g = (0, D.useMemo)(() => UC(m ? [] : d), [m, d]), _ = (0, D.useRef)(IC), [v, y] = (0, D.useState)(IC), b = (0, D.useRef)(IC), x = () => {if (!S) return;C(!1);let e = l || a || _.current;- KC(e, b.current) || (b.current = e, y(e));+ WC(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, D.useState)(!1);return (0, D.useEffect)(x), {- realtimeValidation: c || g || l || a || RC,+ realtimeValidation: c || g || l || a || IC,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !KC(v, e) ? y(e) : _.current = e;+ s === "aria" && !WC(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = RC;- KC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);+ let e = IC;+ WC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {s === "native" && C(!0), h(!0);}};}-function UC(e) {+function VC(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function WC(e, t) {+function HC(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return UC(n);+ if (n && typeof n != "boolean") return VC(n);}return [];}-function GC(e) {+function UC(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: LC+ validationDetails: FC} : null;}-function KC(e, t) {+function WC(e, t) {return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);}//#endregion//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs-function qC(e, t, n) {- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = VC({+function GC(e, t, n) {+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = zC({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- AC(e, b, n);+ OC(e, b, n);let w = (e) => {e.stopPropagation(), t.setSelected(K(e).checked);- }, { pressProps: T, isPressed: E } = BS({+ }, { pressProps: T, isPressed: E } = RS({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -23055,7 +23055,7 @@ function qC(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [O, k] = (0, D.useState)(!1), { pressProps: A } = BS({+ }), [O, k] = (0, D.useState)(!1), { pressProps: A } = RS({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), k(!0));},@@ -23072,13 +23072,13 @@ function qC(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [BC]: i } = e, { commitValidation: a } = i || b;+ let { [RC]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: j } = Ix(e, n), M = q(T, j), N = ES(e, { labelable: !0 });- kC(n, t.defaultSelected, t.setSelected);- let P = FC(), ee = FC();+ }), { focusableProps: j } = Px(e, n), M = q(T, j), N = wS(e, { labelable: !0 });+ DC(n, t.defaultSelected, t.setSelected);+ let P = NC(), ee = NC();return {labelProps: q(A, { onClick: (e) => e.preventDefault() }),inputProps: q(N, {@@ -23115,8 +23115,8 @@ function qC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function JC(e, t, n) {- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = qC(e, t, n), { isIndeterminate: m } = e;+function KC(e, t, n) {+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = GC(e, t, n), { isIndeterminate: m } = e;return (0, D.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {@@ -23135,18 +23135,18 @@ function JC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/utils.mjs-var YC = /* @__PURE__ */ new WeakMap();+var qC = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/label/useLabel.mjs-function XC(e) {+function JC(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = Sx(t);- let o = Sx(), s = {};+ t = bx(t);+ let o = bx(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = fS({+ let c = uS({id: t,"aria-label": i,"aria-labelledby": r@@ -23158,13 +23158,13 @@ function XC(e) {}//#endregion//#region node_modules/react-aria/dist/private/label/useField.mjs-function ZC(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = XC(e), s = Cx([+function YC(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = JC(e), s = xx([!!t,!!n,r,i- ]), c = Cx([+ ]), c = xx([!!t,!!n,r,@@ -23183,26 +23183,26 @@ function ZC(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function QC(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = FS(), c = (0, D.useCallback)((e) => {- nb(e.currentTarget, K(e)) && a.current.isFocusWithin && !nb(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function XC(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = NS(), c = (0, D.useCallback)((e) => {+ eb(e.currentTarget, K(e)) && a.current.isFocusWithin && !eb(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = yb(c), u = (0, D.useCallback)((e) => {- if (!nb(e.currentTarget, K(e))) return;- let t = K(e), n = Yy(t), s = rb(n);+ ]), l = _b(c), u = (0, D.useCallback)((e) => {+ if (!eb(e.currentTarget, K(e))) return;+ let t = K(e), n = qy(t), s = tb(n);if (!a.current.isFocusWithin && s === t) {r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);let t = e.currentTarget;o(n, "focus", (e) => {let r = K(e);- if (a.current.isFocusWithin && !nb(t, r)) {+ if (a.current.isFocusWithin && !eb(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- vb(e, t);- let i = _b(e);+ gb(e, t);+ let i = hb(e);c(i);}}, { capture: !0 });@@ -23224,14 +23224,14 @@ function QC(e) {}//#endregion//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs-var $C = D.useInsertionEffect ?? D.useLayoutEffect;-function ew(e, t, n) {+var ZC = D.useInsertionEffect ?? D.useLayoutEffect;+function QC(e, t, n) {let [r, i] = (0, D.useState)(e || t), a = (0, D.useRef)(r), o = (0, D.useRef)(e !== void 0), s = e !== void 0;(0, D.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- $C(() => {+ ZC(() => {a.current = c;});let [, l] = (0, D.useReducer)(() => ({}), {});@@ -23242,8 +23242,8 @@ function ew(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function tw(e = {}) {- let { isReadOnly: t } = e, [n, r] = ew(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);+function $C(e = {}) {+ let { isReadOnly: t } = e, [n, r] = QC(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);function a(e) {t || r(e);}@@ -23259,26 +23259,26 @@ function tw(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function gie(e, t, n) {- let r = tw({+function vie(e, t, n) {+ let r = $C({isReadOnly: e.isReadOnly || t.isReadOnly,isSelected: t.isSelected(e.value),defaultSelected: t.defaultValue.includes(e.value),onChange(n) {n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);}- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = YC.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = qC.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = VC({+ let { realtimeValidation: l } = zC({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, D.useRef)(RC), d = () => {+ }), u = (0, D.useRef)(IC), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, D.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = JC({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = KC({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -23286,7 +23286,7 @@ function gie(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [BC]: {+ [RC]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -23310,10 +23310,10 @@ function gie(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/utils/number.mjs-function nw(e, t = -Infinity, n = Infinity) {+function ew(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}-function rw(e, t) {+function tw(e, t) {let n = e, r = 0, i = t.toString(), a = i.toLowerCase().indexOf("e-");if (a > 0) r = Math.abs(Math.floor(Math.log10(Math.abs(t)))) + a;else {@@ -23326,24 +23326,24 @@ function rw(e, t) {}return n;}-function iw(e, t, n, r) {+function nw(e, t, n, r) {t = Number(t), n = Number(n);- let i = (e - (isNaN(t) ? 0 : t)) % r, a = rw(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);- return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(rw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(rw((n - t) / r, r)) * r), a = rw(a, r), a;+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = tw(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);+ return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(tw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(tw((n - t) / r, r)) * r), a = tw(a, r), a;}//#endregion//#region node_modules/@internationalized/number/dist/private/NumberFormatter.mjs-var aw = /* @__PURE__ */ new Map(), ow = !1;+var rw = /* @__PURE__ */ new Map(), iw = !1;try {- ow = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";+ iw = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}-var _ie = class {+var yie = class {constructor(e, t = {}) {- this.numberFormatter = vie(e, t), this.options = t;+ this.numberFormatter = bie(e, t), this.options = t;}format(e) {let t = "";- return t = !ow && this.options.signDisplay != null ? yie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !iw && this.options.signDisplay != null ? xie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -23375,21 +23375,21 @@ var _ie = class {}resolvedOptions() {let e = this.numberFormatter.resolvedOptions();- return !ow && this.options.signDisplay != null && (e = {+ return !iw && this.options.signDisplay != null && (e = {...e,signDisplay: this.options.signDisplay}), e;}};-function vie(e, t = {}) {+function bie(e, t = {}) {let { numberingSystem: n } = t;n && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${n}`);let r = e + (t ? Object.entries(t).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (aw.has(r)) return aw.get(r);+ if (rw.has(r)) return rw.get(r);let i = new Intl.NumberFormat(e, t);- return aw.set(r, i), i;+ return rw.set(r, i), i;}-function yie(e, t, n) {+function xie(e, t, n) {if (t === "auto") return e.format(n);if (t === "never") return e.format(Math.abs(n));{@@ -23403,12 +23403,12 @@ function yie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useMove.mjs-function sw(e) {+function aw(e) {let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, D.useRef)({didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = FS(), s = uS((0, D.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = NS(), s = cS((0, D.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -23430,8 +23430,8 @@ function sw(e) {t,n,i- ])), c = uS((0, D.useCallback)((e, t) => {- jS(), i.current.didMove && r?.({+ ])), c = cS((0, D.useCallback)((e, t) => {+ kS(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -23442,7 +23442,7 @@ function sw(e) {}, [r, i]));return { moveProps: (0, D.useMemo)(() => {let e = {}, t = () => {- AS(), i.current.didMove = !1;+ OS(), i.current.didMove = !1;};{let n = (e) => {@@ -23457,7 +23457,7 @@ function sw(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = Xy(K(e));+ let a = Jy(K(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -23467,7 +23467,7 @@ function sw(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = Xy(K(e));+ let o = Jy(K(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -23501,7 +23501,7 @@ function sw(e) {}//#endregion//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var cw = {+var ow = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -23513,38 +23513,38 @@ var cw = {width: "1px",whiteSpace: "nowrap"};-function lw(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = QC({+function sw(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = XC({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, D.useMemo)(() => r ? t : t ? {- ...cw,+ ...ow,...t- } : cw, [r]);+ } : ow, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function uw(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = lw(e);+function cw(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = sw(e);return /*#__PURE__*/ D.createElement(n, q(a, o), t);}//#endregion//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs-function bie(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = ew(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Ix(e, t), d = VC({+function Sie(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = QC(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Px(e, t), d = zC({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = ZC({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = YC({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = ES(e, { labelable: !0 }), b = {+ }), y = wS(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, D.useState)(c);- return kC(t, e.defaultValue ?? x, l), AC(e, d, t), {+ return DC(t, e.defaultValue ?? x, l), OC(e, d, t), {labelProps: h,inputProps: q(y, n === "input" ? b : void 0, {disabled: r,@@ -23591,28 +23591,28 @@ function bie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs-function xie(e = {}) {- let { locale: t } = vS();- return (0, D.useMemo)(() => new _ie(t, e), [t, e]);+function Cie(e = {}) {+ let { locale: t } = gS();+ return (0, D.useMemo)(() => new yie(t, e), [t, e]);}//#endregion//#region node_modules/react-aria/dist/private/slider/utils.mjs-var dw = /* @__PURE__ */ new WeakMap();-function fw(e, t) {- let n = dw.get(e);+var lw = /* @__PURE__ */ new WeakMap();+function uw(e, t) {+ let n = lw.get(e);if (!n) throw Error("Unknown slider state");return `${n.id}-${t}`;}//#endregion//#region node_modules/react-aria/dist/private/slider/useSlider.mjs-function Sie(e, t, n) {- let { labelProps: r, fieldProps: i } = XC(e), a = e.orientation === "vertical";- dw.set(t, {+function wie(e, t, n) {+ let { labelProps: r, fieldProps: i } = JC(e), a = e.orientation === "vertical";+ lw.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = vS(), { addGlobalListener: s, removeGlobalListener: c } = FS(), l = (0, D.useRef)(null), u = o === "rtl", d = (0, D.useRef)(null), { moveProps: f } = sw({+ let { direction: o } = gS(), { addGlobalListener: s, removeGlobalListener: c } = NS(), l = (0, D.useRef)(null), u = o === "rtl", d = (0, D.useRef)(null), { moveProps: f } = aw({onMoveStart() {d.current = null;},@@ -23622,7 +23622,7 @@ function Sie(e, t, n) {d.current == null && l.current != null && (d.current = t.getThumbPercent(l.current) * s);let c = a ? r : e;if ((a || u) && (c = -c), d.current += c, l.current != null && n.current) {- let e = nw(d.current / s, 0, 1);+ let e = ew(d.current / s, 0, 1);t.setThumbPercent(l.current, e);}},@@ -23646,7 +23646,7 @@ function Sie(e, t, n) {(e.pointerId ?? e.changedTouches?.[0].identifier) === p.current && (l.current != null && (t.setThumbDragging(l.current, !1), l.current = null), c(window, "mouseup", h, !1), c(window, "touchend", h, !1), c(window, "pointerup", h, !1));};return "htmlFor" in r && r.htmlFor && (delete r.htmlFor, r.onClick = () => {- document.getElementById(fw(t, 0))?.focus(), sx("keyboard");+ document.getElementById(uw(t, 0))?.focus(), ax("keyboard");}), {labelProps: r,groupProps: {@@ -23669,27 +23669,27 @@ function Sie(e, t, n) {}}, f),outputProps: {- htmlFor: t.values.map((e, n) => fw(t, n)).join(" "),+ htmlFor: t.values.map((e, n) => uw(t, n)).join(" "),"aria-live": "off"}};}//#endregion//#region node_modules/react-aria/dist/private/slider/useSliderThumb.mjs-function Cie(e, t) {- let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = vS(), { addGlobalListener: m, removeGlobalListener: h } = FS(), g = dw.get(t), { labelProps: _, fieldProps: v } = XC({+function Tie(e, t) {+ let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = gS(), { addGlobalListener: m, removeGlobalListener: h } = NS(), g = lw.get(t), { labelProps: _, fieldProps: v } = JC({...e,- id: fw(t, n),+ id: uw(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, D.useCallback)(() => {- s.current && Jy(s.current);+ s.current && Ky(s.current);}, [s]), x = t.focusedThumb === n;(0, D.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, D.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = Mx({+ }, { keyboardProps: T } = Ax({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -23705,7 +23705,7 @@ function Cie(e, t) {})},allowRepeats: !0- }), { moveProps: E } = sw({+ }), { moveProps: E } = aw({onMoveStart() {C.current = null, t.setThumbDragging(n, !0);},@@ -23716,7 +23716,7 @@ function Cie(e, t) {if (C.current ??= s(n) * g, i === "keyboard") e > 0 && S || e < 0 && !S || r > 0 ? l(n, a ? p : d) : u(n, a ? p : d);else {let t = f ? r : e;- (f || S) && (t = -t), C.current += t, c(n, nw(C.current / g, 0, 1));+ (f || S) && (t = -t), C.current += t, c(n, ew(C.current / g, 0, 1));}},onMoveEnd() {@@ -23724,7 +23724,7 @@ function Cie(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: O } = Ix(q(e, {+ let { focusableProps: O } = Px(q(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), k = (0, D.useRef)(void 0), A = (e) => {@@ -23744,7 +23744,7 @@ function Cie(e, t) {A(e.changedTouches[0].identifier);}});- return kC(s, t.defaultValues[n], (e) => {+ return DC(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {inputProps: q(O, v, {@@ -23785,42 +23785,42 @@ function Cie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var wie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function pw(e) {+var Eie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function dw(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var mw = /* @__PURE__ */ new WeakMap(), hw = [];-function gw(e, t) {- let n = Xy(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && wie, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {+var fw = /* @__PURE__ */ new WeakMap(), pw = [];+function mw(e, t) {+ let n = Jy(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Eie, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));}, u = /* @__PURE__ */ new Set();- if (tb()) {+ if ($y()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; Qy(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; Xy(e) && e !== t;) u.add(e), e = e.host.getRootNode();}}let d = (e) => {for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);let t = (e) => {if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;- for (let t of o) if (nb(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (eb(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = KS(Yy(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = WS(qy(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {let e = n.nextNode();for (; e != null;) f(e), e = n.nextNode();}}, f = (e) => {- let t = mw.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), mw.set(e, t + 1));+ let t = fw.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), fw.set(e, t + 1));};- hw.length && hw[hw.length - 1].disconnect(), d(i);+ pw.length && pw[pw.length - 1].disconnect(), d(i);let p = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => nb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && pw(e) ? o.add(e) : e instanceof Element && d(e);- if (tb()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => eb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && dw(e) ? o.add(e) : e instanceof Element && d(e);+ if ($y()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23833,11 +23833,11 @@ function gw(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (tb()) for (let e of u) {+ if ($y()) for (let e of u) {let t = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => nb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && pw(e) ? o.add(e) : e instanceof Element && d(e);- if (tb()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => eb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && dw(e) ? o.add(e) : e instanceof Element && d(e);+ if ($y()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23863,59 +23863,59 @@ function gw(e, t) {p.disconnect();}};- return hw.push(h), () => {- if (p.disconnect(), tb()) for (let e of m) e.disconnect();+ return pw.push(h), () => {+ if (p.disconnect(), $y()) for (let e of m) e.disconnect();for (let e of s) {- let t = mw.get(e);- t != null && (t === 1 ? (l(e, !1), mw.delete(e)) : mw.set(e, t - 1));+ let t = fw.get(e);+ t != null && (t === 1 ? (l(e, !1), fw.delete(e)) : fw.set(e, t - 1));}- h === hw[hw.length - 1] ? (hw.pop(), hw.length && hw[hw.length - 1].observe()) : hw.splice(hw.indexOf(h), 1);+ h === pw[pw.length - 1] ? (pw.pop(), pw.length && pw[pw.length - 1].observe()) : pw.splice(pw.indexOf(h), 1);};}-function _w(e) {- let t = hw[hw.length - 1];+function hw(e) {+ let t = pw[pw.length - 1];if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {t.visibleNodes.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/listbox/utils.mjs-var vw = /* @__PURE__ */ new WeakMap();-function Tie(e) {+var gw = /* @__PURE__ */ new WeakMap();+function Die(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function Eie(e, t) {- let n = vw.get(e);+function Oie(e, t) {+ let n = gw.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${Tie(t)}`;+ return `${n.id}-option-${Die(t)}`;}//#endregion//#region node_modules/react-aria/dist/private/selection/utils.mjs-function yw(e) {- return kb() ? e.altKey : e.ctrlKey;+function _w(e) {+ return Db() ? e.altKey : e.ctrlKey;}-function bw(e, t) {+function vw(e, t) {let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);}-var xw = /* @__PURE__ */ new WeakMap();-function Die(e) {- let t = Sx();- return xw.set(e, t), t;+var yw = /* @__PURE__ */ new WeakMap();+function kie(e) {+ let t = bx();+ return yw.set(e, t), t;}-function Oie(e) {- return xw.get(e);+function Aie(e) {+ return yw.get(e);}//#endregion//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var Sw = class {+var bw = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : bw(this.ref, e);+ let n = e == null ? null : vw(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -23941,12 +23941,12 @@ var Sw = class {height: e?.clientHeight ?? 0};}-}, Cw = class {+}, xw = class {constructor(...e) {if (e.length === 1) {let t = e[0];- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new Sw(t.ref);- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new Sw(this.ref);+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new bw(t.ref);+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new bw(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -23986,14 +23986,14 @@ var Sw = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = bw(this.ref, e);+ let t = this.getNextKey(e), n = vw(this.ref, e);if (t != null) {- let e = bw(this.ref, t);+ let e = vw(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = bw(this.ref, r);+ let e = vw(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -24027,7 +24027,7 @@ var Sw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !bC(t)) return this.getFirstKey();+ if (t && !vC(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -24042,7 +24042,7 @@ var Sw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !bC(t)) return this.getLastKey();+ if (t && !vC(t)) return this.getLastKey();let i = e;if (this.orientation === "horizontal") {let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);@@ -24065,184 +24065,184 @@ var Sw = class {}return null;}-}, ww = {};-ww = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, Sw = {};+Sw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var Tw = {};-Tw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var Cw = {};+Cw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var Ew = {};-Ew = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };+var ww = {};+ww = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs-var Dw = {};-Dw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var Tw = {};+Tw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs-var Ow = {};-Ow = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var Ew = {};+Ew = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs-var kw = {};-kw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var Dw = {};+Dw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var Aw = {};-Aw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var Ow = {};+Ow = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var jw = {};-jw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var kw = {};+kw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs-var Mw = {};-Mw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+var Aw = {};+Aw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs-var Nw = {};-Nw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var jw = {};+jw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs-var Pw = {};-Pw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var Mw = {};+Mw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs-var Fw = {};-Fw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var Nw = {};+Nw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var Iw = {};-Iw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var Pw = {};+Pw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs-var Lw = {};-Lw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var Fw = {};+Fw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs-var Rw = {};-Rw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var Iw = {};+Iw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs-var zw = {};-zw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var Lw = {};+Lw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var Bw = {};-Bw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var Rw = {};+Rw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var Vw = {};-Vw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var zw = {};+zw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs-var Hw = {};-Hw = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var Bw = {};+Bw = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs-var Uw = {};-Uw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var Vw = {};+Vw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var Ww = {};-Ww = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var Hw = {};+Hw = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs-var Gw = {};-Gw = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var Uw = {};+Uw = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs-var Kw = {};-Kw = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var Ww = {};+Ww = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs-var qw = {};-qw = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var Gw = {};+Gw = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs-var Jw = {};-Jw = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var Kw = {};+Kw = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs-var Yw = {};-Yw = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var qw = {};+qw = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var Xw = {};-Xw = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var Jw = {};+Jw = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs-var Zw = {};-Zw = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var Yw = {};+Yw = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs-var Qw = {};-Qw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var Xw = {};+Xw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs-var $w = {};-$w = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var Zw = {};+Zw = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs-var eT = {};-eT = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var Qw = {};+Qw = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs-var tT = {};-tT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var $w = {};+$w = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var nT = {};-nT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var eT = {};+eT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var rT = {};-rT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var tT = {};+tT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };//#endregion//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs-var iT = {};-iT = {- "ar-AE": ww,- "bg-BG": Tw,- "cs-CZ": Ew,- "da-DK": Dw,- "de-DE": Ow,- "el-GR": kw,- "en-US": Aw,- "es-ES": jw,- "et-EE": Mw,- "fi-FI": Nw,- "fr-FR": Pw,- "he-IL": Fw,- "hr-HR": Iw,- "hu-HU": Lw,- "it-IT": Rw,- "ja-JP": zw,- "ko-KR": Bw,- "lt-LT": Vw,- "lv-LV": Hw,- "nb-NO": Uw,- "nl-NL": Ww,- "pl-PL": Gw,- "pt-BR": Kw,- "pt-PT": qw,- "ro-RO": Jw,- "ru-RU": Yw,- "sk-SK": Xw,- "sl-SI": Zw,- "sr-SP": Qw,- "sv-SE": $w,- "tr-TR": eT,- "uk-UA": tT,- "zh-CN": nT,- "zh-TW": rT+var nT = {};+nT = {+ "ar-AE": Sw,+ "bg-BG": Cw,+ "cs-CZ": ww,+ "da-DK": Tw,+ "de-DE": Ew,+ "el-GR": Dw,+ "en-US": Ow,+ "es-ES": kw,+ "et-EE": Aw,+ "fi-FI": jw,+ "fr-FR": Mw,+ "he-IL": Nw,+ "hr-HR": Pw,+ "hu-HU": Fw,+ "it-IT": Iw,+ "ja-JP": Lw,+ "ko-KR": Rw,+ "lt-LT": zw,+ "lv-LV": Bw,+ "nb-NO": Vw,+ "nl-NL": Hw,+ "pl-PL": Uw,+ "pt-BR": Ww,+ "pt-PT": Gw,+ "ro-RO": Kw,+ "ru-RU": qw,+ "sk-SK": Jw,+ "sl-SI": Yw,+ "sr-SP": Xw,+ "sv-SE": Zw,+ "tr-TR": Qw,+ "uk-UA": $w,+ "zh-CN": eT,+ "zh-TW": tT};//#endregion//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var kie = 500;-function aT(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = kie, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = FS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = BS({+var jie = 500;+function rT(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = jie, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = NS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = RS({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -24250,12 +24250,12 @@ function aT(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Yy(e.target).activeElement !== e.target && Jy(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), qy(e.target).activeElement !== e.target && Ky(e.target), a && a({...e,type: "longpress"}), c.current = void 0;}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });- let t = Xy(e.target);+ let t = Jy(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -24270,12 +24270,12 @@ function aT(e) {});}});- return { longPressProps: q(f, OC(a && !t ? s : void 0)) };+ return { longPressProps: q(f, EC(a && !t ? s : void 0)) };}//#endregion//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function Aie(e) {- let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = aT({+function Mie(e) {+ let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = rT({onLongPressStart() {n.current = !1;},@@ -24287,7 +24287,7 @@ function Aie(e) {});}});- return t ? { contextMenuProps: q(Ob() ? r : {}, {+ return t ? { contextMenuProps: q(Eb() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -24298,7 +24298,7 @@ function Aie(e) {});},onKeyDown(e) {- if (Tb() && e.ctrlKey && e.key === "Enter") {+ if (Cb() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -24318,13 +24318,13 @@ function Aie(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var oT = /* @__PURE__ */ new WeakMap();-function jie(e) {+var iT = /* @__PURE__ */ new WeakMap();+function Nie(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, D.useEffect)(() => !n || r === null ? void 0 : $y(ib(t.current), "scroll", (e) => {+ (0, D.useEffect)(() => !n || r === null ? void 0 : Zy(nb(t.current), "scroll", (e) => {let n = K(e);- if (!t.current || n instanceof Node && !nb(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || oT.get(t.current);+ if (!t.current || n instanceof Node && !eb(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || iT.get(t.current);i && i();}, !0), [n,@@ -24334,14 +24334,14 @@ function jie(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function Mie(e, t, n) {+function Pie(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, D.useEffect)(() => {- n && n.current && oT.set(n.current, t.close);+ n && n.current && iT.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = Sx();+ let o = bx();return {triggerProps: {"aria-haspopup": a,@@ -24354,14 +24354,14 @@ function Mie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function Nie(e) {+function Fie(e) {return e && e.__esModule ? e.default : e;}-function sT(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Sx(), { triggerProps: s, overlayProps: c } = Mie({ type: r }, t, n), l = (e, n, r = "first") => {+function aT(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = bx(), { triggerProps: s, overlayProps: c } = Pie({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = Mx({+ }, { keyboardProps: u } = Ax({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -24373,7 +24373,7 @@ function sT(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = wS(Nie(iT), "@react-aria/menu"), { longPressProps: f } = aT({+ }), d = SS(Fie(nT), "@react-aria/menu"), { longPressProps: f } = rT({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -24385,14 +24385,14 @@ function sT(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Jy(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Ky(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (Jy(e.target), t.toggle());+ e.pointerType === "touch" && !i && (Ky(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = Aie({ onContextMenu(e) {+ let { contextMenuProps: m } = Mie({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -24437,8 +24437,8 @@ function sT(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var cT = 1e3;-function lT(e) {+var oT = 1e3;+function sT(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, D.useRef)({search: "",timeout: void 0@@ -24457,12 +24457,12 @@ function lT(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, cT);+ }, oT);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = Pie(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !nb(e.currentTarget, K(e)) || i.current.search.length === 0 && a === " ")) {+ let a = Iie(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !eb(e.currentTarget, K(e)) || i.current.search.length === 0 && a === " ")) {if (i.current.search += a, t.getKeyForSearch != null) {let a = t.getKeyForSearch(i.current.search, n.focusedKey);if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();@@ -24473,34 +24473,34 @@ function lT(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, cT);+ }, oT);}} : void 0} };}-function Pie(e) {+function Iie(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function uT(e, t) {+function cT(e, t) {let n = (0, D.useRef)(!0), r = (0, D.useRef)(null);- gb(() => (n.current = !0, () => {+ mb(() => (n.current = !0, () => {n.current = !1;- }), []), gb(() => {+ }), []), mb(() => {n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;}, t);}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs-function dT(e) {- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = vS(), _ = Ib(), v = (e, n, i) => {+function lT(e) {+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = gS(), _ = Pb(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !yw(e)) {+ if (t.isLink(n) && m === "selection" && l && !_w(e)) {(0, Tt.flushSync)(() => {t.setFocusedKey(n, i);});- let a = bw(r, n), o = t.getItemProps(n);+ let a = vw(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -24512,7 +24512,7 @@ function dT(e) {t.extendSelection(n);return;}- if (l && !yw(e)) {+ if (l && !_w(e)) {t.replaceSelection(n);return;}@@ -24539,9 +24539,9 @@ function dT(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, cS(e));+ let r = n.getFirstKey(t.focusedKey, oS(e));if (t.setFocusedKey(r), r != null) {- if (cS(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (oS(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24573,9 +24573,9 @@ function dT(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, cS(e));+ let r = n.getLastKey(t.focusedKey, oS(e));if (t.setFocusedKey(r), r != null) {- if (cS(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (oS(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24606,12 +24606,12 @@ function dT(e) {else return !1;}, A = () => {if (!f && r.current) {- let e = dC(r.current, { tabbable: !0 }), t, n;+ let e = lC(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = rb();- t && (!ab(t) || i && !mb(i)) && Jy(t);+ let i = tb();+ t && (!rb(t) || i && !fb(i)) && Ky(t);}return {shouldContinuePropagation: !0,@@ -24621,11 +24621,11 @@ function dT(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), M = (e, t) => ({- [Tb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [Cb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [Tb() ? e + "+Alt" : e + "+Control"]: t,+ [Cb() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: N } = Mx({+ }), { keyboardProps: N } = Ax({shortcuts: {...M("ArrowDown", y),...M("ArrowUp", b),@@ -24635,7 +24635,7 @@ function dT(e) {...M("PageUp", E)},allowRepeats: !0- }), { keyboardProps: P } = Mx({ shortcuts: {+ }), { keyboardProps: P } = Ax({ shortcuts: {...M("Home", x),...M("End", w),"Mod+A": O,@@ -24646,7 +24646,7 @@ function dT(e) {top: 0,left: 0});- dS(p, "scroll", () => {+ lS(p, "scroll", () => {ee.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -24654,11 +24654,11 @@ function dT(e) {});let F = (e) => {if (t.isFocused) {- nb(e.currentTarget, K(e)) || t.setFocused(!1);+ eb(e.currentTarget, K(e)) || t.setFocused(!1);return;}- if (!nb(e.currentTarget, K(e))) return;- let i = ox();+ if (!eb(e.currentTarget, K(e))) return;+ let i = ix();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -24669,27 +24669,27 @@ function dT(e) {r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());} else p.current && (p.current.scrollTop = ee.current.top, p.current.scrollLeft = ee.current.left);if (t.focusedKey != null && p.current) {- let e = bw(r, t.focusedKey);- e instanceof HTMLElement && (!ab(e) && !d && Jy(e), (i === "keyboard" || h && i === "virtual") && TC(e, { containingElement: r.current }));+ let e = vw(r, t.focusedKey);+ e instanceof HTMLElement && (!rb(e) && !d && Ky(e), (i === "keyboard" || h && i === "virtual") && CC(e, { containingElement: r.current }));}}, te = (e) => {- nb(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ eb(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, I = (0, D.useRef)(!1);- dS(r, Pre, d ? (e) => {+ lS(r, Ire, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (I.current = !0);} : void 0);let ne = n.getFirstKey?.() ?? null;- uT(() => {+ cT(() => {if (I.current) {if (ne == null) {- let e = rb();- Zx(r.current), Qx(e, null), t.collection.size > 0 && (I.current = !1);+ let e = tb();+ Yx(r.current), Xx(e, null), t.collection.size > 0 && (I.current = !1);} else t.setFocusedKey(ne), I.current = !1;}- }, [ne, t.collection.size]), uT(() => {+ }, [ne, t.collection.size]), cT(() => {t.collection.size > 0 && (I.current = !1);- }, [t.focusedKey]), dS(r, Nre, d ? (e) => {+ }, [t.focusedKey]), lS(r, Fre, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);let re = (0, D.useRef)(i), ie = (0, D.useRef)(!1);@@ -24704,22 +24704,22 @@ function dT(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && _x(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && hx(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);}});let ae = (0, D.useRef)(t.focusedKey), oe = (0, D.useRef)(null);(0, D.useEffect)(() => {if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {- let e = ox(), n = bw(r, t.focusedKey);+ let e = ix(), n = vw(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {- p.current && (CC(p.current, n), e !== "virtual" && TC(n, { containingElement: r.current }));+ p.current && (xC(p.current, n), e !== "virtual" && CC(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && _x(r.current), ae.current = t.focusedKey, ie.current = !1;+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && hx(r.current), ae.current = t.focusedKey, ie.current = !1;}), (0, D.useEffect)(() => () => {oe.current && cancelAnimationFrame(oe.current);- }, []), dS(r, "react-aria-focus-scope-restore", (e) => {+ }, []), lS(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let se = {@@ -24729,14 +24729,14 @@ function dT(e) {onMouseDown(e) {p.current === K(e) && e.preventDefault();}- }, { typeSelectProps: ce } = lT({+ }, { typeSelectProps: ce } = sT({keyboardDelegate: n,selectionManager: t});u || (se = q(ce, se));let le;d || (le = t.focusedKey == null ? 0 : -1);- let ue = Die(t.collection);+ let ue = kie(t.collection);return { collectionProps: q(se, {tabIndex: le,"data-collection": ue@@ -24744,13 +24744,13 @@ function dT(e) {}//#endregion//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function fT(e, t) {+function uT(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function pT(e) {- return mT(e, 0);+function dT(e) {+ return fT(e, 0);}-function mT(e, t) {+function fT(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -24758,112 +24758,112 @@ function mT(e, t) {n++;}}-function hT(e) {+function pT(e) {let t;for (let n of e) t = n;return t;}-function gT(e, t, n) {+function mT(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [..._T(e, t), t], i = [..._T(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [...hT(e, t), t], i = [...hT(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);}-function _T(e, t) {+function hT(e, t) {let n = [], r = t;for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);return n;}//#endregion//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs-var vT = /* @__PURE__ */ new WeakMap();-function yT(e) {- let t = vT.get(e);+var gT = /* @__PURE__ */ new WeakMap();+function _T(e) {+ let t = gT.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(fT(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(uT(i, e)) : i.type === "item" && n++;};- return r(e), vT.set(e, n), n;+ return r(e), gT.set(e, n), n;}//#endregion//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs-var bT = /* @__PURE__ */ new Map();-function xT(e) {- let { locale: t } = vS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (bT.has(n)) return bT.get(n);+var vT = /* @__PURE__ */ new Map();+function yT(e) {+ let { locale: t } = gS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (vT.has(n)) return vT.get(n);let r = new Intl.Collator(t, e);- return bT.set(n, r), r;+ return vT.set(n, r), r;}//#endregion//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs-var Fie = /*#__PURE__*/ D.forwardRef(({ children: e, ...t }, n) => {- let r = (0, D.useRef)(!1), i = (0, D.useContext)(PS), a = q(i || {}, {+var Lie = /*#__PURE__*/ D.forwardRef(({ children: e, ...t }, n) => {+ let r = (0, D.useRef)(!1), i = (0, D.useContext)(MS), a = q(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = Nx(n || i?.ref), Px(i, a.ref), (0, D.useEffect)(() => {+ return a.ref = jx(n || i?.ref), Mx(i, a.ref), (0, D.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ D.createElement(PS.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ D.createElement(MS.Provider, { value: a }, e);});-function Iie({ children: e }) {+function Rie({ children: e }) {let t = (0, D.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ D.createElement(PS.Provider, { value: t }, e);+ return /*#__PURE__*/ D.createElement(MS.Provider, { value: t }, e);}//#endregion//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var ST = /*#__PURE__*/ (0, D.createContext)({});-function CT(e) {- let { getContainer: t } = e, { getContainer: n } = wT();- return /*#__PURE__*/ D.createElement(ST.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var bT = /*#__PURE__*/ (0, D.createContext)({});+function xT(e) {+ let { getContainer: t } = e, { getContainer: n } = ST();+ return /*#__PURE__*/ D.createElement(bT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function wT() {- return (0, D.useContext)(ST) ?? {};+function ST() {+ return (0, D.useContext)(bT) ?? {};}//#endregion//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs-var TT = /*#__PURE__*/ D.createContext(null);-function ET(e) {- let t = Wb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({+var CT = /*#__PURE__*/ D.createContext(null);+function wT(e) {+ let t = Hb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = wT();+ }), [i, a]), { getContainer: s } = ST();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(XS, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(JS, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ D.createElement(TT.Provider, { value: o }, /*#__PURE__*/ D.createElement(Iie, null, /*#__PURE__*/ D.createElement(Fx.Provider, { value: null }, c))), /*#__PURE__*/ Tt.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ D.createElement(CT.Provider, { value: o }, /*#__PURE__*/ D.createElement(Rie, null, /*#__PURE__*/ D.createElement(Nx.Provider, { value: null }, c))), /*#__PURE__*/ Tt.createPortal(c, n);}-function DT() {- let e = (0, D.useContext)(TT)?.setContain;- gb(() => {+function TT() {+ let e = (0, D.useContext)(CT)?.setContain;+ mb(() => {e?.(!0);}, [e]);}//#endregion//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs-function Lie(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = Cx();+function zie(e, t) {+ let { role: n = "dialog", isEntering: r } = e, i = xx();i = e["aria-label"] ? void 0 : i;- let a = Cx();+ let a = xx();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, D.useRef)(!1);(0, D.useEffect)(() => {- if (!r && t.current && !ab(t.current)) {- _x(t.current);+ if (!r && t.current && !rb(t.current)) {+ hx(t.current);let e = setTimeout(() => {- (rb() === t.current || rb() === document.body) && (o.current = !0, t.current && (t.current.blur(), _x(t.current)), o.current = !1);+ (tb() === t.current || tb() === document.body) && (o.current = !0, t.current && (t.current.blur(), hx(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t, r]), DT(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});+ }, [t, r]), TT(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...ES(e, { labelable: !0 }),+ ...wS(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -24878,23 +24878,23 @@ function Lie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function OT(e = {}) {+function ET(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, D.useRef)({isFocused: !1,- isFocusVisible: t || ax()+ isFocusVisible: t || rx()}), [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, D.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, D.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = ax(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = rx(), o(e), l();}, [l]);- ux((e) => {+ cx((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = Ox({+ let { focusProps: d } = Ex({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = QC({+ }), { focusWithinProps: f } = XC({isDisabled: !r,onFocusWithinChange: u});@@ -24906,42 +24906,42 @@ function OT(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function Rie(e = {}) {- let { locale: t } = vS();+function Bie(e = {}) {+ let { locale: t } = gS();return (0, D.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useHover.mjs-var kT = !1, AT = 0;-function zie() {- kT = !0, setTimeout(() => {- kT = !1;+var DT = !1, OT = 0;+function Vie() {+ DT = !0, setTimeout(() => {+ DT = !1;}, 500);}-function jT(e) {- e.pointerType === "touch" && zie();+function kT(e) {+ e.pointerType === "touch" && Vie();}-function Bie() {- let e = Yy(null);- if (e !== void 0) return AT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", jT), AT++, () => {- AT--, !(AT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", jT);+function Hie() {+ let e = qy(null);+ if (e !== void 0) return OT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", kT), OT++, () => {+ OT--, !(OT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", kT);};}-function MT(e) {+function AT(e) {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, D.useState)(!1), s = (0, D.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,pointerType: "",target: null}).current;- (0, D.useEffect)(Bie, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = FS(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {+ (0, D.useEffect)(Hie, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = NS(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !nb(e.currentTarget, K(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !eb(e.currentTarget, K(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(Yy(K(e)), "pointerover", (e) => {- s.isHovered && s.target && !nb(s.target, K(e)) && a(e, e.pointerType);+ s.target = l, c(qy(K(e)), "pointerover", (e) => {+ s.isHovered && s.target && !eb(s.target, K(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -24956,9 +24956,9 @@ function MT(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- kT && t.pointerType === "mouse" || e(t, t.pointerType);+ DT && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && nb(e.currentTarget, K(e)) && a(e, e.pointerType);+ !i && eb(e.currentTarget, K(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -24981,22 +24981,22 @@ function MT(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function Vie(e) {+function Uie(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, D.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = uS((e) => {- n && NT(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = uS((e) => {+ }), o = cS((e) => {+ n && jT(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = cS((e) => {n && n(e);});(0, D.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = Yy(n);+ let n = t.current, i = qy(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && NT(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && jT(n, t) && s(n), e.isPointerDown = !1;};return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);@@ -25004,30 +25004,30 @@ function Vie(e) {}}, [t, r]);}-function NT(e, t) {+function jT(e, t) {if (e.button > 0) return !1;let n = K(e);if (n) {let e = n.ownerDocument;- if (!e || !nb(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !eb(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}//#endregion//#region node_modules/react-aria/dist/private/gridlist/utils.mjs-var PT = /* @__PURE__ */ new WeakMap();-function FT(e, t) {- let { id: n } = PT.get(e) ?? {};+var MT = /* @__PURE__ */ new WeakMap();+function NT(e, t) {+ let { id: n } = MT.get(e) ?? {};if (!n) throw Error("Unknown list");- return `${n}-${Hie(t)}`;+ return `${n}-${Wie(t)}`;}-function Hie(e) {+function Wie(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs-var IT = {};-IT = {+var PT = {};+PT = {deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",select: "تحديد",@@ -25041,8 +25041,8 @@ IT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs-var LT = {};-LT = {+var FT = {};+FT = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",select: "Изберете",@@ -25056,8 +25056,8 @@ LT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs-var RT = {};-RT = {+var IT = {};+IT = {deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",select: "Vybrat",@@ -25071,8 +25071,8 @@ RT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var zT = {};-zT = {+var LT = {};+LT = {deselectedItem: (e) => `${e.item} ikke valgt.`,longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",select: "Vælg",@@ -25086,8 +25086,8 @@ zT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var BT = {};-BT = {+var RT = {};+RT = {deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",select: "Auswählen",@@ -25101,8 +25101,8 @@ BT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var VT = {};-VT = {+var zT = {};+zT = {deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select: "Επιλογή",@@ -25116,8 +25116,8 @@ VT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs-var HT = {};-HT = {+var BT = {};+BT = {deselectedItem: (e) => `${e.item} not selected.`,select: "Select",selectedCount: (e, t) => `${t.plural(e.count, {@@ -25131,8 +25131,8 @@ HT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var UT = {};-UT = {+var VT = {};+VT = {deselectedItem: (e) => `${e.item} no seleccionado.`,longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",select: "Seleccionar",@@ -25146,8 +25146,8 @@ UT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var WT = {};-WT = {+var HT = {};+HT = {deselectedItem: (e) => `${e.item} pole valitud.`,longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",select: "Vali",@@ -25161,8 +25161,8 @@ WT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var GT = {};-GT = {+var UT = {};+UT = {deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,longPressToSelect: "Siirry valintatilaan painamalla pitkään.",select: "Valitse",@@ -25176,8 +25176,8 @@ GT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var KT = {};-KT = {+var WT = {};+WT = {deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",select: "Sélectionner",@@ -25191,8 +25191,8 @@ KT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var qT = {};-qT = {+var GT = {};+GT = {deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",select: "בחר",@@ -25206,8 +25206,8 @@ qT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var JT = {};-JT = {+var KT = {};+KT = {deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",select: "Odaberite",@@ -25221,8 +25221,8 @@ JT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var YT = {};-YT = {+var qT = {};+qT = {deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,longPressToSelect: "Nyomja hosszan a kijelöléshez.",select: "Kijelölés",@@ -25236,8 +25236,8 @@ YT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var XT = {};-XT = {+var JT = {};+JT = {deselectedItem: (e) => `${e.item} non selezionato.`,longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",select: "Seleziona",@@ -25251,8 +25251,8 @@ XT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var ZT = {};-ZT = {+var YT = {};+YT = {deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,longPressToSelect: "長押しして選択モードを開きます。",select: "選択",@@ -25266,8 +25266,8 @@ ZT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs-var QT = {};-QT = {+var XT = {};+XT = {deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",select: "선택",@@ -25281,8 +25281,8 @@ QT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs-var $T = {};-$T = {+var ZT = {};+ZT = {deselectedItem: (e) => `${e.item} nepasirinkta.`,longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select: "Pasirinkti",@@ -25296,8 +25296,8 @@ $T = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var eE = {};-eE = {+var QT = {};+QT = {deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select: "Atlasīt",@@ -25311,8 +25311,8 @@ eE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var tE = {};-tE = {+var $T = {};+$T = {deselectedItem: (e) => `${e.item} er ikke valgt.`,longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",select: "Velg",@@ -25326,8 +25326,8 @@ tE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var nE = {};-nE = {+var eE = {};+eE = {deselectedItem: (e) => `${e.item} niet geselecteerd.`,longPressToSelect: "Druk lang om de selectiemodus te openen.",select: "Selecteren",@@ -25341,8 +25341,8 @@ nE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs-var rE = {};-rE = {+var tE = {};+tE = {deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select: "Zaznacz",@@ -25356,8 +25356,8 @@ rE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var iE = {};-iE = {+var nE = {};+nE = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",select: "Selecionar",@@ -25371,8 +25371,8 @@ iE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var aE = {};-aE = {+var rE = {};+rE = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Prima continuamente para entrar no modo de seleção.",select: "Selecionar",@@ -25386,8 +25386,8 @@ aE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var oE = {};-oE = {+var iE = {};+iE = {deselectedItem: (e) => `${e.item} neselectat.`,longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",select: "Selectare",@@ -25401,8 +25401,8 @@ oE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var sE = {};-sE = {+var aE = {};+aE = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",select: "Выбрать",@@ -25416,8 +25416,8 @@ sE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs-var cE = {};-cE = {+var oE = {};+oE = {deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",select: "Vybrať",@@ -25431,8 +25431,8 @@ cE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var lE = {};-lE = {+var sE = {};+sE = {deselectedItem: (e) => `Element ${e.item} ni izbran.`,longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",select: "Izberite",@@ -25446,8 +25446,8 @@ lE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var uE = {};-uE = {+var cE = {};+cE = {deselectedItem: (e) => `${e.item} nije izabrano.`,longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",select: "Izaberite",@@ -25461,8 +25461,8 @@ uE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var dE = {};-dE = {+var lE = {};+lE = {deselectedItem: (e) => `${e.item} ej markerat.`,longPressToSelect: "Tryck länge när du vill öppna väljarläge.",select: "Markera",@@ -25476,8 +25476,8 @@ dE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var fE = {};-fE = {+var uE = {};+uE = {deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,longPressToSelect: "Seçim moduna girmek için uzun basın.",select: "Seç",@@ -25491,8 +25491,8 @@ fE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var pE = {};-pE = {+var dE = {};+dE = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",select: "Вибрати",@@ -25506,8 +25506,8 @@ pE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs-var mE = {};-mE = {+var fE = {};+fE = {deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect: "长按以进入选择模式。",select: "选择",@@ -25521,8 +25521,8 @@ mE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var hE = {};-hE = {+var pE = {};+pE = {deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect: "長按以進入選擇模式。",select: "選取",@@ -25536,55 +25536,55 @@ hE = {};//#endregion//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs-var gE = {};-gE = {- "ar-AE": IT,- "bg-BG": LT,- "cs-CZ": RT,- "da-DK": zT,- "de-DE": BT,- "el-GR": VT,- "en-US": HT,- "es-ES": UT,- "et-EE": WT,- "fi-FI": GT,- "fr-FR": KT,- "he-IL": qT,- "hr-HR": JT,- "hu-HU": YT,- "it-IT": XT,- "ja-JP": ZT,- "ko-KR": QT,- "lt-LT": $T,- "lv-LV": eE,- "nb-NO": tE,- "nl-NL": nE,- "pl-PL": rE,- "pt-BR": iE,- "pt-PT": aE,- "ro-RO": oE,- "ru-RU": sE,- "sk-SK": cE,- "sl-SI": lE,- "sr-SP": uE,- "sv-SE": dE,- "tr-TR": fE,- "uk-UA": pE,- "zh-CN": mE,- "zh-TW": hE+var mE = {};+mE = {+ "ar-AE": PT,+ "bg-BG": FT,+ "cs-CZ": IT,+ "da-DK": LT,+ "de-DE": RT,+ "el-GR": zT,+ "en-US": BT,+ "es-ES": VT,+ "et-EE": HT,+ "fi-FI": UT,+ "fr-FR": WT,+ "he-IL": GT,+ "hr-HR": KT,+ "hu-HU": qT,+ "it-IT": JT,+ "ja-JP": YT,+ "ko-KR": XT,+ "lt-LT": ZT,+ "lv-LV": QT,+ "nb-NO": $T,+ "nl-NL": eE,+ "pl-PL": tE,+ "pt-BR": nE,+ "pt-PT": rE,+ "ro-RO": iE,+ "ru-RU": aE,+ "sk-SK": oE,+ "sl-SI": sE,+ "sr-SP": cE,+ "sv-SE": lE,+ "tr-TR": uE,+ "uk-UA": dE,+ "zh-CN": fE,+ "zh-TW": pE};//#endregion//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function Uie(e) {+function Gie(e) {return e && e.__esModule ? e.default : e;}-function _E(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = wS(Uie(gE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {+function hE(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = SS(Gie(mE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;}- let e = vE(i, a.current), o = vE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ let e = gE(i, a.current), o = gE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];if (t.selectionManager.selectedKeys.size === 1 && s) {let e = t.selectionManager.selectedKeys.keys().next().value;if (e != null && t.collection.getItem(e)) {@@ -25604,7 +25604,7 @@ function _E(e, t) {t && c.push(r.format("deselectedItem", { item: t }));}}- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && _C(c.join(" ")), a.current = i;+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && hC(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -25615,7 +25615,7 @@ function _E(e, t) {n,r]);- yC(() => {+ _C(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -25623,7 +25623,7 @@ function _E(e, t) {}}, [i, t.selectionManager.isFocused]);}-function vE(e, t) {+function gE(e, t) {let n = /* @__PURE__ */ new Set();if (e === "all" || t === "all") return n;for (let r of e.keys()) t.has(r) || n.add(r);@@ -25631,13 +25631,13 @@ function vE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs-function yE(e, t) {+function _E(e, t) {let n = t?.isDisabled, [r, i] = (0, D.useState)(!1);- return gb(() => {+ return mb(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = dC(e.current, { tabbable: !0 });+ let t = lC(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -25656,12 +25656,12 @@ function yE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function Wie(e) {+function Kie(e) {return e && e.__esModule ? e.default : e;}-function bE(e) {- let t = wS(Wie(gE), "@react-aria/grid"), n = cx(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return OC((0, D.useMemo)(() => {+function vE(e) {+ let t = SS(Kie(mE), "@react-aria/grid"), n = ox(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return EC((0, D.useMemo)(() => {let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;}, [@@ -25674,11 +25674,11 @@ function bE(e) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function xE(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = xT({+function yE(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = yT({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new Cw({+ }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new xw({collection: n,disabledKeys: r,disabledBehavior: l,@@ -25695,7 +25695,7 @@ function xE(e) {c,l,s- ]), { collectionProps: d } = dT({+ ]), { collectionProps: d } = lT({...e,ref: i,selectionManager: t,@@ -25705,10 +25705,10 @@ function xE(e) {}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridList.mjs-function Gie(e, t, n) {+function qie(e, t, n) {let { isVirtualized: r, keyboardDelegate: i, layoutDelegate: a, onAction: o, disallowTypeAhead: s, linkBehavior: c = "action", keyboardNavigationBehavior: l = "arrow", escapeKeyBehavior: u = "clearSelection", shouldSelectOnPressUp: d } = e;!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");- let { listProps: f } = xE({+ let { listProps: f } = yE({selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,@@ -25723,31 +25723,31 @@ function Gie(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = Sx(e.id);- PT.set(t, {+ }), p = bx(e.id);+ MT.set(t, {id: p,onAction: o,linkBehavior: c,keyboardNavigationBehavior: l,shouldSelectOnPressUp: d});- let m = bE({+ let m = vE({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = yE(n, { isDisabled: t.collection.size !== 0 }), g = q(ES(e, { labelable: !0 }), {+ }), h = _E(n, { isDisabled: t.collection.size !== 0 }), g = q(wS(e, { labelable: !0 }), {role: "grid",id: p,"aria-multiselectable": t.selectionManager.selectionMode === "multiple" ? "true" : void 0}, t.collection.size === 0 ? { tabIndex: h ? -1 : 0 } : f, m);- return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), _E({}, t), { gridProps: g };+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), hE({}, t), { gridProps: g };}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function SE(e) {- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = Ib();- t = Sx(t);+function bE(e) {+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = Pb();+ t = bx(t);let p = (e) => {- if (e.pointerType === "keyboard" && yw(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && _w(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -25758,11 +25758,11 @@ function SE(e) {}if (d === "override" || d === "none") return;}- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (cS(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (oS(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, D.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? Zx(i.current) : s ? s() : rb() !== i.current && i.current && _x(i.current));+ r === n.focusedKey && n.isFocused && (o ? Yx(i.current) : s ? s() : tb() !== i.current && i.current && hx(i.current));}, [i,r,@@ -25790,22 +25790,22 @@ function SE(e) {l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);}, A = { ref: i };a ? (A.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || wE(e.key)) && p(e);+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || SE(e.key)) && p(e);}, u ? (A.onPressUp = b ? void 0 : (e) => {e.pointerType === "mouse" && v && p(e);}, A.onPress = b ? k : (e) => {e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);}) : A.onPress = (e) => {if (b || x && e.pointerType !== "mouse") {- if (e.pointerType === "keyboard" && !CE(e.key)) return;+ if (e.pointerType === "keyboard" && !xE(e.key)) return;k(e);} else e.pointerType !== "keyboard" && v && p(e);}) : (A.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || wE(e.key))) && p(e);+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || SE(e.key))) && p(e);}, A.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && CE(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && xE(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));});- let j = Oie(n.collection);+ let j = Aie(n.collection);if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = q(A, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));@@ -25820,10 +25820,10 @@ function SE(e) {"onPress","onPressUp","onClick"- ]) O[e] && (A[e] = vx(A[e], O[e]));- let { pressProps: M, isPressed: N } = BS(A), P = x ? (e) => {+ ]) O[e] && (A[e] = gx(A[e], O[e]));+ let { pressProps: M, isPressed: N } = RS(A), P = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));- } : void 0, { longPressProps: ee } = aT({+ } : void 0, { longPressProps: ee } = rT({isDisabled: !w,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));@@ -25831,7 +25831,7 @@ function SE(e) {}), F = (e) => {C.current === "touch" && T.current && e.preventDefault();}, te = d !== "none" && n.isLink(r) ? (e) => {- Rb.isOpening || e.preventDefault();+ Ib.isOpening || e.preventDefault();} : void 0, I = q(m, v || b || o && !c ? M : {}, w ? ee : {}, {onDoubleClick: P,onDragStartCapture: F,@@ -25844,7 +25844,7 @@ function SE(e) {if (e != null) return e !== j;t = t.parentElement;}- return mb(e);+ return fb(e);}, re = I.onPointerDown;I.onPointerDown = (e) => {let t = K(e);@@ -25864,15 +25864,15 @@ function SE(e) {hasAction: S};}-function CE(e) {+function xE(e) {return e === "Enter";}-function wE(e) {+function SE(e) {return e === " ";}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs-var TE = {+var CE = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -25882,18 +25882,18 @@ var TE = {rtl: "ArrowRight"}};-function Kie(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = vS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = PT.get(t), f = Cx(), p = (0, D.useRef)(null), m = () => {+function Jie(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = gS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = MT.get(t), f = xx(), p = (0, D.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (ab(n.current) && n.current !== rb(Yy(n.current))) return;- let e = dC(n.current, { tabbable: !0 }).firstChild();+ if (rb(n.current) && n.current !== tb(qy(n.current))) return;+ let e = lC(n.current, { tabbable: !0 }).firstChild();if (e) {- _x(e), TC(e, { containingElement: xC(e) });+ hx(e), CC(e, { containingElement: yC(e) });return;}}- (p.current != null && r.key !== p.current || !ab(n.current)) && _x(n.current);+ (p.current != null && r.key !== p.current || !rb(n.current)) && hx(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -25903,7 +25903,7 @@ function Kie(e, t, n) {if (r.level >= 0 && r?.parentKey != null) {let e = t.collection.getItem(r.parentKey);if (e) {- let n = qie(e, t.collection);+ let n = Yie(e, t.collection);i = [...n].filter((e) => e.type === "item").length, a > 0 && n[0].type !== "item" && --a;}} else i = [...t.collection].filter((e) => e.level === 0 && e.type === "item").length;@@ -25914,75 +25914,75 @@ function Kie(e, t, n) {"aria-setsize": i};}- let { itemProps: v, ...y } = SE({+ let { itemProps: v, ...y } = bE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? vx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? gx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = rb(Yy(n.current));- if (!nb(e.currentTarget, K(e)) || !n.current || !i) return;- let a = dC(n.current);- if (a.currentNode = i, !EE(e, t, r, g, s, i, n.current, o)) switch (e.key) {+ let i = tb(qy(n.current));+ if (!eb(e.currentTarget, K(e)) || !n.current || !i) return;+ let a = lC(n.current);+ if (a.currentNode = i, !wE(e, t, r, g, s, i, n.current, o)) switch (e.key) {case "ArrowLeft":if (u === "arrow") {let t = s === "rtl" ? a.nextNode() : a.previousNode();- if (t) e.preventDefault(), e.stopPropagation(), _x(t), TC(t, { containingElement: xC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") _x(n.current), TC(n.current, { containingElement: xC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), hx(t), CC(t, { containingElement: yC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") hx(n.current), CC(n.current, { containingElement: yC(n.current) });else {a.currentNode = n.current;- let e = DE(a);- e && (_x(e), TC(e, { containingElement: xC(n.current) }));+ let e = TE(a);+ e && (hx(e), CC(e, { containingElement: yC(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), _x(t), TC(t, { containingElement: xC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") _x(n.current), TC(n.current, { containingElement: xC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), hx(t), CC(t, { containingElement: yC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") hx(n.current), CC(n.current, { containingElement: yC(n.current) });else {a.currentNode = n.current;- let e = DE(a);- e && (_x(e), TC(e, { containingElement: xC(n.current) }));+ let e = TE(a);+ e && (hx(e), CC(e, { containingElement: yC(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && nb(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && eb(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}}, x = (e) => {- p.current = r.key, K(e) === n.current ? a === "child" && e.relatedTarget && nb(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && rb(Yy(n.current)) === n.current && m();- }) : ax() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, K(e) === n.current ? a === "child" && e.relatedTarget && eb(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && tb(qy(n.current)) === n.current && m();+ }) : rx() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = rb(Yy(n.current));- if (nb(e.currentTarget, K(e)) && n.current && i) {+ let i = tb(qy(n.current));+ if (eb(e.currentTarget, K(e)) && n.current && i) {if (u === "tab") {if (K(e) !== n.current && e.key !== "Tab") {e.stopPropagation();return;}- if (EE(e, t, r, g, s, i, n.current, o)) return;+ if (wE(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = dC(n.current, { tabbable: !0 });+ let t = lC(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = zb(r.props), w = q(v, y.hasAction ? C : {}, {+ }, C = Lb(r.props), w = q(v, y.hasAction ? C : {}, {role: "row",onKeyDownCapture: u === "arrow" || o ? b : void 0,onFocus: x,"aria-label": r["aria-label"] || r.textValue || void 0,"aria-selected": t.selectionManager.canSelectItem(r.key) ? t.selectionManager.isSelected(r.key) : void 0,"aria-disabled": t.selectionManager.isDisabled(r.key) || void 0,- "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${FT(t, r.key)} ${f}` : void 0,- id: FT(t, r.key)+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${NT(t, r.key)} ${f}` : void 0,+ id: NT(t, r.key)});a === "child" && o && u === "tab" && (w.tabIndex = -1);let T = w.onKeyDown;@@ -26003,37 +26003,37 @@ function Kie(e, t, n) {...y};}-function EE(e, t, n, r, i, a, o, s) {+function wE(e, t, n, r, i, a, o, s) {if (!("expandedKeys" in t) || !s && a !== o) return !1;- if (e.key === TE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;- if (e.key === TE.collapse[i] && t.selectionManager.focusedKey === n.key) {+ if (e.key === CE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;+ if (e.key === CE.collapse[i] && t.selectionManager.focusedKey === n.key) {if (r && t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;if (!t.expandedKeys.has(n.key) && n.parentKey && t.collection.getItem(n.parentKey)?.type === "item") return t.selectionManager.setFocusedKey(n.parentKey), e.stopPropagation(), !0;}return !1;}-function DE(e) {+function TE(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);while (n);return t;}-function qie(e, t) {+function Yie(e, t) {let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);return a;}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs-function Jie(e) {+function Xie(e) {return e && e.__esModule ? e.default : e;}-function OE(e, t) {- let { key: n } = e, r = t.selectionManager, i = Sx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+function EE(e, t) {+ let { key: n } = e, r = t.selectionManager, i = bx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": wS(Jie(gE), "@react-aria/grid").format("select"),+ "aria-label": SS(Xie(mE), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)@@ -26041,31 +26041,31 @@ function OE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs-function Yie(e, t) {- let { key: n } = e, { checkboxProps: r } = OE(e, t);+function Zie(e, t) {+ let { key: n } = e, { checkboxProps: r } = EE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${FT(t, n)}`+ "aria-labelledby": `${r.id} ${NT(t, n)}`} };}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs-function Xie(e, t, n) {- let r = ES(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function Qie(e, t, n) {+ let r = wS(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");i === "toggle" && o === "action" && (o = "override");- let { listProps: s } = xE({+ let { listProps: s } = yE({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = QC({+ }), { focusWithinProps: c } = XC({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = Sx(e.id);- vw.set(t, {+ }), l = bx(e.id);+ gw.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -26075,7 +26075,7 @@ function Xie(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = XC({+ let { labelProps: u, fieldProps: d } = JC({...e,id: l,labelElementType: "span"@@ -26091,8 +26091,8 @@ function Xie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function Zie(e) {- let { heading: t, "aria-label": n } = e, r = Sx();+function $ie(e) {+ let { heading: t, "aria-label": n } = e, r = bx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26111,8 +26111,8 @@ function Zie(e) {}//#endregion//#region node_modules/react-aria/dist/private/listbox/useOption.mjs-function Qie(e, t, n) {- let { key: r } = e, i = vw.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = Cx(), f = Cx(), p = {+function eae(e, t, n) {+ let { key: r } = e, i = gw.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = xx(), f = xx(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -26122,9 +26122,9 @@ function Qie(e, t, n) {}, m = t.collection.getItem(r);if (u) {let e = Number(m?.index);- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = yT(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = _T(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Eie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = SE({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Oie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = bE({selectionManager: t.selectionManager,key: r,ref: n,@@ -26133,18 +26133,18 @@ function Qie(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? vx(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? gx(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = MT({+ }), { hoverProps: S } = AT({isDisabled: a || !c,onHoverStart() {- ax() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ rx() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = ES(m?.props);+ }), C = wS(m?.props);delete C.id;- let w = Bb(m?.props);+ let w = Rb(m?.props);return {optionProps: {...p,@@ -26154,7 +26154,7 @@ function Qie(e, t, n) {labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && ax(),+ isFocusVisible: y && t.selectionManager.isFocused && rx(),isSelected: o,isDisabled: a,isPressed: v,@@ -26164,13 +26164,13 @@ function Qie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/utils.mjs-var kE = /* @__PURE__ */ new WeakMap();+var DE = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/menu/useMenu.mjs-function $ie(e, t, n) {+function tae(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = ES(e, { labelable: !0 }), { listProps: c } = xE({+ let s = wS(e, { labelable: !0 }), { listProps: c } = yE({...o,ref: n,selectionManager: t.selectionManager,@@ -26179,7 +26179,7 @@ function $ie(e, t, n) {shouldFocusWrap: r,linkBehavior: "override"});- return kE.set(t, {+ return DE.set(t, {onClose: e.onClose,onAction: e.onAction,shouldUseVirtualFocus: e.shouldUseVirtualFocus@@ -26196,15 +26196,15 @@ function $ie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs-function eae(e, t, n) {- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), O = e.isSelected ?? C.isSelected(i), k = kE.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = Ib(), N = () => {+function nae(e, t, n) {+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), O = e.isSelected ?? C.isSelected(i), k = DE.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = Pb(), N = () => {if (!w && (A?.props?.onAction ? A.props.onAction() : e.onAction && e.onAction(i), k.onAction)) {let e = k.onAction;e(i, A?.value);}}, P = "menuitem";w || (C.selectionMode === "single" ? P = "menuitemradio" : C.selectionMode === "multiple" && (P = "menuitemcheckbox"));- let ee = Cx(), F = Cx(), te = Cx(), I = {+ let ee = xx(), F = xx(), te = xx(), I = {id: r,"aria-disabled": E || void 0,role: P,@@ -26221,17 +26221,17 @@ function eae(e, t, n) {};if (C.selectionMode !== "none" && !w && (I["aria-checked"] = O), s) {let e = Number(A?.index);- I["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, I["aria-setsize"] = yT(t.collection);+ I["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, I["aria-setsize"] = _T(t.collection);}let ne = (0, D.useRef)(!1), re = (e) => {f?.(e), ne.current = e;}, ie = (0, D.useRef)(null), ae = (e) => {e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (ne.current || e.target.click()), u?.(e);}, oe = (e) => {- m?.(e), N(), Jne(e, M, A.props.href, A?.props.routerOptions);+ m?.(e), N(), Xne(e, M, A.props.href, A?.props.routerOptions);let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);t = o ?? a ?? t, j && !w && t && j(), ie.current = null;- }, { itemProps: se, isFocused: ce } = SE({+ }, { itemProps: se, isFocused: ce } = bE({id: r,selectionManager: C,key: i,@@ -26240,27 +26240,27 @@ function eae(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: k.shouldUseVirtualFocus- }), { pressProps: le, isPressed: ue } = BS({+ }), { pressProps: le, isPressed: ue } = RS({onPressStart: l,onPress: d,onPressUp: ae,onPressChange: re,onPressEnd: p,isDisabled: E- }), { hoverProps: de } = MT({+ }), { hoverProps: de } = AT({isDisabled: E,onHoverStart(e) {- !ax() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !rx() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: fe } = Mx({+ }), { keyboardProps: fe } = Ax({shortcuts: {" ": (e) => {ie.current = {pointerType: "keyboard",key: " "- }, K(e).click(), sx("keyboard");+ }, K(e).click(), ax("keyboard");},Enter: (e) => {ie.current = {@@ -26268,8 +26268,8 @@ function eae(e, t, n) {key: "Enter"};let t = K(e);- if (t.tagName !== "A") t.click(), sx("keyboard");- else return sx("keyboard"), {+ if (t.tagName !== "A") t.click(), ax("keyboard");+ else return ax("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -26277,13 +26277,13 @@ function eae(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: pe } = Ix({+ }), { focusableProps: pe } = Px({onBlur: S,onFocus: b,onFocusChange: x- }, n), me = ES(A?.props);+ }, n), me = wS(A?.props);delete me.id;- let he = Bb(A?.props);+ let he = Rb(A?.props);return {menuItemProps: {...I,@@ -26298,7 +26298,7 @@ function eae(e, t, n) {descriptionProps: { id: F },keyboardShortcutProps: { id: te },isFocused: ce,- isFocusVisible: ce && C.isFocused && ax() && !T,+ isFocusVisible: ce && C.isFocused && rx() && !T,isSelected: O,isPressed: ue,isDisabled: E@@ -26306,8 +26306,8 @@ function eae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs-function tae(e) {- let { heading: t, "aria-label": n } = e, r = Sx();+function rae(e) {+ let { heading: t, "aria-label": n } = e, r = bx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26323,15 +26323,15 @@ function tae(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function nae() {+function iae() {return window.ResizeObserver !== void 0;}-function AE(e) {- let { ref: t, box: n, onResize: r } = e, i = uS(r);+function OE(e) {+ let { ref: t, box: n, onResize: r } = e, i = cS(r);(0, D.useEffect)(() => {let e = t?.current;if (e) {- if (nae()) {+ if (iae()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -26347,189 +26347,189 @@ function AE(e) {}//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var jE = {};-jE = { dismiss: "تجاهل" };+var kE = {};+kE = { dismiss: "تجاهل" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var ME = {};-ME = { dismiss: "Отхвърляне" };+var AE = {};+AE = { dismiss: "Отхвърляне" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var NE = {};-NE = { dismiss: "Odstranit" };+var jE = {};+jE = { dismiss: "Odstranit" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var PE = {};-PE = { dismiss: "Luk" };+var ME = {};+ME = { dismiss: "Luk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var FE = {};-FE = { dismiss: "Schließen" };+var NE = {};+NE = { dismiss: "Schließen" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var IE = {};-IE = { dismiss: "Απόρριψη" };+var PE = {};+PE = { dismiss: "Απόρριψη" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var LE = {};-LE = { dismiss: "Dismiss" };+var FE = {};+FE = { dismiss: "Dismiss" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var RE = {};-RE = { dismiss: "Descartar" };+var IE = {};+IE = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var zE = {};-zE = { dismiss: "Lõpeta" };+var LE = {};+LE = { dismiss: "Lõpeta" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var BE = {};-BE = { dismiss: "Hylkää" };+var RE = {};+RE = { dismiss: "Hylkää" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var VE = {};-VE = { dismiss: "Rejeter" };+var zE = {};+zE = { dismiss: "Rejeter" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var HE = {};-HE = { dismiss: "התעלם" };+var BE = {};+BE = { dismiss: "התעלם" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var UE = {};-UE = { dismiss: "Odbaci" };+var VE = {};+VE = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var WE = {};-WE = { dismiss: "Elutasítás" };+var HE = {};+HE = { dismiss: "Elutasítás" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var GE = {};-GE = { dismiss: "Ignora" };+var UE = {};+UE = { dismiss: "Ignora" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var KE = {};-KE = { dismiss: "閉じる" };+var WE = {};+WE = { dismiss: "閉じる" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var qE = {};-qE = { dismiss: "무시" };+var GE = {};+GE = { dismiss: "무시" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var JE = {};-JE = { dismiss: "Atmesti" };+var KE = {};+KE = { dismiss: "Atmesti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var YE = {};-YE = { dismiss: "Nerādīt" };+var qE = {};+qE = { dismiss: "Nerādīt" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var XE = {};-XE = { dismiss: "Lukk" };+var JE = {};+JE = { dismiss: "Lukk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var ZE = {};-ZE = { dismiss: "Negeren" };+var YE = {};+YE = { dismiss: "Negeren" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var QE = {};-QE = { dismiss: "Zignoruj" };+var XE = {};+XE = { dismiss: "Zignoruj" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var $E = {};-$E = { dismiss: "Descartar" };+var ZE = {};+ZE = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var eD = {};-eD = { dismiss: "Dispensar" };+var QE = {};+QE = { dismiss: "Dispensar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var tD = {};-tD = { dismiss: "Revocare" };+var $E = {};+$E = { dismiss: "Revocare" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var nD = {};-nD = { dismiss: "Пропустить" };+var eD = {};+eD = { dismiss: "Пропустить" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var rD = {};-rD = { dismiss: "Zrušiť" };+var tD = {};+tD = { dismiss: "Zrušiť" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var iD = {};-iD = { dismiss: "Opusti" };+var nD = {};+nD = { dismiss: "Opusti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var aD = {};-aD = { dismiss: "Odbaci" };+var rD = {};+rD = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var oD = {};-oD = { dismiss: "Avvisa" };+var iD = {};+iD = { dismiss: "Avvisa" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var sD = {};-sD = { dismiss: "Kapat" };+var aD = {};+aD = { dismiss: "Kapat" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var cD = {};-cD = { dismiss: "Скасувати" };+var oD = {};+oD = { dismiss: "Скасувати" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var lD = {};-lD = { dismiss: "取消" };+var sD = {};+sD = { dismiss: "取消" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var uD = {};-uD = { dismiss: "關閉" };+var cD = {};+cD = { dismiss: "關閉" };//#endregion//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var dD = {};-dD = {- "ar-AE": jE,- "bg-BG": ME,- "cs-CZ": NE,- "da-DK": PE,- "de-DE": FE,- "el-GR": IE,- "en-US": LE,- "es-ES": RE,- "et-EE": zE,- "fi-FI": BE,- "fr-FR": VE,- "he-IL": HE,- "hr-HR": UE,- "hu-HU": WE,- "it-IT": GE,- "ja-JP": KE,- "ko-KR": qE,- "lt-LT": JE,- "lv-LV": YE,- "nb-NO": XE,- "nl-NL": ZE,- "pl-PL": QE,- "pt-BR": $E,- "pt-PT": eD,- "ro-RO": tD,- "ru-RU": nD,- "sk-SK": rD,- "sl-SI": iD,- "sr-SP": aD,- "sv-SE": oD,- "tr-TR": sD,- "uk-UA": cD,- "zh-CN": lD,- "zh-TW": uD+var lD = {};+lD = {+ "ar-AE": kE,+ "bg-BG": AE,+ "cs-CZ": jE,+ "da-DK": ME,+ "de-DE": NE,+ "el-GR": PE,+ "en-US": FE,+ "es-ES": IE,+ "et-EE": LE,+ "fi-FI": RE,+ "fr-FR": zE,+ "he-IL": BE,+ "hr-HR": VE,+ "hu-HU": HE,+ "it-IT": UE,+ "ja-JP": WE,+ "ko-KR": GE,+ "lt-LT": KE,+ "lv-LV": qE,+ "nb-NO": JE,+ "nl-NL": YE,+ "pl-PL": XE,+ "pt-BR": ZE,+ "pt-PT": QE,+ "ro-RO": $E,+ "ru-RU": eD,+ "sk-SK": tD,+ "sl-SI": nD,+ "sr-SP": rD,+ "sv-SE": iD,+ "tr-TR": aD,+ "uk-UA": oD,+ "zh-CN": sD,+ "zh-TW": cD};//#endregion//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function rae(e) {+function aae(e) {return e && e.__esModule ? e.default : e;}-function fD(e) {- let { onDismiss: t, ...n } = e, r = fS(n, wS(rae(dD), "@react-aria/overlays").format("dismiss")), i = () => {+function uD(e) {+ let { onDismiss: t, ...n } = e, r = uS(n, SS(aae(lD), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ D.createElement(uw, null, /*#__PURE__*/ D.createElement("button", {+ return /*#__PURE__*/ D.createElement(cw, null, /*#__PURE__*/ D.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -26541,35 +26541,35 @@ function fD(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var pD = [];-function mD(e, t) {+var dD = [];+function fD(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, D.useRef)(void 0);(0, D.useEffect)(() => {- if (i && !pD.includes(t)) return pD.push(t), () => {- let e = pD.indexOf(t);- e >= 0 && pD.splice(e, 1);+ if (i && !dD.includes(t)) return dD.push(t), () => {+ let e = dD.indexOf(t);+ e >= 0 && dD.splice(e, 1);};}, [i, t]);let l = () => {- pD[pD.length - 1] === t && n && n();+ dD[dD.length - 1] === t && n && n();}, u = (e) => {- let n = pD[pD.length - 1];+ let n = dD[dD.length - 1];c.current = n, (!s || s(K(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(K(e))) && (pD[pD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = Mx({ shortcuts: { Escape: () => {+ (!s || s(K(e))) && (dD[dD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = Ax({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });- Vie({+ Uie({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = QC({+ let { focusWithinProps: p } = XC({isDisabled: !r,onBlurWithin: (e) => {- e.relatedTarget && !hie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();+ e.relatedTarget && !_ie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();}});return {@@ -26582,88 +26582,88 @@ function mD(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var iae = 200, aae = 50, oae = 600, hD = /* @__PURE__ */ new WeakMap(), gD = /* @__PURE__ */ new Set(), _D = /* @__PURE__ */ new Set();-function sae(e, t) {- let n = lS();- if (e !== n || t.aborted) for (let e of _D) e(n), _D.delete(e);- if (!e && n && Ab() && !t.aborted) window.clearInterval(hD.get(window)), hD.set(window, vD(iae));+var oae = 200, sae = 50, cae = 600, pD = /* @__PURE__ */ new WeakMap(), mD = /* @__PURE__ */ new Set(), hD = /* @__PURE__ */ new Set();+function lae(e, t) {+ let n = sS();+ if (e !== n || t.aborted) for (let e of hD) e(n), hD.delete(e);+ if (!e && n && Ob() && !t.aborted) window.clearInterval(pD.get(window)), pD.set(window, gD(oae));else {- if (e !== n || t.aborted) for (let e of gD) e(n), gD.delete(e);- (_D.size + gD.size <= 0 || t.aborted) && (window.clearInterval(hD.get(window)), hD.delete(window));+ if (e !== n || t.aborted) for (let e of mD) e(n), mD.delete(e);+ (hD.size + mD.size <= 0 || t.aborted) && (window.clearInterval(pD.get(window)), pD.delete(window));}}-function vD(e = oae) {- return window.setInterval(sae, aae, lS(), AbortSignal.timeout(e));+function gD(e = cae) {+ return window.setInterval(lae, sae, sS(), AbortSignal.timeout(e));}-function yD(e) {- if (!oS()) return e(!1), () => {};+function _D(e) {+ if (!iS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = sS(document.hasFocus() ? rb() : null);- if (lS() === t || lS() && !t) return e(t);- _D.add(e), hD.has(window) || hD.set(window, vD());+ let t = aS(document.hasFocus() ? tb() : null);+ if (sS() === t || sS() && !t) return e(t);+ hD.add(e), pD.has(window) || pD.set(window, gD());});});return () => {- window.cancelAnimationFrame(t), _D.delete(e);+ window.cancelAnimationFrame(t), hD.delete(e);};}-function cae(e) {- if (!oS()) return e(!1), () => {};+function uae(e) {+ if (!iS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = sS(document.hasFocus() ? rb() : null);- if (lS() === t) return e(t);- gD.add(e), hD.has(window) || hD.set(window, vD());+ let t = aS(document.hasFocus() ? tb() : null);+ if (sS() === t) return e(t);+ mD.add(e), pD.has(window) || pD.set(window, gD());});});return () => {- window.cancelAnimationFrame(t), gD.delete(e);+ window.cancelAnimationFrame(t), mD.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var bD = typeof document < "u" && window.visualViewport, xD = 0, SD;-function CD(e = {}) {+var vD = typeof document < "u" && window.visualViewport, yD = 0, bD;+function xD(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- gb(() => {- if (!t) return xD++, xD === 1 && (SD = Ob() && Ab() ? uae() : lae(n)), () => {- xD--, xD === 0 && SD();+ mb(() => {+ if (!t) return yD++, yD === 1 && (bD = Eb() && Ob() ? fae() : dae(n)), () => {+ yD--, yD === 0 && bD();};}, [t, n]);}-function lae(e) {+function dae(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return vx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? eb(document.documentElement, "scrollbar-gutter", "stable") : eb(document.documentElement, "padding-right", `${t}px`)), eb(document.documentElement, "overflow", "hidden"), e && TD(), e && oS() && wD());+ return gx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? Qy(document.documentElement, "scrollbar-gutter", "stable") : Qy(document.documentElement, "padding-right", `${t}px`)), Qy(document.documentElement, "overflow", "hidden"), e && CD(), e && iS() && SD());}-function uae() {- let e = eb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+function fae() {+ let e = Qy(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {let r = K(e);- t = bC(r, !0) ? r : xC(r, !0), n = !1;+ t = vC(r, !0) ? r : yC(r, !0), n = !1;let i = r.ownerDocument.defaultView.getSelection();i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);- }, i = document.createElement("style"), a = NS();+ }, i = document.createElement("style"), a = jS();a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);let o = (e) => {e.touches.length === 2 || n || (!t || t === document.documentElement || t === document.body || t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth) && e.preventDefault();- }, s = TD(), c = vx($y(document, "touchstart", r, {+ }, s = CD(), c = gx(Zy(document, "touchstart", r, {passive: !1,capture: !0- }), $y(document, "touchmove", o, {+ }), Zy(document, "touchmove", o, {passive: !1,capture: !0- }), wD());+ }), SD());return () => {e(), c(), i.remove(), s();};}-function wD() {- return $y(document, "blur", (e) => {+function SD() {+ return Zy(document, "blur", (e) => {let t = K(e), n = e.relatedTarget;- n && sS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ n && aS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}-function TD() {+function CD() {let e = HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -26674,9 +26674,9 @@ function TD() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- rb() === this && dae(this);+ tb() === this && pae(this);};- yD((t) => t ? e() : cae(() => e()));+ _D((t) => t ? e() : uae(() => e()));}}}), () => {@@ -26687,15 +26687,15 @@ function TD() {});};}-function dae(e) {+function pae(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = xC(n);+ let e = yC(n);if (e !== document.documentElement && e !== document.body && e !== n) {let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();if (r.top < t.top || r.bottom > t.top + n.clientHeight) {let n = t.bottom;- bD && (n = Math.min(n, bD.offsetTop + bD.height));+ vD && (n = Math.min(n, vD.offsetTop + vD.height));let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);e.scrollTo({top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),@@ -26708,19 +26708,19 @@ function dae(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function fae(e, t, n) {- let { overlayProps: r, underlayProps: i } = mD({+function mae(e, t, n) {+ let { overlayProps: r, underlayProps: i } = fD({...e,isOpen: t.isOpen,onClose: t.close}, n);- CD({+ xD({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus- }), DT();+ }), TT();let { isEntering: a } = e;return (0, D.useEffect)(() => {- if (t.isOpen && n.current) return a ? _w(n.current) : gw([n.current], { shouldUseInert: !0 });+ if (t.isOpen && n.current) return a ? hw(n.current) : mw([n.current], { shouldUseInert: !0 });}, [t.isOpen,a,@@ -26732,33 +26732,33 @@ function fae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var ED = {+var wD = {top: "top",bottom: "top",left: "left",right: "left"-}, DD = {+}, TD = {top: "bottom",bottom: "top",left: "right",right: "left"-}, pae = {+}, hae = {top: "left",left: "top"-}, OD = {+}, ED = {top: "height",left: "width"-}, kD = {+}, DD = {width: "totalWidth",height: "totalHeight"-}, AD = {}, mae = () => typeof document < "u" ? window.visualViewport : null;-function jD(e, t) {+}, OD = {}, gae = () => typeof document < "u" ? window.visualViewport : null;+function kD(e, t) {let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;if (e.tagName === "BODY" || e.tagName === "HTML") {let l = document.documentElement;i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));- } else ({width: n, height: r, top: o, left: s} = LD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return Ab() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {+ } else ({width: n, height: r, top: o, left: s} = FD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return Ob() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {width: n,height: r,totalWidth: i,@@ -26768,7 +26768,7 @@ function jD(e, t) {left: s};}-function hae(e) {+function _ae(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -26776,11 +26776,11 @@ function hae(e) {height: e.scrollHeight};}-function MD(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[OD[e]], l = o[e] + r.scroll[ED[e]] + a, u = o[e] + r.scroll[ED[e]] + c - a, d = t - s + r.scroll[ED[e]] + o[e] - r[ED[e]], f = t - s + n + r.scroll[ED[e]] + o[e] - r[ED[e]];+function AD(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[ED[e]], l = o[e] + r.scroll[wD[e]] + a, u = o[e] + r.scroll[wD[e]] + c - a, d = t - s + r.scroll[wD[e]] + o[e] - r[wD[e]], f = t - s + n + r.scroll[wD[e]] + o[e] - r[wD[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function gae(e) {+function vae(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -26789,55 +26789,55 @@ function gae(e) {right: parseInt(t.marginRight, 10) || 0};}-function ND(e) {- if (AD[e]) return AD[e];- let [t, n] = e.split(" "), r = ED[t] || "right", i = pae[r];- ED[n] || (n = "center");- let a = OD[r], o = OD[i];- return AD[e] = {+function jD(e) {+ if (OD[e]) return OD[e];+ let [t, n] = e.split(" "), r = wD[t] || "right", i = hae[r];+ wD[n] || (n = "center");+ let a = ED[r], o = ED[i];+ return OD[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, AD[e];+ }, OD[e];}-function PD(e, t, n, r, i, a, o, s, c, l, u) {+function MD(e, t, n, r, i, a, o, s, c, l, u) {let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;- if (_[m] = nw(_[m], v, y), d === p) {- let t = s ? u[h] : u[kD[h]];- _[DD[p]] = Math.floor(t - e[p] + i);+ if (_[m] = ew(_[m], v, y), d === p) {+ let t = s ? u[h] : u[DD[h]];+ _[TD[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function _ae(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[kD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {+function yae(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[DD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))};return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));}-function FD(e, t, n, r, i, a, o, s) {+function ND(e, t, n, r, i, a, o, s) {let { placement: c, axis: l, size: u } = a;- return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[DD[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[DD[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[TD[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[TD[l]] - i);}-function vae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = ND(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = PD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = FD(s, l, t, i, a + u, v, c, g);+function bae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = jD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = MD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = ND(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = ND(`${DD[S]} ${C}`), r = PD(t, s, n, e, u, d, l, f, m, h, c);- FD(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ let e = jD(`${TD[S]} ${C}`), r = MD(t, s, n, e, u, d, l, f, m, h, c);+ ND(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);}let D = "bottom";v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));- let O = MD(b, w[b], n[x], s, c, a, l);+ let O = AD(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = _ae(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = PD(t, s, n, v, T, d, l, f, m, h, c), O = MD(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[ED[b]], M = j + .5 * t[x], N = m / 2 + h, P = ED[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;- A[b] = nw(nw(M, t[b] + m / 2 - (w[b] + i[ED[b]]), t[b] + t[x] - m / 2 - (w[b] + i[ED[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let k = yae(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = MD(t, s, n, v, T, d, l, f, m, h, c), O = AD(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[wD[b]], M = j + .5 * t[x], N = m / 2 + h, P = wD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;+ A[b] = ew(ew(M, t[b] + m / 2 - (w[b] + i[wD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[wD[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);let F = S === "left" || S === "top" ? n[y] : 0, te = {x: S === "top" || S === "bottom" ? j : F,y: S === "left" || S === "right" ? j : F@@ -26851,17 +26851,17 @@ function vae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: te};}-function yae(e) {- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = mae(), h = r instanceof HTMLElement ? bae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? LD(n, !1, p) : RD(n, h, !1, p);+function xae(e) {+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = gae(), h = r instanceof HTMLElement ? Sae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? FD(n, !1, p) : ID(n, h, !1, p);if (!g) {let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;}- let b = LD(r, !0), x = gae(r);+ let b = FD(r, !0), x = vae(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = hae(i), C = jD(s, m), w = jD(h, m), T;+ let S = _ae(i), C = kD(s, m), w = kD(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = ID(h, !1);+ let e = PD(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -26873,11 +26873,11 @@ function yae(e) {left: 0,width: 0,height: 0- } : RD(s, h, !1);- let E = nb(s, h);- return vae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : ID(s, h, !1);+ let E = eb(s, h);+ return bae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function ID(e, t) {+function PD(e, t) {let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {top: n,@@ -26886,8 +26886,8 @@ function ID(e, t) {height: a};}-function LD(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || ID(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function FD(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || PD(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -26895,30 +26895,30 @@ function LD(e, t, n) {height: o};}-function RD(e, t, n, r) {+function ID(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || ID(e, n);+ if (i.position === "fixed") a = r || PD(e, n);else {- a = LD(e, n, r);- let i = LD(t, n), o = window.getComputedStyle(t);+ a = FD(e, n, r);+ let i = FD(t, n), o = window.getComputedStyle(t);i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;}return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;}-function bae(e) {+function Sae(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !zD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !zD(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !LD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !LD(t);) t = t.parentElement;return t || document.documentElement;}-function zD(e) {+function LD(e) {let t = window.getComputedStyle(e);return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs-var BD = typeof document < "u" ? window.visualViewport : null;-function xae(e) {- let { direction: t } = vS(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, D.useState)(null), x = [+var RD = typeof document < "u" ? window.visualViewport : null;+function Cae(e) {+ let { direction: t } = gS(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, D.useState)(null), x = [p,s,i.current,@@ -26935,15 +26935,15 @@ function xae(e) {g,_,n- ], S = (0, D.useRef)(BD?.scale);+ ], S = (0, D.useRef)(RD?.scale);(0, D.useEffect)(() => {- m && (S.current = BD?.scale);+ m && (S.current = RD?.scale);}, [m]);let C = (0, D.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || BD?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || RD?.scale !== S.current) return;let e = null;- if (o.current && ab(o.current)) {- let t = rb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && rb(o.current)) {+ let t = tb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -26951,8 +26951,8 @@ function xae(e) {}let h = i.current;!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");- let y = yae({- placement: Cae(s, t),+ let y = xae({+ placement: Tae(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -26962,28 +26962,28 @@ function xae(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? ID(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? PD(a.current, !0).width : 0),arrowBoundaryOffset: _,targetRect: v?.(r.current)});if (!y.position) return;h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";- let x = rb();+ let x = tb();if (e && x && o.current) {let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];o.current.scrollTop += r - e.offset;}b(y);}, x);- gb(C, x), Sae(C), AE({+ mb(C, x), wae(C), OE({ref: i,onResize: C- }), AE({+ }), OE({ref: r,onResize: C});let w = (0, D.useRef)(!1);- gb(() => {+ mb(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -26991,16 +26991,16 @@ function xae(e) {}, n = () => {w.current && t();};- BD?.addEventListener("resize", t), BD?.addEventListener("scroll", n);- let r = $y(ib(window), "scroll", n);+ RD?.addEventListener("resize", t), RD?.addEventListener("scroll", n);+ let r = Zy(nb(window), "scroll", n);return () => {- BD?.removeEventListener("resize", t), BD?.removeEventListener("scroll", n), r();+ RD?.removeEventListener("resize", t), RD?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, D.useCallback)(() => {w.current || h?.();}, [h, w]);- return jie({+ return Nie({triggerRef: r,isOpen: m,onClose: h && T@@ -27026,25 +27026,25 @@ function xae(e) {updatePosition: C};}-function Sae(e) {- gb(() => (window.addEventListener("resize", e, !1), () => {+function wae(e) {+ mb(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function Cae(e, t) {+function Tae(e, t) {return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs-function wae(e, t) {- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = mD({+function Eae(e, t) {+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = fD({isOpen: t.isOpen,onClose: t.close,shouldCloseOnBlur: !0,isDismissable: !a || l,isKeyboardDismissDisabled: o,shouldCloseOnInteractOutside: s- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = xae({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Cae({...c,targetRef: n,overlayRef: r,@@ -27052,15 +27052,15 @@ function wae(e, t) {onClose: a && !l ? t.close : null,getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)});- CD({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {- if (t.isOpen && r.current) return a ? _w(i?.current ?? r.current) : gw([i?.current ?? r.current], { shouldUseInert: !0 });+ xD({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {+ if (t.isOpen && r.current) return a ? hw(i?.current ?? r.current) : mw([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = QC(e);+ let { focusWithinProps: g } = XC(e);return {popoverProps: q(u, f, g),arrowProps: p,@@ -27071,13 +27071,13 @@ function wae(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/radio/utils.mjs-var VD = /* @__PURE__ */ new WeakMap();+var zD = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/radio/useRadio.mjs-function Tae(e, t, n) {+function Dae(e, t, n) {let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {e.stopPropagation(), t.setSelectedValue(r);- }, { pressProps: g, isPressed: _ } = BS({+ }, { pressProps: g, isPressed: _ } = RS({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -27085,7 +27085,7 @@ function Tae(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = BS({+ }), { pressProps: v, isPressed: y } = RS({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -27095,11 +27095,11 @@ function Tae(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = Ix(q(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = q(g, b), S = ES(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = Px(q(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = q(g, b), S = wS(e, { labelable: !0 }), C = -1;t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);- let { name: w, form: T, descriptionId: E, errorMessageId: O, validationBehavior: k } = VD.get(t);- kC(n, t.defaultSelectedValue, t.setSelectedValue), AC({ validationBehavior: k }, t, n);- let A = FC();+ let { name: w, form: T, descriptionId: E, errorMessageId: O, validationBehavior: k } = zD.get(t);+ DC(n, t.defaultSelectedValue, t.setSelectedValue), OC({ validationBehavior: k }, t, n);+ let A = NC();return {labelProps: q(v, (0, D.useMemo)(() => ({onClick: (e) => e.preventDefault(),@@ -27131,13 +27131,13 @@ function Tae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function Eae(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = vS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = ZC({+function Oae(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = gS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = YC({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = ES(e, { labelable: !0 }), { focusWithinProps: v } = QC({+ }), _ = wS(e, { labelable: !0 }), { focusWithinProps: v } = XC({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -27145,13 +27145,13 @@ function Eae(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = dC(n.currentTarget, {+ let r = lC(n.currentTarget, {from: K(n),- accept: (e) => e instanceof Xy(e).HTMLInputElement && e.type === "radio"+ accept: (e) => e instanceof Jy(e).HTMLInputElement && e.type === "radio"}), i;return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;}- let { keyboardProps: b } = Mx({+ let { keyboardProps: b } = Ax({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -27159,8 +27159,8 @@ function Eae(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = Sx(n);- return VD.set(t, {+ }), x = bx(n);+ return zD.set(t, {name: x,form: r,descriptionId: h.id,@@ -27189,21 +27189,21 @@ function Eae(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/select/useSelect.mjs-var HD = /* @__PURE__ */ new WeakMap();-function Dae(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = xT({+var BD = /* @__PURE__ */ new WeakMap();+function kae(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = yT({usage: "search",sensitivity: "base"- }), u = (0, D.useMemo)(() => r || new Cw(t.collection, t.disabledKeys, n, l), [+ }), u = (0, D.useMemo)(() => r || new xw(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = sT({+ ]), { menuTriggerProps: d, menuProps: f } = aT({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = Mx({+ }, t, n), { keyboardProps: p } = Ax({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -27219,21 +27219,21 @@ function Dae(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = lT({+ }), { typeSelectProps: m } = sT({keyboardDelegate: u,selectionManager: t.selectionManager,onTypeSelect(e) {t.setSelectedKey(e);}- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = ZC({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = YC({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = ES(e, { labelable: !0 }), C = q(m, d, y), w = Sx();- return HD.set(t, {+ let S = wS(e, { labelable: !0 }), C = q(m, d, y), w = bx();+ return BD.set(t, {isDisabled: i,isRequired: a,name: o,@@ -27243,13 +27243,13 @@ function Dae(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), sx("keyboard"));+ e.isDisabled || (n.current?.focus(), ax("keyboard"));}},triggerProps: q(S, {...C,isDisabled: i,- onKeyDown: vx(C.onKeyDown, p.onKeyDown),+ onKeyDown: gx(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -27273,7 +27273,7 @@ function Dae(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- nb(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ eb(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));},"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")},@@ -27294,13 +27294,13 @@ function Dae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function Oae(e, t, n) {- let r = HD.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = lw({ style: {+function Aae(e, t, n) {+ let r = BD.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = sw({ style: {position: "fixed",top: 0,left: 0} });- kC(e.selectRef, t.defaultValue, t.setValue), AC({+ DC(e.selectRef, t.defaultValue, t.setValue), OC({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);@@ -27330,8 +27330,8 @@ function Oae(e, t, n) {}};}-function kae(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = Oae({+function jae(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = Aae({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -27355,7 +27355,7 @@ function kae(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = HD.get(t) || {};+ let { validationBehavior: e } = BD.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -27386,8 +27386,8 @@ function kae(e) {}//#endregion//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs-function Aae(e) {- let t = ES(e, { labelable: !0 }), n;+function Mae(e) {+ let t = wS(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -27396,8 +27396,8 @@ function Aae(e) {}//#endregion//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs-function jae(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = qC(e, t, n);+function Nae(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = GC(e, t, n);return {labelProps: r,inputProps: {@@ -27411,10 +27411,10 @@ function jae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var UD = class {+var VD = class {constructor(e) {if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");- this.layoutDelegate = e.layoutDelegate || (e.layout ? new Mae(e.layout) : new Sw(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Pae(e.layout) : new bw(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -27450,7 +27450,7 @@ var UD = class {let n = this.collection.getItem(e);if (!n) return null;let r = 0;- for (let e of fT(n, this.collection)) {+ for (let e of uT(n, this.collection)) {if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;r++;}@@ -27484,13 +27484,13 @@ var UD = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = fT(t, this.collection);- return (this.direction === "rtl" ? hT(e)?.key : pT(e)?.key) ?? null;+ let e = uT(t, this.collection);+ return (this.direction === "rtl" ? pT(e)?.key : dT(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = fT(n, this.collection), i = (this.direction === "rtl" ? mT(r, t.index - 1) : mT(r, t.index + 1)) ?? null;+ let r = uT(n, this.collection), i = (this.direction === "rtl" ? fT(r, t.index - 1) : fT(r, t.index + 1)) ?? null;return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;}return null;@@ -27499,13 +27499,13 @@ var UD = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = fT(t, this.collection);- return (this.direction === "rtl" ? pT(e)?.key : hT(e)?.key) ?? null;+ let e = uT(t, this.collection);+ return (this.direction === "rtl" ? dT(e)?.key : pT(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = fT(n, this.collection), i = (this.direction === "rtl" ? mT(r, t.index + 1) : mT(r, t.index - 1)) ?? null;+ let r = uT(n, this.collection), i = (this.direction === "rtl" ? fT(r, t.index + 1) : fT(r, t.index - 1)) ?? null;return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;}return null;@@ -27516,13 +27516,13 @@ var UD = class {if (r = this.collection.getItem(n), !r) return null;if (this.isCell(r) && !t && r.parentKey != null) {let e = this.collection.getItem(r.parentKey);- return e ? pT(fT(e, this.collection))?.key ?? null : null;+ return e ? dT(uT(e, this.collection))?.key ?? null : null;}}if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {let e = this.collection.getItem(n);if (!e) return null;- n = pT(fT(e, this.collection))?.key ?? null;+ n = dT(uT(e, this.collection))?.key ?? null;}return n;}@@ -27532,13 +27532,13 @@ var UD = class {if (r = this.collection.getItem(n), !r) return null;if (this.isCell(r) && !t && r.parentKey != null) {let e = this.collection.getItem(r.parentKey);- return e ? hT(fT(e, this.collection))?.key ?? null : null;+ return e ? pT(uT(e, this.collection))?.key ?? null : null;}}if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {let e = this.collection.getItem(n);if (!e) return null;- n = hT(fT(e, this.collection))?.key ?? null;+ n = pT(uT(e, this.collection))?.key ?? null;}return n;}@@ -27574,13 +27574,13 @@ var UD = class {if (!t) return null;if (t.textValue) {let n = t.textValue.slice(0, e.length);- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? pT(fT(t, this.collection))?.key ?? null : t.key;+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? dT(uT(t, this.collection))?.key ?? null : t.key;}n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);}return null;}-}, Mae = class {+}, Pae = class {constructor(e) {this.layout = e;}@@ -27593,16 +27593,16 @@ var UD = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, WD = /* @__PURE__ */ new WeakMap();+}, HD = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/grid/useGrid.mjs-function Nae(e, t, n) {+function Fae(e, t, n) {let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");- let h = xT({+ let h = yT({usage: "search",sensitivity: "base"- }), { direction: g } = vS(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new UD({+ }), { direction: g } = gS(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new VD({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -27619,7 +27619,7 @@ function Nae(e, t, n) {g,h,o- ]), { collectionProps: y } = dT({+ ]), { collectionProps: y } = lT({ref: n,selectionManager: m,keyboardDelegate: v,@@ -27627,8 +27627,8 @@ function Nae(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = Sx(e.id);- WD.set(t, {+ }), b = bx(e.id);+ HD.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -27637,44 +27637,44 @@ function Nae(e, t, n) {shouldSelectOnPressUp: f,keyboardNavigationBehavior: p});- let x = bE({+ let x = vE({selectionManager: m,hasItemActions: !!(l || u)- }), S = ES(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {- m.isFocused ? nb(e.currentTarget, K(e)) || m.setFocused(!1) : nb(e.currentTarget, K(e)) && m.setFocused(!0);+ }), S = wS(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {+ m.isFocused ? eb(e.currentTarget, K(e)) || m.setFocused(!1) : eb(e.currentTarget, K(e)) && m.setFocused(!0);}, [m]), w = (0, D.useMemo)(() => ({onBlur: y.onBlur,onFocus: C- }), [C, y.onBlur]), T = yE(n, { isDisabled: t.collection.size !== 0 }), E = q(S, {+ }), [C, y.onBlur]), T = _E(n, { isDisabled: t.collection.size !== 0 }), E = q(S, {role: "grid",id: b,"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), _E({ getRowText: c }, t), { gridProps: E };+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), hE({ getRowText: c }, t), { gridProps: E };}//#endregion//#region node_modules/react-aria/dist/private/table/utils.mjs-var GD = /* @__PURE__ */ new WeakMap();-function KD(e) {+var UD = /* @__PURE__ */ new WeakMap();+function WD(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function qD(e, t) {- let n = GD.get(e);+function GD(e, t) {+ let n = UD.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${KD(t)}`;+ return `${n}-${WD(t)}`;}-function JD(e, t, n) {- let r = GD.get(e);+function KD(e, t, n) {+ let r = UD.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${KD(t)}-${KD(n)}`;+ return `${r}-${WD(t)}-${WD(n)}`;}-function YD(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => JD(e, t, n)).join(" ");+function qD(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => KD(e, t, n)).join(" ");}//#endregion//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var XD = {};-XD = {+var JD = {};+JD = {ascending: "تصاعدي",ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,collapse: "طي",@@ -27689,8 +27689,8 @@ XD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var ZD = {};-ZD = {+var YD = {};+YD = {ascending: "възходящ",ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,collapse: "Свиване",@@ -27705,8 +27705,8 @@ ZD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var QD = {};-QD = {+var XD = {};+XD = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -27721,8 +27721,8 @@ QD = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var $D = {};-$D = {+var ZD = {};+ZD = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -27737,8 +27737,8 @@ $D = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var eO = {};-eO = {+var QD = {};+QD = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -27753,8 +27753,8 @@ eO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var tO = {};-tO = {+var $D = {};+$D = {ascending: "αύξουσα",ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,collapse: "Σύμπτυξη",@@ -27769,8 +27769,8 @@ tO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs-var nO = {};-nO = {+var eO = {};+eO = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -27785,8 +27785,8 @@ nO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var rO = {};-rO = {+var tO = {};+tO = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -27801,8 +27801,8 @@ rO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var iO = {};-iO = {+var nO = {};+nO = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -27817,8 +27817,8 @@ iO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var aO = {};-aO = {+var rO = {};+rO = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -27833,8 +27833,8 @@ aO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var oO = {};-oO = {+var iO = {};+iO = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -27849,8 +27849,8 @@ oO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var sO = {};-sO = {+var aO = {};+aO = {ascending: "עולה",ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,collapse: "כווץ",@@ -27865,8 +27865,8 @@ sO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var cO = {};-cO = {+var oO = {};+oO = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -27881,8 +27881,8 @@ cO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var lO = {};-lO = {+var sO = {};+sO = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -27897,8 +27897,8 @@ lO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var uO = {};-uO = {+var cO = {};+cO = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -27913,8 +27913,8 @@ uO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var dO = {};-dO = {+var lO = {};+lO = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -27929,8 +27929,8 @@ dO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var fO = {};-fO = {+var uO = {};+uO = {ascending: "오름차순",ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,collapse: "접기",@@ -27945,8 +27945,8 @@ fO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var pO = {};-pO = {+var dO = {};+dO = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -27961,8 +27961,8 @@ pO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var mO = {};-mO = {+var fO = {};+fO = {ascending: "augošā secībā",ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,collapse: "Sakļaut",@@ -27977,8 +27977,8 @@ mO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var hO = {};-hO = {+var pO = {};+pO = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -27993,8 +27993,8 @@ hO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var gO = {};-gO = {+var mO = {};+mO = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -28009,8 +28009,8 @@ gO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var _O = {};-_O = {+var hO = {};+hO = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -28025,8 +28025,8 @@ _O = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var vO = {};-vO = {+var gO = {};+gO = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -28041,8 +28041,8 @@ vO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var yO = {};-yO = {+var _O = {};+_O = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -28057,8 +28057,8 @@ yO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var bO = {};-bO = {+var vO = {};+vO = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -28073,8 +28073,8 @@ bO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var xO = {};-xO = {+var yO = {};+yO = {ascending: "возрастание",ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,collapse: "Свернуть",@@ -28089,8 +28089,8 @@ xO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var SO = {};-SO = {+var bO = {};+bO = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -28105,8 +28105,8 @@ SO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var CO = {};-CO = {+var xO = {};+xO = {ascending: "naraščajoče",ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,collapse: "Strni",@@ -28121,8 +28121,8 @@ CO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var wO = {};-wO = {+var SO = {};+SO = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -28137,8 +28137,8 @@ wO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var TO = {};-TO = {+var CO = {};+CO = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -28153,8 +28153,8 @@ TO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var EO = {};-EO = {+var wO = {};+wO = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -28169,8 +28169,8 @@ EO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var DO = {};-DO = {+var TO = {};+TO = {ascending: "висхідний",ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,collapse: "Згорнути",@@ -28185,8 +28185,8 @@ DO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var OO = {};-OO = {+var EO = {};+EO = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -28201,8 +28201,8 @@ OO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var kO = {};-kO = {+var DO = {};+DO = {ascending: "遞增",ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,collapse: "收合",@@ -28217,46 +28217,46 @@ kO = {};//#endregion//#region node_modules/react-aria/dist/private/table/intlStrings.mjs-var AO = {};-AO = {- "ar-AE": XD,- "bg-BG": ZD,- "cs-CZ": QD,- "da-DK": $D,- "de-DE": eO,- "el-GR": tO,- "en-US": nO,- "es-ES": rO,- "et-EE": iO,- "fi-FI": aO,- "fr-FR": oO,- "he-IL": sO,- "hr-HR": cO,- "hu-HU": lO,- "it-IT": uO,- "ja-JP": dO,- "ko-KR": fO,- "lt-LT": pO,- "lv-LV": mO,- "nb-NO": hO,- "nl-NL": gO,- "pl-PL": _O,- "pt-BR": vO,- "pt-PT": yO,- "ro-RO": bO,- "ru-RU": xO,- "sk-SK": SO,- "sl-SI": CO,- "sr-SP": wO,- "sv-SE": TO,- "tr-TR": EO,- "uk-UA": DO,- "zh-CN": OO,- "zh-TW": kO+var OO = {};+OO = {+ "ar-AE": JD,+ "bg-BG": YD,+ "cs-CZ": XD,+ "da-DK": ZD,+ "de-DE": QD,+ "el-GR": $D,+ "en-US": eO,+ "es-ES": tO,+ "et-EE": nO,+ "fi-FI": rO,+ "fr-FR": iO,+ "he-IL": aO,+ "hr-HR": oO,+ "hu-HU": sO,+ "it-IT": cO,+ "ja-JP": lO,+ "ko-KR": uO,+ "lt-LT": dO,+ "lv-LV": fO,+ "nb-NO": pO,+ "nl-NL": mO,+ "pl-PL": hO,+ "pt-BR": gO,+ "pt-PT": _O,+ "ro-RO": vO,+ "ru-RU": yO,+ "sk-SK": bO,+ "sl-SI": xO,+ "sr-SP": SO,+ "sv-SE": CO,+ "tr-TR": wO,+ "uk-UA": TO,+ "zh-CN": EO,+ "zh-TW": DO};//#endregion//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var Pae = class extends UD {+var Iae = class extends VD {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -28264,7 +28264,7 @@ var Pae = class extends UD {let n = this.collection.getItem(e);if (!n) return null;if (n.type === "column") {- let e = pT(fT(n, this.collection));+ let e = dT(uT(n, this.collection));if (e) return e.key;let t = this.getFirstKey();return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);@@ -28285,13 +28285,13 @@ var Pae = class extends UD {let t = this.findNextKey(e.key, (e) => e.type === "column");if (t != null) return t;let n = this.collection.headerRows[e.level];- for (let e of fT(n, this.collection)) if (e.type === "column") return e.key;+ for (let e of uT(n, this.collection)) if (e.type === "column") return e.key;return null;}findPreviousColumnKey(e) {let t = this.findPreviousKey(e.key, (e) => e.type === "column");if (t != null) return t;- let n = this.collection.headerRows[e.level], r = [...fT(n, this.collection)];+ let n = this.collection.headerRows[e.level], r = [...uT(n, this.collection)];for (let e = r.length - 1; e >= 0; e--) {let t = r[e];if (t.type === "column") return t.key;@@ -28320,7 +28320,7 @@ var Pae = class extends UD {let t = o.textValue.slice(0, e.length);if (this.collator.compare(t, e) === 0) return o.key;}- for (let r of fT(o, this.collection)) {+ for (let r of uT(o, this.collection)) {let a = n.columns[r.index];if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {let a = r.textValue.slice(0, e.length);@@ -28334,14 +28334,14 @@ var Pae = class extends UD {};//#endregion//#region node_modules/react-aria/dist/private/table/useTable.mjs-function Fae(e) {+function Lae(e) {return e && e.__esModule ? e.default : e;}-function Iae(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = xT({+function Rae(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = yT({usage: "search",sensitivity: "base"- }), { direction: c } = vS(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new Pae({+ }), { direction: c } = gS(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new Iae({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -28360,52 +28360,52 @@ function Iae(e, t, n) {s,a,o- ]), d = Sx(e.id);- GD.set(t, d);- let { gridProps: f } = Nae({+ ]), d = bx(e.id);+ UD.set(t, d);+ let { gridProps: f } = Fae({...e,id: d,keyboardDelegate: u}, t, n);i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");- let { column: p, direction: m } = t.sortDescriptor || {}, h = wS(Fae(AO), "@react-aria/table"), g = (0, D.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = SS(Lae(OO), "@react-aria/table"), g = (0, D.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [m,p,t.collection.columns- ]), _ = OC(g);- return yC(() => {- g && _C(g, "assertive", 500);+ ]), _ = EC(g);+ return _C(() => {+ g && hC(g, "assertive", 500);}, [g]), { gridProps: q(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs-function jO(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = vS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = WD.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = () => {+function kO(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = gS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = HD.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = () => {if (n.current) {- let e = dC(n.current);+ let e = lC(n.current);if (p === "child") {- let i = rb(Yy(n.current));- if (ab(n.current) && n.current !== i) return;- let a = Yy(n.current);+ let i = tb(qy(n.current));+ if (rb(n.current) && n.current !== i) return;+ let a = qy(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && nb(n.current, e)) {- _x(e);+ if (e && m.current === r.key && eb(n.current, e)) {+ hx(e);return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? MO(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? AO(e) : e.firstChild();if (o) {- _x(o);+ hx(o);return;}}- (m.current != null && r.key !== m.current || !ab(n.current)) && _x(n.current);+ (m.current != null && r.key !== m.current || !rb(n.current)) && hx(n.current);}- }, { itemProps: _, isPressed: v } = SE({+ }, { itemProps: _, isPressed: v } = bE({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -28417,44 +28417,44 @@ function jO(e, t, n) {}), y = q(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = rb(Yy(n.current));- if (!nb(e.currentTarget, K(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = dC(n.current);+ let i = tb(qy(n.current));+ if (!eb(e.currentTarget, K(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = lC(n.current);switch (a.currentNode = i, e.key) {case "ArrowLeft": {let t = l === "rtl" ? a.nextNode() : a.previousNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) _x(t), TC(t, { containingElement: xC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) hx(t), CC(t, { containingElement: yC(n.current) });else {if (u.getKeyLeftOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "rtl" ? (_x(n.current), TC(n.current, { containingElement: xC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : MO(a), t && (_x(t), TC(t, { containingElement: xC(n.current) })));+ p === "cell" && l === "rtl" ? (hx(n.current), CC(n.current, { containingElement: yC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : AO(a), t && (hx(t), CC(t, { containingElement: yC(n.current) })));}break;}case "ArrowRight": {let t = l === "rtl" ? a.previousNode() : a.nextNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) _x(t), TC(t, { containingElement: xC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) hx(t), CC(t, { containingElement: yC(n.current) });else {if (u.getKeyRightOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "ltr" ? (_x(n.current), TC(n.current, { containingElement: xC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? MO(a) : a.firstChild(), t && (_x(t), TC(t, { containingElement: xC(n.current) })));+ p === "cell" && l === "ltr" ? (hx(n.current), CC(n.current, { containingElement: yC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? AO(a) : a.firstChild(), t && (hx(t), CC(t, { containingElement: yC(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && nb(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && eb(n.current, K(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}} : void 0,onKeyDown: f === "tab" ? (e) => {- let r = rb(Yy(n.current));- if (nb(e.currentTarget, K(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ let r = tb(qy(n.current));+ if (eb(e.currentTarget, K(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {if (f === "tab" && K(e) !== n.current && e.key !== "Tab") e.stopPropagation();else if (e.key === "Tab" && f === "tab") {- let t = dC(n.current, { tabbable: !0 });+ let t = lC(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -28465,9 +28465,9 @@ function jO(e, t, n) {onFocus: (e) => {if (m.current = r.key, K(e) !== n.current) {let i = K(e);- n.current && nb(n.current, i) && (h.current = i), ax() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && nb(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && rb(Yy(n.current)) === n.current && g();+ n.current && eb(n.current, i) && (h.current = i), rx() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && eb(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && tb(qy(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -28482,7 +28482,7 @@ function jO(e, t, n) {isPressed: v};}-function MO(e) {+function AO(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -28491,33 +28491,33 @@ function MO(e) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableCell.mjs-function Lae(e, t, n) {- let { gridCellProps: r, isPressed: i } = jO(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = JD(t, e.node.parentKey, a)), {+function zae(e, t, n) {+ let { gridCellProps: r, isPressed: i } = kO(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = KD(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function Rae(e) {+function Bae(e) {return e && e.__esModule ? e.default : e;}-function zae(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = jO({+function Vae(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = kO({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = BS({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = RS({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = Ix({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !Mb() && (u = d ? f : "none");- let p = wS(Rae(AO), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && Mb() && (m = `${m}, ${p.format(f)}`));- let h = OC(m), g = t.collection.size === 0;+ }), { focusableProps: l } = Px({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !Ab() && (u = d ? f : "none");+ let p = SS(Bae(OO), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && Ab() && (m = `${m}, ${p.format(f)}`));+ let h = EC(m), g = t.collection.size === 0;return (0, D.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -28528,7 +28528,7 @@ function zae(e, t, n) {columnHeaderProps: {...q(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: qD(t, r.key),+ id: GD(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -28537,17 +28537,17 @@ function zae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function Bae(e) {+function Hae(e) {return e && e.__esModule ? e.default : e;}-function Vae(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = wS(Bae(AO), "@react-aria/table"), d = Sx(), f = t.resizingColumn === r.key, p = (0, D.useRef)(f), m = (0, D.useRef)(null), h = (0, D.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, D.useState)(!1), { direction: y } = vS(), b = (0, D.useCallback)((e) => {+function Uae(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = SS(Hae(OO), "@react-aria/table"), d = bx(), f = t.resizingColumn === r.key, p = (0, D.useRef)(f), m = (0, D.useRef)(null), h = (0, D.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, D.useState)(!1), { direction: y } = gS(), b = (0, D.useCallback)((e) => {p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;}, [t, o]), x = (0, D.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, D.useCallback)((e) => {- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && _x(i.current)), m.current = null;+ p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && hx(i.current)), m.current = null;}, [t,i,@@ -28555,14 +28555,14 @@ function Vae(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = Mx({ shortcuts: {+ }, { keyboardProps: w } = Ax({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);}," ": () => C(),Tab: () => C()- } }), T = (0, D.useRef)(0), { moveProps: E } = sw({+ } }), T = (0, D.useRef)(0), { moveProps: E } = aw({onMoveStart(e) {T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);},@@ -28578,12 +28578,12 @@ function Vae(e, t, n) {g && E.onKeyDown?.(e);}, [g, E]), k = Math.floor(t.getColumnMinWidth(r.key)), A = Math.floor(t.getColumnMaxWidth(r.key));A === Infinity && (A = 2 ** 53 - 1);- let j = Math.floor(t.getColumnWidth(r.key)), M = cx();+ let j = Math.floor(t.getColumnWidth(r.key)), M = ox();M === "virtual" && typeof window < "u" && "ontouchstart" in window && (M = "touch");- let N = OC(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), P = {+ let N = EC(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), P = {"aria-label": l,"aria-orientation": "horizontal",- "aria-labelledby": `${d} ${qD(t.tableState, r.key)}`,+ "aria-labelledby": `${d} ${GD(t.tableState, r.key)}`,"aria-valuetext": u.format("columnSize", { value: j }),type: "range",min: k,@@ -28591,11 +28591,11 @@ function Vae(e, t, n) {value: j,...N}, ee = (0, D.useCallback)(() => {- n.current && _x(n.current);- }, [n]), F = t.resizingColumn, te = (0, D.useRef)(null), I = uS(b);+ n.current && hx(n.current);+ }, [n]), F = t.resizingColumn, te = (0, D.useRef)(null), I = cS(b);(0, D.useEffect)(() => {if (te.current !== F && F != null && F === r.key) {- h.current = rb() === n.current, I(r);+ h.current = tb() === n.current, I(r);let e = setTimeout(() => ee(), 0), t = setTimeout(ee, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -28611,7 +28611,7 @@ function Vae(e, t, n) {let ne = (e) => {let n = t.getColumnWidth(r.key), i = parseFloat(K(e).value);i = i > n ? n + 10 : n - 10, x(r, i);- }, { pressProps: re } = BS({+ }, { pressProps: re } = RS({preventFocusOnPress: !0,onPressStart: (e) => {e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (ee(), e.pointerType !== "virtual" && b(r)));@@ -28619,7 +28619,7 @@ function Vae(e, t, n) {onPress: (e) => {(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);}- }), { visuallyHiddenProps: ie } = lw();+ }), { visuallyHiddenProps: ie } = sw();return {resizerProps: q(w, {...E,@@ -28639,20 +28639,20 @@ function Vae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function Hae(e, t, n) {+function Wae(e, t, n) {let { node: r, isVirtualized: i } = e, a = { role: "row" };return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs-function Uae(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = WD.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = SE({+function Gae(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = HD.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = bE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? vx(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? gx(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -28667,10 +28667,10 @@ function Uae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRow.mjs-function Wae(e) {+function Kae(e) {return e && e.__esModule ? e.default : e;}-var NO = {+var jO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -28680,21 +28680,21 @@ var NO = {rtl: "ArrowRight"}};-function Gae(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Uae(e, t, n), { direction: s } = vS();+function qae(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Gae(e, t, n), { direction: s } = gS();i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = wS(Wae(AO), "@react-aria/table"), u = fS({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = SS(Kae(OO), "@react-aria/table"), u = uS({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": YD(t, r.key)+ "aria-labelledby": qD(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = PO(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = PO(t.collection, a);+ let n = MO(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = MO(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === NO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === NO.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));+ n.key === jO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === jO.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));},"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,"aria-level": e.level + 1,@@ -28712,45 +28712,45 @@ function Gae(e, t, n) {};}}- let p = zb(r.props), m = o.hasAction ? p : {};+ let p = Lb(r.props), m = o.hasAction ? p : {};return {rowProps: {...q(a, d, m),- "aria-labelledby": YD(t, r.key)+ "aria-labelledby": qD(t, r.key)},expandButtonProps: f,...o};}-function PO(e, t) {+function MO(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function Kae() {+function Jae() {return { rowGroupProps: { role: "rowgroup" } };}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function FO() {- return Kae();+function NO() {+ return Jae();}//#endregion//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function qae(e) {+function Yae(e) {return e && e.__esModule ? e.default : e;}-function Jae(e, t) {- let { key: n } = e, { checkboxProps: r } = OE(e, t);+function Xae(e, t) {+ let { key: n } = e, { checkboxProps: r } = EE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${YD(t, n)}`+ "aria-labelledby": `${r.id} ${qD(t, n)}`} };}-function Yae(e) {+function Zae(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": wS(qae(AO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": SS(Yae(OO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),isSelected: n,isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",isIndeterminate: !t && !n,@@ -28759,23 +28759,23 @@ function Yae(e) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/utils.mjs-var IO = /* @__PURE__ */ new WeakMap();-function LO(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${IO.get(e)}-${n}-${t}`) : "";+var PO = /* @__PURE__ */ new WeakMap();+function FO(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${PO.get(e)}-${n}-${t}`) : "";}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTab.mjs-function Xae(e, t, n) {- let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = SE({+function Qae(e, t, n) {+ let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = bE({selectionManager: o,key: r,ref: n,isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = LO(t, r, "tab"), m = LO(t, r, "tabpanel"), { tabIndex: h } = d, g = ES(u?.props, { labelable: !0 });+ }), p = FO(t, r, "tab"), m = FO(t, r, "tabpanel"), { tabIndex: h } = d, g = wS(u?.props, { labelable: !0 });delete g.id;- let _ = Bb(u?.props), { focusableProps: v } = Ix({+ let _ = Rb(u?.props), { focusableProps: v } = Px({...u?.props,isDisabled: l}, n);@@ -28795,7 +28795,7 @@ function Xae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var Zae = class {+var $ae = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -28839,11 +28839,11 @@ var Zae = class {};//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs-function Qae(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = vS(), { collectionProps: l } = dT({+function eoe(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = gS(), { collectionProps: l } = lT({ref: n,selectionManager: o,- keyboardDelegate: (0, D.useMemo)(() => new Zae(a, c, r, s), [+ keyboardDelegate: (0, D.useMemo)(() => new $ae(a, c, r, s), [a,s,r,@@ -28853,9 +28853,9 @@ function Qae(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = Sx();- return IO.set(t, u), { tabListProps: {- ...q(l, fS({+ }), u = bx();+ return PO.set(t, u), { tabListProps: {+ ...q(l, uS({...e,id: u})),@@ -28866,12 +28866,12 @@ function Qae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function $ae(e, t, n) {- let r = yE(n) ? void 0 : 0, i = LO(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: q(fS({+function toe(e, t, n) {+ let r = _E(n) ? void 0 : 0, i = FO(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: q(uS({...e,id: i,- "aria-labelledby": LO(t, t?.selectedKey, "tab")+ "aria-labelledby": FO(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -28881,301 +28881,301 @@ function $ae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tree/useTree.mjs-function eoe(e, t, n) {- let { gridProps: r } = Gie(e, t, n);+function noe(e, t, n) {+ let { gridProps: r } = qie(e, t, n);return r.role = "treegrid", { gridProps: r };}//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var RO = {};-RO = {+var IO = {};+IO = {collapse: "طي",expand: "تمديد"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var zO = {};-zO = {+var LO = {};+LO = {collapse: "Свиване",expand: "Разширяване"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var BO = {};-BO = {+var RO = {};+RO = {collapse: "Sbalit",expand: "Roztáhnout"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var VO = {};-VO = {+var zO = {};+zO = {collapse: "Skjul",expand: "Udvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var HO = {};-HO = {+var BO = {};+BO = {collapse: "Reduzieren",expand: "Erweitern"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var UO = {};-UO = {+var VO = {};+VO = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var WO = {};-WO = {+var HO = {};+HO = {expand: "Expand",collapse: "Collapse"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var GO = {};-GO = {+var UO = {};+UO = {collapse: "Contraer",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var KO = {};-KO = {+var WO = {};+WO = {collapse: "Ahenda",expand: "Laienda"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var qO = {};-qO = {+var GO = {};+GO = {collapse: "Pienennä",expand: "Laajenna"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var JO = {};-JO = {+var KO = {};+KO = {collapse: "Réduire",expand: "Développer"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var YO = {};-YO = {+var qO = {};+qO = {collapse: "כווץ",expand: "הרחב"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var XO = {};-XO = {+var JO = {};+JO = {collapse: "Sažmi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var ZO = {};-ZO = {+var YO = {};+YO = {collapse: "Összecsukás",expand: "Kibontás"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var QO = {};-QO = {+var XO = {};+XO = {collapse: "Comprimi",expand: "Espandi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var $O = {};-$O = {+var ZO = {};+ZO = {collapse: "折りたたむ",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var ek = {};-ek = {+var QO = {};+QO = {collapse: "접기",expand: "펼치기"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var tk = {};-tk = {+var $O = {};+$O = {collapse: "Sutraukti",expand: "Išskleisti"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var nk = {};-nk = {+var ek = {};+ek = {collapse: "Sakļaut",expand: "Izvērst"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var rk = {};-rk = {+var tk = {};+tk = {collapse: "Skjul",expand: "Utvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var ik = {};-ik = {+var nk = {};+nk = {collapse: "Samenvouwen",expand: "Uitvouwen"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var ak = {};-ak = {+var rk = {};+rk = {collapse: "Zwiń",expand: "Rozwiń"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var ok = {};-ok = {+var ik = {};+ik = {collapse: "Recolher",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var sk = {};-sk = {+var ak = {};+ak = {collapse: "Colapsar",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var ck = {};-ck = {+var ok = {};+ok = {collapse: "Restrângeți",expand: "Extindeți"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var lk = {};-lk = {+var sk = {};+sk = {collapse: "Свернуть",expand: "Развернуть"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var uk = {};-uk = {+var ck = {};+ck = {collapse: "Zbaliť",expand: "Rozbaliť"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var dk = {};-dk = {+var lk = {};+lk = {collapse: "Strni",expand: "Razširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var fk = {};-fk = {+var uk = {};+uk = {collapse: " Skupi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var pk = {};-pk = {+var dk = {};+dk = {collapse: "Dölj",expand: "Expandera"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var mk = {};-mk = {+var fk = {};+fk = {collapse: "Daralt",expand: "Genişlet"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var hk = {};-hk = {+var pk = {};+pk = {collapse: "Згорнути",expand: "Розгорнути"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var gk = {};-gk = {+var mk = {};+mk = {collapse: "折叠",expand: "扩展"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var _k = {};-_k = {+var hk = {};+hk = {collapse: "收合",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/tree/intlStrings.mjs-var vk = {};-vk = {- "ar-AE": RO,- "bg-BG": zO,- "cs-CZ": BO,- "da-DK": VO,- "de-DE": HO,- "el-GR": UO,- "en-US": WO,- "es-ES": GO,- "et-EE": KO,- "fi-FI": qO,- "fr-FR": JO,- "he-IL": YO,- "hr-HR": XO,- "hu-HU": ZO,- "it-IT": QO,- "ja-JP": $O,- "ko-KR": ek,- "lt-LT": tk,- "lv-LV": nk,- "nb-NO": rk,- "nl-NL": ik,- "pl-PL": ak,- "pt-BR": ok,- "pt-PT": sk,- "ro-RO": ck,- "ru-RU": lk,- "sk-SK": uk,- "sl-SI": dk,- "sr-SP": fk,- "sv-SE": pk,- "tr-TR": mk,- "uk-UA": hk,- "zh-CN": gk,- "zh-TW": _k+var gk = {};+gk = {+ "ar-AE": IO,+ "bg-BG": LO,+ "cs-CZ": RO,+ "da-DK": zO,+ "de-DE": BO,+ "el-GR": VO,+ "en-US": HO,+ "es-ES": UO,+ "et-EE": WO,+ "fi-FI": GO,+ "fr-FR": KO,+ "he-IL": qO,+ "hr-HR": JO,+ "hu-HU": YO,+ "it-IT": XO,+ "ja-JP": ZO,+ "ko-KR": QO,+ "lt-LT": $O,+ "lv-LV": ek,+ "nb-NO": tk,+ "nl-NL": nk,+ "pl-PL": rk,+ "pt-BR": ik,+ "pt-PT": ak,+ "ro-RO": ok,+ "ru-RU": sk,+ "sk-SK": ck,+ "sl-SI": lk,+ "sr-SP": uk,+ "sv-SE": dk,+ "tr-TR": fk,+ "uk-UA": pk,+ "zh-CN": mk,+ "zh-TW": hk};//#endregion//#region node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function toe(e) {+function roe(e) {return e && e.__esModule ? e.default : e;}-function yk(e, t, n) {- let { node: r } = e, i = Kie(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = wS(toe(vk), "@react-aria/tree"), s = {+function _k(e, t, n) {+ let { node: r } = e, i = Jie(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = SS(roe(gk), "@react-aria/tree"), s = {onPress: () => {i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));},excludeFromTabOrder: !0,preventFocusOnPress: !0,"data-react-aria-prevent-focus": !0,- ...fS({+ ...uS({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -29187,15 +29187,15 @@ function yk(e, t, n) {}//#endregion//#region src/react/components/selection-dock.tsx-var bk = "(prefers-reduced-motion: reduce)", noe = () => matchMedia(bk).matches, roe = (e) => {- let t = matchMedia(bk);+var vk = "(prefers-reduced-motion: reduce)", ioe = () => matchMedia(vk).matches, aoe = (e) => {+ let t = matchMedia(vk);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, xk = /* @__PURE__ */ new Map(), Sk = () => {+}, yk = /* @__PURE__ */ new Map(), bk = () => {let e = document.documentElement;- xk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...xk.values())}px`) : e.style.removeProperty("--selection-dock-space");+ yk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...yk.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function ioe({ children: e, count: t, label: n }) {- let r = (0, D.useRef)(null), i = kv(), a = (0, D.useSyncExternalStore)(roe, noe, () => !1), { isFocusVisible: o } = lx(), s = a || o, c = {+function ooe({ children: e, count: t, label: n }) {+ let r = (0, D.useRef)(null), i = kv(), a = (0, D.useSyncExternalStore)(aoe, ioe, () => !1), { isFocusVisible: o } = sx(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -29203,12 +29203,12 @@ function ioe({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- xk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Sk();+ yk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), bk();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), xk.delete(e), Sk();+ n.disconnect(), window.removeEventListener("resize", t), yk.delete(e), bk();};- }, [i]), /* @__PURE__ */ (0, O.jsxs)(Ry.div, {+ }, [i]), /* @__PURE__ */ (0, O.jsxs)(Iy.div, {ref: r,role: "group","aria-label": n,@@ -29241,18 +29241,18 @@ function ioe({ children: e, count: t, label: n }) {}), e]});}-function Ck({ visible: e, ...t }) {- return /* @__PURE__ */ (0, O.jsx)(Mv, { children: e ? /* @__PURE__ */ (0, O.jsx)(ioe, { ...t }, "selection") : null });+function xk({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, O.jsx)(Mv, { children: e ? /* @__PURE__ */ (0, O.jsx)(ooe, { ...t }, "selection") : null });}//#endregion//#region src/react/batch-dock/batch-dock-api.ts-var wk = {+var Sk = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function aoe(e, t = !1) {+function soe(e, t = !1) {switch (e) {case "trash": return [{@@ -29268,7 +29268,7 @@ function aoe(e, t = !1) {glyph: "trash",danger: !0},- wk+ Sk];case "junk": return [t ? {@@ -29289,7 +29289,7 @@ function aoe(e, t = !1) {glyph: "trash",danger: !0},- wk+ Sk];case "follow": return [{@@ -29310,7 +29310,7 @@ function aoe(e, t = !1) {label: "忽略",glyph: "eye-off"},- wk+ Sk];default: return [{@@ -29344,39 +29344,39 @@ function aoe(e, t = !1) {glyph: "trash",danger: !0},- wk+ Sk];}}//#endregion//#region src/react/batch-dock/batch-dock-island.tsx-var Tk = null, Ek = {+var Ck = null, wk = {count: 0,context: "catalog",junkDismissed: !1-}, Dk = /* @__PURE__ */ new Set();-function ooe(e) {- return Dk.add(e), () => {- Dk.delete(e);+}, Tk = /* @__PURE__ */ new Set();+function coe(e) {+ return Tk.add(e), () => {+ Tk.delete(e);};}-function soe() {- for (let e of [...Dk]) e();+function loe() {+ for (let e of [...Tk]) e();}-var coe = { render(e) {- Ek = e, (0, Tt.flushSync)(soe);+var uoe = { render(e) {+ wk = e, (0, Tt.flushSync)(loe);} };-function loe(e) {- return Tk = e, coe;+function doe(e) {+ return Ck = e, uoe;}-function uoe() {- let e = (0, D.useSyncExternalStore)(ooe, () => Ek);- return Tk ? /* @__PURE__ */ (0, O.jsx)(doe, {- host: Tk,+function foe() {+ let e = (0, D.useSyncExternalStore)(coe, () => wk);+ return Ck ? /* @__PURE__ */ (0, O.jsx)(poe, {+ host: Ck,props: e}) : null;}-function doe({ host: e, props: t }) {+function poe({ host: e, props: t }) {let n = t.count > 0;return (0, D.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -29386,11 +29386,11 @@ function doe({ host: e, props: t }) {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, O.jsx)(Ck, {+ children: /* @__PURE__ */ (0, O.jsx)(xk, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: aoe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: soe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -29407,12 +29407,12 @@ function doe({ host: e, props: t }) {}//#endregion//#region src/number-setting.ts-function Ok(e, t, n, r) {+function Ek(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}//#endregion//#region src/settings-store.ts-function foe(e, t) {+function moe(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -29432,7 +29432,7 @@ function foe(e, t) {}//#endregion//#region src/sort-preferences.ts-var kk = [+var Dk = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -29441,7 +29441,7 @@ var kk = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Ak = ["release", "发行时间"], jk = [...kk, Ak].map(([e]) => e), Mk = {+], Ok = ["release", "发行时间"], kk = [...Dk, Ok].map(([e]) => e), Ak = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -29450,28 +29450,28 @@ var kk = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, Nk = {+}, jk = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, Pk = (e, t, n = Mk) => (n[e] || [])[+(t === "asc")] || "", Fk = (e, t = Mk) => t[e] ? "desc" : "";-function Ik(e, t, n, r = Mk) {+}, Mk = (e, t, n = Ak) => (n[e] || [])[+(t === "asc")] || "", Nk = (e, t = Ak) => t[e] ? "desc" : "";+function Pk(e, t, n, r = Ak) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: Fk(e, r)+ dir: Nk(e, r)};}-function Lk(e, t, n) {+function Fk(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function Rk(e, t, n, r, i = n) {- let a = e ? Nk[e] : void 0, o = a ? a[0] : e, s = o && jk.includes(o) ? o : i;- return Mk[s] ? {+function Ik(e, t, n, r, i = n) {+ let a = e ? jk[e] : void 0, o = a ? a[0] : e, s = o && kk.includes(o) ? o : i;+ return Ak[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Lk(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Fk(s, n, r)} : {sort: s,dir: ""@@ -29479,15 +29479,15 @@ function Rk(e, t, n, r, i = n) {}//#endregion//#region src/appearance/home-glow.ts-var zk = [+var Lk = ["spot1","spot2","spot3"-], poe = [+], hoe = ["光晕一","光晕二","光晕三"-], Bk = "native", Vk = [+], Rk = "native", zk = [["ash","灰雾",@@ -29793,7 +29793,7 @@ var zk = ["rose"],[- Bk,+ Rk,"玻璃原色",{spot1: {@@ -29811,7 +29811,7 @@ var zk = [},"blue"]-], Hk = (e) => e === Bk, Uk = [...Vk.map(([e, t]) => [e, t]), ["custom", "自定义"]], moe = (e) => (Uk.find(([t]) => t === e) || Uk[0])[1], Wk = (e) => structuredClone((Vk.find(([t]) => t === e) || Vk[0])[2]), Gk = [+], Bk = (e) => e === Rk, Vk = [...zk.map(([e, t]) => [e, t]), ["custom", "自定义"]], goe = (e) => (Vk.find(([t]) => t === e) || Vk[0])[1], Hk = (e) => structuredClone((zk.find(([t]) => t === e) || zk[0])[2]), Uk = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -29824,7 +29824,7 @@ var zk = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], Kk = "blue", qk = (e) => Gk.some(([t]) => t === e) ? e : Kk, hoe = (e) => (Vk.find(([t]) => t === e) || [])[3] || "blue", Jk = [+], Wk = "blue", Gk = (e) => Uk.some(([t]) => t === e) ? e : Wk, _oe = (e) => (zk.find(([t]) => t === e) || [])[3] || "blue", Kk = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -29834,7 +29834,7 @@ var zk = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], goe = [+], voe = [["gray","云灰",@@ -30230,11 +30230,11 @@ var zk = ["霁蓝","#6686b8"]-], Yk = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Xk = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, _oe = (e, t) => `rgba(${[+], qk = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Jk = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, yoe = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, voe = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, boe = {strength: [0,100,@@ -30260,7 +30260,7 @@ var zk = [100,50]-}, Zk = {+}, Yk = {on: !0,preset: "ash",strength: 100,@@ -30268,57 +30268,57 @@ var zk = [speed: 100,soften: 50,size: 50,- ...Wk("ash")+ ...Hk("ash")};-function Qk(e) {- let t = e && typeof e == "object" ? e : {}, n = Uk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Wk(r === "custom" ? "ash" : r), a = {+function Xk(e) {+ let t = e && typeof e == "object" ? e : {}, n = Vk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Hk(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(voe)) a[e] = Yk(+t[e], n, r, i);- for (let e of zk) {+ for (let [e, [n, r, i]] of Object.entries(boe)) a[e] = qk(+t[e], n, r, i);+ for (let e of Lk) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: Xk(r.color, o.color),- alpha: Yk(+r.alpha, 0, 100, o.alpha)+ color: Jk(r.color, o.color),+ alpha: qk(+r.alpha, 0, 100, o.alpha)};}return a;}-var yoe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, $k = /* @__PURE__ */ new WeakMap();-function boe(e, t) {+var xoe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Zk = /* @__PURE__ */ new WeakMap();+function Soe(e, t) {if (!e) return;- let n = $k.get(e);- n || (n = /* @__PURE__ */ new Map(), $k.set(e, n));- let r = t.on && !Hk(t.preset), i = (t, r) => {+ let n = Zk.get(e);+ n || (n = /* @__PURE__ */ new Map(), Zk.set(e, n));+ let r = t.on && !Bk(t.preset), i = (t, r) => {n.get(t) !== r && (n.set(t, r), e.style.setProperty(t, r));};- i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), zk.forEach((e, n) => {+ i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), Lk.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, _oe(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, yoe(r.color, r.alpha));});}-function xoe(e, t) {+function Coe(e, t) {if (!e) return;- let n = !t.on || Hk(t.preset);+ let n = !t.on || Bk(t.preset);e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));}//#endregion//#region src/appearance/settings.ts-var Soe = "peach.settings.v1", Coe = [+var woe = "peach.settings.v1", Toe = ["system","light","dark"-], eA = [+], Qk = [0,7,30,90-], woe = [+], Eoe = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], tA = {+], $k = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -30339,46 +30339,46 @@ var Soe = "peach.settings.v1", Coe = [theme: "system",groupCollapse: !0,sidebarOrder: [...hl],- homeGlow: Zk,- accent: Kk-}, nA = (e, t, n) => t.includes(e) ? e : n;-function Toe(e) {+ homeGlow: Yk,+ accent: Wk+}, eA = (e, t, n) => t.includes(e) ? e : n;+function Doe(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...tA,+ ...$k,...t};- n.followInitialDays = eA.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = Qk.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;let r = !1, i = +n.sortDefaultsVersion || 0;i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);- let a = Nk[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Ok(+n.batchSize, 1, 200, 60), n.defaultSort = nA(n.defaultSort, jk, "seed"), n.hoverDelaySeconds = Ok(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Ok(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = Ok(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Ok(+n.relatedLimit, 0, 60, 20), n.feedLimit = Ok(+n.feedLimit, 1, 100, 12), Object.assign(n, ba(n)), n.theme = nA(n.theme, Coe, "system"), n.homeGlow = Qk(n.homeGlow), n.accent = qk(n.accent), n.sidebarOrder = yl(n.sidebarOrder), {+ let a = jk[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Ek(+n.batchSize, 1, 200, 60), n.defaultSort = eA(n.defaultSort, kk, "seed"), n.hoverDelaySeconds = Ek(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Ek(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = Ek(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Ek(+n.relatedLimit, 0, 60, 20), n.feedLimit = Ek(+n.feedLimit, 1, 100, 12), Object.assign(n, ba(n)), n.theme = eA(n.theme, Toe, "system"), n.homeGlow = Xk(n.homeGlow), n.accent = Gk(n.accent), n.sidebarOrder = yl(n.sidebarOrder), {settings: n,migrated: r};}-function Eoe(e) {+function Ooe(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return Toe(t);+ return Doe(t);}-var rA = null;-function iA() {- if (rA) return rA;- let { settings: e, migrated: t } = Eoe(localStorage);- return rA = foe(Soe, e), t && rA.save(), rA;+var tA = null;+function nA() {+ if (tA) return tA;+ let { settings: e, migrated: t } = Ooe(localStorage);+ return tA = moe(woe, e), t && tA.save(), tA;}-function aA(e, t, n = iA()) {+function rA(e, t, n = nA()) {let r = n.value, i = e && e.followInitialDays;- eA.includes(i) && (r.followInitialDays = i, n.save());- for (let t of woe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ Qk.includes(i) && (r.followInitialDays = i, n.save());+ for (let t of Eoe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let a = e && e.searchHistoryLimit;- Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = Ok(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== tA.searchHistoryLimit && Doe(n);+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = Ek(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== $k.searchHistoryLimit && koe(n);let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());}-function Doe(e = iA()) {+function koe(e = nA()) {return z("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })@@ -30386,7 +30386,7 @@ function Doe(e = iA()) {}//#endregion//#region src/appearance/theme.ts-var Ooe = [+var Aoe = [["system","跟随系统",@@ -30402,32 +30402,32 @@ var Ooe = ["深色","moon"]-], koe = null, oA = () => koe ??= matchMedia("(prefers-color-scheme: dark)"), sA = null;-function Aoe() {- return sA || (sA = document.createElement("style"), sA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), sA.isConnected || document.head.append(sA), () => {+], joe = null, iA = () => joe ??= matchMedia("(prefers-color-scheme: dark)"), aA = null;+function Moe() {+ return aA || (aA = document.createElement("style"), aA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), aA.isConnected || document.head.append(aA), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), sA?.remove();+ cancelAnimationFrame(t), clearTimeout(n), aA?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function cA(e = iA().value.theme) {- let t = Aoe(), n = document.documentElement;+function oA(e = nA().value.theme) {+ let t = Moe(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && oA().matches;+ let r = e === "dark" || e === "system" && iA().matches;n.classList.toggle("dark", r), document.querySelectorAll("[data-board-theme]").forEach((e) => e.setAttribute("aria-pressed", String(e.dataset.boardTheme === "dark" === r))), document.querySelector(".board-theme-toggle")?.classList.toggle("is-dark", r), document.querySelectorAll("meta[data-theme-color]").forEach((e) => {e.media = e.dataset.themeColor === "dark" === r ? "all" : "not all";}), t();}-var lA = !1;-function uA() {- lA || (lA = !0, oA().addEventListener("change", () => {- iA().value.theme === "system" && cA();+var sA = !1;+function cA() {+ sA || (sA = !0, iA().addEventListener("change", () => {+ nA().value.theme === "system" && oA();}));}//#endregion//#region src/appearance/layout.ts-var dA = [[+var lA = [["big","大图","maximize"@@ -30435,7 +30435,7 @@ var dA = [["small","小图","layout-grid"-]], fA = [[+]], uA = [["big","大图","maximize"@@ -30443,7 +30443,7 @@ var dA = [["small","小图","layout-grid"-]], pA = [[+]], dA = [["fixed","固定比例","layout-grid"@@ -30451,130 +30451,130 @@ var dA = [["masonry","瀑布流","columns-2"-]], mA = .75, hA = () => iA().value, gA = (e = hA()) => ya(e.javLayout), joe = (e = hA()) => ya(e.homeLayout), _A = (e, t = hA()) => e ? joe(t) : gA(t), vA = fA.map(([e]) => e), yA = pA.map(([e]) => e), bA = (e = hA()) => nA(e.photoSize, vA, "small"), xA = (e = hA()) => nA(e.photoLayout, yA, "masonry"), SA = null;-function CA(e, t = hA()) {+]], fA = .75, pA = () => nA().value, mA = (e = pA()) => ya(e.javLayout), Noe = (e = pA()) => ya(e.homeLayout), hA = (e, t = pA()) => e ? Noe(t) : mA(t), gA = uA.map(([e]) => e), _A = dA.map(([e]) => e), vA = (e = pA()) => eA(e.photoSize, gA, "small"), yA = (e = pA()) => eA(e.photoLayout, _A, "masonry"), bA = null;+function xA(e, t = pA()) {let n = {active: e.active,- size: _A(e.home, t),+ size: hA(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = SA;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (SA = n), SA;+ }, r = bA;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (bA = n), bA;}-function wA(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? mA : 16 / 9;+function SA(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? fA : 16 / 9;}-function Moe(e, t = iA()) {+function Poe(e, t = nA()) {t.value.homeLayout = ya(e), t.save();}-function TA(e, t = iA()) {+function CA(e, t = nA()) {t.value.javLayout = ya(e), t.save();}-function Noe(e, t = iA()) {+function Foe(e, t = nA()) {t.value.homeLayout = t.value.javLayout = ya(e), t.save();}-function Poe(e, t = iA()) {- t.value.photoSize = nA(e, vA, "small"), t.save();+function Ioe(e, t = nA()) {+ t.value.photoSize = eA(e, gA, "small"), t.save();}-function EA(e, t = iA()) {- t.value.photoLayout = nA(e, yA, "masonry"), t.save();+function wA(e, t = nA()) {+ t.value.photoLayout = eA(e, _A, "masonry"), t.save();}//#endregion//#region src/appearance/density.ts-var DA = "density", OA = {+var TA = "density", EA = {big: "336px",dense: "168px"-}, kA = () => localStorage.getItem(DA) === "dense" ? "dense" : "big";-function AA(e, t) {- let [n, r] = fA;+}, DA = () => localStorage.getItem(TA) === "dense" ? "dense" : "big";+function OA(e, t) {+ let [n, r] = uA;if (e.querySelector("[data-icon-swap]")) ls(e, t === r[0] ? "b" : "a");else {let i = e.querySelector(":scope > [data-glass-drift]");e.innerHTML = cs(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);}- jA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");+ kA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");}-function jA(e, t, n) {+function kA(e, t, n) {e.getAttribute(t) !== n && e.setAttribute(t, n);}-var MA = () => document.querySelector("#density");-function NA(e = kA()) {+var AA = () => document.querySelector("#density");+function jA(e = DA()) {let t = document.documentElement;- t.style.getPropertyValue("--tile") !== OA[e] && t.style.setProperty("--tile", OA[e]), jA(document.body, "data-density", e);- let n = MA();- n && (jA(n, "aria-pressed", String(e === "dense")), jA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), AA(n, e === "big" ? "big" : "small"));+ t.style.getPropertyValue("--tile") !== EA[e] && t.style.setProperty("--tile", EA[e]), kA(document.body, "data-density", e);+ let n = AA();+ n && (kA(n, "aria-pressed", String(e === "dense")), kA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), OA(n, e === "big" ? "big" : "small"));}-function Foe() {- let e = kA() === "big" ? "dense" : "big";- localStorage.setItem(DA, e), NA(e);+function Loe() {+ let e = DA() === "big" ? "dense" : "big";+ localStorage.setItem(TA, e), jA(e);}-function Ioe(e) {- let t = MA();- t && (jA(t, "aria-pressed", String(e === "small")), jA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), AA(t, e));+function Roe(e) {+ let t = AA();+ t && (kA(t, "aria-pressed", String(e === "small")), kA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), OA(t, e));}//#endregion//#region src/appearance/glow.ts-function PA(e = iA()) {- boe(document.querySelector(".glowlayer"), e.value.homeGlow);+function MA(e = nA()) {+ Soe(document.querySelector(".glowlayer"), e.value.homeGlow);}-var FA = 0;-function IA(e = iA()) {- FA ||= requestAnimationFrame(() => {- FA = 0, PA(e);+var NA = 0;+function PA(e = nA()) {+ NA ||= requestAnimationFrame(() => {+ NA = 0, MA(e);});}-function LA(e = iA()) {- xoe(document.documentElement, e.value.homeGlow);+function FA(e = nA()) {+ Coe(document.documentElement, e.value.homeGlow);}-function RA(e = iA()) {+function IA(e = nA()) {document.documentElement.dataset.accent = e.value.accent;}-var zA = (e, t, n) => ({+var LA = (e, t, n) => ({key: e,label: t,- native: Hk(e),- fill: Hk(e) ? "" : yoe(n)+ native: Bk(e),+ fill: Bk(e) ? "" : xoe(n)});-function Loe(e) {- let t = Vk.map(([e, t, n]) => zA(e, t, zk.map((e) => n[e].color)));- return e.preset === "custom" && t.push(zA("custom", "自定义", zk.map((t) => e[t].color))), t;+function zoe(e) {+ let t = zk.map(([e, t, n]) => LA(e, t, Lk.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(LA("custom", "自定义", Lk.map((t) => e[t].color))), t;}-var BA = Gk;-function Roe(e, t = iA()) {+var RA = Uk;+function Boe(e, t = nA()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, Wk(e)), t.value.accent = hoe(e), t.save(), IA(t), LA(t), RA(t);+ n.preset = e, Object.assign(n, Hk(e)), t.value.accent = _oe(e), t.save(), PA(t), FA(t), IA(t);}-function zoe(e, t = iA()) {- t.value.accent = qk(e), t.save(), RA(t);+function Voe(e, t = nA()) {+ t.value.accent = Gk(e), t.save(), IA(t);}-function Boe(e = iA()) {+function Hoe(e = nA()) {let t = e.value.homeGlow;- t.preset = Zk.preset, Object.assign(t, Wk(t.preset)), e.value.accent = Kk, e.save(), IA(e), LA(e), RA(e);+ t.preset = Yk.preset, Object.assign(t, Hk(t.preset)), e.value.accent = Wk, e.save(), PA(e), FA(e), IA(e);}-function VA(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Hk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function zA(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Bk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function Voe(e, t = iA()) {- return VA(e, t.value.homeGlow), t.subscribe(() => VA(e, t.value.homeGlow));+function Uoe(e, t = nA()) {+ return zA(e, t.value.homeGlow), t.subscribe(() => zA(e, t.value.homeGlow));}//#endregion//#region src/react/components/glow-preset-grid.tsx-function HA({ store: e, label: t, hidden: n }) {+function BA({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, O.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: Loe(r).map((t) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: zoe(r).map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-chip": "","data-glow-preset": t.key,"aria-pressed": t.key === r.preset,title: t.label,"aria-label": t.label,- onClick: () => Roe(t.key, e),+ onClick: () => Boe(t.key, e),children: /* @__PURE__ */ (0, O.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30586,14 +30586,14 @@ function HA({ store: e, label: t, hidden: n }) {}//#endregion//#region src/react/glow-picker/glow-picker-island.tsx-var UA = null;-function Hoe(e) {- UA = e;+var VA = null;+function Woe(e) {+ VA = e;}-function Uoe() {- return UA ? /* @__PURE__ */ (0, O.jsx)(WA, { host: UA }) : null;+function Goe() {+ return VA ? /* @__PURE__ */ (0, O.jsx)(HA, { host: VA }) : null;}-function WA({ host: e }) {+function HA({ host: e }) {let { store: t } = e;(0, D.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -30605,11 +30605,11 @@ function WA({ host: e }) {children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => Boe(t),+ onClick: () => Hoe(t),children: "重置"})]}),- /* @__PURE__ */ (0, O.jsx)(HA, {+ /* @__PURE__ */ (0, O.jsx)(BA, {store: t,label: "光晕",hidden: !n.on@@ -30623,14 +30623,14 @@ function WA({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: BA.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: RA.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => zoe(e, t),+ onClick: () => Voe(e, t),children: /* @__PURE__ */ (0, O.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30649,32 +30649,32 @@ function WA({ host: e }) {}//#endregion//#region src/player/host.ts-var GA = null;-function KA(e) {- GA = e;+var UA = null;+function WA(e) {+ UA = e;}-function qA() {- if (!GA) throw Error("播放器还没有接上宿主(configurePlayer)");- return GA;+function GA() {+ if (!UA) throw Error("播放器还没有接上宿主(configurePlayer)");+ return UA;}//#endregion//#region src/player/menu.ts-var JA = null;-function YA(e) {- JA = e;+var KA = null;+function qA(e) {+ KA = e;}-function XA() {+function JA() {let e = document.getElementById("playerMenu");return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;}-var ZA = null, QA = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function $A() {+var YA = null, XA = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function ZA() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && To(e, () => {e.innerHTML = "";- }), ZA &&= (ZA(), null);+ }), YA &&= (YA(), null);}-async function Woe(e) {+async function QA(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -30687,8 +30687,8 @@ async function Woe(e) {return t.remove(), n;}}-function Goe(e) {- let t = !!JA?.inMiniplayer(e), n = e.peachItem, r = JA?.kind(e) ?? "item", i = (t) => {+function Koe(e) {+ let t = !!KA?.inMiniplayer(e), n = e.peachItem, r = KA?.kind(e) ?? "item", i = (t) => {let i = new URL(r === "follow" ? `/posts/${n?.id}` : `/assets/${n?.id}`, location.origin);if (r !== "follow" && location.pathname === i.pathname) {let e = new URLSearchParams(location.search);@@ -30704,7 +30704,7 @@ function Goe(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- Woe(i(e)).then((e) => qA().toast(e ? t : "复制失败,请手动复制地址栏", {+ QA(i(e)).then((e) => GA().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -30716,11 +30716,11 @@ function Goe(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => JA?.expand()+ run: () => KA?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => JA?.toMiniplayer()+ run: () => KA?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -30743,29 +30743,29 @@ function Goe(e) {run: () => s.click()}), o;}-function Koe(e, t, n) {- let r = XA();- $A();- let i = qA().stage();+function qoe(e, t, n) {+ let r = JA();+ ZA();+ let i = GA().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = Goe(e);+ let a = Koe(e);r.innerHTML = a.map((e, t) => {let n = e.checked !== void 0;- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${QA(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? QA(R("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${XA(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? XA(R("check"), "data-player-menu-check") : ""}</button>`;}).join(""), wo(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;let o = [...r.querySelectorAll("[data-player-menu]")];o.forEach((e) => {e.onclick = (t) => {t.stopPropagation();let n = a[Number(e.dataset.playerMenu)];- $A(), n?.run();+ ZA(), n?.run();};});let s = (e) => {- r.contains(e.target) || $A();+ r.contains(e.target) || ZA();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), $A();+ e.preventDefault(), e.stopPropagation(), ZA();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -30773,51 +30773,51 @@ function Koe(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- Do(t, e.el()) && $A();+ Do(t, e.el()) && ZA();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), ZA = () => {+ }, 0), YA = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function qoe(e) {+function Joe(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Koe(e, t.clientX, t.clientY));- }), e.on("dispose", $A);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), qoe(e, t.clientX, t.clientY));+ }), e.on("dispose", ZA);}//#endregion//#region src/player/registry.ts-var ej = null, tj = () => ej;-function nj(e) {- ej = e;+var $A = null, ej = () => $A;+function tj(e) {+ $A = e;}-function rj(e) {+function nj(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}//#endregion//#region src/player/stats.ts-function ij(e) {+function rj(e) {let t = e.currentTime || 0;for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);return 0;}-function Joe(e) {+function Yoe(e) {let t = e.currentTime || 0;for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;}-var aj = 3e3;-function oj(e, t) {+var ij = 3e3;+function aj(e, t) {let n = Number(e) || 0, r = mn(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function Yoe(e) {+function Xoe(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -30832,10 +30832,10 @@ function Yoe(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = Joe(e), s = e.currentTime || 0;+ let a = performance.now(), o = Yoe(e), s = e.currentTime || 0;if (n) {let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;- !i && c > 0 && (r += c), e * 1e3 > aj * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > ij * 2 && (t.length = 0);}for (n = {at: a,@@ -30844,56 +30844,56 @@ function Yoe(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > aj;) t.shift();+ }); t.length > 2 && a - t[0].at > ij;) t.shift();let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;}};}-var sj = 24;-function cj(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > sj && e.splice(0, e.length - sj);+var oj = 24;+function sj(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > oj && e.splice(0, e.length - oj);}-var lj = "peach-player-panel";-function uj(e, t, n, r) {- let i = [...Array(Math.max(0, sj - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var cj = "peach-player-panel";+function lj(e, t, n, r) {+ let i = [...Array(Math.max(0, oj - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {if (e === null) return "<i aria-hidden=\"true\"></i>";let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;}).join("");return `<span data-player-stats-plot="${t}" role="img" aria-label="${B(r)}">${o}</span>`;}-function Xoe() {+function Zoe() {return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("chart")}</button><div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div><div data-player-stats="" id="playerStats" role="status" hidden></div>`;}-function dj(e, t = "") {+function uj(e, t = "") {let n = t ? encodeURIComponent(t) : "";return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));}-function fj(e, t = "") {- let n = dj(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;+function dj(e, t = "") {+ let n = uj(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;return r > 0 && i > 0 ? r * 8 / i : 0;}-function pj(e, t, n = "", r = null) {+function fj(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : fj(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : dj(t, n);}-function mj(e) {+function pj(e) {if (!Number.isFinite(e) || e <= 0) return "加载中…";let t = e / 8;return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;}-function Zoe(e, t) {- return e > 0 ? mj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : mj(0);+function Qoe(e, t) {+ return e > 0 ? pj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : pj(0);}//#endregion//#region src/player/subtitle-style.ts-var hj = {+var mj = {font: {label: "字体",values: [@@ -30996,7 +30996,7 @@ var hj = {["shadow", "阴影"]]}-}, gj = {+}, hj = {font: "sans",size: "100",color: "white",@@ -31006,7 +31006,7 @@ var hj = {window: "black",windowOpacity: "0",edge: "shadow"-}, _j = "peach.caption-style.v1", Qoe = {+}, gj = "peach.caption-style.v1", $oe = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -31015,7 +31015,7 @@ var hj = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, $oe = {+}, ese = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -31023,28 +31023,28 @@ var hj = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, ese = {+}, tse = {none: "none",raised: "-1px -1px 0 #ddd,1px 1px 0 #222",depressed: "1px 1px 0 #ddd,-1px -1px 0 #222",outline: "-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000",shadow: "2px 2px 3px #000"};-function tse() {+function nse() {let e = {};try {- e = JSON.parse(localStorage.getItem(_j) || "{}") || {};+ e = JSON.parse(localStorage.getItem(gj) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(gj).map(([t, n]) => [t, hj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(hj).map(([t, n]) => [t, mj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function vj(e, t, n) {- let r = tse(), i = document.createElement("div");+function _j(e, t, n) {+ let r = nse(), i = document.createElement("div");i.className = "vjs-peach-captions", i.setAttribute("aria-hidden", "true");let a = document.createElement("div");a.className = "vjs-peach-caption-window", i.append(a), e.querySelector("media-container").append(i), e.dataset.peachCaptions = "";let o = () => {- let t = (e, t) => `rgba(${Qoe[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", $oe[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", ese[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${$oe[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", ese[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", tse[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");}, s = () => {a.replaceChildren();for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {@@ -31059,27 +31059,27 @@ function vj(e, t, n) {return t.textTracks.addEventListener("addtrack", l, { signal: n }), t.textTracks.addEventListener("removetrack", l, { signal: n }), t.textTracks.addEventListener("change", s, { signal: n }), o(), l(), {current: () => r,set(e, t) {- if (hj[e].values.some(([e]) => e === t)) {+ if (mj[e].values.some(([e]) => e === t)) {r = {...r,[e]: t}, o();try {- localStorage.setItem(_j, JSON.stringify(r));+ localStorage.setItem(gj, JSON.stringify(r));} catch {}}},reset() {- r = { ...gj }, o();+ r = { ...hj }, o();try {- localStorage.removeItem(_j);+ localStorage.removeItem(gj);} catch {}}};}//#endregion//#region src/player/subtitle-memory.ts-var yj = /* @__PURE__ */ new Map(), bj = class {+var vj = /* @__PURE__ */ new Map(), yj = class {player;video;changed;@@ -31128,7 +31128,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {}save(e) {if (!this.url) return Promise.resolve();- let t = (yj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (vj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = await fetch(this.url, {method: "PUT",headers: { "Content-Type": "application/json" },@@ -31142,15 +31142,15 @@ var yj = /* @__PURE__ */ new Map(), bj = class {let n = !!this.error;this.error = "", n && !this.cleanup.signal.aborted && this.changed();});- return yj.set(this.url, t), t.finally(() => {- yj.get(this.url) === t && yj.delete(this.url);+ return vj.set(this.url, t), t.finally(() => {+ vj.get(this.url) === t && vj.delete(this.url);}).catch(() => {}), t;}async restore() {if (!this.url) return;let e = this.cleanup.signal;try {- if (await yj.get(this.url)?.catch(() => {}), e.aborted) return;+ if (await vj.get(this.url)?.catch(() => {}), e.aborted) return;let t = await z(this.url, { signal: e });if (e.aborted) return;this.selected === void 0 && (this.selected = t.selected), this.apply();@@ -31205,7 +31205,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, xj = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", nse = class {+}, bj = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", rse = class {player;video;panels;@@ -31224,7 +31224,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = vj(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = xj(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = _j(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = bj(), this.cc.onclick = () => {let e = this.tracks().find((e) => e.mode === "showing");e ? (this.last = e, this.select(null)) : this.tracks().length ? this.select(this.last && this.tracks().includes(this.last) ? this.last : this.tracks()[0]) : this.show();}, this.input.type = "file", this.input.accept = ".srt,.ass,.ssa,.vtt", this.input.hidden = !0, this.input.setAttribute("aria-label", "加载字幕文件"), e.el().append(this.input), this.input.addEventListener("change", () => {@@ -31234,7 +31234,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new bj(e, t, () => {+ }), this.session = new yj(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -31282,7 +31282,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {}options(e = 1) {this.page = "options";- let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(hj).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(mj).map(([e, n]) => {let r = n.values.find(([n]) => n === t[e])?.[1] || "";return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${B(n.label)}</span><b>${B(r)}</b>${R("player-menu-next")}</button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);@@ -31294,7 +31294,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {}styleOptions(e) {this.page = "style";- let t = hj[e];+ let t = mj[e];this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {let r = this.styles.current()[e] === t;return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${B(t)}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${B(n)}</span></button>`;@@ -31411,7 +31411,7 @@ var yj = /* @__PURE__ */ new Map(), bj = class {};//#endregion//#region src/player/controls.ts-function Sj(e, t, n = "") {+function xj(e, t, n = "") {if (!e) return () => {};let r = e.querySelector(":scope>.vjs-peach-tooltip");r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));@@ -31422,27 +31422,27 @@ function Sj(e, t, n = "") {};return o(), o;}-function Cj(e, t) {+function Sj(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function rse(e, t = !0) {- let n = qA(), r = n.settings();+function ise(e, t = !0) {+ let n = GA(), r = n.settings();r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));}-var wj = /* @__PURE__ */ new WeakMap();-function Tj(e) {+var Cj = /* @__PURE__ */ new WeakMap();+function wj(e) {if (!e) return;- let t = qA().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), wj.get(e)?.(t ? "默认视图" : "影院模式");+ let t = GA().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Cj.get(e)?.(t ? "默认视图" : "影院模式");}-function Ej(e, t = !0) {- let n = qA(), r = n.settings();+function Tj(e, t = !0) {+ let n = GA(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), Tj(i?.querySelector("[data-player-theater]")), rj(tj());+ i?.toggleAttribute("data-theater", r.theaterMode), wj(i?.querySelector("[data-player-theater]")), nj(ej());}-function ise(e) {- let t = qA().stage(), n = t?.querySelector("[data-ambient-canvas]");+function ase(e) {+ let t = GA().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -31465,9 +31465,9 @@ function ise(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (qA().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (GA().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && qA().settings().ambientMode && (l(), e.paused || u(++o));+ !i && GA().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -31476,7 +31476,7 @@ function ise(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function Dj(e, t, n = 0, r = null) {+function Ej(e, t, n = 0, r = null) {let i = e.el().querySelector(".vjs-control-bar");if (!i || i.querySelector("[data-player-quality]")) return;let a = document.createElement("div");@@ -31486,7 +31486,7 @@ function Dj(e, t, n = 0, r = null) {let o = i.querySelector(".vjs-fullscreen-control");i.insertBefore(a, o || null);let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");- Sj(s, "设置");+ xj(s, "设置");let l = a.querySelector(".vjs-peach-settings-menu"), u, d = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, f = r, p = "auto", m = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;@@ -31526,11 +31526,11 @@ function Dj(e, t, n = 0, r = null) {active: n};}, _ = () => l.getAttribute("aria-hidden") !== "true", v = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(lj, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(cj, { detail: "settings" }));}, y = () => v(!1), b = (e) => {e.detail !== "settings" && y();};- document.addEventListener(lj, b);+ document.addEventListener(cj, b);let x = null, S = 0, C = (e, t) => {let n = ++S;x && (clearTimeout(x), x = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;@@ -31546,13 +31546,13 @@ function Dj(e, t, n = 0, r = null) {}), i;}, w = (e, t) => e.querySelector(t), T = "main", E = (t = 0) => {T = "main";- let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${qA().settings().ambientMode}">+ let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${GA().settings().ambientMode}">${R("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${R("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${R("player-menu-next")}</button>- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${xj()}</span><span>字幕</span><b>${B(u?.label() || "关闭")}</b>${R("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${bj()}</span><span>字幕</span><b>${B(u?.label() || "关闭")}</b>${R("player-menu-next")}</button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${R("player-quality")}<span>清晰度</span><b>${B(n.label)}</b>${R("player-menu-next")}</button></div>`, t);w(i, "[data-player-ambient]").onclick = () => {- rse(!qA().settings().ambientMode), E();+ ise(!GA().settings().ambientMode), E();}, w(i, "[data-player-speed]").onclick = () => A(), w(i, "[data-player-subtitles]").onclick = () => u?.show(), w(i, "[data-player-quality-view]").onclick = () => M();}, D = .05, O = [1,@@ -31632,8 +31632,8 @@ function Dj(e, t, n = 0, r = null) {"removequalitylevel","change"], N), e.on("dispose", () => {- S++, document.removeEventListener("pointerdown", P), document.removeEventListener(lj, b), x && clearTimeout(x);- }), u = new nse(e, t, {+ S++, document.removeEventListener("pointerdown", P), document.removeEventListener(cj, b), x && clearTimeout(x);+ }), u = new rse(e, t, {render: C,open: () => {T = "subtitles", v(!0);@@ -31642,21 +31642,21 @@ function Dj(e, t, n = 0, r = null) {back: () => {u?.hide(), E(-1);}- }), g(), ase(e, a), ose(e), (e) => {+ }), g(), ose(e, a), sse(e), (e) => {f = e?.length ? e : null, N();};}-function ase(e, t) {+function ose(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = qA().settings().theaterMode, i = document.createElement("div");+ let r = GA().settings().theaterMode, i = document.createElement("div");i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${R(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);let a = i.querySelector("button");- wj.set(a, Sj(a, "影院模式", "T")), Tj(a), a.onclick = (e) => {- e.stopPropagation(), Ej(!qA().settings().theaterMode);+ Cj.set(a, xj(a, "影院模式", "T")), wj(a), a.onclick = (e) => {+ e.stopPropagation(), Tj(!GA().settings().theaterMode);};}-function ose(e) {+function sse(e) {let t = e.el().querySelector(".vjs-control-bar");if (!t || t.querySelector(".vjs-peach-right-controls")) return;let n = t.querySelector(":scope>.vjs-play-control");@@ -31668,7 +31668,7 @@ function ose(e) {e.dataset.peachExplicitIcon = "";let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = Sj(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = xj(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {let t = e.paused() || e.ended(), n = t ? s : c;o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");};@@ -31679,7 +31679,7 @@ function ose(e) {], d), d();let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));- let h = Sj(p, "静音", "M"), g = () => {+ let h = xj(p, "静音", "M"), g = () => {let t = e.muted() || e.volume() === 0;m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");};@@ -31705,7 +31705,7 @@ function ose(e) {});let x = document.createElement("button"), S = !1;x.type = "button", x.className = "vjs-peach-time vjs-control", x.dataset.playerTime = "", x.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";- let C = x.querySelector(".vjs-peach-time-text"), w = Sj(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = xj(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = gn(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : gn(t)} / ${gn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${gn(n)};点击显示已播放时间` : `已播放 ${gn(t)},总时长 ${gn(n)};点击显示剩余时间`);};@@ -31717,12 +31717,12 @@ function ose(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- Sj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");- let D = Sj(E, "画中画");+ xj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");+ let D = xj(E, "画中画");e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = Sj(O, "全屏", "F"), j = () => {+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = xj(O, "全屏", "F"), j = () => {let t = !!e.isFullscreen();- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), rj(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), nj(e);};e.on(["fullscreenchange",@@ -31743,7 +31743,7 @@ function ose(e) {});let P = document.createElement("div");P.className = "vjs-peach-expand vjs-control", P.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(P);- let ee = P.querySelector("button"), F = Sj(ee, "展开控件"), te = (t) => {+ let ee = P.querySelector("button"), F = xj(ee, "展开控件"), te = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), ee.setAttribute("aria-expanded", String(t)), F(t ? "收起控件" : "展开控件");};ee.onclick = (t) => {@@ -31755,7 +31755,7 @@ function ose(e) {}, ne = new ResizeObserver(I);ne.observe(e.el()), e.on("dispose", () => ne.disconnect()), te(!1), I();}-function Oj(e, t, n = {}) {+function Dj(e, t, n = {}) {let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");if (!r || r.querySelector("[data-player-seek-preview]")) return;let i = !!t && n.thumbnail !== !1, a = document.createElement("div");@@ -31789,13 +31789,13 @@ function Oj(e, t, n = {}) {r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);});}-function sse(e, t) {+function cse(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => mn(e.duration()) || mn(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(qA().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(GA().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -31836,11 +31836,11 @@ function sse(e, t) {} catch {}});}-function kj(e) {+function Oj(e) {let t = e.el().querySelector(".vjs-loading-spinner");t && !t.querySelector(".vjs-peach-spinner-container") && (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");}-function Aj(e, t) {+function kj(e, t) {z(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -31856,35 +31856,35 @@ function Aj(e, t) {}//#endregion//#region src/player/progress.ts-var jj = "peach.playback-position.v1", Mj = /* @__PURE__ */ new WeakMap();-function Nj(e) {- Mj.get(e)?.(), Mj.delete(e);+var Aj = "peach.playback-position.v1", jj = /* @__PURE__ */ new WeakMap();+function Mj(e) {+ jj.get(e)?.(), jj.delete(e);}-function Pj(e, t, n = null) {+function Nj(e, t, n = null) {let r = e === "follow" ? t.id : t.location === "online" ? t.follow_item_id : null;return r ? `follow:${r}:${n ?? "main"}` : `item:${t.id}`;}-function cse(e) {+function lse(e) {try {- let t = localStorage.getItem(`${jj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${Aj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function lse(e, t) {- let n = cse(e);+function use(e, t) {+ let n = lse(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * mn(t.duration) : 0;}-function use(e, t) {- Nj(t);+function dse(e, t) {+ Mj(t);let n = t.readyState >= 1, r = () => {if (!n || !Number.isFinite(t.currentTime)) return;let r = t.ended ? 0 : Math.max(0, t.currentTime);try {- localStorage.setItem(`${jj}:${e}`, String(r));+ localStorage.setItem(`${Aj}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -31898,7 +31898,7 @@ function use(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Mj.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), jj.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -31911,19 +31911,19 @@ function use(e, t) {}//#endregion//#region src/player/telemetry.ts-var Fj = /* @__PURE__ */ new WeakMap();-function Ij(e) {- Fj.get(e)?.(), Fj.delete(e);+var Pj = /* @__PURE__ */ new WeakMap();+function Fj(e) {+ Pj.get(e)?.(), Pj.delete(e);}-function Lj(e, t, n, r) {+function Ij(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Fj.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Pj.set(e, () => {n(), t(!1), e.onplay = null, e.ontimeupdate = null, e.onpause = null, e.onended = null, e.removeEventListener("seeking", r), e.removeEventListener("emptied", a), window.removeEventListener("pagehide", i);});}-function Rj(e, t, n = {}) {+function Lj(e, t, n = {}) {if (!t) return;let r = 0, i = 0, a = 0, o = null, s = (e) => e ? document.querySelector(e) : null, c = () => {let r = mn(e.duration) || mn(t.duration);@@ -31964,11 +31964,11 @@ function Rj(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, Lj(t, l, u, () => {+ }, Ij(t, l, u, () => {a++;}), c();}-function dse(e, t) {+function fse(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = mn(e.duration) || mn(t.duration);(r || n) && (z("/api/follow/activity", {@@ -31999,24 +31999,24 @@ function dse(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, Lj(t, o, s, () => {});+ }, Ij(t, o, s, () => {});}//#endregion//#region src/player/dispose.ts-function zj(e) {+function Rj(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (Nj(t), Ij(t));+ t && (Mj(t), Fj(t));try {e.dispose();} catch {}}//#endregion//#region src/core/random-id.ts-function Bj() {+function zj() {if (typeof crypto.randomUUID == "function") return crypto.randomUUID();let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;@@ -32025,23 +32025,23 @@ function Bj() {}//#endregion//#region src/player/stream.ts-function Vj() {- return Bj();+function Bj() {+ return zj();}-function Hj(e, t) {+function Vj(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function fse(e) {+function pse(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function Uj(e, t) {- let n = fse(e);+async function Hj(e, t) {+ let n = pse(e);if (n) return n;try {let n = await z(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -32050,9 +32050,9 @@ async function Uj(e, t) {type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return Hj(e, t);+ return Vj(e, t);}-function Wj(e) {+function Uj(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -32061,23 +32061,23 @@ function Wj(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var Gj = "";+var Wj = "";+function Gj() {+ return Wj;+}function Kj() {- return Gj;+ return Wj ||= Bj(), Wj;}+var mse = (e) => Vj(e, Kj()), hse = (e) => Hj(e, Kj());function qj() {- return Gj ||= Vj(), Gj;-}-var pse = (e) => Hj(e, qj()), mse = (e) => Uj(e, qj());-function Jj() {- let e = Gj;- e && (Gj = "", Wj(e));+ let e = Wj;+ e && (Wj = "", Uj(e));}//#endregion//#region src/player/v10-player.ts-var Yj = (e) => typeof e == "string" ? [e] : e, hse = (e, t) => {+var Jj = (e) => typeof e == "string" ? [e] : e, gse = (e, t) => {let n = document.createElement("div"), r = document.createElement("video-player");- n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${Bj()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${zj()}`, n.setAttribute("lang", "zh-CN");let i = document.createElement("media-container"), a = document.createElement("hlsjs-video");e.parentNode?.replaceChild(n, e), e.removeAttribute("id"), e.className = "vjs-tech", e.slot = "media", e.controls = !1, e.preload = t.preload === "auto" ? "auto" : t.preload === "none" ? "none" : "metadata", t.poster && (e.poster = String(t.poster)), a.append(e), i.append(a), r.append(i), n.append(r), t.controls !== !1 && i.insertAdjacentHTML("beforeend", "<div class=\"vjs-loading-spinner\" aria-label=\"正在缓冲\"></div>\n <div class=\"vjs-error-display\"><div class=\"vjs-modal-dialog-content\" role=\"alert\"></div></div>\n <div class=\"vjs-control-bar\">\n <media-play-button class=\"vjs-play-control vjs-control vjs-button\" label=\"播放\"></media-play-button>\n <div class=\"vjs-volume-panel vjs-control vjs-volume-panel-horizontal\">\n <media-mute-button class=\"vjs-mute-control vjs-control vjs-button\" label=\"静音\"></media-mute-button>\n <div class=\"vjs-volume-control vjs-volume-horizontal\"><media-volume-slider class=\"vjs-volume-bar vjs-slider vjs-slider-horizontal\" label=\"音量\">\n <media-slider-track><media-slider-fill class=\"vjs-volume-level\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-volume-thumb\"></media-slider-thumb>\n <media-slider-value class=\"vjs-volume-tooltip\"></media-slider-value>\n </media-volume-slider></div>\n </div>\n <div class=\"vjs-progress-control vjs-control\"><media-time-slider class=\"vjs-progress-holder vjs-slider vjs-slider-horizontal\" label=\"播放进度\">\n <media-slider-track><media-slider-buffer class=\"vjs-load-progress\"></media-slider-buffer><media-slider-fill class=\"vjs-play-progress\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-progress-thumb\"></media-slider-thumb>\n </media-time-slider></div>\n <div class=\"vjs-subtitles-control vjs-control\"><button type=\"button\" class=\"vjs-button\" aria-label=\"开启字幕\" aria-pressed=\"false\">CC</button></div>\n <media-pip-button class=\"vjs-picture-in-picture-control vjs-control vjs-button\" label=\"画中画\"></media-pip-button>\n <media-fullscreen-button class=\"vjs-fullscreen-control vjs-control vjs-button\" label=\"全屏\"></media-fullscreen-button>\n </div>");let o = new EventTarget(), s = new AbortController(), c = s.signal, l = !1, u = 0, d = 0, f = 0, p = {@@ -32172,9 +32172,9 @@ var Yj = (e) => typeof e == "string" ? [e] : e, hse = (e, t) => {e && Array.isArray(e.levels) && !x.has(e) && (x.add(e), e.on("hlsManifestParsed", w), e.on("hlsLevelSwitched", w)), w();};return e.addEventListener("loadedmetadata", T, { signal: c }), {- on: (e, t) => Yj(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => Yj(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => Yj(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => Jj(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => Jj(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => Jj(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -32229,7 +32229,7 @@ var Yj = (e) => typeof e == "string" ? [e] : e, hse = (e, t) => {n.id = String(t.id || ""), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);}};-}, gse = "/vendor/videojs/10.1.0/", _se = [+}, _se = "/vendor/videojs/10.1.0/", vse = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -32247,18 +32247,18 @@ var Yj = (e) => typeof e == "string" ? [e] : e, hse = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], Xj = null;-function Zj() {- return Xj ??= Promise.all(_se.map((e) => import(+], Yj = null;+function Xj() {+ return Yj ??= Promise.all(vse.map((e) => import(/* @vite-ignore */- `${gse}${e}`-))).then(() => hse).catch((e) => {- throw Xj = null, e;- }), Xj;+ `${_se}${e}`+))).then(() => gse).catch((e) => {+ throw Yj = null, e;+ }), Yj;}//#endregion//#region src/player/immerse-player.ts-var vse = {+var yse = {controls: !1,preload: "auto",posterImage: !1,@@ -32270,39 +32270,39 @@ var vse = {errorDisplay: !1,textTrackSettings: !1};-function yse(e, t) {+function bse(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([Uj(n, r), Zj().catch(() => null)]).then(([o, s]) => {+ return Promise.all([Hj(n, r), Xj().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = Hj(n, r), l = String(o.type || "").includes("mpegurl");+ let c = Vj(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, vse);- i = t, t.peachItem = n, t.peachPlaybackKey = Pj("item", n);+ let t = s(e, yse);+ i = t, t.peachItem = n, t.peachPlaybackKey = Nj("item", n);let r = new AbortController();- vj(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new bj(t, e), Aj(t, n.id), l && t.one("error", () => {+ _j(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new yj(t, e), kj(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- Rj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ Lj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, Wj(r), i ? zj(i) : (e.pause(), Ij(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, Uj(r), i ? Rj(i) : (e.pause(), Fj(e), e.removeAttribute("src"), e.load()));};}//#endregion//#region src/player/detail-player.ts-var Qj = /* @__PURE__ */ new WeakMap(), $j = null, eM = null, tM = null;-function nM() {- $j &&= (clearInterval($j), null), eM &&= (clearInterval(eM), null), tM &&= (clearTimeout(tM), null);+var Zj = /* @__PURE__ */ new WeakMap(), Qj = null, $j = null, eM = null;+function tM() {+ Qj &&= (clearInterval(Qj), null), $j &&= (clearInterval($j), null), eM &&= (clearTimeout(eM), null);}-async function bse(e, t, n, r = {}) {- let i = tj();+async function xse(e, t, n, r = {}) {+ let i = ej();if (i && !i.isDisposed()) return i;- let a = qA(), o = r.resume ?? null;+ let a = GA(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : mse(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : hse(e), c;try {- c = await Zj();+ c = await Xj();} catch {return t.controls = !0, s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -32328,7 +32328,7 @@ async function bse(e, t, n, r = {}) {} }}});- nj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Pj("item", e), qoe(l), l.on("loadedmetadata", () => {+ tj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Nj("item", e), Joe(l), l.on("loadedmetadata", () => {let e = l.el()?.querySelector("video");e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);});@@ -32336,7 +32336,7 @@ async function bse(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = Yoe(oj(f, e.duration)), m = 0, h = !1, g = () => tj() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = Xoe(aj(f, e.duration)), m = 0, h = !1, g = () => ej() === l && !l.isDisposed(), _ = () => {if (!u || h || !g()) return;let e = Number(l.duration());(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {@@ -32347,15 +32347,15 @@ async function bse(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- Qj.set(l, y), y.updateStats = () => {+ Zj.set(l, y), y.updateStats = () => {let n = y.chrome?.statsPanel;if (!n || n.hidden || !g()) return;- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = Kj(), h = s ? dj(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = Gj(), h = s ? uj(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;p.sample(t);- let x = pj(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);+ let x = fj(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);m = S;- let w = ij(t);- cj(d.speed, x), cj(d.activity, C), cj(d.buffer, w);+ let w = rj(t);+ sj(d.speed, x), sj(d.activity, C), sj(d.buffer, w);let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? ["网络活动",`${_ ? _n(_) : "—"} · ${h.length} 请求`,@@ -32373,17 +32373,17 @@ async function bse(e, t, n, r = {}) {["连接速度",D,- uj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ lj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- uj(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ lj(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- uj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ lj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${gn(t.currentTime)} / ${gn(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -32399,15 +32399,15 @@ async function bse(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = pj(l, e.id, Kj(), r ? null : p), a = r ? mj(i) : Zoe(i, ij(t));+ let i = fj(l, e.id, Gj(), r ? null : p), a = r ? pj(i) : Qoe(i, rj(t));n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${B(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- e && e.isConnected && (e.hidden = !1, S(), eM && clearInterval(eM), eM = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), $j && clearInterval($j), $j = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (tM && clearTimeout(tM), tM = setTimeout(() => {- e.hidden = !0, eM &&= (clearInterval(eM), null);+ e && (eM && clearTimeout(eM), eM = setTimeout(() => {+ e.hidden = !0, $j &&= (clearInterval($j), null);}, 1400));};return l.on([@@ -32418,7 +32418,7 @@ async function bse(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(pse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(mse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {t[String(e.root_id || e.location)] !== !1 || l.isDisposed() || l.error({code: 2,message: `媒体目录无法访问 · ${a.offlineReason(String(e.root_id || e.location))}`@@ -32426,13 +32426,13 @@ async function bse(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = Dj(l, t, e.height, r.qualities ?? null);+ let n = Ej(l, t, e.height, r.qualities ?? null);r.mediaPromise?.then((t) => {if (!g()) return;n?.(t?.qualities?.length ? t.qualities : null);let r = Number(t?.size) || 0;- r > 0 && !f && (f = r, p.bitrate = oj(r, e.duration));- }).catch(() => {}), Oj(l, e, { thumbnail: !r.source }), sse(l, e), kj(l), r.source || Aj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = aj(r, e.duration));+ }).catch(() => {}), Dj(l, e, { thumbnail: !r.source }), cse(l, e), Oj(l), r.source || kj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;@@ -32441,14 +32441,14 @@ async function bse(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var xse = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function rM(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", xse), e.querySelector(":scope > #playerStatsBtn")) return;+var Sse = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function nM(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Sse), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = Xoe(), e.insertBefore(n.content, t);+ n.innerHTML = Zoe(), e.insertBefore(n.content, t);}-function iM(e, t) {- let n = Qj.get(e);+function rM(e, t) {+ let n = Zj.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -32460,29 +32460,29 @@ function iM(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), $j &&= (clearInterval($j), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), Qj &&= (clearInterval(Qj), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(lj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), $j && clearInterval($j), $j = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(cj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), Qj && clearInterval(Qj), Qj = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(lj, t), s = () => document.removeEventListener(lj, t);+ document.addEventListener(cj, t), s = () => document.removeEventListener(cj, t);}- let c = e.el().querySelector("video"), l = c ? ise(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, nM()));+ let c = e.el().querySelector("video"), l = c ? ase(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, tM()));};return e.one("dispose", d), d;}-function aM(e, t) {- if (t.kind === "immerse") return yse(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = qA(), c = t.chrome === !1 ? null : e.parentElement;- c && rM(c, e);- let l = Pj(n, r, i?.index ?? null), u = {+function iM(e, t) {+ if (t.kind === "immerse") return bse(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = GA(), c = t.chrome === !1 ? null : e.parentElement;+ c && nM(c, e);+ let l = Nj(n, r, i?.index ?? null), u = {playbackKey: l,resume: t.resume ?? {- time: lse(l, r),+ time: use(l, r),autoplay: !1}};@@ -32502,38 +32502,38 @@ function aM(e, t) {t && (e.poster = t);}let d = null, f = !1, p = () => {}, m = e, h = () => {- p(), !(d && a?.(d)) && (Nj(m), d ? (tj() === d && (nj(null), nM()), zj(d)) : Ij(m));+ p(), !(d && a?.(d)) && (Mj(m), d ? (ej() === d && (tj(null), tM()), Rj(d)) : Fj(m));};- return bse(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, use(l, m), n === "follow" ? dse(r, m) : (m.addEventListener("play", () => {+ return xse(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, dse(l, m), n === "follow" ? fse(r, m) : (m.addEventListener("play", () => {z("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), Rj(r, m, {+ }, { once: !0 }), Lj(r, m, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (c && (p = iM(t, c)), o?.(t)) : o?.(null));+ })), t ? (c && (p = rM(t, c)), o?.(t)) : o?.(null));}), () => {f = !0, h();};}//#endregion//#region src/player/playback.ts-function oM(e) {+function aM(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function sM(e, t) {+function oM(e, t) {let n = e.duration, r = (e.currentTime || 0) + t;e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);}//#endregion//#region src/player/preview-player.ts-function cM(e, t, n) {+function sM(e, t, n) {e.controls = !1;let r = !1, i = null;- return Zj().then((a) => {+ return Xj().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -32558,57 +32558,57 @@ function cM(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (Dj(o, e), Oj(o, null, { thumbnail: !1 }), kj(o));+ r || o.isDisposed() || (Ej(o, e), Dj(o, null, { thumbnail: !1 }), Oj(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, zj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, Rj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}//#endregion//#region src/react/catalog-grid/catalog-view.ts-var lM = "peach.catalog-view.v1", uM = /* @__PURE__ */ new Set(), dM = "cards";-function fM() {+var cM = "peach.catalog-view.v1", lM = /* @__PURE__ */ new Set(), uM = "cards";+function dM() {try {- return localStorage.getItem(lM) === "list" ? "list" : "cards";+ return localStorage.getItem(cM) === "list" ? "list" : "cards";} catch {- return dM;+ return uM;}}-function pM(e) {- dM = e === "list" ? "list" : "cards";+function fM(e) {+ uM = e === "list" ? "list" : "cards";try {- localStorage.setItem(lM, dM);+ localStorage.setItem(cM, uM);} catch {}- uM.forEach((e) => e());+ lM.forEach((e) => e());}-function mM(e) {- uM.add(e);+function pM(e) {+ lM.add(e);let t = (t) => {- (t.key === lM || t.key === null) && e();+ (t.key === cM || t.key === null) && e();};return addEventListener("storage", t), () => {- uM.delete(e), removeEventListener("storage", t);+ lM.delete(e), removeEventListener("storage", t);};}-var hM = () => (0, D.useSyncExternalStore)(mM, fM, () => "cards");-function gM(e, t) {+var mM = () => (0, D.useSyncExternalStore)(pM, dM, () => "cards");+function hM(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var _M = (e, t) => [+var gM = (e, t) => ["catalog-grid","catalog",e,t-], vM = (e, t) => [+], _M = (e, t) => ["catalog-grid","entity",e,t];-async function yM(e, t, n, r, i) {+async function vM(e, t, n, r, i) {let a = new URLSearchParams(e);a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");let o = await V(`/api/items?${a}`, i), s = {@@ -32618,22 +32618,22 @@ async function yM(e, t, n, r, i) {};return !t && !s.items.length && !r && (s.libraryEmpty = (await V("/api/items?limit=1&thumb=0", i)).total === 0), s;}-var bM = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, xM = (e, t) => {+var yM = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, bM = (e, t) => {let n = t.reduce((e, t) => e + t.items.length, 0);return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;};-function SM(e) {- let t = gM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function xM(e) {+ let t = hM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: _M(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => yM(t, e, n, r, i),+ queryKey: gM(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => vM(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: bM(n)+ getNextPageParam: yM(n)};}-function CM(e) {+function SM(e) {return {- queryKey: vM(e.entityKey || "", e.revision || 0),+ queryKey: _M(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -32648,12 +32648,12 @@ function CM(e) {};},initialPageParam: 0,- getNextPageParam: xM+ getNextPageParam: bM};}-async function wM(e, t) {- if (e.mode !== "catalog" || e.wall || fM() === "list") return;- let n = SM(e);+async function CM(e, t) {+ if (e.mode !== "catalog" || e.wall || dM() === "list") return;+ let n = xM(e);await U.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({@@ -32662,11 +32662,11 @@ async function wM(e, t) {})});}-function TM(e) {+function wM(e) {let t = JSON.stringify(e);return U.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function EM(e, t, n) {+function TM(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -32681,24 +32681,24 @@ function EM(e, t, n) {return !0;}) : [...e];}-var DM = (e, t) => !!e && !!Sa(e, t);-function OM(e, t) {- let n = (e) => DM(e, t) && !!(e.creator || (e.performers || []).length || e.studio);- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => DM(e, t)) || e[e.length - 1];+var EM = (e, t) => !!e && !!Sa(e, t);+function DM(e, t) {+ let n = (e) => EM(e, t) && !!(e.creator || (e.performers || []).length || e.studio);+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => EM(e, t)) || e[e.length - 1];}-function kM(e, { collapse: t, mix: n, javImage: r }) {+function OM(e, { collapse: t, mix: n, javImage: r }) {let i = {parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()}, a = /* @__PURE__ */ new Set(), o = [], s = [];for (let c of e) {s.push(o.length);- let e = EM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = TM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({kind: "card",item: e}));if (n && e.length >= 8) {- let t = OM(e, r);+ let t = DM(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -32711,16 +32711,16 @@ function kM(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function AM(e, t, n) {+function kM(e, t, n) {let r = Math.max(1, n), i = [];for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);return i;}-function jM(e, t) {+function AM(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();}-function MM(e, t) {+function jM(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -32733,10 +32733,10 @@ function MM(e, t) {strip: null}), r;}-function NM(e, t) {- PM((t) => t.id === e, t);+function MM(e, t) {+ NM((t) => t.id === e, t);}-function PM(e, t) {+function NM(e, t) {U.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {...n,items: n.items.map((n) => e(n) ? {@@ -32757,34 +32757,34 @@ function PM(e, t) {} : n)});}-var FM = (e) => Math.min(Math.max(e || 0, 0), 100), IM = (e) => Math.round(FM(e) / 20), LM = (e) => {- let t = IM(e);+var PM = (e) => Math.min(Math.max(e || 0, 0), 100), FM = (e) => Math.round(PM(e) / 20), IM = (e) => {+ let t = FM(e);return t ? `${t} 星` : "未评分";-}, RM = (e, t) => t === IM(e) ? 0 : t * 20, zM = (e) => ["item", e], BM = (e) => [+}, LM = (e, t) => t === FM(e) ? 0 : t * 20, RM = (e) => ["item", e], zM = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], Sse = (e, t) => [+], Cse = (e, t) => ["item-related",e,t-], Cse = (e) => `/api/item?id=${e}`, wse = (e, t) => `/api/related?id=${e}&limit=${t}`, VM = "/api/playlist", HM = "/api/feedback", UM = "/api/item-tag", WM = "/api/watch-later", GM = "/api/quality-goal", KM = "/api/preference", qM = class extends Error {};-async function JM(e, t) {- let n = await V(Cse(e), t);- if (n.error) throw new qM(n.error);+], wse = (e) => `/api/item?id=${e}`, Tse = (e, t) => `/api/related?id=${e}&limit=${t}`, BM = "/api/playlist", VM = "/api/feedback", HM = "/api/item-tag", UM = "/api/watch-later", WM = "/api/quality-goal", GM = "/api/preference", KM = class extends Error {};+async function qM(e, t) {+ let n = await V(wse(e), t);+ if (n.error) throw new KM(n.error);return n;}-async function YM(e, t, n) {+async function JM(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([JM(r, n), t.mixRelated(r)]);- return U.setQueryData(zM(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([qM(r, n), t.mixRelated(r)]);+ return U.setQueryData(RM(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${Qa(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return XM(await V(`${VM}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return YM(await V(`${BM}?id=${e.playlistId}`, n));let r = await V(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {@@ -32795,19 +32795,19 @@ async function YM(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var XM = (e) => ({+var YM = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), ZM = (e) => e.disposal === "vanished";-function QM(e, t) {+}), XM = (e) => e.disposal === "vanished";+function ZM(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !ZM(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !XM(e)) : e.items;return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;}-function Tse(e, t) {+function Ese(e, t) {if (t?.kind !== "parts" && t?.kind !== "editions") return e;let n = t.items.find((t) => t.id === e.id)?.part_label || "";return e.part_label === n ? e : {@@ -32815,20 +32815,20 @@ function Tse(e, t) {part_label: n};}-function $M(e, t) {+function QM(e, t) {if (!e || e.kind !== "parts" && e.kind !== "editions") return null;let n = e.items.findIndex((e) => e.id === t), r = e.items[n], i = e.items[n + 1];return !r?.part_label || !i?.part_label ? null : e.kind === "parts" || r.version_id != null && r.version_id === i.version_id ? i : null;}-async function eN(e, t) {+async function $M(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = BM(n);+ let o = zM(n);try {let r = n.fresh ? void 0 : U.getQueryData(o);a = !r && n.kind === "mix", i = r || await U.fetchQuery({queryKey: o,- queryFn: () => YM(n, e.helpers, t),+ queryFn: () => JM(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -32840,21 +32840,21 @@ async function eN(e, t) {return;}}- let o = i ? QM(i, e.id) : e.id;+ let o = i ? ZM(i, e.id) : e.id;if (o == null) {r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });return;}- let s, c = a && o === i?.seedId ? U.getQueryData(zM(o)) : void 0;+ let s, c = a && o === i?.seedId ? U.getQueryData(RM(o)) : void 0;try {s = c || await U.fetchQuery({- queryKey: zM(o),- queryFn: () => JM(o, t),+ queryKey: RM(o),+ queryFn: () => qM(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof qM) {+ if (e instanceof KM) {r.redirect({ kind: "gone" });return;}@@ -32865,7 +32865,7 @@ async function eN(e, t) {id: Number(s.follow_item_id)});}-function Ese(e) {+function Dse(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {let t = un(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);@@ -32887,35 +32887,35 @@ function Ese(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function Dse(e, t) {+function Ose(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {let r = un(t.tagLabel(e.k)), i = n.get(r);(!i || un(e.k) === r && un(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var tN = (e, t) => (e.tags || []).some((e) => un(e.k) === un(t)), nN = (e, t) => ({+var eN = (e, t) => (e.tags || []).some((e) => un(e.k) === un(t)), tN = (e, t) => ({...e,tags: (e.tags || []).filter((e) => un(e.k) !== un(t))-}), rN = (e, t) => tN(e, t.k) ? e : {+}), nN = (e, t) => eN(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, iN = "peach.recentTags";-function aN() {+}, rN = "peach.recentTags";+function iN() {try {- let e = JSON.parse(localStorage.getItem(iN) || "[]");+ let e = JSON.parse(localStorage.getItem(rN) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function Ose(e) {+function kse(e) {try {- let t = aN().filter((t) => un(t) !== un(e));- localStorage.setItem(iN, JSON.stringify([e, ...t].slice(0, 12)));+ let t = iN().filter((t) => un(t) !== un(e));+ localStorage.setItem(rN, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function kse(e, t, n) {+function Ase(e, t, n) {let r = un(e), i = new Map(t.map((e) => [un(e.k), e])), a = t.filter((e) => !r || un(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(un(e)) || {k: e,n: 0@@ -32926,73 +32926,73 @@ function kse(e, t, n) {create: r && !s ? e.trim() : ""};}-var Ase = {+var jse = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, jse = {+}, Mse = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function Mse(e) {+function Nse(e) {let t = (e.kind === "editions" ? e.versionCount ?? e.items.length : e.items.length).toLocaleString(), n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;return {- title: jse[e.kind],+ title: Mse[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var oN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Nse = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(oN(e.part_label))}</small>` : "";-function Pse(e, t, n, r) {+var aN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Pse = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(aN(e.part_label))}</small>` : "";+function Fse(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var Fse = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function Ise(e, t) {+var Ise = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function Lse(e, t) {return t ? "offline" : String(e.name || "").toLowerCase().endsWith(".iso") ? "disc" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";}-function Lse(e) {+function Rse(e) {let t = Number(e.duration) > 0 ? Number(e.duration) : 0;return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;}-function sN(e, t) {+function oN(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}//#endregion//#region src/react/immerse/immerse.ts-var Rse = (e, t, n) => [+var zse = (e, t, n) => ["immerse-list",e,t,n];-function zse(e) {+function Bse(e) {let t = new URLSearchParams();for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();}-var Bse = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function Vse(e, t = Math.random) {+var Vse = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function Hse(e, t = Math.random) {for (let n = e.length - 1; n > 0; n--) {let r = Math.floor(t() * (n + 1));[e[n], e[r]] = [e[r], e[n]];}return e;}-async function Hse(e, t) {- return Vse(((await V(`/api/items?${e}`)).items || []).filter((e) => Bse(e, t)));+async function Use(e, t) {+ return Hse(((await V(`/api/items?${e}`)).items || []).filter((e) => Vse(e, t)));}-var cN = (e) => U.ensureQueryData({- queryKey: zM(e),- queryFn: ({ signal: t }) => JM(e, t)+var sN = (e) => U.ensureQueryData({+ queryKey: RM(e),+ queryFn: ({ signal: t }) => qM(e, t)});-function Use(e, t) {+function Wse(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function Wse(e) {+function Gse(e) {let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";return {who: n,@@ -33001,306 +33001,306 @@ function Wse(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function Gse(e, t, n) {+function Kse(e, t, n) {if (!e || !t || !n || !Number.isFinite(n)) return null;let r = e / t;return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";}-function Kse(e, t) {+function qse(e, t) {return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);}-var qse = 15e3, lN = {+var Jse = 15e3, cN = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, uN = null, dN = null, fN = lN, pN = /* @__PURE__ */ new Set(), mN = 0, hN = 0, gN = 0, _N = "", vN = [], yN = 0, bN = !1, xN = !1, SN = null, CN = /* @__PURE__ */ new Set(), wN = "", TN = null, EN = 0, DN = null, ON = !1;-function kN() {- if (!uN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return uN;+}, lN = null, uN = null, dN = cN, fN = /* @__PURE__ */ new Set(), pN = 0, mN = 0, hN = 0, gN = "", _N = [], vN = 0, yN = !1, bN = !1, xN = null, SN = /* @__PURE__ */ new Set(), CN = "", wN = null, TN = 0, EN = null, DN = !1;+function ON() {+ if (!lN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return lN;}-function Jse(e) {- return pN.add(e), () => {- pN.delete(e);+function Yse(e) {+ return fN.add(e), () => {+ fN.delete(e);};}-function Yse() {- for (let e of [...pN]) e();+function Xse() {+ for (let e of [...fN]) e();}-function AN() {- (0, Tt.flushSync)(Yse);+function kN() {+ (0, Tt.flushSync)(Xse);}-function jN() {- let e = TN ? fj(TN.id) : 0;- return e ? `${wN} · ${mj(e)}` : wN;+function AN() {+ let e = wN ? dj(wN.id) : 0;+ return e ? `${CN} · ${pj(e)}` : CN;}-function MN(e, t = null) {- clearInterval(EN), EN = 0, e === null ? (fN = {- ...fN,+function jN(e, t = null) {+ clearInterval(TN), TN = 0, e === null ? (dN = {+ ...dN,loading: null- }, AN()) : (wN = e, TN = t, fN = {- ...fN,- loading: jN()- }, AN(), EN = window.setInterval(() => {- TN = vN[yN] ?? null, fN = {- ...fN,- loading: jN()- }, AN();+ }, kN()) : (CN = e, wN = t, dN = {+ ...dN,+ loading: AN()+ }, kN(), TN = window.setInterval(() => {+ wN = _N[vN] ?? null, dN = {+ ...dN,+ loading: AN()+ }, kN();}, 500));}-function Xse(e) {+function Zse(e) {let t = document.createElement("div");t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);let n = document.createElement("video");- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), dN.track.append(t);- let r = Vj(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), uN.track.append(t);+ let r = Bj(), i = () => {}, a = {el: t,video: n,session: r,- release: () => Wj(r),+ release: () => Uj(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return CN.add(a), a;+ return SN.add(a), a;}-function Zse(e, t) {+function Qse(e, t) {return new Promise((n) => {- e.release = aM(e.video, {+ e.release = iM(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- fN.open && zN(1);+ dN.open && RN(1);}}), e.gone.then(n);});}-function NN(e) {- e && !e.disposed && (e.disposed = !0, CN.delete(e), e.leave(), e.release(), e.el.remove(), SN === e && (SN = null));+function MN(e) {+ e && !e.disposed && (e.disposed = !0, SN.delete(e), e.leave(), e.release(), e.el.remove(), xN === e && (xN = null));}-var PN = [+var NN = ["loadeddata","canplay","error"];-function Qse(e) {+function $se(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), PN.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), NN.forEach((e) => t.removeEventListener(e, i)), n());};- PN.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, qse);+ NN.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, Jse);e.gone.then(i);});}-function FN(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Gse(e.videoWidth, e.videoHeight, n);+function PN(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Kse(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var IN = () => dN?.track.querySelectorAll("video").forEach(FN);-function $se(e) {- delete e.dataset.fit, e.readyState >= 1 ? FN(e) : e.addEventListener("loadedmetadata", () => FN(e), { once: !0 });-}+var FN = () => uN?.track.querySelectorAll("video").forEach(PN);function ece(e) {- fN = {- ...fN,+ delete e.dataset.fit, e.readyState >= 1 ? PN(e) : e.addEventListener("loadedmetadata", () => PN(e), { once: !0 });+}+function tce(e) {+ dN = {+ ...dN,wide: e- }, AN(), IN();+ }, kN(), FN();}-var LN = () => {- let e = _N;+var IN = () => {+ let e = gN;return U.fetchQuery({- queryKey: Rse(e, hN, gN),- queryFn: () => Hse(e, kN().sourceOffline),+ queryKey: zse(e, mN, hN),+ queryFn: () => Use(e, ON().sourceOffline),staleTime: Infinity});};-function tce(e, t) {+function nce(e, t) {let n = () => mn(e.duration) || mn(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && dN && (dN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), DN = {+ t && uN && (uN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), EN = {video: e,duration: n};}-async function RN(e = 0) {- let t = vN[yN];- if (!t || bN) return;- let n = mN;- kN().route(t.id), bN = !0, MN(e ? "切换中" : "加载中", t);+async function LN(e = 0) {+ let t = _N[vN];+ if (!t || yN) return;+ let n = pN;+ ON().route(t.id), yN = !0, jN(e ? "切换中" : "加载中", t);let r = null;try {- if (await cN(t.id).catch((e) => {- if (!(e instanceof qM)) throw e;- }), n !== mN) return;- let i = SN, a = !!(e && i);- a || NN(i);- let o = Xse(a ? e > 0 ? 100 : -100 : 0);- if (r = o, $se(o.video), await Zse(o, t), await Qse(o), o.disposed || (ece(Kse(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await sN(t.id).catch((e) => {+ if (!(e instanceof KM)) throw e;+ }), n !== pN) return;+ let i = xN, a = !!(e && i);+ a || MN(i);+ let o = Zse(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, ece(o.video), await Qse(o, t), await $se(o), o.disposed || (tce(qse(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";- })), await new Promise((e) => setTimeout(e, 210)), NN(i), o.el.style.transform = ""), o.disposed)) return;- SN = o, r = null, o.video.play()?.catch(() => {}), fN = {- ...fN,+ })), await new Promise((e) => setTimeout(e, 210)), MN(i), o.el.style.transform = ""), o.disposed)) return;+ xN = o, r = null, o.video.play()?.catch(() => {}), dN = {+ ...dN,idle: !1,shown: {item: t,- index: yN,- length: vN.length+ index: vN,+ length: _N.length}- }, tce(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), MN(null);+ }, nce(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), jN(null);} catch {- NN(r), n === mN && MN(null);+ MN(r), n === pN && jN(null);} finally {- n === mN && (bN = !1);+ n === pN && (yN = !1);}}-async function zN(e) {- if (bN || !fN.open) return;- let t = mN;- if (yN += e, MN("切换中", vN[yN] ?? null), yN >= vN.length - 3 && !xN) {- xN = !0;+async function RN(e) {+ if (yN || !dN.open) return;+ let t = pN;+ if (vN += e, jN("切换中", _N[vN] ?? null), vN >= _N.length - 3 && !bN) {+ bN = !0;try {- gN += 1;- let e = await LN();- t === mN && (vN = Use(vN, e));+ hN += 1;+ let e = await IN();+ t === pN && (_N = Wse(_N, e));} catch {} finally {- xN = !1;+ bN = !1;}}- t === mN && (yN >= vN.length && (yN = 0), yN < 0 && (yN = vN.length - 1), await RN(e));+ t === pN && (vN >= _N.length && (vN = 0), vN < 0 && (vN = _N.length - 1), await LN(e));}-async function nce(e) {- let t = ++mN;- BN(), hN += 1, gN = 0, _N = zse(kN().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), fN = {- ...fN,+async function rce(e) {+ let t = ++pN;+ zN(), mN += 1, hN = 0, gN = Bse(ON().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), dN = {+ ...dN,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), MN("加载内容");+ }, document.body.setAttribute("data-immerse-open", ""), jN("加载内容");try {- let n = await LN();+ let n = await IN();if (e && !n.some((t) => t.id === e)) {- let t = await cN(e).catch((e) => {- if (e instanceof qM) return null;+ let t = await sN(e).catch((e) => {+ if (e instanceof KM) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== mN) return;- if (vN = n, !vN.length) {- VN(), kN().warn("当前筛选下没有可直接播放的内容");+ if (t !== pN) return;+ if (_N = n, !_N.length) {+ BN(), ON().warn("当前筛选下没有可直接播放的内容");return;}- yN = Math.max(0, vN.findIndex((t) => t.id === e)), await RN();+ vN = Math.max(0, _N.findIndex((t) => t.id === e)), await LN();} catch {- if (t !== mN) return;- MN(null), VN();+ if (t !== pN) return;+ jN(null), BN();}}-function BN() {- clearInterval(EN), EN = 0, qN(), GN = null, DN = null, ON = !1, [...CN].forEach(NN), bN = !1;+function zN() {+ clearInterval(TN), TN = 0, KN(), WN = null, EN = null, DN = !1, [...SN].forEach(MN), yN = !1;}-function VN() {- fN.open && (mN++, BN(), fN = lN, document.body.removeAttribute("data-immerse-open"), AN(), kN().closed());+function BN() {+ dN.open && (pN++, zN(), dN = cN, document.body.removeAttribute("data-immerse-open"), kN(), ON().closed());}-var HN = 0, UN = null, WN = 0, GN = null, KN = 0;-function qN() {- clearTimeout(HN), HN = 0, UN = null;+var VN = 0, HN = null, UN = 0, WN = null, GN = 0;+function KN() {+ clearTimeout(VN), VN = 0, HN = null;}-function rce(e) {- let t = SN?.video;+function ice(e) {+ let t = xN?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- UN && UN.side === n && r - UN.at <= 280 ? (qN(), sM(t, kN().seekSeconds() * n)) : (HN && (clearTimeout(HN), HN = 0, oM(t)), UN = {+ HN && HN.side === n && r - HN.at <= 280 ? (KN(), oM(t, ON().seekSeconds() * n)) : (VN && (clearTimeout(VN), VN = 0, aM(t)), HN = {side: n,at: r- }, HN = window.setTimeout(() => {- HN = 0, UN = null, fN.open && oM(SN?.video);+ }, VN = window.setTimeout(() => {+ VN = 0, HN = null, dN.open && aM(xN?.video);}, 280));}-function ice() {- Date.now() < WN || oM(SN?.video);+function ace() {+ Date.now() < UN || aM(xN?.video);}-var JN = (e) => dN?.bar.toggleAttribute("data-scrubbing", e);-function YN(e) {- dN && (dN.progress.style.width = `${(e * 100).toFixed(2)}%`);+var qN = (e) => uN?.bar.toggleAttribute("data-scrubbing", e);+function JN(e) {+ uN && (uN.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function XN(e) {+function YN(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- GN = null;+ WN = null;return;}- let n = SN?.video;- GN = {+ let n = xN?.video;+ WN = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function ZN(e) {- if (!GN || e.touches.length !== 1) return;- let t = e.touches[0].clientX - GN.x, n = e.touches[0].clientY - GN.y;- if (!GN.axis) {+function XN(e) {+ if (!WN || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - WN.x, n = e.touches[0].clientY - WN.y;+ if (!WN.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- GN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", GN.axis === "x" && JN(!0);+ WN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", WN.axis === "x" && qN(!0);}- if (GN.axis !== "x") return;- let r = SN?.video, i = r && r.duration || 0;- i && (e.preventDefault(), GN.to = Math.min(i, Math.max(0, GN.from + t / window.innerWidth * i)), YN(GN.to / i));+ if (WN.axis !== "x") return;+ let r = xN?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), WN.to = Math.min(i, Math.max(0, WN.from + t / window.innerWidth * i)), JN(WN.to / i));}-function QN(e) {- if (!GN) return;- let t = GN;- if (GN = null, WN = Date.now() + 700, JN(!1), t.axis === "x") {- let e = SN?.video;+function ZN(e) {+ if (!WN) return;+ let t = WN;+ if (WN = null, UN = Date.now() + 700, qN(!1), t.axis === "x") {+ let e = xN?.video;e && t.to != null && (e.currentTime = t.to);return;}let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;- Math.abs(i) > 60 ? (qN(), zN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), rce(n.clientX));+ Math.abs(i) > 60 ? (KN(), RN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), ice(n.clientX));}-function $N() {- GN = null, JN(!1);+function QN() {+ WN = null, qN(!1);}-function eP(e) {+function $N(e) {let t = Date.now();- t - KN < 260 || (KN = t, zN(e.deltaY > 0 ? 1 : -1));+ t - GN < 260 || (GN = t, RN(e.deltaY > 0 ? 1 : -1));}-function tP(e) {- let t = dN.bar.getBoundingClientRect();+function eP(e) {+ let t = uN.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function ace(e) {- DN?.duration() && (ON = !0, JN(!0), e.currentTarget.setPointerCapture(e.pointerId), YN(tP(e)), e.preventDefault());-}function oce(e) {- ON && YN(tP(e));+ EN?.duration() && (DN = !0, qN(!0), e.currentTarget.setPointerCapture(e.pointerId), JN(eP(e)), e.preventDefault());}function sce(e) {- if (!ON) return;- ON = !1, JN(!1);- let t = DN?.duration();- DN && t && (DN.video.currentTime = t * tP(e));+ DN && JN(eP(e));}-function cce() {- ON = !1, JN(!1);+function cce(e) {+ if (!DN) return;+ DN = !1, qN(!1);+ let t = EN?.duration();+ EN && t && (EN.video.currentTime = t * eP(e));}-async function nP(e, t) {- let n = await H(HM, {+function lce() {+ DN = !1, qN(!1);+}+async function tP(e, t) {+ let n = await H(VM, {id: e,kind: t- }), r = U.getQueryData(zM(e));- if (!r) return NM(e, {+ }), r = U.getQueryData(RM(e));+ if (!r) return MM(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -33309,7 +33309,7 @@ async function nP(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return U.setQueryData(zM(e), i), NM(e, {+ return U.setQueryData(RM(e), i), MM(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -33317,7 +33317,7 @@ async function nP(e, t) {o_count: i.o_count}), n;}-var lce = [+var uce = [{kind: "dislike",glyph: "thumbs-down",@@ -33334,31 +33334,31 @@ var lce = [label: "记一次高潮"}];-function rP(e) {+function nP(e) {return St({- queryKey: zM(e ?? 0),- queryFn: ({ signal: t }) => JM(e, t),+ queryKey: RM(e ?? 0),+ queryFn: ({ signal: t }) => qM(e, t),enabled: e != null,staleTime: Infinity}).data;}-function uce({ kind: e, glyph: t, label: n, id: r }) {- let i = rP(r), a = Ct({+function dce({ kind: e, glyph: t, label: n, id: r }) {+ let i = nP(r), a = Ct({mutationFn: async (t) => {- let n = U.getQueryData(zM(t))?.feedback || null;+ let n = U.getQueryData(RM(t))?.feedback || null;return {- result: await nP(t, e),+ result: await tP(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- kN().toast(sN(e, t), { undo: async () => {- e === "o" ? await nP(r, "o-undo") : (t.feedback && await nP(r, t.feedback), n && await nP(r, n));+ ON().toast(oN(e, t), { undo: async () => {+ e === "o" ? await tP(r, "o-undo") : (t.feedback && await tP(r, t.feedback), n && await tP(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- zN(1);+ RN(1);}, 260);},- onError: (e) => kN().failure("更新反馈", e)+ onError: (e) => ON().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-immerse-action": "",@@ -33389,11 +33389,11 @@ function uce({ kind: e, glyph: t, label: n, id: r }) {})]});}-function dce({ shown: e }) {- let t = e?.item ?? null, n = rP(t?.id ?? null), r = n ? Wse(n) : null, i = kN(), a = (e) => {- e.preventDefault(), n && (VN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function fce({ shown: e }) {+ let t = e?.item ?? null, n = nP(t?.id ?? null), r = n ? Gse(n) : null, i = ON(), a = (e) => {+ e.preventDefault(), n && (BN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (VN(), i.openItem(t.id));+ t && (BN(), i.openItem(t.id));}, s = r ? La(r.name, r.ref, va(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, O.jsxs)("div", {"data-immerse-ui": "",@@ -33422,18 +33422,18 @@ function dce({ shown: e }) {})]});}-var fce = { __html: ns("媒体加载中") };-function pce({ view: e }) {+var pce = { __html: ns("媒体加载中") };+function mce({ view: e }) {let t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = (0, D.useRef)(null), i = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {let e = t.current;- return dN = {+ return uN = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", XN, { passive: !0 }), e.addEventListener("touchmove", ZN, { passive: !1 }), e.addEventListener("touchend", QN, { passive: !1 }), e.addEventListener("touchcancel", $N, { passive: !0 }), e.addEventListener("wheel", eP, { passive: !0 }), () => {- e.removeEventListener("touchstart", XN), e.removeEventListener("touchmove", ZN), e.removeEventListener("touchend", QN), e.removeEventListener("touchcancel", $N), e.removeEventListener("wheel", eP), dN = null;+ }, e.addEventListener("touchstart", YN, { passive: !0 }), e.addEventListener("touchmove", XN, { passive: !1 }), e.addEventListener("touchend", ZN, { passive: !1 }), e.addEventListener("touchcancel", QN, { passive: !0 }), e.addEventListener("wheel", $N, { passive: !0 }), () => {+ e.removeEventListener("touchstart", YN), e.removeEventListener("touchmove", XN), e.removeEventListener("touchend", ZN), e.removeEventListener("touchcancel", QN), e.removeEventListener("wheel", $N), uN = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -33450,10 +33450,10 @@ function pce({ view: e }) {children: [/* @__PURE__ */ (0, O.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: ice+ onClick: ace}), /* @__PURE__ */ (0, O.jsx)("div", {"data-immerse-actions": "",- children: lce.map((e) => /* @__PURE__ */ (0, O.jsx)(uce, {+ children: uce.map((e) => /* @__PURE__ */ (0, O.jsx)(dce, {...e,id: a}, e.kind))@@ -33466,7 +33466,7 @@ function pce({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: fce+ dangerouslySetInnerHTML: pce}), /* @__PURE__ */ (0, O.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -33474,7 +33474,7 @@ function pce({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: VN,+ onClick: BN,children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-x" })@@ -33483,90 +33483,90 @@ function pce({ view: e }) {/* @__PURE__ */ (0, O.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: ace,- onPointerMove: oce,- onPointerUp: sce,- onPointerCancel: cce,+ onPointerDown: oce,+ onPointerMove: sce,+ onPointerUp: cce,+ onPointerCancel: lce,children: /* @__PURE__ */ (0, O.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, O.jsx)(dce, { shown: e.shown })+ /* @__PURE__ */ (0, O.jsx)(fce, { shown: e.shown })]});}-var mce = {- open: nce,- close: VN,- isOpen: () => fN.open,- activeVideo: () => fN.open ? SN?.video ?? null : null+var hce = {+ open: rce,+ close: BN,+ isOpen: () => dN.open,+ activeVideo: () => dN.open ? xN?.video ?? null : null};-function hce(e) {- if (!fN.open) return;+function gce(e) {+ if (!dN.open) return;let t = e.target;- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && zN(1), e.key === "ArrowUp" && zN(-1)));+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && RN(1), e.key === "ArrowUp" && RN(-1)));}-function gce(e) {- let t = !uN;- return uN = e, t && (document.addEventListener("keydown", hce), addEventListener("resize", () => {- fN.open && IN();+function _ce(e) {+ let t = !lN;+ return lN = e, t && (document.addEventListener("keydown", gce), addEventListener("resize", () => {+ dN.open && FN();}), addEventListener("pagehide", () => {- CN.forEach((e) => Wj(e.session));- })), mce;+ SN.forEach((e) => Uj(e.session));+ })), hce;}-function _ce() {- let e = (0, D.useSyncExternalStore)(Jse, () => fN);- return uN ? /* @__PURE__ */ (0, O.jsx)(pce, { view: e }) : null;+function vce() {+ let e = (0, D.useSyncExternalStore)(Yse, () => dN);+ return lN ? /* @__PURE__ */ (0, O.jsx)(mce, { view: e }) : null;}//#endregion//#region src/manage-header.ts-var iP = {+var rP = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, vce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function yce(e) {- let t = iP[e.path] ? "cleanup" : e.section;+}, yce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function bce(e) {+ let t = rP[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var bce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function aP(e) {+var xce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function iP(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = iP[e.path] ?? "";+ let n = rP[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: yce(e),+ pressed: bce(e),crumb: n,- compact: vce.has(e.path) || e.section === "configuration",+ compact: yce.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: bce(e.trash),+ text: xce(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var oP = (e) => e.replace(/[&<>"']/g, (e) => ({+var aP = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), sP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${oP(e)}"/></svg>`, cP = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";-function xce(e) {- let t = aP(e);+})[e]), oP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${aP(e)}"/></svg>`, sP = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";+function Sce(e) {+ let t = iP(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${oP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${sP(r)}<span>${oP(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${sP("chevron-right")}</li><li aria-current="true"><span>${oP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? cP : `<span data-lede-text="">${oP(t.lede.text)}</span>${t.lede.total ? Sce : ""}`}</p>`;- return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${oP(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${aP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${oP(r)}<span>${aP(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${oP("chevron-right")}</li><li aria-current="true"><span>${aP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? sP : `<span data-lede-text="">${aP(t.lede.text)}</span>${t.lede.total ? Cce : ""}`}</p>`;+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${aP(t.title)}</h2>` + i;}-var Sce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var Cce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";//#endregion//#region src/react/settings-panel/icon.tsx-function lP({ name: e }) {+function cP({ name: e }) {let { wide: t, viewBox: n } = Gt(e);return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: n,@@ -33575,7 +33575,7 @@ function lP({ name: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function Cce({ name: e }) {+function wce({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -33584,88 +33584,88 @@ function Cce({ name: e }) {}//#endregion//#region node_modules/tailwind-merge/dist/bundle-mjs.mjs-var wce = (e, t) => {+var Tce = (e, t) => {let n = Array(e.length + t.length);for (let t = 0; t < e.length; t++) n[t] = e[t];for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];return n;-}, Tce = (e, t) => ({+}, Ece = (e, t) => ({classGroupId: e,validator: t-}), uP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), lP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), dP = "-", fP = [], Ece = "arbitrary..", Dce = (e) => {- let t = kce(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), uP = "-", dP = [], Dce = "arbitrary..", Oce = (e) => {+ let t = Ace(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return Oce(e);- let n = e.split(dP);- return pP(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return kce(e);+ let n = e.split(uP);+ return fP(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? wce(i, t) : t : i || fP;+ return t ? i ? Tce(i, t) : t : i || dP;}- return n[e] || fP;+ return n[e] || dP;}};-}, pP = (e, t, n) => {+}, fP = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = pP(e, t + 1, i);+ let n = fP(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(dP) : e.slice(t).join(dP), s = a.length;+ let o = t === 0 ? e.join(uP) : e.slice(t).join(uP), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, Oce = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, kce = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);- return r ? Ece + r : void 0;-})(), kce = (e) => {+ return r ? Dce + r : void 0;+})(), Ace = (e) => {let { theme: t, classGroups: n } = e;- return Ace(n, t);-}, Ace = (e, t) => {- let n = uP();+ return jce(n, t);+}, jce = (e, t) => {+ let n = lP();for (let r in e) {let i = e[r];- mP(i, n, r, t);+ pP(i, n, r, t);}return n;-}, mP = (e, t, n, r) => {+}, pP = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- jce(i, t, n, r);+ Mce(i, t, n, r);}-}, jce = (e, t, n, r) => {- typeof e == "string" ? Mce(e, t, n) : typeof e == "function" ? Nce(e, t, n, r) : Pce(e, t, n, r);-}, Mce = (e, t, n) => {- let r = e === "" ? t : hP(t, e);+}, Mce = (e, t, n, r) => {+ typeof e == "string" ? Nce(e, t, n) : typeof e == "function" ? Pce(e, t, n, r) : Fce(e, t, n, r);+}, Nce = (e, t, n) => {+ let r = e === "" ? t : mP(t, e);r.classGroupId = n;-}, Nce = (e, t, n, r) => {- Fce(e) ? mP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Tce(n, e)));}, Pce = (e, t, n, r) => {+ Ice(e) ? pP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Ece(n, e)));+}, Fce = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- mP(o, hP(t, a), n, r);+ pP(o, mP(t, a), n, r);}-}, hP = (e, t) => {- let n = e, r = t.split(dP), i = r.length;+}, mP = (e, t) => {+ let n = e, r = t.split(uP), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = uP(), n.nextPart.set(t, i)), n = i;+ i || (i = lP(), n.nextPart.set(t, i)), n = i;}return n;-}, Fce = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ice = (e) => {+}, Ice = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Lce = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -33683,19 +33683,19 @@ var wce = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, gP = "!", _P = ":", Lce = [], vP = (e, t, n, r, i) => ({+}, hP = "!", gP = ":", Rce = [], _P = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), Rce = (e) => {+}), zce = (e) => {let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {let t = [], n = 0, r = 0, i = 0, a, o = e.length;for (let s = 0; s < o; s++) {let o = e[s];if (n === 0 && r === 0) {- if (o === _P) {+ if (o === gP) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -33707,13 +33707,13 @@ var wce = (e, t) => {o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(gP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(gP) && (c = s.slice(1), l = !0);+ s.endsWith(hP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(hP) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return vP(t, l, c, u);+ return _P(t, l, c, u);};if (t) {- let e = t + _P, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : vP(Lce, !1, t, void 0, !0);+ let e = t + gP, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : _P(Rce, !1, t, void 0, !0);}if (n) {let e = r;@@ -33723,7 +33723,7 @@ var wce = (e, t) => {});}return r;-}, zce = (e) => {+}, Bce = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -33735,18 +33735,18 @@ var wce = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, Bce = (e) => ({- cache: Ice(e.cacheSize),- parseClassName: Rce(e),- sortModifiers: zce(e),- postfixLookupClassGroupIds: Vce(e),- ...Dce(e)-}), Vce = (e) => {+}, Vce = (e) => ({+ cache: Lce(e.cacheSize),+ parseClassName: zce(e),+ sortModifiers: Bce(e),+ postfixLookupClassGroupIds: Hce(e),+ ...Oce(e)+}), Hce = (e) => {let t = Object.create(null), n = e.postfixLookupClassGroups;if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;return t;-}, Hce = /\s+/, Uce = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Hce), l = "";+}, Uce = /\s+/, Wce = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Uce), l = "";for (let e = c.length - 1; e >= 0; --e) {let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);if (u) {@@ -33766,7 +33766,7 @@ var wce = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + gP : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + hP : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -33777,34 +33777,34 @@ var wce = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, Wce = (...e) => {+}, Gce = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = yP(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = vP(n)) && (i && (i += " "), i += r);return i;-}, yP = (e) => {+}, vP = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = yP(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = vP(e[r])) && (n && (n += " "), n += t);return n;-}, bP = (e, ...t) => {- let n, r, i, a, o = (o) => (n = Bce(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, yP = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = Vce(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {let t = r(e);if (t) return t;- let a = Uce(e, n);+ let a = Wce(e, n);return i(e, a), a;};- return a = o, (...e) => a(Wce(...e));-}, Gce = [], xP = (e) => {- let t = (t) => t[e] || Gce;+ return a = o, (...e) => a(Gce(...e));+}, Kce = [], bP = (e) => {+ let t = (t) => t[e] || Kce;return t.isThemeGetter = !0, t.themeKey = e, t;-}, SP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, CP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Kce = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, qce = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Jce = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Yce = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Xce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Zce = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, wP = (e) => Kce.test(e), TP = (e) => !!e && !Number.isNaN(Number(e)), EP = (e) => !!e && Number.isInteger(Number(e)), DP = (e) => e.endsWith("%") && TP(e.slice(0, -1)), OP = (e) => qce.test(e), kP = () => !0, Qce = (e) => Jce.test(e) && !Yce.test(e), AP = () => !1, $ce = (e) => Xce.test(e), ele = (e) => Zce.test(e), tle = (e) => !jP(e) && !IP(e), nle = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), rle = (e) => BP(e, WP, AP), jP = (e) => SP.test(e), MP = (e) => BP(e, GP, Qce), NP = (e) => BP(e, dle, TP), ile = (e) => BP(e, qP, kP), ale = (e) => BP(e, KP, AP), PP = (e) => BP(e, HP, AP), ole = (e) => BP(e, UP, ele), FP = (e) => BP(e, JP, $ce), IP = (e) => CP.test(e), LP = (e) => VP(e, GP), sle = (e) => VP(e, KP), RP = (e) => VP(e, HP), cle = (e) => VP(e, WP), lle = (e) => VP(e, UP), zP = (e) => VP(e, JP, !0), ule = (e) => VP(e, qP, !0), BP = (e, t, n) => {- let r = SP.exec(e);+}, xP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, SP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, qce = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Jce = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Yce = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Xce = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Zce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qce = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, CP = (e) => qce.test(e), wP = (e) => !!e && !Number.isNaN(Number(e)), TP = (e) => !!e && Number.isInteger(Number(e)), EP = (e) => e.endsWith("%") && wP(e.slice(0, -1)), DP = (e) => Jce.test(e), OP = () => !0, $ce = (e) => Yce.test(e) && !Xce.test(e), kP = () => !1, ele = (e) => Zce.test(e), tle = (e) => Qce.test(e), nle = (e) => !AP(e) && !FP(e), rle = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), ile = (e) => zP(e, UP, kP), AP = (e) => xP.test(e), jP = (e) => zP(e, WP, $ce), MP = (e) => zP(e, fle, wP), ale = (e) => zP(e, KP, OP), ole = (e) => zP(e, GP, kP), NP = (e) => zP(e, VP, kP), sle = (e) => zP(e, HP, tle), PP = (e) => zP(e, qP, ele), FP = (e) => SP.test(e), IP = (e) => BP(e, WP), cle = (e) => BP(e, GP), LP = (e) => BP(e, VP), lle = (e) => BP(e, UP), ule = (e) => BP(e, HP), RP = (e) => BP(e, qP, !0), dle = (e) => BP(e, KP, !0), zP = (e, t, n) => {+ let r = xP.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, VP = (e, t, n = !1) => {- let r = CP.exec(e);+}, BP = (e, t, n = !1) => {+ let r = SP.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, HP = (e) => e === "position" || e === "percentage", UP = (e) => e === "image" || e === "url", WP = (e) => e === "length" || e === "size" || e === "bg-size", GP = (e) => e === "length", dle = (e) => e === "number", KP = (e) => e === "family-name", qP = (e) => e === "number" || e === "weight", JP = (e) => e === "shadow", YP = () => {- let e = xP("color"), t = xP("font"), n = xP("text"), r = xP("font-weight"), i = xP("tracking"), a = xP("leading"), o = xP("breakpoint"), s = xP("container"), c = xP("spacing"), l = xP("radius"), u = xP("shadow"), d = xP("inset-shadow"), f = xP("text-shadow"), p = xP("drop-shadow"), m = xP("blur"), h = xP("perspective"), g = xP("aspect"), _ = xP("ease"), v = xP("animate"), y = () => [+}, VP = (e) => e === "position" || e === "percentage", HP = (e) => e === "image" || e === "url", UP = (e) => e === "length" || e === "size" || e === "bg-size", WP = (e) => e === "length", fle = (e) => e === "number", GP = (e) => e === "family-name", KP = (e) => e === "number" || e === "weight", qP = (e) => e === "shadow", JP = () => {+ let e = bP("color"), t = bP("font"), n = bP("text"), r = bP("font-weight"), i = bP("tracking"), a = bP("leading"), o = bP("breakpoint"), s = bP("container"), c = bP("spacing"), l = bP("radius"), u = bP("shadow"), d = bP("inset-shadow"), f = bP("text-shadow"), p = bP("drop-shadow"), m = bP("blur"), h = bP("perspective"), g = bP("aspect"), _ = bP("ease"), v = bP("animate"), y = () => ["auto","avoid","all",@@ -33829,8 +33829,8 @@ var wce = (e, t) => {"left-bottom"], x = () => [...b(),- IP,- jP+ FP,+ AP], S = () => ["auto","hidden",@@ -33842,43 +33842,43 @@ var wce = (e, t) => {"contain","none"], w = () => [- IP,- jP,+ FP,+ AP,c], T = () => [- wP,+ CP,"full","auto",...w()], E = () => [- EP,+ TP,"none","subgrid",- IP,- jP+ FP,+ AP], D = () => ["auto",{ span: ["full",- EP,- IP,- jP+ TP,+ FP,+ AP] },- EP,- IP,- jP+ TP,+ FP,+ AP], O = () => [- EP,+ TP,"auto",- IP,- jP+ FP,+ AP], k = () => ["auto","min","max","fr",- IP,- jP+ FP,+ AP], A = () => ["start","end",@@ -33898,7 +33898,7 @@ var wce = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], N = () => [- wP,+ CP,"auto","full","dvw",@@ -33913,7 +33913,7 @@ var wce = (e, t) => {...w()], P = () => [s,- wP,+ CP,"screen","full","dvw",@@ -33924,7 +33924,7 @@ var wce = (e, t) => {"fit",...w()], ee = () => [- wP,+ CP,"screen","full","lh",@@ -33937,13 +33937,13 @@ var wce = (e, t) => {...w()], F = () => [e,- IP,- jP+ FP,+ AP], te = () => [...b(),- RP,- PP,- { position: [IP, jP] }+ LP,+ NP,+ { position: [FP, AP] }], I = () => ["no-repeat", { repeat: ["","x",@@ -33954,25 +33954,25 @@ var wce = (e, t) => {"auto","cover","contain",- cle,- rle,- { size: [IP, jP] }+ lle,+ ile,+ { size: [FP, AP] }], re = () => [- DP,- LP,- MP+ EP,+ IP,+ jP], ie = () => ["","none","full",l,- IP,- jP+ FP,+ AP], ae = () => ["",- TP,- LP,- MP+ wP,+ IP,+ jP], oe = () => ["solid","dashed",@@ -33996,32 +33996,32 @@ var wce = (e, t) => {"color","luminosity"], ce = () => [- TP,- DP,- RP,- PP+ wP,+ EP,+ LP,+ NP], le = () => ["","none",m,- IP,- jP+ FP,+ AP], ue = () => ["none",- TP,- IP,- jP+ wP,+ FP,+ AP], de = () => ["none",- TP,- IP,- jP+ wP,+ FP,+ AP], fe = () => [- TP,- IP,- jP- ], pe = () => [wP,+ FP,+ AP+ ], pe = () => [+ CP,"full",...w()];@@ -34035,17 +34035,17 @@ var wce = (e, t) => {"bounce"],aspect: ["video"],- blur: [OP],- breakpoint: [OP],- color: [kP],- container: [OP],- "drop-shadow": [OP],+ blur: [DP],+ breakpoint: [DP],+ color: [OP],+ container: [DP],+ "drop-shadow": [DP],ease: ["in","out","in-out"],- font: [tle],+ font: [nle],"font-weight": ["thin","extralight",@@ -34057,7 +34057,7 @@ var wce = (e, t) => {"extrabold","black"],- "inset-shadow": [OP],+ "inset-shadow": [DP],leading: ["none","tight",@@ -34074,11 +34074,11 @@ var wce = (e, t) => {"distant","none"],- radius: [OP],- shadow: [OP],- spacing: ["px", TP],- text: [OP],- "text-shadow": [OP],+ radius: [DP],+ shadow: [DP],+ spacing: ["px", wP],+ text: [DP],+ "text-shadow": [DP],tracking: ["tighter","tight",@@ -34092,9 +34092,9 @@ var wce = (e, t) => {aspect: [{ aspect: ["auto","square",- wP,- jP,- IP,+ CP,+ AP,+ FP,g] }],container: ["container"],@@ -34102,15 +34102,15 @@ var wce = (e, t) => {"","normal","size",- IP,- jP+ FP,+ AP] }],- "container-named": [nle],+ "container-named": [rle],columns: [{ columns: [- TP,+ wP,"auto",- jP,- IP,+ AP,+ FP,s] }],"break-after": [{ "break-after": y() }],@@ -34207,13 +34207,13 @@ var wce = (e, t) => {"collapse"],z: [{ z: [- EP,+ TP,"auto",- IP,- jP+ FP,+ AP] }],basis: [{ basis: [- wP,+ CP,"full","auto",s,@@ -34231,32 +34231,32 @@ var wce = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- TP,wP,+ CP,"auto","initial","none",- jP+ AP] }],grow: [{ grow: ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],shrink: [{ shrink: ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],order: [{ order: [- EP,+ TP,"first","last","none",- IP,- jP+ FP,+ AP] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -34363,15 +34363,15 @@ var wce = (e, t) => {"font-size": [{ text: ["base",n,- LP,- MP+ IP,+ jP] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- ule,- ile+ dle,+ ale] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -34383,15 +34383,15 @@ var wce = (e, t) => {"expanded","extra-expanded","ultra-expanded",- DP,- jP+ EP,+ AP] }],"font-family": [{ font: [- sle,- ale,+ cle,+ ole,t] }],- "font-features": [{ "font-features": [jP] }],+ "font-features": [{ "font-features": [AP] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -34400,14 +34400,14 @@ var wce = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- IP,- jP+ FP,+ AP] }],"line-clamp": [{ "line-clamp": [- TP,+ wP,"none",- IP,- NP+ FP,+ MP] }],leading: [{ leading: ["none",@@ -34416,16 +34416,16 @@ var wce = (e, t) => {] }],"list-image": [{ "list-image": ["none",- IP,- jP+ FP,+ AP] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- IP,- jP+ FP,+ AP] }],"text-alignment": [{ text: ["left",@@ -34445,18 +34445,18 @@ var wce = (e, t) => {],"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- TP,+ wP,"from-font","auto",- IP,- MP+ FP,+ jP] }],"text-decoration-color": [{ decoration: F() }],"underline-offset": [{ "underline-offset": [- TP,+ wP,"auto",- IP,- jP+ FP,+ AP] }],"text-transform": ["uppercase",@@ -34477,9 +34477,9 @@ var wce = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- EP,- IP,- jP+ TP,+ FP,+ AP] }],"vertical-align": [{ align: ["baseline",@@ -34490,8 +34490,8 @@ var wce = (e, t) => {"text-bottom","sub","super",- IP,- jP+ FP,+ AP] }],whitespace: [{ whitespace: ["normal",@@ -34519,8 +34519,8 @@ var wce = (e, t) => {] }],content: [{ content: ["none",- IP,- jP+ FP,+ AP] }],"bg-attachment": [{ bg: ["fixed",@@ -34555,24 +34555,24 @@ var wce = (e, t) => {"l","tl"] },- EP,- IP,- jP+ TP,+ FP,+ AP],radial: ["",- IP,- jP+ FP,+ AP],conic: ["",- EP,- IP,- jP+ TP,+ FP,+ AP]},- lle,- ole+ ule,+ sle] }],"bg-color": [{ bg: F() }],"gradient-from-pos": [{ from: re() }],@@ -34639,15 +34639,15 @@ var wce = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"outline-w": [{ outline: ["",- TP,- LP,- MP+ wP,+ IP,+ jP] }],"outline-color": [{ outline: F() }],shadow: [{ shadow: [@@ -34655,35 +34655,35 @@ var wce = (e, t) => {"inner","none",u,- zP,- FP+ RP,+ PP] }],"shadow-color": [{ shadow: F() }],"inset-shadow": [{ "inset-shadow": ["none",d,- zP,- FP+ RP,+ PP] }],"inset-shadow-color": [{ "inset-shadow": F() }],"ring-w": [{ ring: ae() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: F() }],- "ring-offset-w": [{ "ring-offset": [TP, MP] }],+ "ring-offset-w": [{ "ring-offset": [wP, jP] }],"ring-offset-color": [{ "ring-offset": F() }],"inset-ring-w": [{ "inset-ring": ae() }],"inset-ring-color": [{ "inset-ring": F() }],"text-shadow": [{ "text-shadow": ["none",f,- zP,- FP+ RP,+ PP] }],"text-shadow-color": [{ "text-shadow": F() }],opacity: [{ opacity: [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"mix-blend": [{ "mix-blend": [...se(),@@ -34705,7 +34705,7 @@ var wce = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [TP] }],+ "mask-image-linear-pos": [{ "mask-linear": [wP] }],"mask-image-linear-from-pos": [{ "mask-linear-from": ce() }],"mask-image-linear-to-pos": [{ "mask-linear-to": ce() }],"mask-image-linear-from-color": [{ "mask-linear-from": F() }],@@ -34734,7 +34734,7 @@ var wce = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": ce() }],"mask-image-y-from-color": [{ "mask-y-from": F() }],"mask-image-y-to-color": [{ "mask-y-to": F() }],- "mask-image-radial": [{ "mask-radial": [IP, jP] }],+ "mask-image-radial": [{ "mask-radial": [FP, AP] }],"mask-image-radial-from-pos": [{ "mask-radial-from": ce() }],"mask-image-radial-to-pos": [{ "mask-radial-to": ce() }],"mask-image-radial-from-color": [{ "mask-radial-from": F() }],@@ -34745,7 +34745,7 @@ var wce = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [TP] }],+ "mask-image-conic-pos": [{ "mask-conic": [wP] }],"mask-image-conic-from-pos": [{ "mask-conic-from": ce() }],"mask-image-conic-to-pos": [{ "mask-conic-to": ce() }],"mask-image-conic-from-color": [{ "mask-conic-from": F() }],@@ -34769,111 +34769,111 @@ var wce = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- IP,- jP+ FP,+ AP] }],filter: [{ filter: ["","none",- IP,- jP+ FP,+ AP] }],blur: [{ blur: le() }],brightness: [{ brightness: [- TP,- IP,- jP+ wP,+ FP,+ AP] }],contrast: [{ contrast: [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- zP,- FP+ RP,+ PP] }],"drop-shadow-color": [{ "drop-shadow": F() }],grayscale: [{ grayscale: ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],"hue-rotate": [{ "hue-rotate": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],invert: [{ invert: ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],saturate: [{ saturate: [- TP,- IP,- jP+ wP,+ FP,+ AP] }],sepia: [{ sepia: ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- IP,- jP+ FP,+ AP] }],"backdrop-blur": [{ "backdrop-blur": le() }],"backdrop-brightness": [{ "backdrop-brightness": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-contrast": [{ "backdrop-contrast": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-invert": [{ "backdrop-invert": ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-opacity": [{ "backdrop-opacity": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-saturate": [{ "backdrop-saturate": [- TP,- IP,- jP+ wP,+ FP,+ AP] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- TP,- IP,- jP+ wP,+ FP,+ AP] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -34889,39 +34889,39 @@ var wce = (e, t) => {"shadow","transform","none",- IP,- jP+ FP,+ AP] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- TP,+ wP,"initial",- IP,- jP+ FP,+ AP] }],ease: [{ ease: ["linear","initial",_,- IP,- jP+ FP,+ AP] }],delay: [{ delay: [- TP,- IP,- jP+ wP,+ FP,+ AP] }],animate: [{ animate: ["none",v,- IP,- jP+ FP,+ AP] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- IP,- jP+ FP,+ AP] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: ue() }],@@ -34937,8 +34937,8 @@ var wce = (e, t) => {"skew-x": [{ "skew-x": fe() }],"skew-y": [{ "skew-y": fe() }],transform: [{ transform: [- IP,- jP,+ FP,+ AP,"","none","gpu",@@ -34952,9 +34952,9 @@ var wce = (e, t) => {"translate-z": [{ "translate-z": pe() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- EP,- IP,- jP+ TP,+ FP,+ AP] }],accent: [{ accent: F() }],appearance: [{ appearance: ["none", "auto"] }],@@ -35004,8 +35004,8 @@ var wce = (e, t) => {"nwse-resize","zoom-in","zoom-out",- IP,- jP+ FP,+ AP] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -35091,15 +35091,15 @@ var wce = (e, t) => {"scroll","contents","transform",- IP,- jP+ FP,+ AP] }],fill: [{ fill: ["none", ...F()] }],"stroke-w": [{ stroke: [- TP,- LP,- MP,- NP+ wP,+ IP,+ jP,+ MP] }],stroke: [{ stroke: ["none", ...F()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -35357,16 +35357,16 @@ var wce = (e, t) => {"selection"]};-}, fle = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (XP(e, "cacheSize", t), XP(e, "prefix", n), XP(e, "experimentalParseClassName", r), ZP(e.theme, a.theme), ZP(e.classGroups, a.classGroups), ZP(e.conflictingClassGroups, a.conflictingClassGroups), ZP(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), XP(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), XP(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), QP(e.theme, i.theme), QP(e.classGroups, i.classGroups), QP(e.conflictingClassGroups, i.conflictingClassGroups), QP(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), $P(e, i, "postfixLookupClassGroups"), $P(e, i, "orderSensitiveModifiers"), e), XP = (e, t, n) => {+}, ple = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (YP(e, "cacheSize", t), YP(e, "prefix", n), YP(e, "experimentalParseClassName", r), XP(e.theme, a.theme), XP(e.classGroups, a.classGroups), XP(e.conflictingClassGroups, a.conflictingClassGroups), XP(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), YP(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), YP(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), ZP(e.theme, i.theme), ZP(e.classGroups, i.classGroups), ZP(e.conflictingClassGroups, i.conflictingClassGroups), ZP(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), QP(e, i, "postfixLookupClassGroups"), QP(e, i, "orderSensitiveModifiers"), e), YP = (e, t, n) => {n !== void 0 && (e[t] = n);+}, XP = (e, t) => {+ if (t) for (let n in t) YP(e, n, t[n]);}, ZP = (e, t) => {- if (t) for (let n in t) XP(e, n, t[n]);-}, QP = (e, t) => {- if (t) for (let n in t) $P(e, t, n);-}, $P = (e, t, n) => {+ if (t) for (let n in t) QP(e, t, n);+}, QP = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, ple = (e, ...t) => typeof e == "function" ? bP(YP, e, ...t) : bP(() => fle(YP(), e), ...t), mle = [+}, mle = (e, ...t) => typeof e == "function" ? yP(JP, e, ...t) : yP(() => ple(JP(), e), ...t), hle = ["large-title","display-1","display-2",@@ -35380,18 +35380,18 @@ var wce = (e, t) => {"body-2","caption-1","caption-2"-], hle = [+], gle = ["regular","medium","semibold","bold"-], eF = ple({ extend: { classGroups: { "font-size": [{ text: mle.flatMap((e) => hle.map((t) => `${e}-${t}`)) }] } } });-function tF(e) {+], $P = mle({ extend: { classGroups: { "font-size": [{ text: hle.flatMap((e) => gle.map((t) => `${e}-${t}`)) }] } } });+function eF(e) {return e;}//#endregion//#region src/react/components/pill-tab.tsx-var gle = typeof window < "u" ? D.useLayoutEffect : D.useEffect, nF = tF({+var _le = typeof window < "u" ? D.useLayoutEffect : D.useEffect, tF = eF({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -35413,9 +35413,9 @@ var gle = typeof window < "u" ? D.useLayoutEffect : D.useEffect, nF = tF({gray: "text-text-primary"}});-function rF({ children: e, className: t, ref: n, container: r, ...i }) {+function nF({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, D.useRef)(null), [o, s] = (0, D.useState)(null);- gle(() => {+ _le(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -35451,7 +35451,7 @@ function rF({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: eF("pointer-events-none absolute left-0 top-0", nF.radius[o.variant], nF.thumb[o.variant]),+ className: $P("pointer-events-none absolute left-0 top-0", tF.radius[o.variant], tF.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -35462,44 +35462,44 @@ function rF({ children: e, className: t, ref: n, container: r, ...i }) {return r === void 0 ? /* @__PURE__ */ (0, O.jsxs)("div", {ref: c,role: "group",- className: eF("relative inline-flex items-center gap-1", t),+ className: $P("relative inline-flex items-center gap-1", t),...i,children: [l, e]}) : r ? (0, Tt.createPortal)(l, r) : null;}//#endregion//#region src/react/manage-header/manage-header-island.tsx-var iF = null, aF = null, oF = /* @__PURE__ */ new Set();-function _le(e) {- return oF.add(e), () => {- oF.delete(e);+var rF = null, iF = null, aF = /* @__PURE__ */ new Set();+function vle(e) {+ return aF.add(e), () => {+ aF.delete(e);};}-function vle() {- for (let e of [...oF]) e();+function yle() {+ for (let e of [...aF]) e();}-var yle = { render(e) {- aF = e, (0, Tt.flushSync)(vle);+var ble = { render(e) {+ iF = e, (0, Tt.flushSync)(yle);} };-function ble(e) {- return iF = e, aF = null, yle;+function xle(e) {+ return rF = e, iF = null, ble;}-function xle() {- let e = (0, D.useSyncExternalStore)(_le, () => aF);- return iF && e ? /* @__PURE__ */ (0, O.jsx)(Sle, {- host: iF,+function Sle() {+ let e = (0, D.useSyncExternalStore)(vle, () => iF);+ return rF && e ? /* @__PURE__ */ (0, O.jsx)(Cle, {+ host: rF,props: e}) : null;}-function Sle({ host: e, props: t }) {- let n = aP(t);+function Cle({ host: e, props: t }) {+ let n = iP(t);return n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(Cle, {+ /* @__PURE__ */ (0, O.jsx)(wle, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, O.jsx)(wle, {+ n.crumb ? /* @__PURE__ */ (0, O.jsx)(Tle, {host: e,label: n.crumb}) : null,@@ -35508,13 +35508,13 @@ function Sle({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, O.jsx)(Tle, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, O.jsx)(Ele, {host: e,lede: n.lede})] }) : null;}-function Cle({ host: e, pressed: t, menu: n }) {+function wle({ host: e, pressed: t, menu: n }) {let r = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -35524,7 +35524,7 @@ function Cle({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, O.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, O.jsx)(rF, {+ children: /* @__PURE__ */ (0, O.jsx)(nF, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -35538,13 +35538,13 @@ function Cle({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, O.jsx)(lP, { name: i }), /* @__PURE__ */ (0, O.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, O.jsx)(cP, { name: i }), /* @__PURE__ */ (0, O.jsx)("span", { children: r })]}, n);})})});}-function wle({ host: e, label: t }) {+function Tle({ host: e, label: t }) {return /* @__PURE__ */ (0, O.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -35554,20 +35554,20 @@ function wle({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, O.jsx)("li", {+ }), /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, O.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, O.jsx)("span", { children: t })})] })});}-function Tle({ host: e, lede: t }) {+function Ele({ host: e, lede: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: cP }- }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Ele, { text: t.text }), t.total ? /* @__PURE__ */ (0, O.jsx)("button", {+ dangerouslySetInnerHTML: { __html: sP }+ }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Dle, { text: t.text }), t.total ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -35577,7 +35577,7 @@ function Tle({ host: e, lede: t }) {}) : null] })});}-function Ele({ text: e }) {+function Dle({ text: e }) {let t = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {us(t.current, e);@@ -35588,20 +35588,20 @@ function Ele({ text: e }) {}//#endregion//#region src/core/jav-title.ts-var Dle = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Ole = (e, t = e?.name) => {+var Ole = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, kle = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(Dle, "") : n;-}, kle = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Ale = (e) => {+ return e?.is_jav ? n.replace(Ole, "") : n;+}, Ale = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), jle = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(kle) || t[0] || "";+ return t.find(Ale) || t[0] || "";};-function sF(e, t = e?.name) {- let n = Ole(e, t), r = String(e?.code || "").trim().toUpperCase();+function oF(e, t = e?.name) {+ let n = kle(e, t), r = String(e?.code || "").trim().toUpperCase();if (!e?.is_jav || !r) return {code: "",title: n};- let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Ale(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = jle(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => ["中字","无码","无码破解"@@ -35612,27 +35612,27 @@ function sF(e, t = e?.name) {badges: f};}-var cF = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = sF(e, t);+var sF = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = oF(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function lF(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = sF(e, t);+function cF(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = oF(e, t);if (!n) return B(r);let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${B(e)}</small>`).join("");return `<span class="ui-javidentity"><strong class="ui-javcode">${B(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${B(r)}</span>` : ""}`;}//#endregion//#region src/react/activity/tasks.ts-var uF = "/api/tasks", dF = ["tasks"], jle = (e, t) => V(`${uF}?${new URLSearchParams({+var lF = "/api/tasks", uF = ["tasks"], Mle = (e, t) => V(`${lF}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function Mle(...e) {+function Nle(...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) => {@@ -35640,26 +35640,26 @@ function Mle(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var Nle = 2e3, Ple = 1e4, fF = (e) => e?.running?.length ? Nle : Ple, pF = (e) => V(uF, e);-async function Fle(e) {+var Ple = 2e3, Fle = 1e4, dF = (e) => e?.running?.length ? Ple : Fle, fF = (e) => V(lF, e);+async function Ile(e) {await U.fetchQuery({- queryKey: dF,- queryFn: () => pF(e)+ queryKey: uF,+ queryFn: () => fF(e)});}-var Ile = {+var Lle = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, Lle = {+}, Rle = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, Rle = (e) => Lle[e] || e, mF = {+}, zle = (e) => Rle[e] || e, pF = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -35736,7 +35736,7 @@ var Ile = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, zle = [+}, Ble = ["gone_count","unclear_count","source_failed",@@ -35758,14 +35758,14 @@ var Ile = {"paused_count","miss","incomplete"-], Ble = ["face_match_unavailable"], hF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Ble.some((t) => e.result_summary?.[t] === !0) || zle.some((t) => Number(e.result_summary?.[t]) > 0);-function Vle(e) {+], Vle = ["face_match_unavailable"], mF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Vle.some((t) => e.result_summary?.[t] === !0) || Ble.some((t) => Number(e.result_summary?.[t]) > 0);+function Hle(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 gF = /* @__PURE__ */ new Set(["library-processing"]);-function Hle(e, t = !0) {- if (!hF(e) && e.status !== "failed" || gF.has(e.task_key) && !t) return null;+var hF = /* @__PURE__ */ new Set(["library-processing"]);+function Ule(e, t = !0) {+ if (!mF(e) && e.status !== "failed" || hF.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -35783,12 +35783,12 @@ function Hle(e, t = !0) {label: n[1]} : null;}-function Ule(e) {+function Wle(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) gF.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);+ for (let n of e) hF.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 Wle(e) {+function Gle(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -35797,7 +35797,7 @@ function Wle(e) {}return t;}-function Gle(e, t) {+function Kle(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -35819,12 +35819,12 @@ function Gle(e, t) {}return n;}-var Kle = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !hF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), _F = (e) => e.status === "pending" || e.status === "running";-function qle(e) {+var qle = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !mF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), gF = (e) => e.status === "pending" || e.status === "running";+function Jle(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, xF(e.error) || AF(o) || (_F(e) && i > 0 ? `${yF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, yF(e.error) || OF(o) || (gF(e) && i > 0 ? `${vF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function vF(e) {+function _F(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -35833,19 +35833,22 @@ function vF(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function yF(e, t) {+function vF(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function bF(e) {+function Yle(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 xF(e) {- let t = bF(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+function yF(e) {+ let t = Yle(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);return n ? Ut(n[1]) : t;}-var SF = {+var bF = {+ partial: "处理已结束,部分项目需处理",+ complete: "处理完成",+ interrupted: "处理已中断",没有新写法: "未发现新别名",已装上: "已保存资料图片",已装着认得准的小图: "已保留身份核对通过的小尺寸图片",@@ -35859,11 +35862,11 @@ var SF = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, CF = {+}, xF = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, wF = {+}, SF = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -35874,8 +35877,8 @@ var SF = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, TF = (e) => SF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${CF[t.toLowerCase()]} 资料页` : `已保存来自 ${CF[t.toLowerCase()]} 的资料`);-function EF(e) {+}, CF = (e) => bF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${xF[t.toLowerCase()]} 资料页` : `已保存来自 ${xF[t.toLowerCase()]} 的资料`);+function wF(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -35885,7 +35888,7 @@ function EF(e) {minute: "2-digit"});}-var DF = /* @__PURE__ */ new Set([+var TF = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -35894,14 +35897,14 @@ var DF = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function OF(e) {- let t = kF(e);+function EF(e) {+ let t = DF(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function kF(e) {- return Object.entries(e || {}).filter(([e, t]) => !DF.has(e) && (e in mF || 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" ? xF(String(t)) : e === "outcome" || e === "result" ? TF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${mF[e]} ${_n(Number(t))}` : e === "operation" ? `操作:${wF[String(t)] || "批量操作"}` : `${mF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function DF(e) {+ return Object.entries(e || {}).filter(([e, t]) => !TF.has(e) && (e in pF || 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" ? yF(String(t)) : e === "outcome" || e === "result" ? CF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${pF[e]} ${_n(Number(t))}` : e === "operation" ? `操作:${SF[String(t)] || "批量操作"}` : `${pF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var AF = (e) => OF(e).join(" · "), jF = tF({+var OF = (e) => EF(e).join(" · "), kF = eF({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -35922,21 +35925,21 @@ var AF = (e) => OF(e).join(" · "), jF = tF({small: "size-4 shrink-0"}});-function MF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function AF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, O.jsx)("button", {ref: i,type: r,- className: eF(jF.base, jF.size[t], n),+ className: $P(kF.base, kF.size[t], n),...a,children: /* @__PURE__ */ (0, O.jsx)(e, {- className: jF.icon[t],+ className: kF.icon[t],"aria-hidden": !0})});}//#endregion//#region src/react/components/glass-drift.tsx-function NF() {+function jF() {return /* @__PURE__ */ (0, O.jsxs)("span", {"data-glass-drift": "","aria-hidden": "true",@@ -35951,7 +35954,7 @@ function NF() {}//#endregion//#region src/react/components/use-stuck.ts-function PF(e) {+function MF(e) {(0, D.useEffect)(() => {let t = e.current;if (!t) return;@@ -35969,7 +35972,7 @@ function PF(e) {}//#endregion//#region src/react/components/use-horizontal-scroller.ts-function FF(e, t = !0) {+function NF(e, t = !0) {let [n, r] = (0, D.useState)(null), i = (0, D.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);@@ -35984,17 +35987,17 @@ function FF(e, t = !0) {}//#endregion//#region src/react/components/filter-glass.tsx-var IF = ({ className: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var PF = ({ className: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,className: e,dangerouslySetInnerHTML: { __html: ns("正在处理") }});-function LF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(MF, {+function FF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(AF, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? IF : t,+ icon: n && r === "spinner" ? PF : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -36004,9 +36007,9 @@ function LF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function RF({ title: e, children: t }) {+function IF({ title: e, children: t }) {let n = (0, D.useRef)(null);- return PF(n), /* @__PURE__ */ (0, O.jsxs)("div", {+ return MF(n), /* @__PURE__ */ (0, O.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -36019,20 +36022,20 @@ function RF({ title: e, children: t }) {children: e}),t,- /* @__PURE__ */ (0, O.jsx)(NF, {})+ /* @__PURE__ */ (0, O.jsx)(jF, {})]});}-function zF({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {- let d = (0, D.useRef)(null), f = FF(), p = FF(u);- return PF(d), /* @__PURE__ */ (0, O.jsxs)("div", {+function LF({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {+ let d = (0, D.useRef)(null), f = NF(), p = NF(u);+ return MF(d), /* @__PURE__ */ (0, O.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: eF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: $P("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, O.jsx)("div", {@@ -36040,37 +36043,37 @@ function zF({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNarole: "group","aria-label": t,"data-filter-row": "top",- className: eF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: $P("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),children: n}),/* @__PURE__ */ (0, O.jsx)("div", {ref: p,"data-filter-row": "bottom","aria-busy": l || void 0,- className: eF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: $P("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),- /* @__PURE__ */ (0, O.jsx)(NF, {})+ /* @__PURE__ */ (0, O.jsx)(jF, {})]});}-var BF = "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 VF({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var RF = "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 zF({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: eF(BF, r),+ className: $P(RF, r),onClick: n,children: e});}-var HF = "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 UF({ children: e, onPress: t, busy: n = !1 }) {+var BF = "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 VF({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glass-pill": "",- className: HF,+ className: BF,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -36081,13 +36084,13 @@ function UF({ children: e, onPress: t, busy: n = !1 }) {}//#endregion//#region src/react/components/use-view-glide.ts-var WF = (e, t) => [+var HF = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function GF(e, t, n) {+function UF(e, t, n) {if (!t.contains(e)) return null;let r = 0, i = 0;for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;@@ -36111,17 +36114,17 @@ function GF(e, t, n) {h: e.offsetHeight};}-function KF(e, t, n, r, { axis: i = "x" } = {}) {+function WF(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, D.useRef)(null), o = (0, D.useCallback)((r, o) => {let s = e.current, c = t.current, l = s?.parentElement;if (!s) return;- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? GF(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? UF(u, l, i) : null;if (!d || !d.w || !d.h) {ic(s), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && WF(f, d)) && nc(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && HF(f, d)) && nc(s, o ? f : null, d, i);}, [e,t,@@ -36142,8 +36145,8 @@ function KF(e, t, n, r, { axis: i = "x" } = {}) {passive: !0}), addEventListener("resize", c, { passive: !0 });let l = new ResizeObserver(() => {- let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? GF(o, r, i) : null, l = a.current;- (!s || !l || !WF(s, l)) && c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? UF(o, r, i) : null, l = a.current;+ (!s || !l || !HF(s, l)) && c();}), u = t.current;if (u && r) {l.observe(u);@@ -36175,7 +36178,7 @@ function KF(e, t, n, r, { axis: i = "x" } = {}) {}//#endregion//#region src/react/boardui/components/base/buttons/button.tsx-var qF = tF({+var GF = eF({base: ["inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden","font-sans select-none cursor-pointer",@@ -36234,40 +36237,40 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, O.jsxs)("button", {ref: c,type: s,- className: eF(qF.base, qF.size[t], qF.variant[e], n && qF.iconOnlySize[t], o),+ className: $P(GF.base, GF.size[t], GF.variant[e], n && GF.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: qF.icon[t],+ className: GF.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: qF.label[t],+ className: GF.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, O.jsx)(i, {- className: qF.icon[t],+ className: GF.icon[t],"aria-hidden": !0}) : null]});}-function JF({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function KF({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, O.jsxs)("a", {ref: s,- className: eF(qF.base, qF.size[t], qF.variant[e], n && qF.iconOnlySize[t], o),+ className: $P(GF.base, GF.size[t], GF.variant[e], n && GF.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: qF.icon[t],+ className: GF.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: qF.label[t],+ className: GF.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, O.jsx)(i, {- className: qF.icon[t],+ className: GF.icon[t],"aria-hidden": !0}) : null]@@ -36275,12 +36278,12 @@ function JF({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead}//#endregion//#region node_modules/react-aria-components/dist/private/utils.mjs-var YF = Symbol("default");-function XF({ values: e, children: t }) {+var qF = Symbol("default");+function JF({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ D.createElement(n.Provider, { value: r }, t);return t;}-function ZF(e) {+function YF(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, D.useMemo)(() => {let e, l, u;@@ -36314,11 +36317,11 @@ function ZF(e) {c]);}-function QF(e, t) {+function XF(e, t) {let n = (0, D.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || YF;+ let e = t || qF;if (!n.slots[e]) {let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";throw Error(`${r} Valid slot names are ${e}.`);@@ -36327,8 +36330,8 @@ function QF(e, t) {}return n;}-function $F(e, t, n) {- let { ref: r, ...i } = QF(n, e.slot) || {}, a = Nx((0, D.useMemo)(() => wx(t, r), [t, r])), o = q(i, e);+function ZF(e, t, n) {+ let { ref: r, ...i } = XF(n, e.slot) || {}, a = jx((0, D.useMemo)(() => Sx(t, r), [t, r])), o = q(i, e);return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {let n = typeof i.style == "function" ? i.style(t) : i.style, r = {...t.defaultStyle,@@ -36346,42 +36349,42 @@ function $F(e, t, n) {...e.style}), [o, a];}-function eI(e = !0) {+function QF(e = !0) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return gb(() => {+ return mb(() => {r.current || n(!1);}, []), [i, t];}-function tI(e) {+function $F(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function nI(e, t, n) {- let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => wx(n, a), [n, a]);- gb(() => {}, [e, r]);+function eI(e, t, n) {+ let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => Sx(n, a), [n, a]);+ mb(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ D.createElement(e, s);}-var rI = {}, iI = new Proxy({}, { get(e, t) {+var tI = {}, nI = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = rI[t];- return n || (n = /*#__PURE__*/ (0, D.forwardRef)(nI.bind(null, t)), rI[t] = n), n;-} }), aI = /*#__PURE__*/ (0, D.createContext)(null), oI = /*#__PURE__*/ (0, D.createContext)(null), sI = /*#__PURE__*/ (0, D.createContext)(null), cI = {+ let n = tI[t];+ return n || (n = /*#__PURE__*/ (0, D.forwardRef)(eI.bind(null, t)), tI[t] = n), n;+} }), rI = /*#__PURE__*/ (0, D.createContext)(null), iI = /*#__PURE__*/ (0, D.createContext)(null), aI = /*#__PURE__*/ (0, D.createContext)(null), oI = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return lI(e, null, t);+ return sI(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return lI(e, t, n);+ return sI(e, t, n);}};-function lI(e, t, n) {- return qy({+function sI(e, t, n) {+ return Gy({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -36391,11 +36394,11 @@ function lI(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, uI(e, t, n));+ }), r, cI(e, t, n));}});}-function uI(e, t, n) {+function cI(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);@@ -36414,25 +36417,25 @@ function uI(e, t, n) {}return s;}-var dI = /*#__PURE__*/ (0, D.createContext)(cI);-function fI(e) {+var lI = /*#__PURE__*/ (0, D.createContext)(oI);+function uI(e) {return (0, D.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}//#endregion//#region node_modules/react-aria-components/dist/private/Label.mjs-var pI = /*#__PURE__*/ (0, D.createContext)({}), mI = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, pI);- let { elementType: n = "label", ...r } = e, i = iI[n];+var dI = /*#__PURE__*/ (0, D.createContext)({}), fI = /*#__PURE__*/ Ix(function(e, t) {+ [e, t] = ZF(e, t, dI);+ let { elementType: n = "label", ...r } = e, i = nI[n];return /*#__PURE__*/ D.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), hI = /*#__PURE__*/ (0, D.createContext)(null), gI = /*#__PURE__*/ (0, D.createContext)({}), _I = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, gI);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = lie(e, t);- i = yI(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = OT(e), { hoverProps: l, isHovered: u } = MT({+}), pI = /*#__PURE__*/ (0, D.createContext)(null), mI = /*#__PURE__*/ (0, D.createContext)({}), hI = /*#__PURE__*/ Ix(function(e, t) {+ [e, t] = ZF(e, t, mI);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = die(e, t);+ i = _I(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = ET(e), { hoverProps: l, isHovered: u } = AT({...e,isDisabled: e.isDisabled || r}), d = {@@ -36442,24 +36445,24 @@ var pI = /*#__PURE__*/ (0, D.createContext)({}), mI = /*#__PURE__*/ Rx(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = ZF({+ }, f = YF({...e,values: d,defaultClassName: "react-aria-Button"- }), p = Sx(i.id), m = Sx(), h = i["aria-labelledby"];+ }), p = bx(i.id), m = bx(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, D.useRef)(r);(0, D.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && _C(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && hC(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = ES(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ D.createElement(iI.button, {+ let _ = wS(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ D.createElement(nI.button, {...q(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -36473,62 +36476,62 @@ var pI = /*#__PURE__*/ (0, D.createContext)({}), mI = /*#__PURE__*/ Rx(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ D.createElement(hI.Provider, { value: { id: m } }, f.children));-}), vI = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function yI(e, t) {+ }, /*#__PURE__*/ D.createElement(pI.Provider, { value: { id: m } }, f.children));+}), gI = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function _I(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !vI.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !gI.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}//#endregion//#region node_modules/react-aria-components/dist/private/Heading.mjs-var bI = /*#__PURE__*/ (0, D.createContext)({}), xI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, bI);- let { children: n, level: r = 3, className: i, ...a } = e, o = iI[`h${r}`];+var vI = /*#__PURE__*/ (0, D.createContext)({}), yI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, vI);+ let { children: n, level: r = 3, className: i, ...a } = e, o = nI[`h${r}`];return /*#__PURE__*/ D.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), SI = /*#__PURE__*/ (0, D.createContext)({}), CI = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, SI);- let { elementType: n = "span", ...r } = e, i = iI[n];+}), bI = /*#__PURE__*/ (0, D.createContext)({}), xI = /*#__PURE__*/ Ix(function(e, t) {+ [e, t] = ZF(e, t, bI);+ let { elementType: n = "span", ...r } = e, i = nI[n];return /*#__PURE__*/ D.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), wI = /*#__PURE__*/ (0, D.createContext)(null), TI = /*#__PURE__*/ (0, D.createContext)(null), EI = /*#__PURE__*/ (0, D.createContext)(null), DI = /*#__PURE__*/ (0, D.createContext)(null), OI = /*#__PURE__*/ (0, D.createContext)(null), kI = /*#__PURE__*/ (0, D.createContext)(null);-function AI(e, t) {- let { validationBehavior: n } = QF(TI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(OI), a = Nx((0, D.useMemo)(() => wx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...tI(e),+}), SI = /*#__PURE__*/ (0, D.createContext)(null), CI = /*#__PURE__*/ (0, D.createContext)(null), wI = /*#__PURE__*/ (0, D.createContext)(null), TI = /*#__PURE__*/ (0, D.createContext)(null), EI = /*#__PURE__*/ (0, D.createContext)(null), DI = /*#__PURE__*/ (0, D.createContext)(null);+function OI(e, t) {+ let { validationBehavior: n } = XF(CI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(EI), a = jx((0, D.useMemo)(() => Sx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...$F(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? gie(o, i, a) : JC(o, tw(e), a), a];+ return [i ? vie(o, i, a) : KC(o, $C(e), a), a];}-var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+var kI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = $F(r, t, EI);- let [i, a] = AI(e, n);- return /*#__PURE__*/ D.createElement(kI.Provider, { value: {+ [e, t] = ZF(r, t, wI);+ let [i, a] = OI(e, n);+ return /*#__PURE__*/ D.createElement(DI.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ D.createElement(MI, {+ } }, /*#__PURE__*/ D.createElement(AI, {...e,ref: t}));-}), MI = /*#__PURE__*/ (0, D.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, D.useContext)(kI), { isFocused: p, isFocusVisible: m, focusProps: h } = OT(), g = a || o, { hoverProps: _, isHovered: v } = MT({+}), AI = /*#__PURE__*/ (0, D.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, D.useContext)(DI), { isFocused: p, isFocusVisible: m, focusProps: h } = ET(), g = a || o, { hoverProps: _, isHovered: v } = AT({...e,isDisabled: g- }), y = ZF({+ }), y = YF({...e,defaultClassName: u,values: {@@ -36543,8 +36546,8 @@ var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = ES(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(iI.label, {+ }), b = wS(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(nI.label, {...q(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -36558,20 +36561,20 @@ var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ D.createElement(uw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(cw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {...q(r, h),ref: l})), y.children);-}), NI = /*#__PURE__*/ (0, D.createContext)({}), PI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, NI);+}), jI = /*#__PURE__*/ (0, D.createContext)({}), MI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, jI);let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";- let { hoverProps: l, isHovered: u } = MT({+ let { hoverProps: l, isHovered: u } = AT({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = OT({ within: !0 }), m = ZF({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = ET({ within: !0 }), m = YF({...e,values: {isHovered: u,@@ -36582,7 +36585,7 @@ var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ D.createElement(iI.div, {+ return /*#__PURE__*/ D.createElement(nI.div, {...q(c, p, l),...m,ref: t,@@ -36595,18 +36598,18 @@ var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), FI = /*#__PURE__*/ (0, D.createContext)({}), II = (e) => {+}), NI = /*#__PURE__*/ (0, D.createContext)({}), PI = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, LI = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, FI);- let { hoverProps: n, isHovered: r } = MT({+}, FI = /*#__PURE__*/ Ix(function(e, t) {+ [e, t] = ZF(e, t, NI);+ let { hoverProps: n, isHovered: r } = AT({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = OT({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = ET({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = ZF({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = YF({...e,values: {isHovered: r,@@ -36617,8 +36620,8 @@ var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ D.createElement(iI.input, {- ...q(II(e), o, n),+ return /*#__PURE__*/ D.createElement(nI.input, {+ ...q(PI(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -36627,24 +36630,24 @@ var jI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), RI = 0, zI = 100, BI = 1;-function VI(e) {- let { isDisabled: t = !1, minValue: n = RI, maxValue: r = zI, numberFormatter: i, step: a = BI, orientation: o = "horizontal" } = e, s = (0, D.useMemo)(() => {+}), II = 0, LI = 100, RI = 1;+function zI(e) {+ let { isDisabled: t = !1, minValue: n = II, maxValue: r = LI, numberFormatter: i, step: a = RI, orientation: o = "horizontal" } = e, s = (0, D.useMemo)(() => {let e = (r - n) / 10;- return e = iw(e, 0, e + a, a), Math.max(e, a);+ return e = nw(e, 0, e + a, a), Math.max(e, a);}, [a,r,n- ]), c = (0, D.useCallback)((e) => e?.map((t, i) => iw(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [+ ]), c = (0, D.useCallback)((e) => e?.map((t, i) => nw(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [n,r,a- ]), l = (0, D.useMemo)(() => c(UI(e.value)), [e.value, c]), u = (0, D.useMemo)(() => c(UI(e.defaultValue) ?? [n]), [+ ]), l = (0, D.useMemo)(() => c(VI(e.value)), [e.value, c]), u = (0, D.useMemo)(() => c(VI(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = WI(e.value, e.defaultValue, e.onChange), f = WI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = ew(l, u, d), [h] = (0, D.useState)(p), [g, _] = (0, D.useState)(Array(p.length).fill(!1)), v = (0, D.useRef)(Array(p.length).fill(!0)), [y, b] = (0, D.useState)(void 0), x = (0, D.useRef)(p), S = (0, D.useRef)(g), C = (e) => {+ ]), d = HI(e.value, e.defaultValue, e.onChange), f = HI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = QC(l, u, d), [h] = (0, D.useState)(p), [g, _] = (0, D.useState)(Array(p.length).fill(!1)), v = (0, D.useRef)(Array(p.length).fill(!0)), [y, b] = (0, D.useState)(void 0), x = (0, D.useRef)(p), S = (0, D.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -36667,15 +36670,15 @@ function VI(e) {function j(e, n) {if (t || !k(e)) return;let r = E(e), i = O(e);- n = iw(n, r, i, a);- let o = HI(x.current, e, n);+ n = nw(n, r, i, a);+ let o = BI(x.current, e, n);C(o);}function M(e, n) {if (t || !k(e)) return;n && (x.current = p);let r = S.current[e];- S.current = HI(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = BI(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}let N = (0, D.useRef)(null);function P(e = p) {@@ -36696,15 +36699,15 @@ function VI(e) {return Math.round((e - n) / a) * a + n;}function te(e) {- return nw(F(e * (r - n) + n), n, r);+ return ew(F(e * (r - n) + n), n, r);}function I(e, t = 1) {let i = Math.max(t, a);- j(e, iw(p[e] + i, n, r, a));+ j(e, nw(p[e] + i, n, r, a));}function ne(e, t = 1) {let i = Math.max(t, a);- j(e, iw(p[e] - i, n, r, a));+ j(e, nw(p[e] - i, n, r, a));}return {values: p,@@ -36733,32 +36736,32 @@ function VI(e) {isDisabled: t};}-function HI(e, t, n) {+function BI(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function UI(e) {+function VI(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function WI(e, t, n) {+function HI(e, t, n) {return (r) => {typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);};}//#endregion//#region node_modules/react-aria-components/dist/private/Slider.mjs-var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.createContext)(null), KI = /*#__PURE__*/ (0, D.createContext)(null), Yle = /*#__PURE__*/ (0, D.createContext)(null), Xle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, Jle);- let n = (0, D.useRef)(null), r = xie(e.formatOptions), i = VI({+var Xle = /*#__PURE__*/ (0, D.createContext)(null), UI = /*#__PURE__*/ (0, D.createContext)(null), WI = /*#__PURE__*/ (0, D.createContext)(null), Zle = /*#__PURE__*/ (0, D.createContext)(null), Qle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, Xle);+ let n = (0, D.useRef)(null), r = Cie(e.formatOptions), i = zI({...e,numberFormatter: r- }), [a, o] = eI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Sie({+ }), [a, o] = QF(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = wie({...e,label: o- }, i, n), d = ZF({+ }, i, n), d = YF({...e,values: {orientation: i.orientation,@@ -36766,32 +36769,32 @@ var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.crestate: i},defaultClassName: "react-aria-Slider"- }), f = ES(e, { global: !0 });- return delete f.id, /*#__PURE__*/ D.createElement(XF, { values: [- [GI, i],- [KI, {+ }), f = wS(e, { global: !0 });+ return delete f.id, /*#__PURE__*/ D.createElement(JF, { values: [+ [UI, i],+ [WI, {...c,ref: n}],- [Yle, u],- [pI, {+ [Zle, u],+ [dI, {...l,ref: a}]- ] }, /*#__PURE__*/ D.createElement(iI.div, {+ ] }, /*#__PURE__*/ D.createElement(nI.div, {...q(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), Zle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, KI);- let n = (0, D.useContext)(GI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = MT({+}), $le = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, WI);+ let n = (0, D.useContext)(UI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = AT({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = ZF({+ }), l = YF({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -36801,7 +36804,7 @@ var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.crestate: n}});- return /*#__PURE__*/ D.createElement(iI.div, {+ return /*#__PURE__*/ D.createElement(nI.div, {...q(o, s),...l,ref: t,@@ -36809,14 +36812,14 @@ var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.cre"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), Qle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, D.useContext)(GI), { ref: i } = QF(KI), { index: a = 0 } = e, o = (0, D.useRef)(null), s = n || o, [c, l] = eI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Cie({+}), eue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, D.useContext)(UI), { ref: i } = XF(WI), { index: a = 0 } = e, o = (0, D.useRef)(null), s = n || o, [c, l] = QF(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Tie({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = OT(), { hoverProps: v, isHovered: y } = MT(e), b = ZF({+ }, r), { focusProps: g, isFocusVisible: _ } = ET(), { hoverProps: v, isHovered: y } = AT(e), b = YF({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -36827,8 +36830,8 @@ var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.creisFocusVisible: _,isDisabled: h}- }), x = ES(e, { global: !0 });- return delete x.id, /*#__PURE__*/ D.createElement(iI.div, {+ }), x = wS(e, { global: !0 });+ return delete x.id, /*#__PURE__*/ D.createElement(nI.div, {...q(x, u, v),...b,ref: t,@@ -36841,15 +36844,15 @@ var Jle = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.cre"data-focused": m || void 0,"data-focus-visible": _ || void 0,"data-disabled": h || void 0- }, /*#__PURE__*/ D.createElement(uw, null, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(cw, null, /*#__PURE__*/ D.createElement("input", {ref: s,...q(d, g)- })), /*#__PURE__*/ D.createElement(XF, { values: [[pI, {+ })), /*#__PURE__*/ D.createElement(JF, { values: [[dI, {...f,ref: c}]] }, b.children));-}), qI = {};-qI = {+}), GI = {};+GI = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",@@ -36857,8 +36860,8 @@ qI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var JI = {};-JI = {+var KI = {};+KI = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",@@ -36866,8 +36869,8 @@ JI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var YI = {};-YI = {+var qI = {};+qI = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",@@ -36875,8 +36878,8 @@ YI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var XI = {};-XI = {+var JI = {};+JI = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",@@ -36884,8 +36887,8 @@ XI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var ZI = {};-ZI = {+var YI = {};+YI = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",@@ -36893,8 +36896,8 @@ ZI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var QI = {};-QI = {+var XI = {};+XI = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",@@ -36902,8 +36905,8 @@ QI = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var $I = {};-$I = {+var ZI = {};+ZI = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",@@ -36911,8 +36914,8 @@ $I = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var eL = {};-eL = {+var QI = {};+QI = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",@@ -36920,8 +36923,8 @@ eL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var tL = {};-tL = {+var $I = {};+$I = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",@@ -36929,8 +36932,8 @@ tL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var nL = {};-nL = {+var eL = {};+eL = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",@@ -36938,8 +36941,8 @@ nL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var rL = {};-rL = {+var tL = {};+tL = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",@@ -36947,8 +36950,8 @@ rL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var iL = {};-iL = {+var nL = {};+nL = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",@@ -36956,8 +36959,8 @@ iL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var aL = {};-aL = {+var rL = {};+rL = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",@@ -36965,8 +36968,8 @@ aL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var oL = {};-oL = {+var iL = {};+iL = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",@@ -36974,8 +36977,8 @@ oL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var sL = {};-sL = {+var aL = {};+aL = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",@@ -36983,8 +36986,8 @@ sL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var cL = {};-cL = {+var oL = {};+oL = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",@@ -36992,8 +36995,8 @@ cL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var lL = {};-lL = {+var sL = {};+sL = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",@@ -37001,8 +37004,8 @@ lL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var uL = {};-uL = {+var cL = {};+cL = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",@@ -37010,8 +37013,8 @@ uL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var dL = {};-dL = {+var lL = {};+lL = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",@@ -37019,8 +37022,8 @@ dL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var fL = {};-fL = {+var uL = {};+uL = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",@@ -37028,8 +37031,8 @@ fL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var pL = {};-pL = {+var dL = {};+dL = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",@@ -37037,8 +37040,8 @@ pL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var mL = {};-mL = {+var fL = {};+fL = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",@@ -37046,8 +37049,8 @@ mL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var hL = {};-hL = {+var pL = {};+pL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -37055,8 +37058,8 @@ hL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var gL = {};-gL = {+var mL = {};+mL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -37064,8 +37067,8 @@ gL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var _L = {};-_L = {+var hL = {};+hL = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",@@ -37073,8 +37076,8 @@ _L = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var vL = {};-vL = {+var gL = {};+gL = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",@@ -37082,8 +37085,8 @@ vL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var yL = {};-yL = {+var _L = {};+_L = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",@@ -37091,8 +37094,8 @@ yL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var bL = {};-bL = {+var vL = {};+vL = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",@@ -37100,8 +37103,8 @@ bL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var xL = {};-xL = {+var yL = {};+yL = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",@@ -37109,8 +37112,8 @@ xL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var SL = {};-SL = {+var bL = {};+bL = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",@@ -37118,8 +37121,8 @@ SL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var CL = {};-CL = {+var xL = {};+xL = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",@@ -37127,8 +37130,8 @@ CL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var wL = {};-wL = {+var SL = {};+SL = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",@@ -37136,8 +37139,8 @@ wL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var TL = {};-TL = {+var CL = {};+CL = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",@@ -37145,8 +37148,8 @@ TL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var EL = {};-EL = {+var wL = {};+wL = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",@@ -37154,52 +37157,52 @@ EL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var DL = {};-DL = {- "ar-AE": qI,- "bg-BG": JI,- "cs-CZ": YI,- "da-DK": XI,- "de-DE": ZI,- "el-GR": QI,- "en-US": $I,- "es-ES": eL,- "et-EE": tL,- "fi-FI": nL,- "fr-FR": rL,- "he-IL": iL,- "hr-HR": aL,- "hu-HU": oL,- "it-IT": sL,- "ja-JP": cL,- "ko-KR": lL,- "lt-LT": uL,- "lv-LV": dL,- "nb-NO": fL,- "nl-NL": pL,- "pl-PL": mL,- "pt-BR": hL,- "pt-PT": gL,- "ro-RO": _L,- "ru-RU": vL,- "sk-SK": yL,- "sl-SI": bL,- "sr-SP": xL,- "sv-SE": SL,- "tr-TR": CL,- "uk-UA": wL,- "zh-CN": TL,- "zh-TW": EL+var TL = {};+TL = {+ "ar-AE": GI,+ "bg-BG": KI,+ "cs-CZ": qI,+ "da-DK": JI,+ "de-DE": YI,+ "el-GR": XI,+ "en-US": ZI,+ "es-ES": QI,+ "et-EE": $I,+ "fi-FI": eL,+ "fr-FR": tL,+ "he-IL": nL,+ "hr-HR": rL,+ "hu-HU": iL,+ "it-IT": aL,+ "ja-JP": oL,+ "ko-KR": sL,+ "lt-LT": cL,+ "lv-LV": lL,+ "nb-NO": uL,+ "nl-NL": dL,+ "pl-PL": fL,+ "pt-BR": pL,+ "pt-PT": mL,+ "ro-RO": hL,+ "ru-RU": gL,+ "sk-SK": _L,+ "sl-SI": vL,+ "sr-SP": yL,+ "sv-SE": bL,+ "tr-TR": xL,+ "uk-UA": SL,+ "zh-CN": CL,+ "zh-TW": wL};//#endregion//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var OL = /*#__PURE__*/ (0, D.createContext)({}), kL = /*#__PURE__*/ (0, D.createContext)(null), $le = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { render: n } = (0, D.useContext)(kL);+var EL = /*#__PURE__*/ (0, D.createContext)({}), DL = /*#__PURE__*/ (0, D.createContext)(null), tue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { render: n } = (0, D.useContext)(DL);return /*#__PURE__*/ D.createElement(D.Fragment, null, n(e, t));});-function AL(e, t) {+function OL(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, D.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ D.createElement($le, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ D.createElement(tue, { target: e });}, [t?.target,r,@@ -37207,7 +37210,7 @@ function AL(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function jL(e, t, n) {+function kL(e, t, n) {let r = e.focusedKey, i = null;if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {let e = n.collection.getKeyAfter(i), t = null;@@ -37229,14 +37232,14 @@ function jL(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Header.mjs-var ML = /*#__PURE__*/ (0, D.createContext)({}), eue = /*#__PURE__*/ (0, D.createContext)(null);-function NL(e) {+var AL = /*#__PURE__*/ (0, D.createContext)({}), nue = /*#__PURE__*/ (0, D.createContext)(null);+function jL(e) {let t = (0, D.useRef)({});- return /*#__PURE__*/ D.createElement(eue.Provider, { value: t }, e.children);+ return /*#__PURE__*/ D.createElement(nue.Provider, { value: t }, e.children);}//#endregion//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var PL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), FL = /*#__PURE__*/ (0, D.createContext)({}), tue = /*#__PURE__*/ Kx(class extends zy {+var ML = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), NL = /*#__PURE__*/ (0, D.createContext)({}), rue = /*#__PURE__*/ Wx(class extends Ly {static {this.type = "separator";}@@ -37249,14 +37252,14 @@ var PL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), FL = /*#__PURE_return null;}}, function(e, t) {- [e, t] = $F(e, t, FL);+ [e, t] = ZF(e, t, NL);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = iI[c], { separatorProps: u } = Aae({+ let l = nI[c], { separatorProps: u } = Mae({...s,elementType: n,orientation: r- }), d = ES(e, { global: !0 });+ }), d = wS(e, { global: !0 });return /*#__PURE__*/ D.createElement(l, {render: e.render,...q(d, u),@@ -37268,13 +37271,13 @@ var PL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), FL = /*#__PURE_});//#endregion//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function IL(e) {+function PL(e) {let t = D.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}//#endregion//#region node_modules/react-stately/dist/private/list/ListCollection.mjs-var LL = class {+var FL = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -37318,20 +37321,20 @@ var LL = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, RL = class e extends Set {+}, IL = class e extends Set {constructor(t, n, r) {super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);}};//#endregion//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function nue(e, t) {+function iue(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function zL(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = ew((0, D.useMemo)(() => BL(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => BL(e.defaultSelectedKeys, new RL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);+function LL(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = QC((0, D.useMemo)(() => RL(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => RL(e.defaultSelectedKeys, new IL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, D.useRef)(i);return (0, D.useEffect)(() => {@@ -37358,18 +37361,18 @@ function zL(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !nue(e, d)) && f(e);+ (r || !iue(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function BL(e, t) {- return e ? e === "all" ? "all" : new RL(e) : t;+function RL(e, t) {+ return e ? e === "all" ? "all" : new IL(e) : t;}//#endregion//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var VL = class e {+var zL = class e {constructor(e, t, n) {this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;}@@ -37425,7 +37428,7 @@ var VL = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && gT(this.collection, n, e) < 0) && (e = n);+ (!e || n && mT(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -37433,7 +37436,7 @@ var VL = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && gT(this.collection, n, e) > 0) && (e = n);+ (!e || n && mT(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -37452,10 +37455,10 @@ var VL = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new RL([t], t, t);+ if (this.state.selectedKeys === "all") n = new IL([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new RL(e, r, t);+ n = new IL(e, r, t);for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);}@@ -37463,7 +37466,7 @@ var VL = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? gT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? mT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];}getKeyRangeInternal(e, t) {if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);@@ -37489,19 +37492,19 @@ var VL = class e {}let t = this.getKey(e);if (t == null) return;- let n = new RL(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new IL(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);}replaceSelection(e) {if (this.selectionMode === "none") return;let t = this.getKey(e);if (t == null) return;- let n = this.canSelectItem(t) ? new RL([t], t, t) : new RL();+ let n = this.canSelectItem(t) ? new IL([t], t, t) : new IL();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new RL();+ let t = new IL();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -37513,7 +37516,7 @@ var VL = class e {for (; r != null;) {if (this.canSelectItemIn(r, e)) {let i = e.getItem(r);- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(pT(fT(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(dT(uT(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -37524,7 +37527,7 @@ var VL = class e {!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");}clearSelection() {- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new RL());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new IL());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -37565,9 +37568,9 @@ var VL = class e {fullCollection: this.fullCollection ?? this.collection});}-}, rue = class {+}, aue = class {build(e, t) {- return this.context = t, HL(() => this.iterateCollection(e));+ return this.context = t, BL(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -37649,10 +37652,10 @@ var VL = class e {...a,key: l,index: s,- wrapper: iue(e.wrapper, a.wrapper)+ wrapper: oue(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 <${UL(t.type)}> in <${UL(r?.type ?? "unknown parent type")}>. Only <${UL(e.type)}> is supported.`);+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${VL(t.type)}> in <${VL(r?.type ?? "unknown parent type")}>. Only <${VL(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -37674,7 +37677,7 @@ var VL = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: HL(function* () {+ childNodes: BL(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -37693,7 +37696,7 @@ var VL = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function HL(e) {+function BL(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -37701,18 +37704,18 @@ function HL(e) {for (let e of n) t.push(e), yield e;} };}-function iue(e, t) {+function oue(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function UL(e) {+function VL(e) {return e[0].toUpperCase() + e.slice(1);}//#endregion//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function WL(e, t, n) {- let r = (0, D.useMemo)(() => new rue(), []), { children: i, items: a, collection: o } = e;+function HL(e, t, n) {+ let r = (0, D.useMemo)(() => new aue(), []), { children: i, items: a, collection: o } = e;return (0, D.useMemo)(() => o || t(r.build({children: i,items: a@@ -37727,27 +37730,27 @@ function WL(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/list/useListState.mjs-function GL(e) {- let { filter: t, layoutDelegate: n } = e, r = zL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = WL(e, (0, D.useCallback)((e) => t ? new LL(t(e)) : new LL(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new VL(a, r, { layoutDelegate: n }), [+function UL(e) {+ let { filter: t, layoutDelegate: n } = e, r = LL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = HL(e, (0, D.useCallback)((e) => t ? new FL(t(e)) : new FL(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new zL(a, r, { layoutDelegate: n }), [a,r,n]);- return KL(a, o), {+ return WL(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function aue(e, t) {+function sue(e, t) {let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return KL(n, r), {+ return WL(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function KL(e, t) {+function WL(e, t) {let n = (0, D.useRef)(null);(0, D.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -37775,15 +37778,15 @@ function KL(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function qL(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = uS((e) => {+function GL(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = cS((e) => {for (let t of e) t.isIntersecting && r && r();});- gb(() => {+ mb(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: xC(t?.current),+ root: yC(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -37799,42 +37802,42 @@ function qL(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var JL = /*#__PURE__*/ (0, D.createContext)(null), YL = /*#__PURE__*/ (0, D.createContext)(null), oue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, JL);- let n = (0, D.useContext)(YL);- return n ? /*#__PURE__*/ D.createElement(XL, {+var KL = /*#__PURE__*/ (0, D.createContext)(null), qL = /*#__PURE__*/ (0, D.createContext)(null), cue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, KL);+ let n = (0, D.useContext)(qL);+ return n ? /*#__PURE__*/ D.createElement(JL, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ D.createElement(Ux, { content: /*#__PURE__*/ D.createElement(Xx, e) }, (n) => /*#__PURE__*/ D.createElement(sue, {+ }) : /*#__PURE__*/ D.createElement(Vx, { content: /*#__PURE__*/ D.createElement(Jx, e) }, (n) => /*#__PURE__*/ D.createElement(lue, {props: e,listBoxRef: t,collection: n}));});-function sue({ props: e, listBoxRef: t, collection: n }) {+function lue({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, D.useContext)(dI), i = GL({+ let { layoutDelegate: r } = (0, D.useContext)(lI), i = UL({...e,layoutDelegate: r});- return /*#__PURE__*/ D.createElement(XL, {+ return /*#__PURE__*/ D.createElement(JL, {state: i,props: e,listBoxRef: t});}-function XL({ state: e, props: t, listBoxRef: n }) {- [t, n] = $F(t, n, aI);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = aue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = vS(), { disabledBehavior: p, disabledKeys: m } = l, h = xT({+function JL({ state: e, props: t, listBoxRef: n }) {+ [t, n] = ZF(t, n, rI);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = sue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = gS(), { disabledBehavior: p, disabledKeys: m } = l, h = yT({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(dI), b = (0, D.useMemo)(() => t.keyboardDelegate || new Cw({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(lI), b = (0, D.useMemo)(() => t.keyboardDelegate || new xw({collection: c,collator: h,ref: n,@@ -37855,7 +37858,7 @@ function XL({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: x } = Xie({+ ]), { listBoxProps: x } = Qie({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -37887,7 +37890,7 @@ function XL({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, C, n), T = C.isDropTarget({ type: "root" });}- let { focusProps: k, isFocused: A, isFocusVisible: j } = OT(), M = s.collection.size === 0, N = {+ let { focusProps: k, isFocused: A, isFocusVisible: j } = ET(), M = s.collection.size === 0, N = {isDropTarget: T,isEmpty: M,isFocused: A,@@ -37895,7 +37898,7 @@ function XL({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, P = ZF({+ }, P = YF({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -37905,8 +37908,8 @@ function XL({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(N)));- let F = ES(t, { global: !0 });- return /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(iI.div, {+ let F = wS(t, { global: !0 });+ return /*#__PURE__*/ D.createElement(JS, null, /*#__PURE__*/ D.createElement(nI.div, {...q(F, P, x, k, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -37917,60 +37920,60 @@ function XL({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": j || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ D.createElement(XF, { values: [- [JL, t],- [YL, s],- [OL, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [KL, t],+ [qL, s],+ [EL, {dragAndDropHooks: r,dragState: S,dropState: C}],- [FL, { elementType: "div" }],- [kL, { render: uue }],- [sI, {+ [NL, { elementType: "div" }],+ [DL, { render: fue }],+ [aI, {name: "ListBoxSection",- render: cue+ render: uue}]- ] }, /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(y, {+ ] }, /*#__PURE__*/ D.createElement(jL, null, /*#__PURE__*/ D.createElement(y, {collection: c,scrollRef: n,- persistedKeys: jL(l, r, C),- renderDropIndicator: AL(r, C)+ persistedKeys: kL(l, r, C),+ renderDropIndicator: OL(r, C)}))), ee, E));}-function cue(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, D.useContext)(YL), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(OL), { CollectionBranch: s } = (0, D.useContext)(dI), [c, l] = eI(), { headingProps: u, groupProps: d } = Zie({+function uue(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, D.useContext)(qL), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(EL), { CollectionBranch: s } = (0, D.useContext)(lI), [c, l] = QF(), { headingProps: u, groupProps: d } = $ie({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = ZF({+ }), f = YF({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0- }), p = ES(e, { global: !0 });- return delete p.id, /*#__PURE__*/ D.createElement(iI.section, {+ }), p = wS(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ D.createElement(nI.section, {...q(p, f, d),ref: t- }, /*#__PURE__*/ D.createElement(ML.Provider, { value: {+ }, /*#__PURE__*/ D.createElement(AL.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ D.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: AL(a, o)+ renderDropIndicator: OL(a, o)})));}-var lue = /*#__PURE__*/ Kx(Hy, function(e, t, n) {- let r = Nx(t), i = (0, D.useContext)(YL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(OL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Qie({+var due = /*#__PURE__*/ Wx(By, function(e, t, n) {+ let r = jx(t), i = (0, D.useContext)(qL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(EL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = eae({key: n.key,"aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = MT({+ }, i, r), { hoverProps: p, isHovered: m } = AT({isDisabled: !f.allowsSelection && !f.hasAction && !c,onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = Mx(e), { focusProps: g } = Ox(e), _ = null;+ }), { keyboardProps: h } = Ax(e), { focusProps: g } = Ex(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -37981,7 +37984,7 @@ var lue = /*#__PURE__*/ Kx(Hy, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = ZF({+ let y = o && o.isDragging(n.key), b = YF({...e,id: void 0,children: e.children,@@ -37999,7 +38002,7 @@ var lue = /*#__PURE__*/ Kx(Hy, function(e, t, n) {(0, D.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? iI.a : iI.div, S = ES(e, { global: !0 });+ let x = e.href ? nI.a : nI.div, S = wS(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ D.createElement(x, {...q(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -38013,29 +38016,29 @@ var lue = /*#__PURE__*/ Kx(Hy, function(e, t, n) {"data-dragging": y || void 0,"data-drop-target": v?.isDropTarget || void 0,"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode- }, /*#__PURE__*/ D.createElement(XF, { values: [[SI, { slots: {- [YF]: u,+ }, /*#__PURE__*/ D.createElement(JF, { values: [[bI, { slots: {+ [qF]: u,label: u,description: d- } }], [PL, { isSelected: f.isSelected }]] }, b.children));+ } }], [ML, { isSelected: f.isSelected }]] }, b.children));});-function uue(e, t) {- t = Nx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(OL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ D.createElement(fue, {+function fue(e, t) {+ t = jx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(EL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ D.createElement(mue, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function due(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = ZF({+function pue(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = YF({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(iI.div, {+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(nI.div, {...n,...a,role: "option",@@ -38043,10 +38046,10 @@ function due(e, t) {"data-drop-target": r || void 0}));}-var fue = /*#__PURE__*/ (0, D.forwardRef)(due);-Kx(Vy, function(e, t, n) {- let r = (0, D.useContext)(YL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);- qL((0, D.useMemo)(() => ({+var mue = /*#__PURE__*/ (0, D.forwardRef)(pue);+Wx(zy, function(e, t, n) {+ let r = (0, D.useContext)(qL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);+ GL((0, D.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38056,7 +38059,7 @@ Kx(Vy, function(e, t, n) {o,r?.collection]), c);- let l = ZF({+ let l = YF({...s,id: void 0,children: n.rendered,@@ -38069,7 +38072,7 @@ Kx(Vy, function(e, t, n) {width: 0,height: 0},- inert: IL(!0)+ inert: PL(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38078,8 +38081,8 @@ Kx(Vy, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(iI.div, {- ...q(ES(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(nI.div, {+ ...q(wS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t@@ -38087,11 +38090,11 @@ Kx(Vy, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var pue = /*#__PURE__*/ (0, D.createContext)({ placement: "bottom" });+var hue = /*#__PURE__*/ (0, D.createContext)({ placement: "bottom" });//#endregion//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function ZL(e) {- let [t, n] = ew(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);+function YL(e) {+ let [t, n] = QC(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);return {isOpen: t,setOpen: n,@@ -38110,15 +38113,15 @@ function ZL(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/animation.mjs-function QL(e, t = !0, n) {+function XL(e, t = !0, n) {let [r, i] = (0, D.useState)(!0), a = r && t;- return gb(() => {- if (!t && e.current) return vx(eb(e.current, "opacity", "0"), eb(e.current, "clip", "rect(0 0 0 0)"), eb(e.current, "clip-path", "inset(50%)"), eb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), gb(() => {+ return mb(() => {+ if (!t && e.current) return gx(Qy(e.current, "opacity", "0"), Qy(e.current, "clip", "rect(0 0 0 0)"), Qy(e.current, "clip-path", "inset(50%)"), Qy(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), mb(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), eR(e, a, n, (0, D.useCallback)(() => i(!1), [])), a;+ }, [e, a]), QL(e, a, n, (0, D.useCallback)(() => i(!1), [])), a;}-function $L(e, t, n) {+function ZL(e, t, n) {let [r, i] = (0, D.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -38128,13 +38131,13 @@ function $L(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return eR(e, a, n, (0, D.useCallback)(() => {+ return QL(e, a, n, (0, D.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function eR(e, t, n, r) {- let i = (0, D.useRef)(null), a = uS(n);- gb(() => {+function QL(e, t, n, r) {+ let i = (0, D.useRef)(null), a = cS(n);+ mb(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -38160,9 +38163,9 @@ function eR(e, t, n, r) {}//#endregion//#region node_modules/react-aria-components/dist/private/Popover.mjs-var tR = /*#__PURE__*/ (0, D.createContext)(null), nR = /*#__PURE__*/ (0, D.createContext)(null), rR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, tR);- let n = (0, D.useContext)(hR), r = ZL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = $L(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = zx(), { direction: c } = vS();+var $L = /*#__PURE__*/ (0, D.createContext)(null), eR = /*#__PURE__*/ (0, D.createContext)(null), tR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, $L);+ let n = (0, D.useContext)(pR), r = YL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ZL(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Lx(), { direction: c } = gS();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -38173,7 +38176,7 @@ var tR = /*#__PURE__*/ (0, D.createContext)(null), nR = /*#__PURE__*/ (0, D.creadefaultChildren: null})), /*#__PURE__*/ D.createElement(D.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ D.createElement(mue, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ D.createElement(gue, {...e,triggerRef: e.triggerRef,state: i,@@ -38182,13 +38185,13 @@ var tR = /*#__PURE__*/ (0, D.createContext)(null), nR = /*#__PURE__*/ (0, D.creadir: c});});-function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)(nR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, D.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = wae({+function gue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)(eR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, D.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Eae({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = QL(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = ZF({+ }, e), g = i.popoverRef, _ = XL(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = YF({...i,defaultClassName: "react-aria-Popover",values: {@@ -38198,10 +38201,10 @@ function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, D.useState)(i.trigger === "PreviewTrigger");- gb(() => {+ mb(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, D.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || ox() !== "pointer") && g.current && !ab(g.current) && _x(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || ix() !== "pointer") && g.current && !rb(g.current) && hx(g.current);}, [x,g,@@ -38209,12 +38212,12 @@ function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, D.useMemo)(() => {let e = y.children;- for (let t of [tR, ...r ?? []]) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);+ for (let t of [$L, ...r ?? []]) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, D.useState)(null), E = (0, D.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- gb(E, [E]), AE({+ mb(E, [E]), OE({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -38224,9 +38227,9 @@ function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- gb(() => yD(() => u(!0)), []);- let k = /*#__PURE__*/ D.createElement(iI.div, {- ...q(ES(i, { global: !0 }), d),+ mb(() => _D(() => u(!0)), []);+ let k = /*#__PURE__*/ D.createElement(nI.div, {+ ...q(wS(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -38241,17 +38244,17 @@ function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ D.createElement(fD, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(pue.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ D.createElement(uD, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(hue.Provider, { value: {...p,placement: m,ref: a- } }, C), /*#__PURE__*/ D.createElement(fD, { onDismiss: e.close }));- return c ? /*#__PURE__*/ D.createElement(ET, {+ } }, C), /*#__PURE__*/ D.createElement(uD, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ D.createElement(wT, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, k) : /*#__PURE__*/ D.createElement(ET, {+ }, k) : /*#__PURE__*/ D.createElement(wT, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,@@ -38266,15 +38269,15 @@ function mue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ D.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ D.createElement(nR.Provider, { value: o }, k)));+ }, /*#__PURE__*/ D.createElement(eR.Provider, { value: o }, k)));}//#endregion//#region node_modules/react-aria-components/dist/private/Keyboard.mjs-var hue = /*#__PURE__*/ (0, D.createContext)({});+var _ue = /*#__PURE__*/ (0, D.createContext)({});//#endregion//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function iR(e) {- let t = ZL(e), [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)([]), o = () => {+function nR(e) {+ let t = YL(e), [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -38300,7 +38303,7 @@ function iR(e) {}//#endregion//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var gue = class {+var vue = 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) => {@@ -38344,8 +38347,8 @@ var gue = class {};//#endregion//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs-function aR(e) {- let { onExpandedChange: t } = e, [n, r] = ew(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = zL(e), a = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = WL(e, (0, D.useCallback)((e) => new gue(e, { expandedKeys: n }), [n]), null);+function rR(e) {+ let { onExpandedChange: t } = e, [n, r] = QC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = LL(e), a = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = HL(e, (0, D.useCallback)((e) => new vue(e, { expandedKeys: n }), [n]), null);return (0, D.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -38353,32 +38356,32 @@ function aR(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(_ue(n, e));+ r(yue(n, e));},setExpandedKeys: r,- selectionManager: new VL(o, i)+ selectionManager: new zL(o, i)};}-function _ue(e, t) {+function yue(e, t) {let n = new Set(e);return n.has(t) ? n.delete(t) : n.add(t), n;}//#endregion//#region node_modules/react-aria-components/dist/private/Menu.mjs-var oR = /*#__PURE__*/ (0, D.createContext)(null), sR = /*#__PURE__*/ (0, D.createContext)(null), cR = /*#__PURE__*/ (0, D.createContext)(null), lR = /*#__PURE__*/ (0, D.createContext)(null);-function vue(e) {- let t = iR(e), n = (0, D.useRef)(null), { menuTriggerProps: r, menuProps: i } = sT({+var iR = /*#__PURE__*/ (0, D.createContext)(null), aR = /*#__PURE__*/ (0, D.createContext)(null), oR = /*#__PURE__*/ (0, D.createContext)(null), sR = /*#__PURE__*/ (0, D.createContext)(null);+function bue(e) {+ let t = nR(e), n = (0, D.useRef)(null), { menuTriggerProps: r, menuProps: i } = aT({...e,type: "menu"}, t, n), a = (0, D.useRef)(null);- return zx() ? null : /*#__PURE__*/ D.createElement(XF, { values: [- [oR, {+ return Lx() ? null : /*#__PURE__*/ D.createElement(JF, { values: [+ [iR, {...i,ref: a}],- [hR, t],- [cR, t],- [tR, {+ [pR, t],+ [oR, t],+ [$L, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -38386,14 +38389,14 @@ function vue(e) {"aria-labelledby": i["aria-labelledby"],offset: e.trigger === "contextMenu" ? 0 : void 0}]- ] }, /*#__PURE__*/ D.createElement(Fie, {+ ] }, /*#__PURE__*/ D.createElement(Lie, {...r,ref: n,isPressed: t.isOpen}, e.children));}-var yue = /*#__PURE__*/ (0, D.createContext)(null);-(class extends zy {+var xue = /*#__PURE__*/ (0, D.createContext)(null);+(class extends Ly {static {this.type = "submenutrigger";}@@ -38406,24 +38409,24 @@ var yue = /*#__PURE__*/ (0, D.createContext)(null);return null;}});-var bue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return [e, t] = $F(e, t, oR), /*#__PURE__*/ D.createElement(Ux, { content: /*#__PURE__*/ D.createElement(Xx, e) }, (n) => /*#__PURE__*/ D.createElement(xue, {+var Sue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return [e, t] = ZF(e, t, iR), /*#__PURE__*/ D.createElement(Vx, { content: /*#__PURE__*/ D.createElement(Jx, e) }, (n) => /*#__PURE__*/ D.createElement(Cue, {props: e,collection: n,menuRef: t}));});-function xue({ props: e, collection: t, menuRef: n }) {- [e, n] = $F(e, n, aI);- let { filter: r, ...i } = e, a = (0, D.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = aR({+function Cue({ props: e, collection: t, menuRef: n }) {+ [e, n] = ZF(e, n, rI);+ let { filter: r, ...i } = e, a = (0, D.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = rR({...e,collection: a,children: void 0- }), s = (0, D.useContext)(cR), { isVirtualized: c, CollectionRoot: l } = (0, D.useContext)(dI), { menuProps: u } = $ie({+ }), s = (0, D.useContext)(oR), { isVirtualized: c, CollectionRoot: l } = (0, D.useContext)(lI), { menuProps: u } = tae({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = ZF({+ }, o, n), d = YF({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -38433,36 +38436,36 @@ function xue({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(iI.div, {+ let p = wS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(JS, null, /*#__PURE__*/ D.createElement(nI.div, {...q(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ D.createElement(XF, { values: [- [sR, o],- [FL, { elementType: "div" }],- [sI, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [aR, o],+ [NL, { elementType: "div" }],+ [aI, {name: "MenuSection",- render: uR+ render: cR}],- [yue, {+ [xue, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [fR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [aI, null],- [oI, null],- [lR, o.selectionManager],- [cR, s ?? iR({})]- ] }, /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(l, {+ [uR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [rI, null],+ [iI, null],+ [sR, o.selectionManager],+ [oR, s ?? nR({})]+ ] }, /*#__PURE__*/ D.createElement(jL, null, /*#__PURE__*/ D.createElement(l, {collection: o.collection,- persistedKeys: fI(o.selectionManager.focusedKey),+ persistedKeys: uI(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var Sue = class extends VL {+var wue = class extends zL {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -38482,11 +38485,11 @@ var Sue = class extends VL {return this.parent.childFocusStrategy;}};-function uR(e, t, n, r = "react-aria-MenuSection") {- let i = (0, D.useContext)(sR), { CollectionBranch: a } = (0, D.useContext)(dI), [o, s] = eI(), { headingProps: c, groupProps: l } = tae({+function cR(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, D.useContext)(aR), { CollectionBranch: a } = (0, D.useContext)(lI), [o, s] = QF(), { headingProps: c, groupProps: l } = rae({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = ZF({+ }), u = YF({...e,id: void 0,children: void 0,@@ -38494,31 +38497,31 @@ function uR(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, D.useContext)(lR), f = zL(e), p = e.selectionMode == null ? d : new Sue(d, f), m = QF(fR)?.shouldCloseOnSelect, h = ES(e, { global: !0 });- return delete h.id, /*#__PURE__*/ D.createElement(iI.section, {+ }), d = (0, D.useContext)(sR), f = LL(e), p = e.selectionMode == null ? d : new wue(d, f), m = XF(uR)?.shouldCloseOnSelect, h = wS(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ D.createElement(nI.section, {...q(h, u, l),ref: t- }, /*#__PURE__*/ D.createElement(XF, { values: [- [ML, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [AL, {...c,ref: o}],- [lR, p],- [fR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [sR, p],+ [uR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ D.createElement(a, {collection: i.collection,parent: n})));}-var dR = /*#__PURE__*/ qx(Bne, uR), fR = /*#__PURE__*/ (0, D.createContext)(null), pR = /*#__PURE__*/ Kx(Hy, function(e, t, n) {- [e, t] = $F(e, t, fR);- let r = QF(fR)?.id, i = (0, D.useContext)(sR), a = Nx(t), o = (0, D.useContext)(lR), { isVirtualized: s } = (0, D.useContext)(dI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = eae({+var lR = /*#__PURE__*/ Gx(Hne, cR), uR = /*#__PURE__*/ (0, D.createContext)(null), dR = /*#__PURE__*/ Wx(By, function(e, t, n) {+ [e, t] = ZF(e, t, uR);+ let r = XF(uR)?.id, i = (0, D.useContext)(aR), a = jx(t), o = (0, D.useContext)(sR), { isVirtualized: s } = (0, D.useContext)(lI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = nae({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = MT({ isDisabled: f.isDisabled }), h = ZF({+ }, i, a), { hoverProps: p, isHovered: m } = AT({ isDisabled: f.isDisabled }), h = YF({...e,id: void 0,children: n.rendered,@@ -38532,7 +38535,7 @@ var dR = /*#__PURE__*/ qx(Bne, uR), fR = /*#__PURE__*/ (0, D.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? iI.a : iI.div, _ = ES(e, { global: !0 });+ }), g = e.href ? nI.a : nI.div, _ = wS(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(g, {...q(_, h, c, p),ref: a,@@ -38545,19 +38548,19 @@ var dR = /*#__PURE__*/ qx(Bne, uR), fR = /*#__PURE__*/ (0, D.createContext)(null"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,"data-has-submenu": !!e["aria-haspopup"] || void 0,"data-open": e["aria-expanded"] === "true" || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [- [SI, { slots: {- [YF]: l,+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [bI, { slots: {+ [qF]: l,label: l,description: u} }],- [hue, d],- [PL, { isSelected: f.isSelected }]+ [_ue, d],+ [ML, { isSelected: f.isSelected }]] }, h.children));});-Kx(Vy, function(e, t, n) {- let r = (0, D.useContext)(sR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);- qL((0, D.useMemo)(() => ({+Wx(zy, function(e, t, n) {+ let r = (0, D.useContext)(aR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);+ GL((0, D.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38567,7 +38570,7 @@ Kx(Vy, function(e, t, n) {o,r?.collection]), c);- let l = ZF({+ let l = YF({...s,id: void 0,children: n.rendered,@@ -38580,7 +38583,7 @@ Kx(Vy, function(e, t, n) {width: 0,height: 0},- inert: IL(!0)+ inert: PL(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38589,8 +38592,8 @@ Kx(Vy, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(iI.div, {- ...q(ES(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(nI.div, {+ ...q(wS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t@@ -38598,82 +38601,82 @@ Kx(Vy, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var mR = /*#__PURE__*/ (0, D.createContext)(null), hR = /*#__PURE__*/ (0, D.createContext)(null), gR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+var fR = /*#__PURE__*/ (0, D.createContext)(null), pR = /*#__PURE__*/ (0, D.createContext)(null), mR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = $F(e, t, mR);- let { dialogProps: r, titleProps: i, contentProps: a } = Lie({+ [e, t] = ZF(e, t, fR);+ let { dialogProps: r, titleProps: i, contentProps: a } = zie({...e,"aria-labelledby": n- }, t), o = (0, D.useContext)(hR);+ }, t), o = (0, D.useContext)(pR);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = ZF({+ let s = YF({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(iI.section, {+ }), c = wS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(nI.section, {...q(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [- [bI, { slots: {- [YF]: {},+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [vI, { slots: {+ [qF]: {},title: {...i,level: 2}} }],- [SI, { slots: {- [YF]: {},+ [bI, { slots: {+ [qF]: {},description: a} }],- [gI, { slots: {- [YF]: {},+ [mI, { slots: {+ [qF]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), _R = typeof document < "u" && window.visualViewport;-function Cue() {- let e = Wb(), t = (0, D.useRef)(null), [n, r] = (0, D.useState)(() => e ? {+}), hR = typeof document < "u" && window.visualViewport;+function Tue() {+ let e = Hb(), t = (0, D.useRef)(null), [n, r] = (0, D.useState)(() => e ? {width: 0,height: 0- } : vR());+ } : gR());return (0, D.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- _R && _R.scale > 1 || e(vR());+ hR && hR.scale > 1 || e(gR());}, i = (n) => {- _R && _R.scale > 1 || sS(K(n)) && (t.current = yD((t) => {+ hR && hR.scale > 1 || aS(K(n)) && (t.current = _D((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(vR()), Ob() && Ab() && window.addEventListener("blur", i, !0), _R ? _R.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), Ob() && Ab() && window.removeEventListener("blur", i, !0), _R ? _R.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(gR()), Eb() && Ob() && window.addEventListener("blur", i, !0), hR ? hR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), Eb() && Ob() && window.removeEventListener("blur", i, !0), hR ? hR.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function vR() {+function gR() {return {- width: _R ? Math.min(_R.width * _R.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: _R ? _R.height * _R.scale : document.documentElement.clientHeight+ width: hR ? Math.min(hR.width * hR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: hR ? hR.height * hR.scale : document.documentElement.clientHeight};}//#endregion//#region node_modules/react-aria-components/dist/private/Modal.mjs-var wue = /*#__PURE__*/ (0, D.createContext)(null), yR = /*#__PURE__*/ (0, D.createContext)(null), Tue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- if ((0, D.useContext)(yR)) return /*#__PURE__*/ D.createElement(xR, {+var Eue = /*#__PURE__*/ (0, D.createContext)(null), _R = /*#__PURE__*/ (0, D.createContext)(null), Due = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ if ((0, D.useContext)(_R)) return /*#__PURE__*/ D.createElement(yR, {...e,modalRef: t}, e.children);let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;- return /*#__PURE__*/ D.createElement(bR, {+ return /*#__PURE__*/ D.createElement(vR, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -38683,15 +38686,15 @@ var wue = /*#__PURE__*/ (0, D.createContext)(null), yR = /*#__PURE__*/ (0, D.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ D.createElement(xR, {+ }, /*#__PURE__*/ D.createElement(yR, {...f,modalRef: t}, s));});-function Eue(e, t) {- [e, t] = $F(e, t, wue);- let n = (0, D.useContext)(hR), r = ZL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Nx(t), o = (0, D.useRef)(null), s = $L(a, i.isOpen, e.onExit), c = (0, D.useRef)(null), l = $L(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Wb();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ D.createElement(Due, {+function Oue(e, t) {+ [e, t] = ZF(e, t, Eue);+ let n = (0, D.useContext)(pR), r = YL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = jx(t), o = (0, D.useRef)(null), s = ZL(a, i.isOpen, e.onExit), c = (0, D.useRef)(null), l = ZL(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Hb();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ D.createElement(kue, {...e,state: i,isExiting: u,@@ -38700,12 +38703,12 @@ function Eue(e, t) {onExitRef: c});}-var bR = /*#__PURE__*/ (0, D.forwardRef)(Eue);-function Due({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, D.useState)(!1), s = QL(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = fae({+var vR = /*#__PURE__*/ (0, D.forwardRef)(Oue);+function kue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, D.useState)(!1), s = XL(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = mae({...n,isEntering: c- }, i, r), d = (0, D.useContext)(mR), f = t ? Oue(d, { isEntering: c }) : d, p = ZF({+ }, i, r), d = (0, D.useContext)(fR), f = t ? Aue(d, { isEntering: c }) : d, p = YF({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -38713,9 +38716,9 @@ function Due({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = Cue(), h, g;+ }), m = Tue(), h, g;if (typeof document < "u") {- let e = bC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = vC(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;}let _ = {@@ -38725,18 +38728,18 @@ function Due({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n"--page-width": h === void 0 ? void 0 : h + "px","--page-height": g === void 0 ? void 0 : g + "px"};- return gb(() => yD(() => o(!0)), []), /*#__PURE__*/ D.createElement(ET, {+ return mb(() => _D(() => o(!0)), []), /*#__PURE__*/ D.createElement(wT, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ D.createElement(iI.div, {- ...q(ES(n, { global: !0 }), u),+ }, /*#__PURE__*/ D.createElement(nI.div, {+ ...q(wS(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [- [yR, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [_R, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -38744,11 +38747,11 @@ function Due({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [hR, i],- [mR, f]+ [pR, i],+ [fR, f]] }, p.children)));}-function Oue(e, t) {+function Aue(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -38765,8 +38768,8 @@ function Oue(e, t) {...t};}-function xR(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, D.useContext)(yR), s = (0, D.useContext)(hR), c = Nx((0, D.useMemo)(() => wx(e.modalRef, n), [e.modalRef, n])), l = QL(c, o, e.onEnter), u = ZF({+function yR(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, D.useContext)(_R), s = (0, D.useContext)(pR), c = jx((0, D.useMemo)(() => Sx(e.modalRef, n), [e.modalRef, n])), l = XL(c, o, e.onEnter), u = YF({...e,defaultClassName: "react-aria-Modal",values: {@@ -38775,21 +38778,21 @@ function xR(e) {state: s}});- return gb(() => {+ return mb(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ D.createElement(iI.div, {- ...q(ES(e, { global: !0 }), t),+ }), /*#__PURE__*/ D.createElement(nI.div, {+ ...q(wS(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ D.createElement(fD, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ D.createElement(uD, { onDismiss: s.close }), u.children);}//#endregion//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var kue = Math.round(Math.random() * 1e10), Aue = 0;-function jue(e) {- let t = (0, D.useMemo)(() => e.name || `radio-group-${kue}-${++Aue}`, [e.name]), [n, r] = ew(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = VC({+var jue = Math.round(Math.random() * 1e10), Mue = 0;+function Nue(e) {+ let t = (0, D.useMemo)(() => e.name || `radio-group-${jue}-${++Mue}`, [e.name]), [n, r] = QC(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = zC({...e,value: n}), c = (t) => {@@ -38812,16 +38815,16 @@ function jue(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var Mue = /*#__PURE__*/ (0, D.createContext)(null), Nue = /*#__PURE__*/ (0, D.createContext)(null), SR = /*#__PURE__*/ (0, D.createContext)(null), CR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, Mue);- let { validationBehavior: n } = QF(TI) || {}, r = e.validationBehavior ?? n ?? "native", i = jue({+var Pue = /*#__PURE__*/ (0, D.createContext)(null), Fue = /*#__PURE__*/ (0, D.createContext)(null), bR = /*#__PURE__*/ (0, D.createContext)(null), xR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, Pue);+ let { validationBehavior: n } = XF(CI) || {}, r = e.validationBehavior ?? n ?? "native", i = Nue({...e,validationBehavior: r- }), [a, o] = eI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Eae({+ }), [a, o] = QF(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Oae({...e,label: o,validationBehavior: r- }, i), f = ZF({+ }, i), f = YF({...e,values: {orientation: e.orientation || "vertical",@@ -38832,8 +38835,8 @@ var Mue = /*#__PURE__*/ (0, D.createContext)(null), Nue = /*#__PURE__*/ (0, D.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(iI.div, {+ }), p = wS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(nI.div, {...q(p, f, s),ref: t,slot: e.slot || void 0,@@ -38842,39 +38845,39 @@ var Mue = /*#__PURE__*/ (0, D.createContext)(null), Nue = /*#__PURE__*/ (0, D.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [- [SR, i],- [pI, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [bR, i],+ [dI, {...c,ref: a,elementType: "span"}],- [SI, { slots: {+ [bI, { slots: {description: l,errorMessage: u} }],- [wI, d]- ] }, /*#__PURE__*/ D.createElement(NL, null, f.children)));-}), wR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [SI, d]+ ] }, /*#__PURE__*/ D.createElement(jL, null, f.children)));+}), SR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = $F(r, t, Nue);- let i = D.useContext(SR), a = Nx((0, D.useMemo)(() => wx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Tae({- ...tI(e),+ [e, t] = ZF(r, t, Fue);+ let i = D.useContext(bR), a = jx((0, D.useMemo)(() => Sx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Dae({+ ...$F(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ D.createElement(TR.Provider, { value: {+ return /*#__PURE__*/ D.createElement(CR.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ D.createElement(Pue, {+ } }, /*#__PURE__*/ D.createElement(Iue, {...e,ref: t}));-}), TR = /*#__PURE__*/ (0, D.createContext)(null), Pue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(TR), l = D.useContext(SR), { isFocused: u, isFocusVisible: d, focusProps: f } = OT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = MT({+}), CR = /*#__PURE__*/ (0, D.createContext)(null), Iue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(CR), l = D.useContext(bR), { isFocused: u, isFocusVisible: d, focusProps: f } = ET(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = AT({...e,isDisabled: p- }), g = ZF({+ }), g = YF({...e,defaultClassName: s,values: {@@ -38888,8 +38891,8 @@ var Mue = /*#__PURE__*/ (0, D.createContext)(null), Nue = /*#__PURE__*/ (0, D.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = ES(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(iI.label, {+ }), _ = wS(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(nI.label, {...q(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -38901,19 +38904,19 @@ var Mue = /*#__PURE__*/ (0, D.createContext)(null), Nue = /*#__PURE__*/ (0, D.cr"data-readonly": l.isReadOnly || void 0,"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0- }, /*#__PURE__*/ D.createElement(uw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(cw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {...q(r, f),ref: c})), g.children);});//#endregion//#region node_modules/react-stately/dist/private/select/useSelectState.mjs-function Fue(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = ZL(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function Lue(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = YL(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = ew((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = QC((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -38925,12 +38928,12 @@ function Fue(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = GL({+ }, d = UL({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, D.useMemo)(() => Iue(l), [l]),+ selectedKeys: (0, D.useMemo)(() => Rue(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -38940,7 +38943,7 @@ function Fue(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = VC({+ }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = zC({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, D.useState)(!1), [_] = (0, D.useState)(l);@@ -38967,16 +38970,16 @@ function Fue(e) {setFocused: g};}-function Iue(e) {+function Rue(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}//#endregion//#region node_modules/react-aria-components/dist/private/Select.mjs-function Lue(e) {+function zue(e) {return e && e.__esModule ? e.default : e;}-var ER = /*#__PURE__*/ (0, D.createContext)(null), DR = /*#__PURE__*/ (0, D.createContext)(null), Rue = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, ER);+var wR = /*#__PURE__*/ (0, D.createContext)(null), TR = /*#__PURE__*/ (0, D.createContext)(null), Bue = /*#__PURE__*/ Ix(function(e, t) {+ [e, t] = ZF(e, t, wR);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, D.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -38991,24 +38994,24 @@ var ER = /*#__PURE__*/ (0, D.createContext)(null), DR = /*#__PURE__*/ (0, D.creai,a]);- return /*#__PURE__*/ D.createElement(Ux, { content: o }, (n) => /*#__PURE__*/ D.createElement(Bue, {+ return /*#__PURE__*/ D.createElement(Vx, { content: o }, (n) => /*#__PURE__*/ D.createElement(Hue, {props: e,collection: n,selectRef: t}));-}), zue = [- pI,- gI,- SI+}), Vue = [+ dI,+ mI,+ bI];-function Bue({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = QF(TI) || {}, i = e.validationBehavior ?? r ?? "native", a = Fue({+function Hue({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = XF(CI) || {}, i = e.validationBehavior ?? r ?? "native", a = Lue({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = OT({ within: !0 }), c = (0, D.useRef)(null), [l, u] = eI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Dae({- ...tI(e),+ }), { isFocusVisible: o, focusProps: s } = ET({ within: !0 }), c = (0, D.useRef)(null), [l, u] = QF(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = kae({+ ...$F(e),label: u,validationBehavior: i}, a, c), y = (0, D.useMemo)(() => ({@@ -39025,48 +39028,48 @@ function Bue({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = ZF({+ ]), b = YF({...e,values: y,defaultClassName: "react-aria-Select"- }), x = ES(e, { global: !0 });+ }), x = wS(e, { global: !0 });delete x.id;let S = (0, D.useRef)(null);- return /*#__PURE__*/ D.createElement(XF, { values: [- [ER, e],- [DR, a],- [OR, p],- [pI, {+ return /*#__PURE__*/ D.createElement(JF, { values: [+ [wR, e],+ [TR, a],+ [ER, p],+ [dI, {...d,ref: l,elementType: "span"}],- [gI, {+ [mI, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [hR, a],- [tR, {+ [pR, a],+ [$L, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: zue+ clearContexts: Vue}],- [JL, {+ [KL, {...m,ref: S}],- [YL, a],- [SI, { slots: {+ [qL, a],+ [bI, { slots: {description: h,errorMessage: g} }],- [wI, v]- ] }, /*#__PURE__*/ D.createElement(iI.div, {+ [SI, v]+ ] }, /*#__PURE__*/ D.createElement(nI.div, {...q(x, b, s),ref: t,slot: e.slot || void 0,@@ -39076,14 +39079,14 @@ function Bue({ props: e, selectRef: t, collection: n }) {"data-disabled": e.isDisabled || void 0,"data-invalid": v.isInvalid || void 0,"data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ D.createElement(kae, {+ }, b.children, /*#__PURE__*/ D.createElement(jae, {..._,autoComplete: e.autoComplete})));}-for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, OR);- let n = (0, D.useContext)(DR), { placeholder: r } = QF(ER), i = n.selectedItems.map((e) => {+for (var ER = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ Ix(function(e, t) {+ [e, t] = ZF(e, t, ER);+ let n = (0, D.useContext)(TR), { placeholder: r } = XF(wR), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -39095,7 +39098,7 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(fselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = Rie(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ }), a = Bie(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [s,a,o@@ -39110,7 +39113,7 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(fa,o,i- ]), u = wS(Lue(DL), "react-aria-components"), d = ZF({+ ]), u = SS(zue(TL), "react-aria-components"), d = YF({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -39121,33 +39124,33 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(iI.span, {+ }), f = wS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(nI.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ D.createElement(SI.Provider, { value: void 0 }, d.children));-}), Hue = /*#__PURE__*/ (0, D.createContext)(null), kR = /*#__PURE__*/ (0, D.createContext)(null), Uue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ D.createElement(bI.Provider, { value: void 0 }, d.children));+}), Wue = /*#__PURE__*/ (0, D.createContext)(null), DR = /*#__PURE__*/ (0, D.createContext)(null), Gue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = $F(r, t, Hue);- let i = Nx((0, D.useMemo)(() => wx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = tw(e), o = jae({- ...tI(e),+ [e, t] = ZF(r, t, Wue);+ let i = jx((0, D.useMemo)(() => Sx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = $C(e), o = Nae({+ ...$F(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ D.createElement(XF, { values: [[kR, a], [AR, {+ return /*#__PURE__*/ D.createElement(JF, { values: [[DR, a], [OR, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ D.createElement(Wue, {+ }]] }, /*#__PURE__*/ D.createElement(Kue, {...e,ref: t}));-}), AR = /*#__PURE__*/ (0, D.createContext)(null), Wue = /*#__PURE__*/ (0, D.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, D.useContext)(AR), { isFocused: f, isFocusVisible: p, focusProps: m } = OT(), h = a || o, g = (0, D.useContext)(kR), { hoverProps: _, isHovered: v } = MT({+}), OR = /*#__PURE__*/ (0, D.createContext)(null), Kue = /*#__PURE__*/ (0, D.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, D.useContext)(OR), { isFocused: f, isFocusVisible: p, focusProps: m } = ET(), h = a || o, g = (0, D.useContext)(DR), { hoverProps: _, isHovered: v } = AT({...e,isDisabled: h- }), y = ZF({+ }), y = YF({...e,defaultClassName: u,values: {@@ -39162,8 +39165,8 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(fisRequired: d || !1,state: g}- }), b = ES(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(iI.label, {+ }), b = wS(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(nI.label, {...q(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -39176,11 +39179,11 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(f"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ D.createElement(uw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(cw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {...q(r, m),ref: l})), y.children);-}), jR = 10, MR = 5, NR = class {+}), kR = 10, AR = 5, jR = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -39190,7 +39193,7 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(f}resolveDropTarget(e, t, n, r) {let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;- if (Math.abs(a) > MR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > jR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > AR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > kR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {let t = this.state.collection.getKeyBefore(e.key);for (; t != null;) {let e = this.state.collection.getItem(t);@@ -39269,11 +39272,11 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > MR && i) {+ if (Math.abs(r - c.lastSwitchY) > AR && i) {let t = c.preferredTargetIndex || 0;i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;}- if (l > jR && a) {+ if (l > kR && a) {let t = c.preferredTargetIndex || 0;a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;}@@ -39288,7 +39291,7 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(fboundaryContext: null};}-}, Gue = class {+}, que = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -39358,8 +39361,8 @@ for (var OR = /*#__PURE__*/ (0, D.createContext)(null), Vue = /*#__PURE__*/ Rx(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, PR = "row-header-column-" + Math.random().toString(36).slice(2), FR = "row-header-column-" + Math.random().toString(36).slice(2); PR === FR;) FR = "row-header-column-" + Math.random().toString(36).slice(2);-function IR(e, t) {+}, MR = "row-header-column-" + Math.random().toString(36).slice(2), NR = "row-header-column-" + Math.random().toString(36).slice(2); MR === NR;) NR = "row-header-column-" + Math.random().toString(36).slice(2);+function PR(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -39443,13 +39446,13 @@ function IR(e, t) {textValue: ""}));}-var Kue = class extends Gue {+var Jue = class extends que {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: PR,+ key: MR,value: null,textValue: "",level: 0,@@ -39464,7 +39467,7 @@ var Kue = class extends Gue {if (n?.showDragButtons) {let e = {type: "column",- key: FR,+ key: NR,value: null,textValue: "",level: 0,@@ -39491,7 +39494,7 @@ var Kue = class extends Gue {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = IR(s, a);+ let l = PR(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -39517,10 +39520,10 @@ var Kue = class extends Gue {return this.keyMap.get(e)?.nextKey ?? null;}getFirstKey() {- return pT(this.body.childNodes)?.key ?? null;+ return dT(this.body.childNodes)?.key ?? null;}getLastKey() {- return hT(this.body.childNodes)?.key ?? null;+ return pT(this.body.childNodes)?.key ?? null;}getItem(e) {return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;@@ -39552,15 +39555,15 @@ var Kue = class extends Gue {};//#endregion//#region node_modules/react-stately/dist/private/table/TableUtils.mjs-function que(e) {+function Yue(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function Jue(e) {+function Xue(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function LR(e, t) {+function FR(e, t) {if (typeof e == "string") {let n = e.match(/^(\d+)(?=%$)/);if (!n) throw Error("Only percentages or numbers are supported for static column widths");@@ -39568,19 +39571,19 @@ function LR(e, t) {}return e;}-function RR(e, t) {- return e == null ? 2 ** 53 - 1 : LR(e, t);+function IR(e, t) {+ return e == null ? 2 ** 53 - 1 : FR(e, t);}-function zR(e, t) {- return e == null ? 0 : LR(e, t);+function LR(e, t) {+ return e == null ? 0 : FR(e, t);}-function Yue(e, t, n, r, i) {+function Zue(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;- que(o) ? (l = LR(o, e), s = !0) : (u = Jue(o), u <= 0 && (s = !0));- let f = zR(t.minWidth ?? i?.(a) ?? 0, e), p = RR(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ Yue(o) ? (l = FR(o, e), s = !0) : (u = Xue(o), u <= 0 && (s = !0));+ let f = LR(t.minWidth ?? i?.(a) ?? 0, e), p = IR(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,baseSize: l,@@ -39614,14 +39617,14 @@ function Yue(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = Xue(l);+ let u = Que(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 Xue(e) {+function Que(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -39630,7 +39633,7 @@ function Xue(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var Zue = class {+var $ue = 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);}@@ -39659,19 +39662,19 @@ var Zue = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Yue(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Zue(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) => {let i = t.columns[r].key, a = t.columns[r];- this.columnWidths.set(i, n), this.columnMinWidths.set(i, zR(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, RR(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, LR(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, IR(a.props.maxWidth, e));}), this.columnWidths;}};//#endregion//#region node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function Que(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, D.useState)(null), s = (0, D.useMemo)(() => new Zue({+function ede(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, D.useState)(null), s = (0, D.useMemo)(() => new $ue({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, D.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, D.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, D.useState)(t.collection.columns);@@ -39723,19 +39726,19 @@ function Que(e, t) {}//#endregion//#region node_modules/react-stately/dist/private/grid/useGridState.mjs-function $ue(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || zL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function tde(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || LL(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;r.setFocusedKey = (e, r) => {if (n === "cell" && e != null) {let n = t.getItem(e);if (n?.type === "item") {- let i = fT(n, t);- e = r === "last" ? hT(i)?.key ?? null : pT(i)?.key ?? null;+ let i = uT(n, t);+ e = r === "last" ? pT(i)?.key ?? null : dT(i)?.key ?? null;}}a(e, r);};- let o = (0, D.useMemo)(() => new VL(t, r), [t, r]), s = (0, D.useRef)(null);+ let o = (0, D.useMemo)(() => new zL(t, r), [t, r]), s = (0, D.useRef)(null);return (0, D.useEffect)(() => {if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;@@ -39755,7 +39758,7 @@ function $ue(e) {}}if (u) {- let i = u.hasChildNodes ? [...fT(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ let i = u.hasChildNodes ? [...uT(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;r.setFocusedKey(a);} else r.setFocusedKey(null);}@@ -39774,11 +39777,11 @@ function $ue(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/useTableState.mjs-var ede = {+var nde = {ascending: "descending",descending: "ascending"};-function tde(e) {+function rde(e) {let [t, n] = (0, D.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, D.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -39789,11 +39792,11 @@ function tde(e) {i,r,a- ]), c = WL(e, (0, D.useCallback)((e) => new Kue(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = $ue({+ ]), c = HL(e, (0, D.useCallback)((e) => new Jue(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = tde({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = ew(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ }), [d, f] = QC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);return {collection: c,disabledKeys: l,@@ -39805,7 +39808,7 @@ function tde(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? ede[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? nde[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -39818,7 +39821,7 @@ function tde(e) {treeColumn: o};}-function nde(e, t) {+function ide(e, t) {let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -39828,10 +39831,10 @@ function nde(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Table.mjs-function rde(e) {+function ade(e) {return e && e.__esModule ? e.default : e;}-var ide = class extends Uy {+var ode = class extends Vy {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -39846,7 +39849,7 @@ var ide = class extends Uy {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new JR(-2);+ return new KR(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -39872,7 +39875,7 @@ var ide = class extends Uy {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = IR(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");+ if (this.headerRows = PR(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");}get columnCount() {return this.columns.length;@@ -39953,28 +39956,28 @@ var ide = class extends Uy {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new WR(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new HR(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, BR = /*#__PURE__*/ (0, D.createContext)(null), ade = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let n = Nx(t), r = (0, D.useRef)(null), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(0);- gb(() => {+}, RR = /*#__PURE__*/ (0, D.createContext)(null), sde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let n = jx(t), r = (0, D.useRef)(null), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(0);+ mb(() => {let e = r.current;- for (; e && e !== n.current && !bC(e);) e = e.parentElement;+ for (; e && e !== n.current && !vC(e);) e = e.parentElement;i.current = e;- }, [n]), AE({+ }, [n]), OE({ref: i,box: "border-box",onResize() {o(i.current?.clientWidth ?? 0);}- }), gb(() => {+ }), mb(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, D.useMemo)(() => ({tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: Que,+ useTableColumnResizeState: ede,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -39985,17 +39988,17 @@ var ide = class extends Uy {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ D.createElement(iI.div, {+ return /*#__PURE__*/ D.createElement(nI.div, {render: e.render,- ...ES(e, { global: !0 }),+ ...wS(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ D.createElement(BR.Provider, { value: s }, e.children));-}), ode = /*#__PURE__*/ (0, D.createContext)(null), VR = /*#__PURE__*/ (0, D.createContext)(null), HR = /*#__PURE__*/ (0, D.createContext)(null), sde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, ode);- let n = zL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({+ }, /*#__PURE__*/ D.createElement(RR.Provider, { value: s }, e.children));+}), cde = /*#__PURE__*/ (0, D.createContext)(null), zR = /*#__PURE__*/ (0, D.createContext)(null), BR = /*#__PURE__*/ (0, D.createContext)(null), lde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, cde);+ let n = LL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -40005,26 +40008,26 @@ var ide = class extends Uy {i,a,o- ]), c = /*#__PURE__*/ D.createElement(ude.Provider, { value: s }, /*#__PURE__*/ D.createElement(Xx, e));- return /*#__PURE__*/ D.createElement(Ux, {+ ]), c = /*#__PURE__*/ D.createElement(fde.Provider, { value: s }, /*#__PURE__*/ D.createElement(Jx, e));+ return /*#__PURE__*/ D.createElement(Vx, {content: c,- createCollection: () => new ide()- }, (r) => /*#__PURE__*/ D.createElement(lde, {+ createCollection: () => new ode()+ }, (r) => /*#__PURE__*/ D.createElement(dde, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), cde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}), ude = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.table, {+ }) : /*#__PURE__*/ D.createElement(nI.table, {...e,ref: t});-}), UR = {+}), VR = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -40034,26 +40037,26 @@ var ide = class extends Uy {rtl: "ArrowRight"}};-function lde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = $F(e, t, aI);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(BR);- t = Nx((0, D.useMemo)(() => wx(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = ew(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+function dde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = ZF(e, t, rI);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(RR);+ t = jx((0, D.useMemo)(() => Sx(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = QC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, D.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = tde({+ let d = rde({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = nde(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(dI), { dragAndDropHooks: _ } = e, { gridProps: v } = Iae({+ }), f = ide(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(lI), { dragAndDropHooks: _ } = e, { gridProps: v } = Rae({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, D.useRef)(b), (0, D.useRef)(x), (0, D.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = vS(), [A] = (0, D.useState)(() => new NR());+ let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = gS(), [A] = (0, D.useState)(() => new jR());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -40068,7 +40071,7 @@ function lde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {collection: f.collection,selectionManager: y});- let e = new Cw({+ let e = new xw({collection: f.collection,disabledKeys: y.disabledKeys,disabledBehavior: y.disabledBehavior,@@ -40088,12 +40091,12 @@ function lde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {let t = C?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = d.collection.getItem(t.key);- (e.key === UR.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === UR.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === VR.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === VR.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: j, isFocused: M, isFocusVisible: N } = OT(), P = ZF({+ let { focusProps: j, isFocused: M, isFocusVisible: N } = ET(), P = YF({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -40109,19 +40112,19 @@ function lde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {tableLayout: "fixed",width: "min-content"}));- let I = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(XF, { values: [- [VR, f],- [HR, te],- [OL, {+ let I = wS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(JF, { values: [+ [zR, f],+ [BR, te],+ [EL, {dragAndDropHooks: _,dragState: S,dropState: C}],- [kL, { render: bde }],- [aI, null],- [oI, null]- ] }, /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(cde, {+ [DL, { render: Sde }],+ [rI, null],+ [iI, null]+ ] }, /*#__PURE__*/ D.createElement(JS, null, /*#__PURE__*/ D.createElement(ude, {...q(I, P, v, j, w?.collectionProps),style: F,ref: t,@@ -40131,55 +40134,55 @@ function lde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": T || void 0,"data-focused": M || void 0,"data-focus-visible": N || void 0- }, /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(g, {+ }, /*#__PURE__*/ D.createElement(jL, null, /*#__PURE__*/ D.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: jL(y, _, C)+ persistedKeys: kL(y, _, C)})))), E);}-var ude = /*#__PURE__*/ (0, D.createContext)(null), WR = class extends zy {+var fde = /*#__PURE__*/ (0, D.createContext)(null), HR = class extends Ly {static {this.type = "tableheader";}-}, dde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}, pde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.thead, {+ }) : /*#__PURE__*/ D.createElement(nI.thead, {...e,ref: t});-}), GR = /*#__PURE__*/ qx(WR, (e, t) => {- let n = (0, D.useContext)(VR).collection, r = qy({+}), UR = /*#__PURE__*/ Gx(HR, (e, t) => {+ let n = (0, D.useContext)(zR).collection, r = Gy({items: n.headerRows,children: (0, D.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ D.createElement(pde, { item: e });+ case "headerrow": return /*#__PURE__*/ D.createElement(hde, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = FO(), { hoverProps: a, isHovered: o } = MT({+ }), { rowGroupProps: i } = NO(), { hoverProps: a, isHovered: o } = AT({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = ZF({+ }), s = YF({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ D.createElement(dde, {- ...q(ES(e, { global: !0 }), i, a),+ return /*#__PURE__*/ D.createElement(pde, {+ ...q(wS(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ D.createElement(Xx, {+}, (e) => /*#__PURE__*/ D.createElement(Jx, {dependencies: e.dependencies,items: e.columns-}, e.children)), fde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);+}, e.children)), mde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);return n ? /*#__PURE__*/ D.createElement("div", {...e,ref: t@@ -40188,41 +40191,41 @@ var ude = /*#__PURE__*/ (0, D.createContext)(null), WR = class extends zy {ref: t});});-function pde({ item: e }) {- let t = (0, D.useRef)(null), n = (0, D.useContext)(VR), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(dI), { rowProps: a } = Hae({+function hde({ item: e }) {+ let t = (0, D.useRef)(null), n = (0, D.useContext)(zR), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(lI), { rowProps: a } = Wae({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = Yae(n);- return /*#__PURE__*/ D.createElement(fde, {+ }, n, t), { checkboxProps: o } = Zae(n);+ return /*#__PURE__*/ D.createElement(mde, {...a,ref: t- }, /*#__PURE__*/ D.createElement(XF, { values: [[EI, { slots: { selection: o } }], [DI, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [[wI, { slots: { selection: o } }], [TI, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {collection: n.collection,parent: e})));}-var mde = class extends zy {+var gde = class extends Ly {static {this.type = "column";}-}, hde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}, _de = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.th, {+ }) : /*#__PURE__*/ D.createElement(nI.th, {...e,ref: t});-}), KR = /*#__PURE__*/ Kx(mde, (e, t, n) => {- let r = Nx(t), i = (0, D.useContext)(VR), { isVirtualized: a } = (0, D.useContext)(dI), { columnHeaderProps: o, isPressed: s } = zae({+}), WR = /*#__PURE__*/ Wx(gde, (e, t, n) => {+ let r = jx(t), i = (0, D.useContext)(zR), { isVirtualized: a } = (0, D.useContext)(lI), { columnHeaderProps: o, isPressed: s } = Vae({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = OT(), d = (0, D.useContext)(HR), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ET(), d = (0, D.useContext)(BR), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = MT({ isDisabled: !e.allowsSorting }), h = ZF({+ let { hoverProps: p, isHovered: m } = AT({ isDisabled: !e.allowsSorting }), h = YF({...e,id: void 0,children: n.rendered,@@ -40248,8 +40251,8 @@ var mde = class extends zy {...g,width: d.getColumnWidth(n.key)});- let _ = ES(e, { global: !0 });- return delete _.id, /*#__PURE__*/ D.createElement(hde, {+ let _ = wS(e, { global: !0 });+ return delete _.id, /*#__PURE__*/ D.createElement(_de, {...q(_, o, u, p),...h,style: g,@@ -40261,29 +40264,29 @@ var mde = class extends zy {"data-resizing": f || void 0,"data-allows-sorting": n.props.allowsSorting || void 0,"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [[qR, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [[GR, {column: n,triggerRef: r- }], [dI, cI]] }, h.children));-}), qR = /*#__PURE__*/ (0, D.createContext)(null), gde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let n = (0, D.useContext)(HR);+ }], [lI, oI]] }, h.children));+}), GR = /*#__PURE__*/ (0, D.createContext)(null), vde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let n = (0, D.useContext)(BR);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = wS(rde(DL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, D.useContext)(BR), { column: s, triggerRef: c } = (0, D.useContext)(qR), l = (0, D.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Vae({+ let r = SS(ade(TL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, D.useContext)(RR), { column: s, triggerRef: c } = (0, D.useContext)(GR), l = (0, D.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Uae({column: s,"aria-label": e["aria-label"] || r.format("tableResizer"),onResizeStart: i,onResize: a,onResizeEnd: o,triggerRef: c- }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = OT(), { hoverProps: _, isHovered: v } = MT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = vS(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = ET(), { hoverProps: _, isHovered: v } = AT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = gS(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = Nx(t), [w, T] = (0, D.useState)("");+ let C = jx(t), [w, T] = (0, D.useState)("");(0, D.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let E = ZF({+ let E = YF({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -40293,8 +40296,8 @@ var mde = class extends zy {isHovered: v,resizableDirection: S}- }), O = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(iI.div, {+ }), O = wS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(nI.div, {ref: C,role: "presentation",...q(O, E, u, _),@@ -40317,24 +40320,24 @@ var mde = class extends zy {},"data-testid": "cursor-overlay"}), document.body));-}), JR = class extends By {+}), KR = class extends Ry {static {this.type = "tablebody";}-}, _de = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}, yde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.tbody, {+ }) : /*#__PURE__*/ D.createElement(nI.tbody, {...e,ref: t});-}), YR = /*#__PURE__*/ qx(JR, (e, t, n) => {- let r = (0, D.useContext)(VR), { isVirtualized: i } = (0, D.useContext)(dI), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(dI), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(OL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), qR = /*#__PURE__*/ Gx(KR, (e, t, n) => {+ let r = (0, D.useContext)(zR), { isVirtualized: i } = (0, D.useContext)(lI), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(lI), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(EL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = ZF({+ }, p = YF({...e,id: void 0,children: void 0,@@ -40343,33 +40346,33 @@ var mde = class extends zy {}), m, h = a.columnCount;if (d && e.renderEmptyState && r) {let t = {}, n = {}, r = {};- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ D.createElement(ZR, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ D.createElement(YR, {role: "row",...t,style: r- }, /*#__PURE__*/ D.createElement($R, {+ }, /*#__PURE__*/ D.createElement(ZR, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = FO(), _ = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(_de, {+ let { rowGroupProps: g } = NO(), _ = wS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(yde, {...q(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ D.createElement(Tde, null), /*#__PURE__*/ D.createElement(o, {+ }, l && /*#__PURE__*/ D.createElement(Dde, null), /*#__PURE__*/ D.createElement(o, {collection: a,parent: n,- renderDropIndicator: AL(s, c)+ renderDropIndicator: OL(s, c)}), m);});-(class extends By {+(class extends Ry {static {this.type = "tablefooter";}});-var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vde = class extends zy {+var JR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), bde = class extends Ly {static {this.type = "item";}@@ -40381,31 +40384,31 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vd}return null;}-}, ZR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}, YR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.tr, {+ }) : /*#__PURE__*/ D.createElement(nI.tr, {...e,ref: t});-}), QR = /*#__PURE__*/ qx(vde, (e, t, n) => {- let r = Nx(t), i = (0, D.useContext)(VR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(OL), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(dI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Gae({+}), XR = /*#__PURE__*/ Gx(bde, (e, t, n) => {+ let r = jx(t), i = (0, D.useContext)(zR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(EL), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(lI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = qae({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = OT(), { isFocusVisible: _, focusProps: v } = OT({ within: !0 }), { hoverProps: y, isHovered: b } = MT({+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = ET(), { isFocusVisible: _, focusProps: v } = ET({ within: !0 }), { hoverProps: y, isHovered: b } = AT({isDisabled: !p.allowsSelection && !p.hasAction && !u,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = Jae({ key: n.key }, i), S;+ }), { checkboxProps: x } = Xae({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0}, o));- let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = lw();+ let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = sw();s && a && (C = a.useDropIndicator({ target: {type: "item",key: n.key,@@ -40415,7 +40418,7 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vd(0, D.useEffect)(() => {o && E.current;}, []);- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = ZF({+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = YF({...A,id: void 0,defaultClassName: "react-aria-Row",@@ -40436,11 +40439,11 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vdisExpanded: M,level: n.level + 1}- }), P = ES(e, { global: !0 });- return delete P.id, delete P.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(ZR, {+ }), P = wS(e, { global: !0 });+ return delete P.id, delete P.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(YR, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ D.createElement($R, {+ }, /*#__PURE__*/ D.createElement(ZR, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -40449,7 +40452,7 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vd...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ D.createElement(ZR, {+ }))), /*#__PURE__*/ D.createElement(YR, {...q(P, N, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,@@ -40465,17 +40468,17 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vd"data-expanded": M || void 0,"data-has-child-items": j || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ D.createElement(XF, { values: [- [EI, { slots: {- [YF]: {},+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [wI, { slots: {+ [qF]: {},selection: x} }],- [DI, { slots: {- [YF]: {},+ [TI, { slots: {+ [qF]: {},selection: x} }],- [gI, { slots: {- [YF]: {},+ [mI, { slots: {+ [qF]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -40483,8 +40486,8 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vdstyle: { pointerEvents: "none" }}} }],- [PL, { isSelected: p.isSelected }],- [XR, { isFocusVisibleWithinRow: _ }]+ [ML, { isSelected: p.isSelected }],+ [JR, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ D.createElement(l, {collection: i.collection,parent: n@@ -40492,34 +40495,34 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vd}, (e) => {if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t = [e.value].concat(e.dependencies);- return /*#__PURE__*/ D.createElement(Xx, {+ return /*#__PURE__*/ D.createElement(Jx, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), yde = class extends zy {+}), xde = class extends Ly {static {this.type = "cell";}-}, $R = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}, ZR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.td, {+ }) : /*#__PURE__*/ D.createElement(nI.td, {...e,ref: t});-}), ez = /*#__PURE__*/ Kx(yde, (e, t, n) => {- let r = Nx(t), i = (0, D.useContext)(VR), { dragState: a } = (0, D.useContext)(OL), { isVirtualized: o } = (0, D.useContext)(dI);+}), QR = /*#__PURE__*/ Wx(xde, (e, t, n) => {+ let r = jx(t), i = (0, D.useContext)(zR), { dragState: a } = (0, D.useContext)(EL), { isVirtualized: o } = (0, D.useContext)(lI);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = Lae({+ let { gridCellProps: s, isPressed: c } = zae({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = OT(), { hoverProps: f, isHovered: p } = MT({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)(XR), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = ZF({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ET(), { hoverProps: f, isHovered: p } = AT({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)(JR), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = YF({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -40538,8 +40541,8 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vdlevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = ES(e, { global: !0 });- return delete S.id, /*#__PURE__*/ D.createElement($R, {+ }), S = wS(e, { global: !0 });+ return delete S.id, /*#__PURE__*/ D.createElement(ZR, {...q(S, x, s, d, f),ref: r,"data-focused": l || void 0,@@ -40553,14 +40556,14 @@ var XR = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), vd"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ D.createElement(dI.Provider, { value: cI }, x.children));+ }, /*#__PURE__*/ D.createElement(lI.Provider, { value: oI }, x.children));});-function bde(e, t) {- t = Nx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(OL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function Sde(e, t) {+ t = jx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(EL), i = (0, D.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__*/ D.createElement(wde, {+ return /*#__PURE__*/ D.createElement(Ede, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -40569,40 +40572,40 @@ function bde(e, t) {ref: t});}-var xde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+var Cde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.tr, {+ }) : /*#__PURE__*/ D.createElement(nI.tr, {...e,ref: t});-}), Sde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(dI);- return n ? /*#__PURE__*/ D.createElement(iI.div, {+}), wde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(lI);+ return n ? /*#__PURE__*/ D.createElement(nI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(iI.td, {+ }) : /*#__PURE__*/ D.createElement(nI.td, {...e,ref: t});});-function Cde(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(VR), { visuallyHiddenProps: c } = lw(), l = ZF({+function Tde(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(zR), { visuallyHiddenProps: c } = sw(), l = YF({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(xde, {- ...ES(e, { global: !0 }),+ return /*#__PURE__*/ D.createElement(Cde, {+ ...wS(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ D.createElement(Sde, {+ }, /*#__PURE__*/ D.createElement(wde, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -40613,14 +40616,14 @@ function Cde(e, t) {ref: i}), l.children));}-var wde = /*#__PURE__*/ (0, D.forwardRef)(Cde);-function Tde() {- let e = (0, D.useContext)(VR), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(OL), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = lw();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(ZR, {+var Ede = /*#__PURE__*/ (0, D.forwardRef)(Tde);+function Dde() {+ let e = (0, D.useContext)(zR), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(EL), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = sw();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(YR, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ D.createElement($R, {+ }, /*#__PURE__*/ D.createElement(ZR, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -40631,9 +40634,9 @@ function Tde() {ref: r})));}-Kx(Vy, function(e, t, n) {- let r = (0, D.useContext)(VR), { isVirtualized: i } = (0, D.useContext)(dI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);- qL((0, D.useMemo)(() => ({+Wx(zy, function(e, t, n) {+ let r = (0, D.useContext)(zR), { isVirtualized: i } = (0, D.useContext)(lI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);+ GL((0, D.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -40643,7 +40646,7 @@ Kx(Vy, function(e, t, n) {s,r?.collection]), u);- let d = ZF({+ let d = YF({...c,id: void 0,children: n.rendered,@@ -40651,10 +40654,10 @@ Kx(Vy, function(e, t, n) {defaultStyle: { "--table-row-level": n.level + 1 },values: void 0}), f = {}, p = {}, m = {};- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(ZR, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(YR, {style: { height: 0 },- inert: IL(!0)- }, /*#__PURE__*/ D.createElement($R, { style: {+ inert: PL(!0)+ }, /*#__PURE__*/ D.createElement(ZR, { style: {padding: 0,border: 0} }, /*#__PURE__*/ D.createElement("div", {@@ -40665,14 +40668,14 @@ Kx(Vy, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ D.createElement(ZR, {- ...q(ES(e, { global: !0 }), f),+ }))), a && d.children && /*#__PURE__*/ D.createElement(YR, {+ ...q(wS(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ D.createElement($R, {+ }, /*#__PURE__*/ D.createElement(ZR, {role: "rowheader",...p,style: m@@ -40680,8 +40683,8 @@ Kx(Vy, function(e, t, n) {});//#endregion//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function Ede(e) {- let [t, n] = ew(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = GL({+function Ode(e) {+ let [t, n] = QC(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = UL({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -40704,24 +40707,24 @@ function Ede(e) {}//#endregion//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function Dde(e) {- let t = Ede({+function kde(e) {+ let t = Ode({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? tz(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? $R(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, D.useRef)(i);return (0, D.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = tz(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = $R(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;}), {...t,isDisabled: e.isDisabled || !1};}-function tz(e, t) {+function $R(e, t) {let n = null;if (e) {for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);@@ -40731,24 +40734,24 @@ function tz(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Tabs.mjs-var nz = /*#__PURE__*/ (0, D.createContext)(null), rz = /*#__PURE__*/ (0, D.createContext)(null), Ode = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, nz);+var ez = /*#__PURE__*/ (0, D.createContext)(null), tz = /*#__PURE__*/ (0, D.createContext)(null), Ade = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, ez);let { children: n, orientation: r = "horizontal" } = e;return n = (0, D.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ D.createElement(Ux, { content: n }, (n) => /*#__PURE__*/ D.createElement(kde, {+ }) : n, [n, r]), /*#__PURE__*/ D.createElement(Vx, { content: n }, (n) => /*#__PURE__*/ D.createElement(jde, {props: e,collection: n,tabsRef: t}));});-function kde({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = Dde({+function jde({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = kde({...e,collection: n,children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = OT({ within: !0 }), c = (0, D.useMemo)(() => ({+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = ET({ within: !0 }), c = (0, D.useMemo)(() => ({orientation: r,isFocusWithin: o,isFocusVisible: s@@ -40756,12 +40759,12 @@ function kde({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = ZF({+ ]), l = YF({...e,defaultClassName: "react-aria-Tabs",values: c- }), u = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(iI.div, {+ }), u = wS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(nI.div, {...q(u, l, a),ref: t,slot: e.slot || void 0,@@ -40769,20 +40772,20 @@ function kde({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [[nz, e], [rz, i]] }, l.children));+ }, /*#__PURE__*/ D.createElement(JF, { values: [[ez, e], [tz, i]] }, l.children));}-var iz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return (0, D.useContext)(rz) ? /*#__PURE__*/ D.createElement(Ade, {+var nz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return (0, D.useContext)(tz) ? /*#__PURE__*/ D.createElement(Mde, {props: e,forwardedRef: t- }) : /*#__PURE__*/ D.createElement(Xx, e);+ }) : /*#__PURE__*/ D.createElement(Jx, e);});-function Ade({ props: e, forwardedRef: t }) {- let n = (0, D.useContext)(rz), { CollectionRoot: r } = (0, D.useContext)(dI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = QF(nz), o = Nx(t), { tabListProps: s } = Qae({+function Mde({ props: e, forwardedRef: t }) {+ let n = (0, D.useContext)(tz), { CollectionRoot: r } = (0, D.useContext)(lI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = XF(ez), o = jx(t), { tabListProps: s } = eoe({...e,orientation: i,keyboardActivation: a- }, n, o), c = ZF({+ }, n, o), c = YF({...e,children: null,defaultClassName: "react-aria-TabList",@@ -40790,30 +40793,30 @@ function Ade({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = ES(e, { global: !0 });- return delete l.id, /*#__PURE__*/ D.createElement(iI.div, {+ }), l = wS(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ D.createElement(nI.div, {...q(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(r, {+ }, /*#__PURE__*/ D.createElement(jL, null, /*#__PURE__*/ D.createElement(r, {collection: n.collection,- persistedKeys: fI(n.selectionManager.focusedKey)+ persistedKeys: uI(n.selectionManager.focusedKey)})));}-var jde = /*#__PURE__*/ Kx(class extends zy {+var Nde = /*#__PURE__*/ Wx(class extends Ly {static {this.type = "item";}}, (e, t, n) => {- let r = (0, D.useContext)(rz), i = Nx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Xae({+ let r = (0, D.useContext)(tz), i = jx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Qae({key: n.key,...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = OT(), { hoverProps: f, isHovered: p } = MT({+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ET(), { hoverProps: f, isHovered: p } = AT({isDisabled: s,onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = ZF({+ }), m = YF({...e,id: void 0,children: n.rendered,@@ -40826,7 +40829,7 @@ var jde = /*#__PURE__*/ Kx(class extends zy {isPressed: c,isHovered: p}- }), h = n.props.href ? iI.a : iI.div, g = ES(e, { global: !0 });+ }), h = n.props.href ? nI.a : nI.div, g = wS(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ D.createElement(h, {...q(g, m, a, l, f),ref: i,@@ -40836,55 +40839,55 @@ var jde = /*#__PURE__*/ Kx(class extends zy {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ D.createElement(PL.Provider, { value: { isSelected: o } }, m.children));-}), Mde = /*#__PURE__*/ Rx(function(e, t) {- let n = (0, D.useContext)(rz), r = Nx(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ D.createElement(ML.Provider, { value: { isSelected: o } }, m.children));+}), Pde = /*#__PURE__*/ Ix(function(e, t) {+ let n = (0, D.useContext)(tz), r = jx(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = $L(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ D.createElement(Nde, {+ let s = ZL(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ D.createElement(Fde, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function Nde(e) {- let t = (0, D.useContext)(rz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = $ae(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = OT(), d = t.selectedKey === e.id, f = QL(r) && !i, p = ZF({+function Fde(e) {+ let t = (0, D.useContext)(tz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = toe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ET(), d = t.selectedKey === e.id, f = XL(r) && !i, p = YF({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: IL(!d),+ isInert: PL(!d),isEntering: f,isExiting: a,state: t}- }), m = ES(o, { global: !0 });+ }), m = wS(o, { global: !0 });delete m.id;let h = d ? q(m, s, c, p) : q(m, p);- return /*#__PURE__*/ D.createElement(iI.div, {+ return /*#__PURE__*/ D.createElement(nI.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: IL(!d || e.inert),+ inert: PL(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [[nz, null], [rz, null]] }, /*#__PURE__*/ D.createElement(dI.Provider, { value: cI }, p.children)));+ }, /*#__PURE__*/ D.createElement(JF, { values: [[ez, null], [tz, null]] }, /*#__PURE__*/ D.createElement(lI.Provider, { value: oI }, p.children)));}//#endregion//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {+var rz = /*#__PURE__*/ (0, D.createContext)({}), Ide = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Fde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = $F(e, t, az);- let { hoverProps: n, isHovered: r } = MT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = OT({+}, Lde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = ZF(e, t, rz);+ let { hoverProps: n, isHovered: r } = AT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = ET({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = ZF({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = YF({...e,values: {isHovered: r,@@ -40895,8 +40898,8 @@ var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ D.createElement(iI.textarea, {- ...q(Pde(e), o, n),+ return /*#__PURE__*/ D.createElement(nI.textarea, {+ ...q(Ide(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -40905,18 +40908,18 @@ var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Ide = /*#__PURE__*/ (0, D.createContext)(null), Lde = /*#__PURE__*/ Rx(function(e, t) {- [e, t] = $F(e, t, Ide);- let { validationBehavior: n } = QF(TI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);- [e, i] = $F(e, i, oI);- let [a, o] = eI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = bie({- ...tI(e),+}), Rde = /*#__PURE__*/ (0, D.createContext)(null), zde = /*#__PURE__*/ Ix(function(e, t) {+ [e, t] = ZF(e, t, Rde);+ let { validationBehavior: n } = XF(CI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);+ [e, i] = ZF(e, i, iI);+ let [a, o] = QF(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Sie({+ ...$F(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, D.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = ZF({+ }, [i]), h = YF({...e,values: {isDisabled: e.isDisabled || !1,@@ -40925,8 +40928,8 @@ var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = ES(e, { global: !0 });- return delete g.id, /*#__PURE__*/ D.createElement(iI.div, {+ }), g = wS(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ D.createElement(nI.div, {...g,...h,ref: t,@@ -40935,31 +40938,31 @@ var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [- [pI, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [dI, {...l,ref: a}],- [FI, {+ [NI, {...u,ref: m}],- [az, {+ [rz, {...u,ref: m}],- [NI, {+ [jI, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [SI, { slots: {+ [bI, { slots: {description: d,errorMessage: f} }],- [wI, p]+ [SI, p]] }, h.children));-}), Rde = class e extends Uy {+}), Bde = class e extends Vy {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;@@ -41031,16 +41034,16 @@ var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, zde = /*#__PURE__*/ (0, D.createContext)(null), oz = /*#__PURE__*/ (0, D.createContext)(null), Bde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return [e, t] = $F(e, t, zde), /*#__PURE__*/ D.createElement(Ux, {- content: /*#__PURE__*/ D.createElement(Xx, e),- createCollection: () => new Rde()- }, (n) => /*#__PURE__*/ D.createElement(Vde, {+}, Vde = /*#__PURE__*/ (0, D.createContext)(null), iz = /*#__PURE__*/ (0, D.createContext)(null), Hde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return [e, t] = ZF(e, t, Vde), /*#__PURE__*/ D.createElement(Vx, {+ content: /*#__PURE__*/ D.createElement(Jx, e),+ createCollection: () => new Bde()+ }, (n) => /*#__PURE__*/ D.createElement(Ude, {props: e,collection: n,treeRef: t}));-}), sz = {+}), az = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -41050,17 +41053,17 @@ var az = /*#__PURE__*/ (0, D.createContext)({}), Pde = (e) => {rtl: "ArrowRight"}};-function Vde({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = vS(), a = xT({+function Ude({ props: e, collection: t, treeRef: n }) {+ let { dragAndDropHooks: r } = e, { direction: i } = gS(), a = yT({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, D.useRef)(o), l = (0, D.useRef)(s);(0, D.useEffect)(() => {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, D.useContext)(dI), [y, b] = ew(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, D.useState)(t), [C, w] = (0, D.useState)(y), [T, E] = (0, D.useState)(() => t.withExpandedKeys(C, y));- (!Jde(C, y) || t !== x) && (E(t.withExpandedKeys(C, y)), S(t), w(y));- let O = aR({+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, D.useContext)(lI), [y, b] = QC(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, D.useState)(t), [C, w] = (0, D.useState)(y), [T, E] = (0, D.useState)(() => t.withExpandedKeys(C, y));+ (!Xde(C, y) || t !== x) && (E(t.withExpandedKeys(C, y)), S(t), w(y));+ let O = rR({...e,selectionMode: u,expandedKeys: y,@@ -41068,7 +41071,7 @@ function Vde({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: k } = eoe({+ }), { gridProps: k } = noe({...e,isVirtualized: g,layoutDelegate: _@@ -41082,7 +41085,7 @@ function Vde({ props: e, collection: t, treeRef: n }) {let e = r.DragPreview;P = r.renderDragPreview ? /*#__PURE__*/ D.createElement(e, { ref: ee }, r.renderDragPreview) : null;}- let [F] = (0, D.useState)(() => new NR());+ let [F] = (0, D.useState)(() => new jR());if (s && r) {j = r.useDroppableCollectionState({collection: O.collection,@@ -41090,7 +41093,7 @@ function Vde({ props: e, collection: t, treeRef: n }) {});let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(O.collection, n, { direction: i });F.setup(e, O, i);- let t = new Cw({+ let t = new xw({collection: O.collection,collator: a,ref: n,@@ -41112,12 +41115,12 @@ function Vde({ props: e, collection: t, treeRef: n }) {let t = j?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = O.collection.getItem(t.key);- (e.key === sz.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === sz.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);+ (e.key === az.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === az.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);}}}, j, n), N = j.isDropTarget({ type: "root" });}- let te = !(!o || A?.isDisabled), { focusProps: I, isFocused: ne, isFocusVisible: re } = OT(), ie = {+ let te = !(!o || A?.isDisabled), { focusProps: I, isFocused: ne, isFocusVisible: re } = ET(), ie = {isEmpty: O.collection.size === 0,isFocused: ne,isFocusVisible: re,@@ -41125,7 +41128,7 @@ function Vde({ props: e, collection: t, treeRef: n }) {selectionMode: O.selectionManager.selectionMode,allowsDragging: !!te,state: O- }, ae = ZF({+ }, ae = YF({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -41142,8 +41145,8 @@ function Vde({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let se = ES(e, { global: !0 });- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(XS, null, /*#__PURE__*/ D.createElement(iI.div, {+ let se = wS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(JS, null, /*#__PURE__*/ D.createElement(nI.div, {...q(se, ae, k, I, M?.collectionProps),ref: n,slot: e.slot || void 0,@@ -41153,54 +41156,54 @@ function Vde({ props: e, collection: t, treeRef: n }) {"data-focus-visible": re || void 0,"data-selection-mode": O.selectionManager.selectionMode === "none" ? void 0 : O.selectionManager.selectionMode,"data-allows-dragging": !!te || void 0- }, /*#__PURE__*/ D.createElement(XF, { values: [- [oz, O],- [OL, {+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [iz, O],+ [EL, {dragAndDropHooks: r,dragState: A,dropState: j}],- [kL, { render: Wde }]- ] }, s && /*#__PURE__*/ D.createElement(qde, null), /*#__PURE__*/ D.createElement(NL, null, /*#__PURE__*/ D.createElement(h, {+ [DL, { render: Kde }]+ ] }, s && /*#__PURE__*/ D.createElement(Yde, null), /*#__PURE__*/ D.createElement(jL, null, /*#__PURE__*/ D.createElement(h, {collection: O.collection,- persistedKeys: jL(O.selectionManager, r, j),+ persistedKeys: kL(O.selectionManager, r, j),scrollRef: n,- renderDropIndicator: AL(r, j)+ renderDropIndicator: OL(r, j)}))), oe)), P);}-var Hde = /*#__PURE__*/ Kx(class extends zy {+var Wde = /*#__PURE__*/ Wx(class extends Ly {static {this.type = "content";}}, function(e) {- let t = (0, D.useContext)(cz), n = ZF({+ let t = (0, D.useContext)(oz), n = YF({children: e.children,values: t});- return /*#__PURE__*/ D.createElement(dI.Provider, { value: cI }, n.children);-}), cz = /*#__PURE__*/ (0, D.createContext)(null), Ude = /*#__PURE__*/ qx(class extends zy {+ return /*#__PURE__*/ D.createElement(lI.Provider, { value: oI }, n.children);+}), oz = /*#__PURE__*/ (0, D.createContext)(null), Gde = /*#__PURE__*/ Gx(class extends Ly {static {this.type = "item";}}, (e, t, n) => {- let r = (0, D.useContext)(oz);- t = Nx(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, D.useContext)(OL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = yk({+ let r = (0, D.useContext)(iz);+ t = jx(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, D.useContext)(EL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = _k({node: n,shouldSelectOnPressUp: !!a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = MT({+ }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = AT({isDisabled: !f.allowsSelection && !f.hasAction && !s,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { isFocusVisible: v, focusProps: y } = OT(), { isFocusVisible: b, focusProps: x } = OT({ within: !0 }), { checkboxProps: S } = Yie({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = ET(), { isFocusVisible: b, focusProps: x } = ET({ within: !0 }), { checkboxProps: S } = Zie({ key: n.key }, r), C = null;a && i && (C = i.useDraggableItem({key: n.key,hasDragButton: !0}, a));- let w = null, T = (0, D.useRef)(null), E = (0, D.useRef)(null), O = (0, D.useRef)(null), { visuallyHiddenProps: k } = lw();+ let w = null, T = (0, D.useRef)(null), E = (0, D.useRef)(null), O = (0, D.useRef)(null), { visuallyHiddenProps: k } = sw();o && i && (w = i.useDropIndicator({target: {type: "item",@@ -41239,7 +41242,7 @@ var Hde = /*#__PURE__*/ Kx(class extends zy {j,N,M- ]), ee = ZF({+ ]), ee = YF({...e,id: void 0,children: n.rendered,@@ -41256,7 +41259,7 @@ var Hde = /*#__PURE__*/ Kx(class extends zy {(0, D.useEffect)(() => {a && F.current;}, []);- let te = qy({+ let te = Gy({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -41266,7 +41269,7 @@ var Hde = /*#__PURE__*/ Kx(class extends zy {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), I = Sx(), ne = ES(e, { global: !0 });+ }), I = bx(), ne = wS(e, { global: !0 });return delete ne.id, delete ne.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, w && !w.isHidden && /*#__PURE__*/ D.createElement("div", {role: "row","aria-level": c["aria-level"],@@ -41289,7 +41292,7 @@ var Hde = /*#__PURE__*/ Kx(class extends zy {"aria-labelledby": `${I} ${c.id}`,tabIndex: -1,ref: O- }))), /*#__PURE__*/ D.createElement(iI.div, {+ }))), /*#__PURE__*/ D.createElement(nI.div, {...q(ne, c, y, g, x, C?.dragProps),...ee,ref: t,@@ -41309,17 +41312,17 @@ var Hde = /*#__PURE__*/ Kx(class extends zy {}, /*#__PURE__*/ D.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ D.createElement(XF, { values: [- [EI, { slots: {- [YF]: {},+ }, /*#__PURE__*/ D.createElement(JF, { values: [+ [wI, { slots: {+ [qF]: {},selection: S} }],- [DI, { slots: {- [YF]: {},+ [TI, { slots: {+ [qF]: {},selection: S} }],- [gI, { slots: {- [YF]: {},+ [mI, { slots: {+ [qF]: {},chevron: {...u,ref: T@@ -41330,13 +41333,13 @@ var Hde = /*#__PURE__*/ Kx(class extends zy {style: { pointerEvents: "none" }}} }],- [cz, { ...P }],- [PL, { isSelected: f.isSelected }]+ [oz, { ...P }],+ [ML, { isSelected: f.isSelected }]] }, te))));});-Kx(Vy, function(e, t, n) {- let { isVirtualized: r } = (0, D.useContext)(dI), i = (0, D.useContext)(oz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, D.useRef)(null);- qL((0, D.useMemo)(() => ({+Wx(zy, function(e, t, n) {+ let { isVirtualized: r } = (0, D.useContext)(lI), i = (0, D.useContext)(iz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, D.useRef)(null);+ GL((0, D.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -41345,11 +41348,11 @@ Kx(Vy, function(e, t, n) {o,s,i?.collection- ]), l), t = Nx(t);- let { rowProps: u, gridCellProps: d } = yk({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ ]), l), t = jx(t);+ let { rowProps: u, gridCellProps: d } = _k({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = ZF({+ }, m = YF({...c,id: void 0,children: n.rendered,@@ -41362,7 +41365,7 @@ Kx(Vy, function(e, t, n) {width: 0,height: 0},- inert: IL(!0)+ inert: PL(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -41371,9 +41374,9 @@ Kx(Vy, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ D.createElement(iI.div, {+ })), a && m.children && /*#__PURE__*/ D.createElement(nI.div, {ref: t,- ...q(ES(e), p),+ ...q(wS(e), p),...m,"data-level": f}, /*#__PURE__*/ D.createElement("div", {@@ -41381,12 +41384,12 @@ Kx(Vy, function(e, t, n) {style: h}, m.children)));});-function Wde(e, t) {- t = Nx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(OL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function Kde(e, t) {+ t = jx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(EL), i = (0, D.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__*/ D.createElement(Kde, {+ return /*#__PURE__*/ D.createElement(Jde, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -41395,8 +41398,8 @@ function Wde(e, t) {level: c});}-function Gde(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = lw(), c = ZF({+function qde(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = sw(), c = YF({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -41405,7 +41408,7 @@ function Gde(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(iI.div, {+ return /*#__PURE__*/ D.createElement(nI.div, {...c,role: "row","aria-level": a,@@ -41418,9 +41421,9 @@ function Gde(e, t) {ref: i}), c.children));}-var Kde = /*#__PURE__*/ (0, D.forwardRef)(Gde);-function qde() {- let { dragAndDropHooks: e, dropState: t } = (0, D.useContext)(OL), n = (0, D.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = lw();+var Jde = /*#__PURE__*/ (0, D.forwardRef)(qde);+function Yde() {+ let { dragAndDropHooks: e, dropState: t } = (0, D.useContext)(EL), n = (0, D.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = sw();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ D.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -41432,14 +41435,14 @@ function qde() {ref: n})));}-function Jde(e, t) {+function Xde(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}//#endregion//#region node_modules/@remixicon/react/index.mjs-var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+var Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41447,7 +41450,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Xde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41455,7 +41458,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), lz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41463,7 +41466,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), uz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41471,7 +41474,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), lz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41479,7 +41482,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Zde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), $de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41487,7 +41490,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Qde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41495,7 +41498,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), $de = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41503,7 +41506,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41511,7 +41514,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41519,7 +41522,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41527,7 +41530,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41535,7 +41538,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41543,7 +41546,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41551,7 +41554,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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 20Z" })), ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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 20Z" })), cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41559,7 +41562,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), uz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41567,7 +41570,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41575,7 +41578,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41583,7 +41586,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41591,7 +41594,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41599,7 +41602,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41607,7 +41610,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41615,7 +41618,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41623,7 +41626,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41631,7 +41634,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41639,7 +41642,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), _fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41647,7 +41650,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41655,7 +41658,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), _fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41663,7 +41666,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41671,7 +41674,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41679,7 +41682,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41687,7 +41690,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), gz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41695,7 +41698,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), _z = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41703,7 +41706,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41711,7 +41714,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41719,7 +41722,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41727,7 +41730,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Sfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41735,7 +41738,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Cfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41743,7 +41746,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), gz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41751,7 +41754,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41759,7 +41762,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Tfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41767,7 +41770,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), yz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), _z = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41775,7 +41778,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41783,7 +41786,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), xz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), yz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41791,7 +41794,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41799,7 +41802,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Efe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41807,7 +41810,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), Cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), xz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41815,7 +41818,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Dfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), kfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41823,7 +41826,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 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 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), Ofe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 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 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), Afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41831,7 +41834,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), kfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), jfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41839,7 +41842,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Afe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41847,7 +41850,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), jfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41855,7 +41858,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), Mfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41863,7 +41866,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), wz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41871,7 +41874,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), Tz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), Cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41879,7 +41882,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.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" })), Nfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.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" })), Ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41887,7 +41890,7 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41898,11 +41901,11 @@ var Yde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D}, D.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" }));//#endregion//#region src/react/boardui/components/base/input/label.tsx-function Ez({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, O.jsxs)(mI, {+function wz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsxs)(fI, {"data-label": "true",...a,- className: eF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: $P("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, O.jsx)("span", {@@ -41910,7 +41913,7 @@ function Ez({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, O.jsx)(xfe, {+ n && /* @__PURE__ */ (0, O.jsx)(Cfe, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -41919,33 +41922,33 @@ function Ez({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr}//#endregion//#region src/react/boardui/components/base/input/hint-text.tsx-function Dz({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, O.jsx)(CI, {+function Tz({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, O.jsx)(xI, {slot: e ? "errorMessage" : "description",...n,- className: eF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: $P("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}//#endregion//#region src/react/boardui/components/base/input/input.tsx-var Oz = (0, D.createContext)({});-function kz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(Oz.Provider, {+var Ez = (0, D.createContext)({});+function Dz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(Ez.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, O.jsx)(Lde, {+ children: /* @__PURE__ */ (0, O.jsx)(zde, {...a,"data-input-size": e,- className: eF("group flex h-max w-full flex-col items-start gap-1", r),+ className: $P("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-kz.displayName = "TextField";-var Az = tF({+Dz.displayName = "TextField";+var Oz = eF({field: ["relative flex w-full items-center","rounded-2lg",@@ -41974,44 +41977,44 @@ var Az = tF({].join(" "),icon: "size-5 shrink-0"});-function jz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, D.useContext)(Oz), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, O.jsx)(PI, {+function kz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, D.useContext)(Ez), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, O.jsx)(MI, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => eF(Az.field, d ? Az.fieldWithAddonSize[u] : Az.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => $P(Oz.field, d ? Oz.fieldWithAddonSize[u] : Oz.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),children: /* @__PURE__ */ (0, O.jsxs)("div", {- className: Az.content,+ className: Oz.content,children: [/* @__PURE__ */ (0, O.jsxs)("div", {- className: Az.leftSection,+ className: Oz.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, O.jsx)(t, {- className: Az.icon,+ className: Oz.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, O.jsx)(LI, {+ }) : null, /* @__PURE__ */ (0, O.jsx)(FI, {ref: o,...c,- className: eF(Az.input, l.inputClassName, a)+ className: $P(Oz.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, O.jsx)(n, {- className: Az.icon,+ className: Oz.icon,"aria-hidden": !0}) : null]})});}-jz.displayName = "InputBase";-function Mz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {- return /* @__PURE__ */ (0, O.jsx)(kz, {+kz.displayName = "InputBase";+function Az({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {+ return /* @__PURE__ */ (0, O.jsx)(Dz, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- e && /* @__PURE__ */ (0, O.jsx)(Ez, {+ e && /* @__PURE__ */ (0, O.jsx)(wz, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, O.jsx)(jz, {+ /* @__PURE__ */ (0, O.jsx)(kz, {ref: c,groupRef: l,placeholder: r,@@ -42020,25 +42023,25 @@ function Mz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, O.jsx)(Dz, {+ t && /* @__PURE__ */ (0, O.jsx)(Tz, {isInvalid: d,children: t})] })});}-Mz.displayName = "Input";+Az.displayName = "Input";//#endregion//#region src/react/components/modal-frame.tsx-var Ffe = {+var Lfe = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl"};-function Nz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {- let { isFocusVisible: a } = lx();- return /* @__PURE__ */ (0, O.jsx)(bR, {+function jz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+ let { isFocusVisible: a } = sx();+ return /* @__PURE__ */ (0, O.jsx)(vR, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -42046,11 +42049,11 @@ function Nz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {"data-modal-kind": n,"data-motion-instant": a || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, O.jsx)(Tue, {+ children: /* @__PURE__ */ (0, O.jsx)(Due, {"data-modal-surface": "","data-modal-width": n,- className: `flex max-h-full w-full ${Ffe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,- children: /* @__PURE__ */ (0, O.jsx)(gR, {+ className: `flex max-h-full w-full ${Lfe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,+ children: /* @__PURE__ */ (0, O.jsx)(mR, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -42058,7 +42061,7 @@ function Nz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function Pz({ children: e }) {+function Mz({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",@@ -42067,12 +42070,12 @@ function Pz({ children: e }) {}//#endregion//#region src/react/components/note.tsx-function Fz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {+function Nz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-note-layout": "",- className: eF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),+ className: $P("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {- className: eF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),+ className: $P("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),children: [t ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-medium wrap-anywhere",children: t@@ -42089,38 +42092,38 @@ function Fz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:switch (e) {case "info": return /* @__PURE__ */ (0, O.jsx)("div", {role: "status",- className: eF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),+ className: $P("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),children: s});case "success": return /* @__PURE__ */ (0, O.jsx)("div", {role: "status",- className: eF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),+ className: $P("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),children: s});case "warning": return /* @__PURE__ */ (0, O.jsx)("div", {role: "note",- className: eF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),+ className: $P("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),children: s});case "error": return /* @__PURE__ */ (0, O.jsx)("div", {role: "alert",- className: eF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),+ className: $P("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),children: s});default: return /* @__PURE__ */ (0, O.jsx)("div", {role: "note",- className: eF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),+ className: $P("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),children: s});}}//#endregion//#region src/react/components/empty-state.tsx-var Ife = {+var Rfe = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function Lfe({ target: e, children: t }) {+function zfe({ target: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "secondary",@@ -42128,11 +42131,11 @@ function Lfe({ target: e, children: t }) {children: t});}-function Iz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function Pz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `flex 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 ${Ife[i]}`,+ className: `flex 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 ${Rfe[i]}`,children: [/* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,@@ -42159,9 +42162,9 @@ function Iz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }}//#endregion//#region src/react/components/sprite-glyph.tsx-var Lz = /* @__PURE__ */ new Map();-function Rz(e) {- let t = Lz.get(e);+var Fz = /* @__PURE__ */ new Map();+function Iz(e) {+ let t = Fz.get(e);if (t) return t;let { wide: n, viewBox: r } = Gt(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,@@ -42177,11 +42180,11 @@ function Rz(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, Lz.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, Fz.set(e, i), i;}//#endregion//#region src/react/components/settings-dialog-close.tsx-function zz({ label: e, id: t, onPress: n }) {+function Lz({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",id: t,@@ -42197,7 +42200,7 @@ function zz({ label: e, id: t, onPress: n }) {}//#endregion//#region src/react/settings/busy-props.ts-function Bz(e) {+function Rz(e) {return e ? {"aria-busy": !0,"aria-disabled": !0@@ -42205,54 +42208,54 @@ function Bz(e) {}//#endregion//#region src/react/library-shortcuts/library-shortcuts.ts-var Vz = ["library-shortcuts"], Hz = "/api/library-shortcuts";-function Uz(e = !0) {+var zz = ["library-shortcuts"], Bz = "/api/library-shortcuts";+function Vz(e = !0) {return St({- queryKey: Vz,- queryFn: ({ signal: e }) => V(Hz, e),+ queryKey: zz,+ queryFn: ({ signal: e }) => V(Bz, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function Wz() {+function Hz() {return Ct({- mutationKey: Vz,- mutationFn: (e) => H(Hz, e),+ mutationKey: zz,+ mutationFn: (e) => H(Bz, e),onSuccess: (e, t) => {- U.setQueryData(Vz, e), t.action === "favorite" && t.scope === "online" && (U.invalidateQueries({ queryKey: ["follow", "tags"] }), U.invalidateQueries({ queryKey: ["tag-management"] }));+ U.setQueryData(zz, e), t.action === "favorite" && t.scope === "online" && (U.invalidateQueries({ queryKey: ["follow", "tags"] }), U.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function Gz(e, t) {+function Uz(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 Rfe(e) {+function Bfe(e) {return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : en(e.kind, e.name, e.entity_id);}//#endregion//#region src/react/library-shortcuts/shortcut-controls.tsx-var Kz = Rz("star"), zfe = Rz("bookmark-plus"), qz = Rz("chevron-right"), Jz = {+var Wz = Iz("star"), Vfe = Iz("bookmark-plus"), Gz = Iz("chevron-right"), Kz = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, Yz = {- all: Rz("star"),- performer: Rz("user-round"),- creator: Rz("user-round"),- studio: Rz("clapperboard"),- series: Rz("film"),- agency: Rz("briefcase"),- tag: Rz("tags"),- filters: Rz("list-filter")-}, Xz = [+}, qz = {+ all: Iz("star"),+ performer: Iz("user-round"),+ creator: Iz("user-round"),+ studio: Iz("clapperboard"),+ series: Iz("film"),+ agency: Iz("briefcase"),+ tag: Iz("tags"),+ filters: Iz("list-filter")+}, Jz = [["all", "全部"],- ...Object.entries(Jz),+ ...Object.entries(Kz),["filters", "保存的筛选"]];-function Zz({ label: e, children: t, ...n }) {+function Yz({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",...n,@@ -42262,19 +42265,19 @@ function Zz({ label: e, children: t, ...n }) {children: t});}-function Qz({ item: e }) {- return /* @__PURE__ */ (0, O.jsx)(Bfe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+function Xz({ item: e }) {+ return /* @__PURE__ */ (0, O.jsx)(Hfe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function Bfe({ item: e }) {- let t = Uz(!1), n = (0, D.useRef)(t.data), r = Wz(), i = t.data && t.data !== n.current ? Gz(t.data.favorites || [], e) : e.favorite ?? (t.data ? Gz(t.data.favorites || [], e) : !1);+function Hfe({ item: e }) {+ let t = Vz(!1), n = (0, D.useRef)(t.data), r = Hz(), i = t.data && t.data !== n.current ? Uz(t.data.favorites || [], e) : e.favorite ?? (t.data ? Uz(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, O.jsx)(Zz, {+ /* @__PURE__ */ (0, O.jsx)(Yz, {"data-favorite": "","aria-pressed": !!i,label: `${i ? "取消收藏" : "收藏"}${e.name}`,- ...Bz(r.isPending),+ ...Rz(r.isPending),onClick: () => {r.isPending || r.mutate({action: "favorite",@@ -42285,9 +42288,9 @@ function Bfe({ item: e }) {children: r.isPending ? /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,dangerouslySetInnerHTML: { __html: ns("") }- }) : /* @__PURE__ */ (0, O.jsx)(Kz, {})+ }) : /* @__PURE__ */ (0, O.jsx)(Wz, {})}),- r.isError ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ r.isError ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: An(r.error)}) : null,@@ -42301,37 +42304,37 @@ function Bfe({ item: e }) {]});}-function $z({ currentHref: e, kind: t }) {+function Zz({ currentHref: e, kind: t }) {let [n, r] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, O.jsx)(LF, {+ children: /* @__PURE__ */ (0, O.jsx)(FF, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: Kz,+ icon: Wz,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, O.jsx)(Nz, {+ }), /* @__PURE__ */ (0, O.jsx)(jz, {isOpen: n,onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, O.jsx)(Vfe, {+ children: n ? /* @__PURE__ */ (0, O.jsx)(Ufe, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function Vfe({ currentHref: e, kind: t, close: n }) {- let r = Uz(), i = Wz(), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(t || "all"), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), p = (0, D.useId)(), [m, h] = (0, D.useState)(() => matchMedia("(max-width: 760px)").matches);+function Ufe({ currentHref: e, kind: t, close: n }) {+ let r = Vz(), i = Hz(), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(t || "all"), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), p = (0, D.useId)(), [m, h] = (0, D.useState)(() => matchMedia("(max-width: 760px)").matches);(0, D.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(s), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = KF(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(s), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = WF(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, D.useLayoutEffect)(() => {b.current && (x.current = $a(b.current) || null);}, []), (0, D.useLayoutEffect)(() => {@@ -42344,7 +42347,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {}, [s]), (0, D.useLayoutEffect)(() => {x.current?.();});- let C = Xz.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = Jz.find(([e]) => e === s)?.[1] || "全部", w = (e) => {let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);if (n < 0) return;let r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : ["ArrowDown", "ArrowRight"].includes(e.key) ? (n + 1) % t.length : ["ArrowUp", "ArrowLeft"].includes(e.key) ? (n + t.length - 1) % t.length : -1;@@ -42367,7 +42370,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, O.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, O.jsx)(zz, {+ }), /* @__PURE__ */ (0, O.jsx)(Lz, {label: "关闭我的收藏",onPress: n})]@@ -42397,8 +42400,8 @@ function Vfe({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- Xz.map(([e, t]) => {- let n = Yz[e] || Kz, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ Jz.map(([e, t]) => {+ let n = qz[e] || Wz, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",@@ -42430,17 +42433,17 @@ function Vfe({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, O.jsx)(Kz, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(Wz, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, O.jsx)(qz, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, O.jsx)(Gz, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, O.jsxs)("a", {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, O.jsx)(zfe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(Vfe, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, O.jsx)(qz, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, O.jsx)(Gz, { "aria-hidden": !0 })]})]})]@@ -42459,7 +42462,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {"data-skeleton": "",className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"}) : null,- r.isError ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ r.isError ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -42468,16 +42471,16 @@ function Vfe({ currentHref: e, kind: t, close: n }) {}),children: An(r.error)}) : null,- i.isError ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ i.isError ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: An(i.error)}) : null,E ? s === "filters" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- E.filters.length ? null : /* @__PURE__ */ (0, O.jsx)(Iz, {+ E.filters.length ? null : /* @__PURE__ */ (0, O.jsx)(Pz, {size: "compact",- icon: Rz("list-filter"),+ icon: Iz("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, O.jsx)(JF, {+ actions: /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/",onClick: n,@@ -42496,7 +42499,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {variant: "secondary",size: "small","aria-label": `删除筛选${e.name}`,- ...Bz(i.isPending),+ ...Rz(i.isPending),onClick: () => {i.isPending || i.mutate({action: "delete_filter",@@ -42511,7 +42514,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(Az, {label: "筛选名称",value: a,onChange: o,@@ -42520,7 +42523,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {/* @__PURE__ */ (0, O.jsx)(J, {type: "submit",disabled: !a.trim(),- ...Bz(i.isPending),+ ...Rz(i.isPending),children: "保存当前筛选"}),d ? /* @__PURE__ */ (0, O.jsx)("span", {@@ -42531,16 +42534,16 @@ function Vfe({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(Az, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: Rz("search"),+ leadingIcon: Iz("search"),value: l,onChange: u}),- k.length ? null : /* @__PURE__ */ (0, O.jsx)(Iz, {+ k.length ? null : /* @__PURE__ */ (0, O.jsx)(Pz, {size: "compact",- icon: Kz,+ icon: Wz,title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",actions: l ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",@@ -42550,7 +42553,7 @@ function Vfe({ currentHref: e, kind: t, close: n }) {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, O.jsx)(JF, {+ }) : /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/",onClick: n,@@ -42564,25 +42567,25 @@ function Vfe({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, O.jsxs)("a", {- href: Rfe(e),+ href: Bfe(e),"aria-label": e.name,onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, O.jsx)(Hfe, { item: e }, e.image_url), /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(Wfe, { item: e }, e.image_url), /* @__PURE__ */ (0, O.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "truncate",children: e.name}), /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : Jz[e.kind]+ children: e.scope === "online" ? "在线标签" : Kz[e.kind]})]})]}), /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small","aria-label": `取消收藏${e.name}`,- ...Bz(i.isPending),+ ...Rz(i.isPending),onClick: () => {i.isPending || i.mutate({action: "favorite",@@ -42600,8 +42603,8 @@ function Vfe({ currentHref: e, kind: t, close: n }) {]});}-function Hfe({ item: e }) {- let t = Yz[e.kind] || Kz;+function Wfe({ item: e }) {+ let t = qz[e.kind] || Wz;return /* @__PURE__ */ (0, O.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -42620,20 +42623,20 @@ function Hfe({ item: e }) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/url.js-var Ufe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, eB = /^[\\/]{2}/;-function Wfe(e, t) {+var Gfe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, Qz = /^[\\/]{2}/;+function Kfe(e, t) {return t + e.replace(/\\/g, "/");}//#endregion//#region node_modules/react-router/dist/production/lib/router/history.js-var tB = "popstate";-function nB(e) {+var $z = "popstate";+function eB(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function Gfe(e = {}) {+function qfe(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return oB("", {+ return iB("", {pathname: r,search: i,hash: a@@ -42644,14 +42647,14 @@ function Gfe(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : sB(t);+ return typeof t == "string" ? t : aB(t);}- return qfe(t, n, null, e);+ return Yfe(t, n, null, e);}-function rB(e, t) {+function tB(e, t) {if (e === !1 || e == null) throw Error(t);}-function iB(e, t) {+function nB(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -42659,10 +42662,10 @@ function iB(e, t) {} catch {}}}-function Kfe() {+function Jfe() {return Math.random().toString(36).substring(2, 10);}-function aB(e, t) {+function rB(e, t) {return {usr: e.state,key: e.key,@@ -42674,21 +42677,21 @@ function aB(e, t) {} : void 0};}-function oB(e, t, n = null, r, i) {+function iB(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? cB(t) : t,+ ...typeof t == "string" ? oB(t) : t,state: n,- key: t && t.key || r || Kfe(),+ key: t && t.key || r || Jfe(),mask: i};}-function sB({ pathname: e = "/", search: t = "", hash: n = "" }) {+function aB({ pathname: e = "/", search: t = "", hash: n = "" }) {return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;}-function cB(e) {+function oB(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -42698,7 +42701,7 @@ function cB(e) {}return t;}-function qfe(e, t, n, r = {}) {+function Yfe(e, t, n, r = {}) {let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();l ?? (l = 0, o.replaceState({...o.state,@@ -42718,9 +42721,9 @@ function qfe(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = nB(e) ? e : oB(h.location, e, t);+ let r = eB(e) ? e : iB(h.location, e, t);n && n(r, e), l = u() + 1;- let d = aB(r, l), f = h.createHref(r.mask || r);+ let d = rB(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -42735,9 +42738,9 @@ function qfe(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = nB(e) ? e : oB(h.location, e, t);+ let r = eB(e) ? e : iB(h.location, e, t);n && n(r, e), l = u();- let i = aB(r, l), d = h.createHref(r.mask || r);+ let i = rB(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -42745,7 +42748,7 @@ function qfe(e, t, n, r = {}) {});}function m(e) {- return Jfe(i, e);+ return Xfe(i, e);}let h = {get action() {@@ -42756,8 +42759,8 @@ function qfe(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener(tB, d), c = e, () => {- i.removeEventListener(tB, d), c = null;+ return i.addEventListener($z, d), c = e, () => {+ i.removeEventListener($z, d), c = null;};},createHref(e) {@@ -42780,29 +42783,29 @@ function qfe(e, t, n, r = {}) {};return h;}-function Jfe(e, t, n = !1) {+function Xfe(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), rB(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : sB(t);- return i = i.replace(/ $/, "%20"), !n && eB.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), tB(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : aB(t);+ return i = i.replace(/ $/, "%20"), !n && Qz.test(i) && (i = r + i), new URL(i, r);}//#endregion//#region node_modules/react-router/dist/production/lib/router/utils.js-function Yfe(e, t, n = "/") {- return Xfe(e, t, n, !1);+function Zfe(e, t, n = "/") {+ return Qfe(e, t, n, !1);}-function Xfe(e, t, n, r, i) {- let a = hB((typeof t == "string" ? cB(t) : t).pathname || "/", n);+function Qfe(e, t, n, r, i) {+ let a = pB((typeof t == "string" ? oB(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? Zfe(e), s = null, c = upe(a);- for (let e = 0; s == null && e < o.length; ++e) s = lpe(o[e], c, r);+ let o = i ?? $fe(e), s = null, c = fpe(a);+ for (let e = 0; s == null && e < o.length; ++e) s = dpe(o[e], c, r);return s;}-function Zfe(e) {- let t = lB(e);- return Qfe(t), t;+function $fe(e) {+ let t = sB(e);+ return epe(t), t;}-function lB(e, t = [], n = [], r = "", i = !1) {+function sB(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -42812,14 +42815,14 @@ function lB(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- rB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);+ tB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);}- let l = yB([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (rB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), lB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({+ let l = _B([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (tB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), sB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,- score: spe(l, e.index),+ score: lpe(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = mB(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = fB(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -42830,68 +42833,68 @@ function lB(e, t = [], n = [], r = "", i = !1) {};return e.forEach((e, t) => {if (e.path === "" || !e.path?.includes("?")) a(e, t);- else for (let n of uB(e.path)) a(e, t, !0, n);+ else for (let n of cB(e.path)) a(e, t, !0, n);}), t;}-function uB(e) {+function cB(e) {let t = e.split("/");if (t.length === 0) return [];let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");if (r.length === 0) return i ? [a, ""] : [a];- let o = uB(r.join("/")), s = [];+ let o = cB(r.join("/")), s = [];return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);}-function Qfe(e) {- e.sort((e, t) => e.score === t.score ? cpe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function epe(e) {+ e.sort((e, t) => e.score === t.score ? upe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var $fe = /^:[\w-]+$/, epe = /^:[\w-]+/, tpe = 3.5, npe = 3, rpe = 2, ipe = 1, ape = 10, ope = -2, dB = (e) => e === "*";-function spe(e, t) {+var tpe = /^:[\w-]+$/, npe = /^:[\w-]+/, rpe = 3.5, ipe = 3, ape = 2, ope = 1, spe = 10, cpe = -2, lB = (e) => e === "*";+function lpe(e, t) {let n = e.split("/"), r = n.length;- return n.some(dB) && (r += ope), t && (r += rpe), n.filter((e) => !dB(e)).reduce((e, t) => e + ($fe.test(t) ? npe : epe.test(t) ? tpe : t === "" ? ipe : ape), r);+ return n.some(lB) && (r += cpe), t && (r += ape), n.filter((e) => !lB(e)).reduce((e, t) => e + (tpe.test(t) ? ipe : npe.test(t) ? rpe : t === "" ? ope : spe), r);}-function cpe(e, t) {+function upe(e, t) {return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;}-function lpe(e, t, n = !1) {+function dpe(e, t, n = !1) {let { routesMeta: r } = e, i = {}, a = "/", o = [];for (let e = 0; e < r.length; ++e) {let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {path: s.relativePath,caseSensitive: s.caseSensitive,end: c- }, d = s.matcher && s.compiledParams ? pB(u, l, s.matcher, s.compiledParams) : fB(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = fB({+ }, d = s.matcher && s.compiledParams ? dB(u, l, s.matcher, s.compiledParams) : uB(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = uB({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: yB([a, d.pathname]),- pathnameBase: hpe(yB([a, d.pathnameBase])),+ pathname: _B([a, d.pathname]),+ pathnameBase: _pe(_B([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = yB([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = _B([a, d.pathnameBase]));}return o;}-function fB(e, t) {+function uB(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = mB(e.path, e.caseSensitive, e.end);- return pB(e, t, n, r);+ let [n, r] = fB(e.path, e.caseSensitive, e.end);+ return dB(e, t, n, r);}-function pB(e, t, n, r) {+function dB(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = bB(a, 1), s = i.slice(1);+ let a = i[0], o = vB(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = bB(a.slice(0, a.length - e.length), 1);+ o = vB(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -42901,8 +42904,8 @@ function pB(e, t, n, r) {pattern: e};}-function mB(e, t = !1, n = !0) {- iB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);+function fB(e, t = !1, n = !0) {+ nB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {if (r.push({paramName: t,@@ -42915,46 +42918,46 @@ function mB(e, t = !1, n = !0) {}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];}-function upe(e) {+function fpe(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return iB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;+ return nB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;}}-function hB(e, t) {+function pB(e, t) {if (t === "/") return e;if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);return r && r !== "/" ? null : e.slice(n) || "/";}-function dpe(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? cB(e) : e, a;- return n ? (n = vB(n), a = n.startsWith("/") || n.startsWith("\\") ? gB(n.substring(1), "/") : gB(n, t)) : a = t, {+function ppe(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? oB(e) : e, a;+ return n ? (n = gB(n), a = n.startsWith("/") || n.startsWith("\\") ? mB(n.substring(1), "/") : mB(n, t)) : a = t, {pathname: a,- search: gpe(r),- hash: _pe(i)+ search: vpe(r),+ hash: ype(i)};}-function gB(e, t) {- let n = bB(t).split("/");+function mB(e, t) {+ let n = vB(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function _B(e, t, n, r) {+function hB(e, t, n, r) {return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;}-function fpe(e) {+function mpe(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function ppe(e) {- let t = fpe(e);+function hpe(e) {+ let t = mpe(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function mpe(e, t, n, r = !1) {+function gpe(e, t, n, r = !1) {let i;- typeof e == "string" ? i = cB(e) : (i = { ...e }, rB(!i.pathname || !i.pathname.includes("?"), _B("?", "pathname", "search", i)), rB(!i.pathname || !i.pathname.includes("#"), _B("#", "pathname", "hash", i)), rB(!i.search || !i.search.includes("#"), _B("#", "search", "hash", i)));+ typeof e == "string" ? i = oB(e) : (i = { ...e }, tB(!i.pathname || !i.pathname.includes("?"), hB("?", "pathname", "search", i)), tB(!i.pathname || !i.pathname.includes("#"), hB("#", "pathname", "hash", i)), tB(!i.search || !i.search.includes("#"), hB("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -42966,16 +42969,16 @@ function mpe(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = dpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = ppe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var vB = (e) => e.replace(/[\\/]{2,}/g, "/"), yB = (e) => vB(e.join("/"));-function bB(e, t = 0) {+var gB = (e) => e.replace(/[\\/]{2,}/g, "/"), _B = (e) => gB(e.join("/"));+function vB(e, t = 0) {let n = e.length;for (; n > t && e.charCodeAt(n - 1) === 47;) n--;return n === e.length ? e : e.slice(0, n);}-var hpe = (e) => bB(e).replace(/^\/*/, "/"), gpe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, _pe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, vpe = class {+var _pe = (e) => vB(e).replace(/^\/*/, "/"), vpe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, ype = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, bpe = class {status;statusText;data;@@ -42985,26 +42988,26 @@ var hpe = (e) => bB(e).replace(/^\/*/, "/"), gpe = (e) => !e || e === "?" ? "" :this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;}};-function ype(e) {+function xpe(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function bpe(e) {- return yB(e.map((e) => e.route.path).filter(Boolean)) || "/";+function Spe(e) {+ return _B(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var xB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function xpe(e, t) {+var yB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function Cpe(e, t) {let n = e;- if (typeof n != "string" || !Ufe.test(n)) return {+ if (typeof n != "string" || !Gfe.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;- if (xB) try {- let e = new URL(window.location.href), r = eB.test(n) ? new URL(Wfe(n, e.protocol)) : new URL(n), a = hB(r.pathname, t);+ if (yB) try {+ let e = new URL(window.location.href), r = Qz.test(n) ? new URL(Kfe(n, e.protocol)) : new URL(n), a = pB(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- iB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ nB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -43014,45 +43017,45 @@ function xpe(e, t) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/navigation.js-var SB = new URL("http://localhost");-function CB(e) {+var bB = new URL("http://localhost");+function xB(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), SB);+ return new URL(e.createHref("/"), bB);} catch {- return SB;+ return bB;}}-function wB(e, t) {+function SB(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function Spe(e, t) {+function wpe(e, t) {if (e.startsWith("//")) return !0;let n = t.protocol.toLowerCase();return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;}-function TB(e, t, n, r) {+function CB(e, t, n, r) {let i = null;try {i = e == null ? null : new URL(e, n);} catch {}- let a = new URL(t, n), o = i != null && !wB(i, n), s = !wB(a, n);+ let a = new URL(t, n), o = i != null && !SB(i, n), s = !SB(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !Spe(e, i) || !wB(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !wpe(e, i) || !SB(i, a))) throw Error("External navigation is not allowed");}//#endregion//#region node_modules/react-router/dist/production/lib/router/router.js-var EB = [+var wB = ["POST","PUT","PATCH","DELETE"];-new Set(EB);-var Cpe = ["GET", ...EB];-new Set(Cpe);-var wpe = [+new Set(wB);+var Tpe = ["GET", ...wB];+new Set(Tpe);+var Epe = ["about:","blob:","chrome:",@@ -43064,85 +43067,85 @@ var wpe = ["filesystem:","javascript:"];-function Tpe(e) {+function Dpe(e) {try {- return wpe.includes(new URL(e).protocol);+ return Epe.includes(new URL(e).protocol);} catch {return !1;}}//#endregion//#region node_modules/react-router/dist/production/lib/context.js+var TB = D.createContext(null);+TB.displayName = "DataRouter";+var Ope = D.createContext(null);+Ope.displayName = "DataRouterState";+var EB = D.createContext(null);+EB.displayName = "DataRouterData";+var kpe = D.createContext(null);+kpe.displayName = "DataRouterNavigation";+var Ape = D.createContext(!1), jpe = D.createContext({ isTransitioning: !1 });+jpe.displayName = "ViewTransition";+var Mpe = D.createContext(null);+Mpe.displayName = "Fetchers";+var Npe = D.createContext(null);+Npe.displayName = "Await";var DB = D.createContext(null);-DB.displayName = "DataRouter";-var Epe = D.createContext(null);-Epe.displayName = "DataRouterState";+DB.displayName = "Navigation";var OB = D.createContext(null);-OB.displayName = "DataRouterData";-var Dpe = D.createContext(null);-Dpe.displayName = "DataRouterNavigation";-var Ope = D.createContext(!1), kpe = D.createContext({ isTransitioning: !1 });-kpe.displayName = "ViewTransition";-var Ape = D.createContext(null);-Ape.displayName = "Fetchers";-var jpe = D.createContext(null);-jpe.displayName = "Await";-var kB = D.createContext(null);-kB.displayName = "Navigation";-var AB = D.createContext(null);-AB.displayName = "Location";-var jB = D.createContext({+OB.displayName = "Location";+var kB = D.createContext({outlet: null,matches: [],isDataRoute: !1});-jB.displayName = "Route";-var MB = D.createContext(!1);-MB.displayName = "IsDataRoute";-var NB = D.createContext(void 0);-NB.displayName = "RouteId";-var PB = D.createContext(null);-PB.displayName = "RouteError";+kB.displayName = "Route";+var AB = D.createContext(!1);+AB.displayName = "IsDataRoute";+var jB = D.createContext(void 0);+jB.displayName = "RouteId";+var MB = D.createContext(null);+MB.displayName = "RouteError";//#endregion//#region node_modules/react-router/dist/production/lib/errors.js-var FB = "REACT_ROUTER_ERROR", Mpe = "REDIRECT", Npe = "ROUTE_ERROR_RESPONSE";-function Ppe(e) {- if (e.startsWith(`${FB}:${Mpe}:{`)) try {+var NB = "REACT_ROUTER_ERROR", Ppe = "REDIRECT", Fpe = "ROUTE_ERROR_RESPONSE";+function Ipe(e) {+ if (e.startsWith(`${NB}:${Ppe}:{`)) try {let t = JSON.parse(e.slice(28));if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;} catch {}}-function Fpe(e) {- if (e.startsWith(`${FB}:${Npe}:{`)) try {+function Lpe(e) {+ if (e.startsWith(`${NB}:${Fpe}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new vpe(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new bpe(t.status, t.statusText, t.data);} catch {}}//#endregion//#region node_modules/react-router/dist/production/lib/hooks.js-function IB() {- return D.useContext(AB) != null;+function PB() {+ return D.useContext(OB) != null;}-function LB() {- return rB(IB(), "useLocation() may be used only in the context of a <Router> component."), D.useContext(AB).location;+function FB() {+ return tB(PB(), "useLocation() may be used only in the context of a <Router> component."), D.useContext(OB).location;}-var RB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function Ipe() {- return D.useContext(MB) ? Jpe() : Lpe();+var IB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";+function Rpe() {+ return D.useContext(AB) ? Xpe() : zpe();}-function Lpe() {- rB(IB(), "useNavigate() may be used only in the context of a <Router> component.");- let e = D.useContext(DB), { basename: t, navigator: n } = D.useContext(kB), { matches: r } = D.useContext(jB), { pathname: i } = LB(), a = JSON.stringify(ppe(r)), o = D.useRef(!1);+function zpe() {+ tB(PB(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = D.useContext(TB), { basename: t, navigator: n } = D.useContext(DB), { matches: r } = D.useContext(kB), { pathname: i } = FB(), a = JSON.stringify(hpe(r)), o = D.useRef(!1);return D.useLayoutEffect(() => {o.current = !0;}), D.useCallback((r, s = {}) => {- if (iB(o.current, RB), !o.current) return;+ if (nB(o.current, IB), !o.current) return;if (typeof r == "number") {n.go(r);return;}- let c = mpe(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : yB([t, c.pathname])), TB(typeof r == "string" ? r : sB(r), n.createHref(c), CB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ let c = gpe(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : _B([t, c.pathname])), CB(typeof r == "string" ? r : aB(r), n.createHref(c), xB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -43152,19 +43155,19 @@ function Lpe() {]);}D.createContext(null);-function Rpe(e, t) {- return zB(e, t);+function Bpe(e, t) {+ return LB(e, t);}-function zB(e, t, n) {- rB(IB(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = D.useContext(kB), { matches: i } = D.useContext(jB), a = i[i.length - 1], o = a ? a.params : {};+function LB(e, t, n) {+ tB(PB(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = D.useContext(DB), { matches: i } = D.useContext(kB), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = LB(), l;+ let c = FB(), l;if (t) {- let e = typeof t == "string" ? cB(t) : t;- rB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;+ let e = typeof t == "string" ? oB(t) : t;+ tB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;} else l = c;let u = l.pathname || "/", d = u;if (s !== "/") {@@ -43172,13 +43175,13 @@ function zB(e, t, n) {d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");}let f;- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Yfe(e, { pathname: d });- let p = Wpe(f && f.map((e) => Object.assign({}, e, {+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Zfe(e, { pathname: d });+ let p = Kpe(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: yB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : yB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: _B([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : _B([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])})), i, n);- return t && p ? /* @__PURE__ */ D.createElement(AB.Provider, { value: {+ return t && p ? /* @__PURE__ */ D.createElement(OB.Provider, { value: {location: {pathname: "/",search: "",@@ -43191,14 +43194,14 @@ function zB(e, t, n) {navigationType: "POP"} }, p) : p;}-function zpe() {- let e = qpe(), t = ype(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function Vpe() {+ let e = Ype(), t = xpe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ D.createElement(D.Fragment, null, /* @__PURE__ */ D.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ D.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ D.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var Bpe = /* @__PURE__ */ D.createElement(zpe, null), Vpe = class extends D.Component {+var Hpe = /* @__PURE__ */ D.createElement(Vpe, null), Upe = class extends D.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -43206,7 +43209,7 @@ var Bpe = /* @__PURE__ */ D.createElement(zpe, null), Vpe = class extends D.Comperror: e.error};}- static contextType = Ope;+ static contextType = Ape;static getDerivedStateFromError(e) {return { error: e };}@@ -43227,30 +43230,30 @@ var Bpe = /* @__PURE__ */ D.createElement(zpe, null), Vpe = class extends D.Comprender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = Fpe(e.digest);+ let t = Lpe(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ D.createElement(jB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ D.createElement(MB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ D.createElement(NB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ D.createElement(PB.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ D.createElement(kB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ D.createElement(AB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ D.createElement(jB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ D.createElement(MB.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ D.createElement(Hpe, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ D.createElement(Wpe, { error: e }, t) : t;}-}, BB = /* @__PURE__ */ new WeakMap();-function Hpe({ children: e, error: t }) {- let { basename: n, navigator: r } = D.useContext(kB);+}, RB = /* @__PURE__ */ new WeakMap();+function Wpe({ children: e, error: t }) {+ let { basename: n, navigator: r } = D.useContext(DB);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = Ppe(t.digest);+ let e = Ipe(t.digest);if (e) {- let i = BB.get(t);+ let i = RB.get(t);if (i) throw i;- let a = xpe(e.location, n), o = a.absoluteURL || a.to;- if (TB(e.location, o, CB(r), "allow-explicit"), Tpe(o)) throw Error("Invalid redirect location");- if (xB && !BB.get(t)) {+ let a = Cpe(e.location, n), o = a.absoluteURL || a.to;+ if (CB(e.location, o, xB(r), "allow-explicit"), Dpe(o)) throw Error("Invalid redirect location");+ if (yB && !RB.get(t)) {if (a.isExternal || e.reloadDocument) window.location.href = o;else {let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));- throw BB.set(t, n), n;+ throw RB.set(t, n), n;}}return /* @__PURE__ */ D.createElement("meta", {@@ -43261,11 +43264,11 @@ function Hpe({ children: e, error: t }) {}return e;}-function Upe({ routeContext: e, match: t, children: n }) {- let r = D.useContext(DB);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(jB.Provider, { value: e }, /* @__PURE__ */ D.createElement(MB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ D.createElement(NB.Provider, { value: t.route.id }, n)));+function Gpe({ routeContext: e, match: t, children: n }) {+ let r = D.useContext(TB);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(kB.Provider, { value: e }, /* @__PURE__ */ D.createElement(AB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ D.createElement(jB.Provider, { value: t.route.id }, n)));}-function Wpe(e, t = [], n) {+function Kpe(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -43276,7 +43279,7 @@ function Wpe(e, t = [], n) {let i = e, a = r?.errors;if (a != null) {let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);- rB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));+ tB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));}let o = !1, s = -1;if (n && r) {@@ -43296,16 +43299,16 @@ function Wpe(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: bpe(r.matches),+ pattern: Spe(r.matches),errorInfo: t});} : void 0;return i.reduceRight((e, n, c) => {let u, d = !1, f = null, p = null;- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Bpe, o && (s < 0 && c === 0 ? (Ype("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Hpe, o && (s < 0 && c === 0 ? (Zpe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));let m = t.concat(i.slice(0, c + 1)), h = () => {let t;- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ D.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ D.createElement(Upe, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ D.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ D.createElement(Gpe, {match: n,routeContext: {outlet: e,@@ -43315,7 +43318,7 @@ function Wpe(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ D.createElement(Vpe, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ D.createElement(Upe, {location: r.location,revalidation: r.revalidation,component: f,@@ -43330,44 +43333,44 @@ function Wpe(e, t = [], n) {}) : h();}, null);}-function VB(e) {+function zB(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}-function Gpe(e) {- let t = D.useContext(DB);- return rB(t, VB(e)), t;+function qpe(e) {+ let t = D.useContext(TB);+ return tB(t, zB(e)), t;}-function Kpe(e) {- let t = D.useContext(OB);- return rB(t, VB(e)), t;+function Jpe(e) {+ let t = D.useContext(EB);+ return tB(t, zB(e)), t;}-function HB(e) {- let t = D.useContext(NB);- return rB(t, `${e} can only be used on routes that contain a unique "id"`), t;+function BB(e) {+ let t = D.useContext(jB);+ return tB(t, `${e} can only be used on routes that contain a unique "id"`), t;}-function qpe() {- let e = D.useContext(PB), t = Kpe("useRouteError"), n = HB("useRouteError");+function Ype() {+ let e = D.useContext(MB), t = Jpe("useRouteError"), n = BB("useRouteError");return e === void 0 ? t.errors?.[n] : e;}-function Jpe() {- let { router: e } = Gpe("useNavigate"), t = HB("useNavigate"), n = D.useRef(!1);+function Xpe() {+ let { router: e } = qpe("useNavigate"), t = BB("useNavigate"), n = D.useRef(!1);return D.useLayoutEffect(() => {n.current = !0;}), D.useCallback(async (r, i = {}) => {- iB(n.current, RB), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ nB(n.current, IB), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var UB = {};-function Ype(e, t, n) {- !t && !UB[e] && (UB[e] = !0, iB(!1, n));+var VB = {};+function Zpe(e, t, n) {+ !t && !VB[e] && (VB[e] = !0, nB(!1, n));}-D.memo(Xpe);-function Xpe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = D.useContext(DB);- return rB(a, "You must render this element inside a <DataRouterContext.Provider> element"), zB(e, void 0, {+D.memo(Qpe);+function Qpe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = D.useContext(TB);+ return tB(a, "You must render this element inside a <DataRouterContext.Provider> element"), LB(e, void 0, {router: a.router,manifest: t,state: n,@@ -43375,11 +43378,11 @@ function Xpe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function WB(e) {- rB(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");+function HB(e) {+ tB(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");}-function Zpe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- rB(!IB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+function $pe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ tB(!PB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = D.useMemo(() => ({basename: s,navigator: i,@@ -43392,9 +43395,9 @@ function Zpe({ basename: e = "/", children: t = null, location: n, navigationTypa,o]);- typeof n == "string" && (n = cB(n));+ typeof n == "string" && (n = oB(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = D.useMemo(() => {- let e = hB(l, s);+ let e = pB(l, s);return e == null ? null : {location: {pathname: e,@@ -43416,27 +43419,27 @@ function Zpe({ basename: e = "/", children: t = null, location: n, navigationTypr,m]);- return iB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ D.createElement(kB.Provider, { value: c }, /* @__PURE__ */ D.createElement(AB.Provider, {+ return nB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ D.createElement(DB.Provider, { value: c }, /* @__PURE__ */ D.createElement(OB.Provider, {children: t,value: h}));}-function GB({ children: e, location: t }) {- return Rpe(KB(e), t);+function UB({ children: e, location: t }) {+ return Bpe(WB(e), t);}D.Component;-function KB(e, t = []) {+function WB(e, t = []) {let n = [];return D.Children.forEach(e, (e, r) => {if (!D.isValidElement(e)) return;let i = [...t, r];if (e.type === D.Fragment) {- n.push.apply(n, KB(e.props.children, i));+ n.push.apply(n, WB(e.props.children, i));return;}- rB(e.type === WB, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);+ tB(e.type === HB, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let a = e.props;- rB(!a.index || !a.children, "An index route cannot have child routes.");+ tB(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -43455,17 +43458,17 @@ function KB(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = KB(a.children, i)), n.push(o);+ a.children && (o.children = WB(a.children, i)), n.push(o);}), n;}//#endregion//#region src/react/components/board-navigation-link.tsx-function Qpe(e) {+function eme(e) {return /* @__PURE__ */ (0, O.jsx)("a", { ...e });}//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function $pe(e) {+function tme(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43479,7 +43482,7 @@ function $pe(e) {})});}-function eme(e) {+function nme(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -43493,7 +43496,7 @@ function eme(e) {})});}-function qB(e) {+function GB(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -43507,54 +43510,54 @@ function qB(e) {}//#endregion//#region src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function tme({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function rme({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = D.Children.toArray(e).filter(D.isValidElement);return /* @__PURE__ */ (0, O.jsx)("nav", {ref: r,"aria-label": t,- className: eF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),+ className: $P("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, O.jsx)("ol", {className: "flex items-center gap-2.5 px-1",- children: i.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, O.jsx)(eme, {+ children: i.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, O.jsx)(nme, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))})});}-function JB({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function KB({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t && /* @__PURE__ */ (0, O.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0}), e] });if (i) return /* @__PURE__ */ (0, O.jsx)("li", {"aria-current": "page",- className: eF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),+ className: $P("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),children: o});- let s = eF("-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);+ let s = $P("-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, O.jsx)("li", {className: "flex items-center",- children: n ? /* @__PURE__ */ (0, O.jsx)(Qpe, {+ children: n ? /* @__PURE__ */ (0, O.jsx)(eme, {href: n,className: s,children: o}) : /* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: r,- className: eF("cursor-pointer", s),+ className: $P("cursor-pointer", s),children: o})});}//#endregion//#region src/react/boardui/components/foundations/direction/direction.tsx-function YB() {- return vS().direction;+function qB() {+ return gS().direction;}//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var XB = [+var JB = ["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",@@ -43562,11 +43565,11 @@ var XB = ["data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]","data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left","data-[placement=left]:origin-right data-[placement=right]:origin-left"-].join(" "), nme = "w-[266px]", rme = "flex w-full flex-col gap-1 outline-none", ZB = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), QB = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+].join(" "), ime = "w-[266px]", ame = "flex w-full flex-col gap-1 outline-none", YB = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), XB = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";//#endregion//#region src/react/boardui/components/base/tree-view/tree-view.tsx-function ime({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = YB(), l = (0, D.useContext)(dI), u = l === cI && !s.dragAndDropHooks ? eV : l;+function ome({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = qB(), l = (0, D.useContext)(lI), u = l === oI && !s.dragAndDropHooks ? QB : l;return /* @__PURE__ */ (0, O.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -43583,23 +43586,23 @@ function ime({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, O.jsx)(dI.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(lI.Provider, {value: u,- children: /* @__PURE__ */ (0, O.jsx)(Bde, {+ children: /* @__PURE__ */ (0, O.jsx)(Hde, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => eF("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === eV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)+ className: (e) => $P("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === QB ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)})})});}-function $B({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = YB();- return /* @__PURE__ */ (0, O.jsxs)(Ude, {+function ZB({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = qB();+ return /* @__PURE__ */ (0, O.jsxs)(Gde, {...u,ref: l,textValue: t,@@ -43607,11 +43610,11 @@ function $B({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNampaddingInlineStart: `calc(0.5rem + ${e.level - 1} * 1.25rem)`,...typeof c == "function" ? c(e) : c}),- className: (e) => eF("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, O.jsx)(Hde, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? hz : mz : mfe);+ className: (e) => $P("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, O.jsx)(Wde, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? pz : fz : gfe);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(ome, {+ /* @__PURE__ */ (0, O.jsx)(cme, {state: l,id: u,level: c,@@ -43621,20 +43624,20 @@ function $B({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, O.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, O.jsx)(_I, {+ children: [t ? /* @__PURE__ */ (0, O.jsx)(hI, {slot: "chevron",isDisabled: s,className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",- children: /* @__PURE__ */ (0, O.jsx)(dz, {+ children: /* @__PURE__ */ (0, O.jsx)(lz, {"aria-hidden": !0,- className: eF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")+ className: $P("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})}) : /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: eF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")+ className: $P("h-5 shrink-0", c > 1 ? "w-2" : "w-5")}), f && /* @__PURE__ */ (0, O.jsx)(f, {"aria-hidden": !0,- className: eF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)+ className: $P("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)})]}),/* @__PURE__ */ (0, O.jsx)("span", {@@ -43649,24 +43652,24 @@ function $B({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var eV = {- ...cI,- CollectionRoot: ame+var QB = {+ ...oI,+ CollectionRoot: sme};-function ame({ collection: e, ...t }) {- let n = (0, D.useContext)(oz);+function sme({ collection: e, ...t }) {+ let n = (0, D.useContext)(iz);return n ? /* @__PURE__ */ (0, O.jsx)(Mv, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, O.jsx)(sme, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, O.jsx)(lme, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, O.jsx)(cI.CollectionRoot, {+ }) : /* @__PURE__ */ (0, O.jsx)(oI.CollectionRoot, {collection: e,...t});}-function ome({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function cme({ 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;@@ -43699,7 +43702,7 @@ function ome({ state: e, id: t, level: n, expanded: r, branchWidth: i, directionheight: "7",viewBox: `0 0 ${i} 7`,fill: "none",- className: eF("absolute start-0", a === "rtl" && "-scale-x-100"),+ className: $P("absolute start-0", a === "rtl" && "-scale-x-100"),style: { top: "calc(50% - 6px)" },children: /* @__PURE__ */ (0, O.jsx)("path", {d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,@@ -43725,9 +43728,9 @@ function ome({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function sme({ state: e, children: t }) {- let n = kv(), r = Ay(), [i, a] = (0, D.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, O.jsx)(Ry.div, {+function lme({ state: e, children: t }) {+ let n = kv(), r = Oy(), [i, a] = (0, D.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, O.jsx)(Iy.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -43766,7 +43769,7 @@ function sme({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, O.jsx)(oz.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(iz.Provider, {value: n ? e : i,children: t})@@ -43774,7 +43777,7 @@ function sme({ state: e, children: t }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var tV = {+var $B = {md: {box: "size-4",glyph: "size-4",@@ -43788,11 +43791,11 @@ var tV = {gap: "gap-1.5"}};-function nV({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = tV[t], c = n || r, l = o && !a;+function eV({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = $B[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: eF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? eF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : eF("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: $P("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? $P("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : $P("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43816,24 +43819,24 @@ function nV({ state: e, size: t = "md" }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function rV({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = tV[n];- return /* @__PURE__ */ (0, O.jsx)(jI, {+function tV({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = $B[n];+ return /* @__PURE__ */ (0, O.jsx)(kI, {ref: r,...i,- className: (t) => eF("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(nV, {+ className: (t) => $P("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(eV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: eF(a.label, "text-text-primary"),+ className: $P(a.label, "text-text-primary"),children: t})] })});}//#endregion//#region src/react/components/overlay-scrollbar.ts-function iV() {+function nV() {let e = (0, D.useRef)(null);return (0, D.useEffect)(() => {$a(e.current);@@ -43841,13 +43844,13 @@ function iV() {}//#endregion//#region src/history/settings-route.ts-var aV = {+var rV = {appearance: "外观与导航",playback: "浏览与播放",jav: "JAV 与新作",search: "搜索与推荐",content: "内容显示"-}, oV = {+}, iV = {library: "媒体库与入库",subscriptions: "来源与订阅",downloads: "下载渠道",@@ -43855,37 +43858,37 @@ var aV = {maintenance: "应用与维护",diagnostics: "系统诊断"};-function sV(e) {- return oV[e.split("/")[2]] || oV.library;+function aV(e) {+ return iV[e.split("/")[2]] || iV.library;}-var cV = ["/settings", ...Object.keys(aV).map((e) => `/settings/${e}`)], lV = (e) => cV.includes(e);-function uV(e) {- return aV[e.split("/")[2]] || aV.appearance;+var oV = ["/settings", ...Object.keys(rV).map((e) => `/settings/${e}`)], sV = (e) => oV.includes(e);+function cV(e) {+ return rV[e.split("/")[2]] || rV.appearance;}-function dV(e) {+function lV(e) {return `/settings/${Object.entries({- ...aV,- ...oV+ ...rV,+ ...iV}).find(([, t]) => t === e)?.[0] || "appearance"}`;}-var fV = (e) => {+var uV = (e) => {let t = e?.settingsBackground;return t && typeof t.pathname == "string" ? t : null;-}, pV = [+}, dV = ["/assets/:id","/posts/:id","/works/:code"-], cme = [+], ume = ["mix","parts","editions","playlist"];-function mV(e, t = "") {+function fV(e, t = "") {let n = new URL(e, "https://peach.invalid");e = n.pathname, t ||= n.search;- for (let n of pV) {- let r = fB(n, e);+ for (let n of dV) {+ let r = uB(n, e);if (!r) continue;if (n === "/works/:code") {let e = r.params.code || "";@@ -43902,7 +43905,7 @@ function mV(e, t = "") {let a = Number(i[0]);if (!Number.isSafeInteger(a) || a <= 0) return null;if (n === "/assets/:id") {- let e = new URLSearchParams(t), r = cme.filter((t) => e.has(t));+ let e = new URLSearchParams(t), r = ume.filter((t) => e.has(t));if (r.length === 1) {let t = r[0], i = e.get(t), o = Number(i);if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {@@ -43926,8 +43929,8 @@ function mV(e, t = "") {}return null;}-var hV = (e, t = "") => mV(e, t)?.target ?? null, gV = (e) => lV(e.split(/[?#]/)[0]) || pV.some((t) => fB(t, e.split(/[?#]/)[0]) !== null);-function _V(e) {+var pV = (e, t = "") => fV(e, t)?.target ?? null, mV = (e) => sV(e.split(/[?#]/)[0]) || dV.some((t) => uB(t, e.split(/[?#]/)[0]) !== null);+function hV(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,@@ -43935,35 +43938,35 @@ function _V(e) {...typeof t.hash == "string" && t.hash ? { hash: t.hash } : {}} : null;}-var vV = null, yV = null;-function bV() {+var gV = null, _V = null;+function vV() {let { pathname: e, search: t, hash: n } = window.location;- gV(e) || (vV = {+ mV(e) || (gV = {pathname: e,search: t,...n ? { hash: n } : {}});}-function xV() {- vV = null, yV = null;+function yV() {+ gV = null, _V = null;}-function lme(e) {- let t = _V(e);- t && (vV = t, yV = t.pathname + t.search + (t.hash || ""));+function dme(e) {+ let t = hV(e);+ t && (gV = t, _V = t.pathname + t.search + (t.hash || ""));}-function SV() {- let e = yV;- return yV = null, e;+function bV() {+ let e = _V;+ return _V = null, e;}-function CV(e) {- return vV ? {- backgroundLocation: { ...vV },+function xV(e) {+ return gV ? {+ backgroundLocation: { ...gV },overlay: e} : void 0;}//#endregion//#region src/history/canonical-path.ts-function wV(e) {+function SV(e) {let t = new URL(e, "https://peach.invalid");for (let [e, n] of [[/^\/item\/(\d+)$/, "/assets/"],@@ -43987,16 +43990,16 @@ function wV(e) {}//#endregion//#region src/history/route-meta.ts-var TV = {+var CV = {"/settings": {title: "设置",refresh: "skip"},- ...Object.fromEntries(Object.entries(aV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(rV).map(([e, t]) => [`/settings/${e}`, {title: t,refresh: "skip"}])),- ...Object.fromEntries(Object.entries(oV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(iV).map(([e, t]) => [`/settings/${e}`, {title: t,section: "configuration",refresh: "reopen"@@ -44127,13 +44130,13 @@ var TV = {title: "播放墙"}};-function EV(e) {- if (Object.hasOwn(TV, e)) return TV[e];- let t = mV(e);- if (t) return TV[t.path];+function wV(e) {+ if (Object.hasOwn(CV, e)) return CV[e];+ let t = fV(e);+ if (t) return CV[t.path];let [n, ...r] = e.split("/").filter(Boolean);if (!n) return null;- if (!r.length) return Object.hasOwn(TV, `/${n}`) ? TV[`/${n}`] : null;+ if (!r.length) return Object.hasOwn(CV, `/${n}`) ? CV[`/${n}`] : null;let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? Mt({performers: "performer",studios: "studio",@@ -44142,126 +44145,126 @@ function EV(e) {series: "series",tags: "tag"}[n] || "", Number(r[0])) : r.join("/");- return Object.hasOwn(TV, i) ? {- ...TV[i],+ return Object.hasOwn(CV, i) ? {+ ...CV[i],title: a || "资料"} : null;}//#endregion//#region src/history/managed.ts-var DV = () => {}, OV = new Promise((e) => {- DV = e;+var TV = () => {}, EV = new Promise((e) => {+ TV = e;});-OV.catch(() => {});-var kV = null, AV = /* @__PURE__ */ new Map(), jV = /* @__PURE__ */ new Map(), MV = 0, NV = /* @__PURE__ */ new Set();-function ume(e) {- DV(e);+EV.catch(() => {});+var DV = null, OV = /* @__PURE__ */ new Map(), kV = /* @__PURE__ */ new Map(), AV = 0, jV = /* @__PURE__ */ new Set();+function fme(e) {+ TV(e);}-function PV(e) {- return AV.get(e) ?? null;+function MV(e) {+ return OV.get(e) ?? null;}-function FV(e) {- return !!e && (AV.has(e) || jV.has(e));+function NV(e) {+ return !!e && (OV.has(e) || kV.has(e));}-var IV = () => [...AV.values()];-function dme(e) {- return NV.add(e), () => {- NV.delete(e);+var PV = () => [...OV.values()];+function pme(e) {+ return jV.add(e), () => {+ jV.delete(e);};}-function LV(e) {- let t = IV();- for (let n of [...NV]) n(t, e);+function FV(e) {+ let t = PV();+ for (let n of [...jV]) n(t, e);}-async function RV(e, t, n) {+async function IV(e, t, n) {let { container: r } = n;- if (BV(r), !n.isCurrent()) return !1;- MV += 1;+ if (RV(r), !n.isCurrent()) return !1;+ AV += 1;let i = {- revision: MV,+ revision: AV,controller: new AbortController()};- jV.set(r, i);- let a = kV;- kV = null, a?.();- let o = await OV;- if (jV.get(r) !== i) return !1;+ kV.set(r, i);+ let a = DV;+ DV = null, a?.();+ let o = await EV;+ if (kV.get(r) !== i) return !1;try {await o(e, t, i.controller.signal);} catch {if (i.controller.signal.aborted) return !1;}- if (jV.get(r) !== i || (jV.delete(r), !n.isCurrent())) return !1;- let s = n.place ? n.place(r) : fme(r);- return AV.set(r, {+ if (kV.get(r) !== i || (kV.delete(r), !n.isCurrent())) return !1;+ let s = n.place ? n.place(r) : mme(r);+ return OV.set(r, {path: e,props: t,revision: i.revision,container: r,host: s,resident: !!n.resident- }), LV(!0), !0;+ }), FV(!0), !0;}-function fme(e) {+function mme(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.textContent = "", e.append(t), t;}-function zV(e, t) {- let n = e ? AV.get(e) : void 0;- n && (AV.set(n.container, {+function LV(e, t) {+ let n = e ? OV.get(e) : void 0;+ n && (OV.set(n.container, {...n,props: {...n.props,...t}- }), LV(!1));+ }), FV(!1));}-function BV(e, ...t) {+function RV(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = jV.get(r);- e && (e.controller.abort(), jV.delete(r));- let t = AV.get(r);- t && (AV.delete(r), n.push(t));+ let e = kV.get(r);+ e && (e.controller.abort(), kV.delete(r));+ let t = OV.get(r);+ t && (OV.delete(r), n.push(t));}if (n.length) {- LV(!0);+ FV(!0);for (let e of n) e.resident || e.host.remove();}}-function pme() {- let [e, ...t] = /* @__PURE__ */ new Set([...AV.keys(), ...jV.keys()]);- e && BV(e, ...t);+function hme() {+ let [e, ...t] = /* @__PURE__ */ new Set([...OV.keys(), ...kV.keys()]);+ e && RV(e, ...t);}-function mme(e, t) {- let n = AV.get(e);- n?.revision === t && (AV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- LV(!1);+function gme(e, t) {+ let n = OV.get(e);+ n?.revision === t && (OV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ FV(!1);}));}//#endregion//#region src/history/index.ts-var VV = Gfe({ v5Compat: !0 }), HV = 0, UV = 0, WV = {- action: VV.action,- location: VV.location,- seq: HV,- openEpoch: UV,+var zV = qfe({ v5Compat: !0 }), BV = 0, VV = 0, HV = {+ action: zV.action,+ location: zV.location,+ seq: BV,+ openEpoch: VV,claimed: !0-}, GV = /* @__PURE__ */ new Set(), KV = !1, qV = !0;-VV.listen(({ action: e, location: t }) => {- let n = t.pathname + t.search + t.hash, r = wV(n);- r !== n && (window.history.replaceState(window.history.state, "", r), t = VV.location), HV += 1, KV || (UV += 1), e !== "REPLACE" && (qV = !1), WV = {+}, UV = /* @__PURE__ */ new Set(), WV = !1, GV = !0;+zV.listen(({ action: e, location: t }) => {+ let n = t.pathname + t.search + t.hash, r = SV(n);+ r !== n && (window.history.replaceState(window.history.state, "", r), t = zV.location), BV += 1, WV || (VV += 1), e !== "REPLACE" && (GV = !1), HV = {action: e,location: t,- seq: HV,- openEpoch: UV,- claimed: KV+ seq: BV,+ openEpoch: VV,+ claimed: WV};- for (let e of [...GV]) e(WV);+ for (let e of [...UV]) e(HV);});-function JV(e) {- if (typeof e == "string") return wV(new URL(e, window.location.href).href);- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = wV(t.href);+function KV(e) {+ if (typeof e == "string") return SV(new URL(e, window.location.href).href);+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = SV(t.href);if (n === t.pathname + t.search + t.hash) return e;let r = new URL(n, window.location.origin);return {@@ -44271,52 +44274,52 @@ function JV(e) {hash: r.hash};}-var YV = {+var qV = {get navigation() {- return WV;+ return HV;},listen(e) {- return GV.add(e), () => {- GV.delete(e);+ return UV.add(e), () => {+ UV.delete(e);};},- createHref: (e) => VV.createHref(e),- createURL: (e) => VV.createURL(e),- encodeLocation: (e) => VV.encodeLocation(e),- go: (e) => VV.go(e),- push: (e, t) => VV.push(JV(e), t),- replace: (e, t) => VV.replace(JV(e), t)+ createHref: (e) => zV.createHref(e),+ createURL: (e) => zV.createURL(e),+ encodeLocation: (e) => zV.encodeLocation(e),+ go: (e) => zV.go(e),+ push: (e, t) => zV.push(KV(e), t),+ replace: (e, t) => zV.replace(KV(e), t)};-function XV(e, { replace: t = !1, state: n } = {}) {- let r = new URL(e, window.location.href), i = wV(`${r.pathname}${r.search}${r.hash}`);- KV = !0;+function JV(e, { replace: t = !1, state: n } = {}) {+ let r = new URL(e, window.location.href), i = SV(`${r.pathname}${r.search}${r.hash}`);+ WV = !0;try {- t ? VV.replace(i, n) : VV.push(i, n);+ t ? zV.replace(i, n) : zV.push(i, n);} finally {- KV = !1;+ WV = !1;}}-var ZV = () => qV;-function QV() {- if (lV(WV.location.pathname)) {- let e = qV ? null : fV(WV.location.state);- return e ? _V(e.state) || e : null;+var YV = () => GV;+function XV() {+ if (sV(HV.location.pathname)) {+ let e = GV ? null : uV(HV.location.state);+ return e ? hV(e.state) || e : null;}- return qV ? null : _V(WV.location.state);+ return GV ? null : hV(HV.location.state);}//#endregion//#region src/react/providers.tsx-var $V = null;-function hme() {- return $V?.isConnected || ($V = document.createElement("div"), $V.className = "peach-react", $V.dataset.reactOverlays = "", document.body.append($V)), $V;+var ZV = null;+function _me() {+ return ZV?.isConnected || (ZV = document.createElement("div"), ZV.className = "peach-react", ZV.dataset.reactOverlays = "", document.body.append(ZV)), ZV;}-function eH({ children: e }) {+function QV({ children: e }) {return /* @__PURE__ */ (0, O.jsx)(j, {client: U,children: /* @__PURE__ */ (0, O.jsx)(Ote, {reducedMotion: "user",- children: /* @__PURE__ */ (0, O.jsx)(CT, {- getContainer: hme,+ children: /* @__PURE__ */ (0, O.jsx)(xT, {+ getContainer: _me,children: e})})@@ -44324,26 +44327,26 @@ function eH({ children: e }) {}//#endregion//#region node_modules/sonner/dist/index.mjs-function gme(e) {+function vme(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 _me = (e) => {+var yme = (e) => {switch (e) {- case "success": return bme;- case "info": return Sme;- case "warning": return xme;- case "error": return Cme;+ case "success": return Sme;+ case "info": return wme;+ case "warning": return Cme;+ case "error": return Tme;default: return null;}-}, vme = Array(12).fill(0), yme = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {+}, bme = Array(12).fill(0), xme = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, vme.map((e, t) => /*#__PURE__*/ D.createElement("div", {+}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, bme.map((e, t) => /*#__PURE__*/ D.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), bme = /*#__PURE__*/ D.createElement("svg", {+})))), Sme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44354,7 +44357,7 @@ var _me = (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"-})), xme = /*#__PURE__*/ D.createElement("svg", {+})), Cme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -44365,7 +44368,7 @@ var _me = (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"-})), Sme = /*#__PURE__*/ D.createElement("svg", {+})), wme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44376,7 +44379,7 @@ var _me = (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"-})), Cme = /*#__PURE__*/ D.createElement("svg", {+})), Tme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44387,7 +44390,7 @@ var _me = (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"-})), wme = /*#__PURE__*/ D.createElement("svg", {+})), Eme = /*#__PURE__*/ D.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -44408,7 +44411,7 @@ var _me = (e) => {y1: "6",x2: "18",y2: "18"-})), Tme = () => {+})), Dme = () => {let [e, t] = D.useState(document.hidden);return D.useEffect(() => {let e = () => {@@ -44416,7 +44419,7 @@ var _me = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, Eme = 1, Dme = 100, tH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Eme++, nH = new class {+}, Ome = 1, kme = 100, $V = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Ome++, eH = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -44426,10 +44429,10 @@ var _me = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - Dme;+ let e = this.toasts.length - kme;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 = tH(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = $V(e), i = this.pendingDismissals.get(r);i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({@@ -44504,7 +44507,7 @@ var _me = (e) => {type: "default",message: e});- else if (kme(e) && !e.ok) {+ else if (jme(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" && !D.isValidElement(r) ? r : { message: r };this.create({@@ -44548,7 +44551,7 @@ var _me = (e) => {}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });}, this.custom = (e, t) => {- let n = tH(t);+ let n = $V(t);return this.create({...t,jsx: e(n),@@ -44557,34 +44560,34 @@ var _me = (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();}-}(), Ome = (e, t) => nH.message(e, t), kme = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", rH = Object.assign(Ome, {- success: nH.success,- info: nH.info,- warning: nH.warning,- error: nH.error,- custom: nH.custom,- message: nH.message,- promise: nH.promise,- dismiss: nH.dismiss,- loading: nH.loading+}(), Ame = (e, t) => eH.message(e, t), jme = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", tH = Object.assign(Ame, {+ success: eH.success,+ info: eH.info,+ warning: eH.warning,+ error: eH.error,+ custom: eH.custom,+ message: eH.message,+ promise: eH.promise,+ dismiss: eH.dismiss,+ loading: eH.loading}, {- getHistory: () => nH.toasts,- getToasts: () => nH.getActiveToasts()+ getHistory: () => eH.toasts,+ getToasts: () => eH.getActiveToasts()});-gme("[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 iH(e) {+vme("[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 nH(e) {return e.label !== void 0;}-var Ame = 3, jme = "24px", Mme = "16px", aH = 4e3, Nme = 356, Pme = 14, Fme = 45, Ime = 200;-function oH(...e) {+var Mme = 3, Nme = "24px", Pme = "16px", rH = 4e3, Fme = 356, Ime = 14, Lme = 45, Rme = 200;+function iH(...e) {return e.filter(Boolean).join(" ");}-function Lme(e) {+function zme(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var Rme = (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, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [N, P] = D.useState(!1), [ee, F] = D.useState(!1), [te, I] = D.useState(!1), [ne, re] = D.useState(!1), [ie, ae] = D.useState(0), [oe, se] = D.useState(0), ce = D.useRef(n.duration || y || aH), le = D.useRef(null), ue = D.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 = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = D.useMemo(() => n.duration || y || aH, [n.duration, y]), xe = D.useRef(0), Se = D.useRef(0), Ce = D.useRef(0), we = D.useRef(null), [Te, Ee] = b.split("-"), De = D.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Tme(), ke = D.useMemo(() => e.swipeDirections ?? Lme(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";+var Bme = (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, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [N, P] = D.useState(!1), [ee, F] = D.useState(!1), [te, I] = D.useState(!1), [ne, re] = D.useState(!1), [ie, ae] = D.useState(0), [oe, se] = D.useState(0), ce = D.useRef(n.duration || y || rH), le = D.useRef(null), ue = D.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 = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = D.useMemo(() => n.duration || y || rH, [n.duration, y]), xe = D.useRef(0), Se = D.useRef(0), Ce = D.useRef(0), we = D.useRef(null), [Te, Ee] = b.split("-"), De = D.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Dme(), ke = D.useMemo(() => e.swipeDirections ?? zme(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";Se.current = D.useMemo(() => ve * x + De, [ve, De]), D.useEffect(() => {ce.current = be;}, [be]), D.useEffect(() => {@@ -44625,7 +44628,7 @@ var Rme = (e) => {let Me = D.useCallback(() => {P(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, Ime);+ }, Rme);}, [n,d,@@ -44656,18 +44659,18 @@ var Rme = (e) => {}, [Me, n.delete]);function Ne() {return w?.loading ? /*#__PURE__*/ D.createElement("div", {- className: oH(C?.loader, n?.classNames?.loader, "sonner-loader"),+ className: iH(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": pe === "loading"- }, w.loading) : /*#__PURE__*/ D.createElement(yme, {- className: oH(C?.loader, n?.classNames?.loader),+ }, w.loading) : /*#__PURE__*/ D.createElement(xme, {+ className: iH(C?.loader, n?.classNames?.loader),visible: pe === "loading"});}- let Pe = n.icon || w?.[pe] || _me(pe);+ let Pe = n.icon || w?.[pe] || yme(pe);return /*#__PURE__*/ D.createElement("li", {tabIndex: 0,ref: ue,- className: oH(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),+ className: iH(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),"data-sonner-toast": "","data-rich-colors": n.richColors ?? f,"data-styled": !(n.jsx || n.unstyled || r),@@ -44710,7 +44713,7 @@ var Rme = (e) => {if (te || !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) >= Fme || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), I(!0);+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Lme || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), I(!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"), re(!1), F(!1), O(null);@@ -44749,46 +44752,46 @@ var Rme = (e) => {onClick: je || !he ? () => {} : () => {Me(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: oH(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? wme) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {+ className: iH(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? Eme) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {"data-icon": "",- className: oH(C?.icon, n?.classNames?.icon)+ className: iH(C?.icon, n?.classNames?.icon)}, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ D.createElement("div", {"data-content": "",- className: oH(C?.content, n?.classNames?.content)+ className: iH(C?.content, n?.classNames?.content)}, /*#__PURE__*/ D.createElement("div", {"data-title": "",- className: oH(C?.title, n?.classNames?.title)+ className: iH(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ D.createElement("div", {"data-description": "",- className: oH(v, _e, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && iH(n.cancel) ? /*#__PURE__*/ D.createElement("button", {+ className: iH(v, _e, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && nH(n.cancel) ? /*#__PURE__*/ D.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- iH(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());+ nH(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());},- className: oH(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && iH(n.action) ? /*#__PURE__*/ D.createElement("button", {+ className: iH(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && nH(n.action) ? /*#__PURE__*/ D.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- iH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());+ nH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());},- className: oH(C?.actionButton, n?.classNames?.actionButton)+ className: iH(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function sH() {+function aH() {if (typeof window > "u" || typeof document > "u") return "ltr";let e = document.documentElement.getAttribute("dir");return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;}-function zme(e, t) {+function Vme(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Mme : jme;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Pme : Nme;function o(e) {["top",@@ -44809,11 +44812,11 @@ function zme(e, t) {}) : o(a);}), n;}-var cH = /*#__PURE__*/ D.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 = Ame, toastOptions: g, dir: _ = sH(), gap: v = Pme, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [N, P] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = D.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = D.useRef(null), I = D.useRef(!1), ne = D.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || nH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var oH = /*#__PURE__*/ D.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 = Mme, toastOptions: g, dir: _ = aH(), gap: v = Ime, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [N, P] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = D.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = D.useRef(null), I = D.useRef(!1), ne = D.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || eH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return D.useEffect(() => nH.subscribe((e) => {+ return D.useEffect(() => eH.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,@@ -44882,7 +44885,7 @@ var cH = /*#__PURE__*/ D.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ D.createElement("ol", {key: t,- dir: _ === "auto" ? sH() : _,+ dir: _ === "auto" ? aH() : _,tabIndex: -1,ref: ee,className: c,@@ -44892,10 +44895,10 @@ var cH = /*#__PURE__*/ D.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${E[0]?.height || 0}px`,- "--width": `${Nme}px`,+ "--width": `${Fme}px`,"--gap": `${v}px`,...m,- ...zme(l, u)+ ...Vme(l, u)},onBlur: (e) => {I.current && !e.currentTarget.contains(e.relatedTarget) && (I.current = !1, te.current &&= (te.current.focus({ preventScroll: !0 }), null));@@ -44913,7 +44916,7 @@ var cH = /*#__PURE__*/ D.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);},onPointerUp: () => M(!1)- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(Rme, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(Bme, {key: n.id,icons: y,index: i,@@ -44943,19 +44946,19 @@ var cH = /*#__PURE__*/ D.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), lH = "/api/library-processing", uH = ["library-processing"], Bme = (e, t, n) => {+}), sH = "/api/library-processing", cH = ["library-processing"], Hme = (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)), n && r.set("inventory", n), V(`${lH}?${r}`, t);-}, dH = (e) => !!e && [+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), V(`${sH}?${r}`, t);+}, lH = (e) => !!e && ["running","pausing","paused"-].includes(e.status);-function fH(e) {- if (!dH(e)) return "";+].includes(e.status), uH = (e) => e?.status === "failed" && e.outcome === "partial", dH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", fH = "/?loc=&thumb=0";+function pH(e) {+ if (!lH(e)) return "";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";if (e.stalled) return "等待当前文件响应,剩余时间待更新";@@ -44965,18 +44968,18 @@ function fH(e) {let r = n >= 86400 ? 86400 : n >= 3600 ? 3600 : 60, i = r === 86400 ? "天" : r === 3600 ? "小时" : "分钟", a = r === 60 ? 1 : 10, o = Math.max(1 / a, Math.floor(t / r * a) / a), s = Math.max(o, Math.ceil(n / r * a) / a);return `预计剩余约 ${o === s ? `${s}` : `${o}–${s}`} ${i}${e.eta_initial || e.eta_kind !== "measured" ? "(粗估)" : ""}${e.eta_scope ? ` · ${e.eta_scope}` : ""}`;}-var pH = (e) => V(lH, e);-async function mH(e) {+var mH = (e) => V(sH, e);+async function hH(e) {await U.fetchQuery({- queryKey: uH,- queryFn: () => pH(e)+ queryKey: cH,+ queryFn: () => mH(e)});}-var Vme = 2e3, Hme = 1e4, hH = "连接中断,正在重新读取处理进度";-function gH(e, t) {- return dH(e) ? Vme : t ? Hme : !1;+var Ume = 2e3, Wme = 1e4, gH = "连接中断,正在重新读取处理进度";+function _H(e, t) {+ return lH(e) ? Ume : t ? Wme : !1;}-var Ume = {+var Gme = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -44984,25 +44987,25 @@ var Ume = {fetching_cover: "采集缺失封面",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, _H = {+}, vH = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function Wme(e) {- let t = Object.entries(e).filter(([e, t]) => _H[e] && t > 0).map(([e, t]) => `${_H[e]} ${t.toLocaleString()} 部`);+function Kme(e) {+ let t = Object.entries(e).filter(([e, t]) => vH[e] && t > 0).map(([e, t]) => `${vH[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function Gme(e) {+function qme(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = Ume[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${vF(e.waited_seconds)}` : "";+ let t = Gme[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${_F(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function Kme(e) {- let t = e.total ? `${yF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return Gme(e) + (t ? ` · ${t}` : "");+function Jme(e) {+ let t = e.total ? `${vF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ return qme(e) + (t ? ` · ${t}` : "");}-function qme(e) {+function Yme(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -45016,23 +45019,23 @@ function qme(e) {log: e.issues_log || ""} : null;}-var vH = "peach.library-processing.announced", Jme = 120;-function yH(e) {+var yH = "peach.library-processing.announced", Xme = 120;+function bH(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < Jme;+ return !!e.job_id && t >= 0 && t < Xme;}-function Yme(e, t, n) {- if (e.status === "complete" && (n || yH(e))) {+function Zme(e, t, n) {+ if (e.status === "complete" && (n || bH(e))) {try {- if (e.job_id && localStorage.getItem(vH) === e.job_id) return;- e.job_id && localStorage.setItem(vH, e.job_id);+ if (e.job_id && localStorage.getItem(yH) === e.job_id) return;+ e.job_id && localStorage.setItem(yH, e.job_id);} catch {}e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));}}//#endregion//#region src/react/boardui/components/base/buttons/link-button.tsx-var bH = tF({+var xH = eF({base: ["inline-flex items-center justify-center gap-1 whitespace-nowrap","font-sans select-none cursor-pointer rounded-sm",@@ -45056,15 +45059,15 @@ var bH = tF({secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")}});-function xH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = eF(bH.base, bH.size[t], bH.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [+function SH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = $P(xH.base, xH.size[t], xH.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n ? /* @__PURE__ */ (0, O.jsx)(n, {- className: bH.icon[t],+ className: xH.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, O.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: bH.icon[t],+ className: xH.icon[t],"aria-hidden": !0}) : null] });@@ -45091,7 +45094,7 @@ function xH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili}//#endregion//#region src/react/components/use-moving-surface.ts-var Xme = {+var Qme = {selection: {type: Df,duration: .16,@@ -45103,7 +45106,7 @@ var Xme = {bounce: 0}};-function SH(e) {+function CH(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!t) return;@@ -45124,7 +45127,7 @@ function SH(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 = zne(n, { transform: [r, E] }, Xme[e]);+ l = Vne(n, { transform: [r, E] }, Qme[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -45161,25 +45164,25 @@ function SH(e) {}//#endregion//#region src/react/components/menu-dialog.tsx-function CH(e) {- let t = SH("hover");- return /* @__PURE__ */ (0, O.jsx)(gR, {+function wH(e) {+ let t = CH("hover");+ return /* @__PURE__ */ (0, O.jsx)(mR, {...e,ref: t});}//#endregion//#region src/react/library-processing/processing-effort.tsx-var wH = [+var TH = ["low","standard","high"-], TH = [+], EH = ["低占用","标准","全速"-], EH = Rz("snail"), DH = Rz("zap");-function OH({ className: e }) {+], DH = Iz("snail"), OH = Iz("zap");+function kH({ className: e }) {return /* @__PURE__ */ (0, O.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -45210,12 +45213,12 @@ function OH({ className: e }) {]});}-var Zme = [- EH,+var $me = [DH,- OH+ OH,+ kH];-function Qme({ animate: e }) {+function ehe({ animate: e }) {let [t, n] = (0, D.useState)(document.hidden);return (0, D.useEffect)(() => {let e = () => n(document.hidden);@@ -45247,8 +45250,8 @@ function Qme({ animate: e }) {} }, t))]});}-function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, wH.indexOf(e)), [a, o] = (0, D.useState)(i);+function AH({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, TH.indexOf(e)), [a, o] = (0, D.useState)(i);return (0, D.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45259,7 +45262,7 @@ function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), TH[a]]+ }), EH[a]]}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -45267,19 +45270,19 @@ function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(EH, {}), "最慢"]+ children: [/* @__PURE__ */ (0, O.jsx)(DH, {}), "最慢"]}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(DH, {}), "标准"]+ children: [/* @__PURE__ */ (0, O.jsx)(OH, {}), "标准"]}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(OH, {}), "最快"]+ children: [/* @__PURE__ */ (0, O.jsx)(kH, {}), "最快"]})]}),- /* @__PURE__ */ (0, O.jsxs)(Xle, {+ /* @__PURE__ */ (0, O.jsxs)(Qle, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -45288,10 +45291,10 @@ function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(wH[e]);+ e !== i && n(TH[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, O.jsx)(mI, {+ children: [/* @__PURE__ */ (0, O.jsx)(fI, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45311,11 +45314,11 @@ function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, O.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, O.jsx)(Qme, { animate: r }) : null,- /* @__PURE__ */ (0, O.jsx)(Zle, {+ a === 2 ? /* @__PURE__ */ (0, O.jsx)(ehe, { animate: r }) : null,+ /* @__PURE__ */ (0, O.jsx)($le, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, O.jsx)(Qle, {- "aria-label": TH[a],+ children: /* @__PURE__ */ (0, O.jsx)(eue, {+ "aria-label": EH[a],className: "processing-effort-thumb"})})@@ -45329,8 +45332,8 @@ function kH({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function $me({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), s = Math.max(0, wH.indexOf(e));+function the({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), s = Math.max(0, TH.indexOf(e));return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "processing-effort-trigger","data-speed": e,@@ -45338,28 +45341,28 @@ function $me({ value: e, busy: t, onChange: n, animate: r = !0 }) {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${TH[s]}`,+ "aria-label": `处理速度:${EH[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: Zme[s],- trailingIcon: lz,+ leadingIcon: $me[s],+ trailingIcon: sz,onClick: () => {t || o(!a);},- children: TH[s]+ children: EH[s]})- }), /* @__PURE__ */ (0, O.jsx)(rR, {+ }), /* @__PURE__ */ (0, O.jsx)(tR, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "top start",offset: 8,- className: XB,- children: /* @__PURE__ */ (0, O.jsx)(CH, {+ className: JB,+ children: /* @__PURE__ */ (0, O.jsx)(wH, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, O.jsx)(kH, {+ children: /* @__PURE__ */ (0, O.jsx)(AH, {value: e,busy: t,onChange: n,@@ -45370,7 +45373,7 @@ function $me({ value: e, busy: t, onChange: n, animate: r = !0 }) {}//#endregion//#region src/react/settings/use-action.ts-function AH(e = "") {+function jH(e = "") {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(""), [i, a] = (0, D.useState)(e);(0, D.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -45396,10 +45399,10 @@ function AH(e = "") {}//#endregion//#region src/react/library-processing/processing-controls.tsx-function ehe({ state: e, disabled: t = !1 }) {- let n = AH(), r = dH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {- t || n.busy || n.run(e.action, (t) => H(lH, e, "POST", t), (e) => {- U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });+function nhe({ state: e, disabled: t = !1 }) {+ let n = jH(), r = lH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {+ t || n.busy || n.run(e.action, (t) => H(sH, e, "POST", t), (e) => {+ U.setQueryData(cH, e), U.invalidateQueries({ queryKey: cH });});};return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45407,7 +45410,7 @@ function ehe({ state: e, disabled: t = !1 }) {"data-processing-controls": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)($me, {+ children: [/* @__PURE__ */ (0, O.jsx)(the, {value: e.speed_mode || "standard",busy: t || !!n.busy,animate: e.status !== "paused" && e.status !== "pausing",@@ -45420,11 +45423,11 @@ function ehe({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? bz : yz,+ leadingIcon: e.status === "paused" ? vz : _z,"aria-label": i,title: i,disabled: t || !e.job_id || e.status === "pausing",- ...Bz(n.busy === "pause" || n.busy === "resume"),+ ...Rz(n.busy === "pause" || n.busy === "resume"),onClick: () => {e.job_id && a({action: e.status === "paused" ? "resume" : "pause",@@ -45441,11 +45444,11 @@ function ehe({ state: e, disabled: t = !1 }) {}//#endregion//#region src/react/library-processing/use-library-processing.ts-function jH({ toast: e, mode: t, monitor: n }) {+function MH({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = St({- queryKey: uH,- queryFn: ({ signal: e }) => pH(e),- refetchInterval: (e) => gH(e.state.data, r)+ queryKey: cH,+ queryFn: ({ signal: e }) => mH(e),+ refetchInterval: (e) => _H(e.state.data, r)}), [a, o] = (0, D.useState)(null), s = (0, D.useRef)(void 0), c = i.data;return (0, D.useEffect)(() => {if (!c) return;@@ -45455,8 +45458,8 @@ function jH({ toast: e, mode: t, monitor: n }) {"running","pausing","paused"- ].includes(n) && !dH(c);- r && o(c), (r || t === "notice") && Yme(c, e, r);+ ].includes(n) && !lH(c);+ r && o(c), (r || t === "notice") && Zme(c, e, r);}, [c,t,@@ -45469,38 +45472,38 @@ function jH({ toast: e, mode: t, monitor: n }) {}//#endregion//#region src/react/components/card.tsx-var the = "min-w-0", nhe = {+var rhe = "min-w-0", ihe = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, rhe = {+}, ahe = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, ihe = {+}, ohe = {line: "border border-border-button-default",soft: "border border-separator-border"-}, ahe = {+}, she = {none: "",default: "p-5"-}, ohe = "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", she = "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 MH(e = {}) {+}, che = "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", lhe = "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 NH(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 [- the,- nhe[t],- rhe[s],- ahe[n],- a ? ihe[a] : "",- r ? ohe : "",- i ? she : "",+ rhe,+ ihe[t],+ ahe[s],+ she[n],+ a ? ohe[a] : "",+ r ? che : "",+ i ? lhe : "",o ?? ""].filter(Boolean).join(" ");}//#endregion//#region src/react/components/loading-dots.tsx-function NH({ label: e }) {+function PH({ label: e }) {return /* @__PURE__ */ (0, O.jsxs)("p", {role: "status",className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",@@ -45520,21 +45523,21 @@ function NH({ label: e }) {}//#endregion//#region src/react/components/progress.tsx-var PH = 100, che = .4;-function FH({ label: e, value: t, max: n = 100, stops: r = [] }) {- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * PH;+var FH = 100, uhe = .4;+function IH({ label: e, value: t, max: n = 100, stops: r = [] }) {+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * FH;return /* @__PURE__ */ (0, O.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": i,"aria-valuenow": a(t),- viewBox: `0 0 ${PH} 1`,+ viewBox: `0 0 ${FH} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, O.jsx)("rect", {- width: PH,+ width: FH,height: 1,className: "fill-background-tertiary-default"}),@@ -45545,7 +45548,7 @@ function FH({ label: e, value: t, max: n = 100, stops: r = [] }) {}),r.map((e) => /* @__PURE__ */ (0, O.jsx)("rect", {x: o(e),- width: che,+ width: uhe,height: 1,className: "fill-background-secondary-default"}, e))@@ -45554,27 +45557,27 @@ function FH({ label: e, value: t, max: n = 100, stops: r = [] }) {}//#endregion//#region src/react/components/task-progress.tsx-function IH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function LH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-task-progress": !0,- className: r ? "flex flex-col gap-1.5" : MH({+ className: r ? "flex flex-col gap-1.5" : NH({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(FH, {+ children: n && n > 0 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(IH, {label: e,value: t,max: n}), /* @__PURE__ */ (0, O.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, O.jsx)(NH, { label: e })+ })] }) : /* @__PURE__ */ (0, O.jsx)(PH, { label: e })});}//#endregion//#region src/react/library-processing/processing-line.tsx-function LH(e) {+function RH(e) {let [t, n] = (0, D.useState)({snapshot: e,seconds: 0@@ -45590,17 +45593,17 @@ function LH(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return Kme(a ? {+ return Jme(a ? {...e,waited_seconds: r + a} : e);}-function lhe({ state: e }) {- return LH(e);+function dhe({ state: e }) {+ return RH(e);}-function uhe({ state: e }) {- let t = LH(e);- return /* @__PURE__ */ (0, O.jsx)(IH, {+function fhe({ state: e }) {+ let t = RH(e);+ return /* @__PURE__ */ (0, O.jsx)(LH, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -45609,7 +45612,7 @@ function uhe({ state: e }) {}//#endregion//#region src/react/components/collapse-region.tsx-function RH({ open: e, children: t, ...n }) {+function zH({ open: e, children: t, ...n }) {let r = (0, D.useRef)(null), i = (0, D.useRef)(!1);return (0, D.useLayoutEffect)(() => {let t = r.current;@@ -45620,7 +45623,7 @@ function RH({ open: e, children: t, ...n }) {children: t});}-function zH(e) {+function BH(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {...e,"aria-hidden": !0,@@ -45636,21 +45639,21 @@ function zH(e) {}//#endregion//#region src/react/boardui/components/application/settings/settings-rows.tsx-function BH({ className: e, children: t }) {+function VH({ className: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {- className: eF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: $P("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function VH({ className: e, children: t }) {+function HH({ className: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {- className: eF("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: $P("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function dhe({ label: e, description: t, children: n }) {+function phe({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {- className: eF("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),+ className: $P("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, O.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, O.jsx)("p", {@@ -45665,7 +45668,7 @@ function dhe({ label: e, description: t, children: n }) {}//#endregion//#region src/react/settings/section.tsx-function fhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {+function mhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {let o = t ? /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [t, e]@@ -45673,12 +45676,12 @@ function fhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {className: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(VH, { children: o })+ children: /* @__PURE__ */ (0, O.jsx)(HH, { children: o })}), /* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-w-0 max-w-full",children: r})]- }) : /* @__PURE__ */ (0, O.jsx)(VH, { children: o }), /* @__PURE__ */ (0, O.jsx)(BH, { children: a })] });+ }) : /* @__PURE__ */ (0, O.jsx)(HH, { children: o }), /* @__PURE__ */ (0, O.jsx)(VH, { children: a })] });return i ? /* @__PURE__ */ (0, O.jsx)("form", {id: n,"aria-label": e,@@ -45693,13 +45696,13 @@ function fhe({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {children: s});}-function phe({ children: e }) {+function hhe({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function HH({ divided: e = !1, children: t }) {+function UH({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, O.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden",children: t@@ -45708,7 +45711,7 @@ function HH({ divided: e = !1, children: t }) {children: t});}-function mhe({ label: e, html: t }) {+function ghe({ label: e, html: t }) {let [n] = (0, D.useState)(t);return /* @__PURE__ */ (0, O.jsx)("div", {className: "contents",@@ -45718,7 +45721,7 @@ function mhe({ label: e, html: t }) {dangerouslySetInnerHTML: { __html: n }});}-function hhe({ status: e, children: t }) {+function _he({ status: e, children: t }) {return /* @__PURE__ */ (0, O.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, O.jsx)("div", {@@ -45727,34 +45730,34 @@ function hhe({ status: e, children: t }) {}) : null, t]});}-function UH({ role: e, children: t }) {+function WH({ role: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function WH({ children: e }) {+function GH({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function GH({ children: e }) {+function KH({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function ghe({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, O.jsx)(xH, {+function vhe({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, O.jsx)(SH, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: pz,+ trailingIcon: dz,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -45762,13 +45765,13 @@ function ghe({ href: e, children: t, leadingIcon: n }) {})});}-function _he({ children: e }) {+function yhe({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function vhe({ term: e, children: t }) {+function bhe({ term: e, children: t }) {return /* @__PURE__ */ (0, O.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, O.jsx)("dt", {@@ -45780,7 +45783,7 @@ function vhe({ term: e, children: t }) {})]});}-function KH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {+function qH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, D.useId)(), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(!1), [d, f] = (0, D.useState)(n ?? t);return (0, D.useLayoutEffect)(() => {n !== void 0 && n !== d && c.current && l.current && (to(c.current, l.current, n), f(n));@@ -45796,12 +45799,12 @@ function KH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:},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`,children: [- i ? null : /* @__PURE__ */ (0, O.jsx)(dz, {+ i ? null : /* @__PURE__ */ (0, O.jsx)(lz, {"aria-hidden": !0,className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"}),e,- i ? /* @__PURE__ */ (0, O.jsx)(dz, {+ i ? /* @__PURE__ */ (0, O.jsx)(lz, {"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"}) : null@@ -45811,13 +45814,13 @@ function KH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:id: s,inert: !d,children: /* @__PURE__ */ (0, O.jsx)("div", {- className: eF("flex flex-col gap-2 pt-3", o),+ className: $P("flex flex-col gap-2 pt-3", o),children: r})})]});}-function yhe({ name: e }) {+function xhe({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -45827,35 +45830,35 @@ function yhe({ name: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function qH({ mark: e }) {+function JH({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, O.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, O.jsx)(yhe, { name: e });+ }) : /* @__PURE__ */ (0, O.jsx)(xhe, { name: e });}//#endregion//#region src/react/components/source-label.tsx-var JH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, bhe = Object.fromEntries(Object.entries(No).map(([e, t]) => [e, function({ className: e }) {+var YH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, She = Object.fromEntries(Object.entries(No).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, O.jsx)(qH, { mark: t })+ children: /* @__PURE__ */ (0, O.jsx)(JH, { mark: t })});}]));-function xhe({ className: e }) {+function Che({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, O.jsx)(qH, { mark: "database" })+ children: /* @__PURE__ */ (0, O.jsx)(JH, { mark: "database" })});}-var YH = (e) => bhe[JH(e)] ?? xhe;-function She({ site: e, label: t }) {+var XH = (e) => She[YH(e)] ?? Che;+function whe({ site: e, label: t }) {let [n, r] = (0, D.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, O.jsx)(qH, { mark: "globe" }) : /* @__PURE__ */ (0, O.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, O.jsx)(JH, { mark: "globe" }) : /* @__PURE__ */ (0, O.jsx)("img", {src: i,alt: "",className: "size-(--icon-inline) shrink-0 object-contain",@@ -45863,11 +45866,11 @@ function She({ site: e, label: t }) {}), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]});}-function XH({ source: e, label: t }) {- let n = JH(e);+function ZH({ source: e, label: t }) {+ let n = YH(e);return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(qH, { mark: No[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(JH, { mark: No[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 truncate",children: t})]@@ -45875,13 +45878,13 @@ function XH({ source: e, label: t }) {}//#endregion//#region src/react/library-processing/processing-traffic.tsx-var ZH = (e) => _n(e).replace(/\s/g, ""), QH = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : ZH(e), Che = (e, t) => {- if (e === t) return ZH(t);+var QH = (e) => _n(e).replace(/\s/g, ""), $H = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : QH(e), The = (e, t) => {+ if (e === t) return QH(t);let [n, r] = _n(e).split(" "), [i, a] = _n(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${ZH(e)}-${ZH(t)}`;-}, $H = (e, t, n) => e === void 0 ? Che(t, n) : `${e > 0 ? "约 " : ""}${ZH(e)}`;-function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {- let i = iV(), [a, o] = (0, D.useState)(!1), s = (0, D.useId)(), c = n ?? a;+ return r === a ? `${n}-${i}${a}` : `${QH(e)}-${QH(t)}`;+}, eU = (e, t, n) => e === void 0 ? The(t, n) : `${e > 0 ? "约 " : ""}${QH(e)}`;+function tU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {+ let i = nV(), [a, o] = (0, D.useState)(!1), s = (0, D.useId)(), c = n ?? a;if (!e) return null;let l = (e) => e.toLocaleString("zh-CN");return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45918,25 +45921,25 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(gz, {+ children: [/* @__PURE__ */ (0, O.jsx)(mz, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: $H(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: eU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, O.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- $H(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ eU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, O.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.partial ? "约 " : "", ZH(e.used_bytes)] }),+ /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.partial ? "约 " : "", QH(e.used_bytes)] })," · 代理 ",- ZH(e.metered_used_bytes)+ QH(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, O.jsxs)("section", {@@ -45945,25 +45948,25 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(Pfe, {+ children: [/* @__PURE__ */ (0, O.jsx)(Ife, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]}),/* @__PURE__ */ (0, O.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", ZH(e.disk.estimated_bytes)]+ children: ["约 ", QH(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, O.jsxs)("p", { children: ["抽帧临时文件约 ", QH(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, O.jsxs)("p", { children: ["抽帧临时文件约 ", $H(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, O.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : ZH(e.free_bytes)+ e.free_bytes == null ? "未取得" : QH(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, O.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", ZH(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", QH(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, O.jsx)("p", {@@ -45979,7 +45982,7 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })className: "self-start","aria-expanded": c,"aria-controls": s,- trailingIcon: c ? Qde : lz,+ trailingIcon: c ? efe : sz,onClick: () => {o(!c), r?.(!c);},@@ -45998,12 +46001,12 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, O.jsx)(XH, {+ children: [e.root ? /* @__PURE__ */ (0, O.jsx)(ZH, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(qH, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, O.jsx)(JH, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, O.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -46025,7 +46028,7 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"待补资料 ",l(e.workload.pending_jav_titles)," 部 · 平均约 ",- QH(e.workload.metadata_average_bytes || 0),+ $H(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -46035,8 +46038,8 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"已用",e.unobserved.length ? "约" : ""," ",- ZH(e.used_bytes)- ] }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["预计 ", $H(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ QH(e.used_bytes)+ ] }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["预计 ", eU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -46048,15 +46051,15 @@ function eU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var tU = "peach.library-processing.collapsed";-function nU(e) {+var nU = "peach.library-processing.collapsed";+function rU(e) {try {- return !e || sessionStorage.getItem(tU) !== e;+ return !e || sessionStorage.getItem(nU) !== e;} catch {return !0;}}-function whe({ value: e, max: t }) {+function Ehe({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, O.jsxs)("svg", {role: "progressbar",@@ -46086,14 +46089,14 @@ function whe({ value: e, max: t }) {})]});}-function rU({ state: e, problem: t = "", measure: n = !1 }) {- let [r, i] = (0, D.useState)(() => nU(e?.job_id)), a = (0, D.useId)(), [o, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = e?.status === "failed", u = dH(e);+function iU({ state: e, problem: t = "", measure: n = !1 }) {+ let [r, i] = (0, D.useState)(() => rU(e?.job_id)), a = (0, D.useId)(), [o, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = !t && uH(e), u = e?.status === "failed" && !l, d = lH(e);(0, D.useEffect)(() => {- i(nU(e?.job_id)), s(!1);+ i(rU(e?.job_id)), s(!1);}, [e?.job_id]);- let d = () => {+ let f = () => {try {- r && e?.job_id ? sessionStorage.setItem(tU, e.job_id) : sessionStorage.removeItem(tU);+ r && e?.job_id ? sessionStorage.setItem(nU, e.job_id) : sessionStorage.removeItem(nU);} catch {}r && s(!1), i(!r);};@@ -46107,28 +46110,28 @@ function rU({ state: e, problem: t = "", measure: n = !1 }) {return i.observe(e), () => {t = !0, i.disconnect(), document.documentElement.style.removeProperty("--processing-toast-space");};- }, [n]), !t && !u && !l) return null;- let f = !!t || !!e?.stalled, p = l ? "扫描与资料采集未完成" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";+ }, [n]), !t && !d && !u && !l) return null;+ let p = !!t || !!e?.stalled || l, m = l ? "处理已结束,部分项目需处理" : u ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";return /* @__PURE__ */ (0, O.jsxs)("aside", {ref: c,"data-processing-dock": "",- "data-processing-tone": l ? "error" : f ? "warning" : "neutral",+ "data-processing-tone": u ? "error" : p ? "warning" : "neutral","aria-label": "扫描任务",- role: l ? "alert" : "status",- className: eF("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),+ role: u ? "alert" : "status",+ className: $P("flex min-w-0 flex-col border bg-background-primary-default p-4", u ? "border-current/35 text-text-error-primary" : p ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- u && e?.total ? /* @__PURE__ */ (0, O.jsx)(whe, {+ d && e?.total ? /* @__PURE__ */ (0, O.jsx)(Ehe, {value: e.checked || 0,max: e.total- }) : l || f ? /* @__PURE__ */ (0, O.jsx)(dfe, {+ }) : u || p ? /* @__PURE__ */ (0, O.jsx)(pfe, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, O.jsx)(Sfe, {+ }) : /* @__PURE__ */ (0, O.jsx)(wfe, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -46136,40 +46139,40 @@ function rU({ state: e, problem: t = "", measure: n = !1 }) {className: "min-w-0 flex-1",children: [/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-medium",- children: p- }), u ? /* @__PURE__ */ (0, O.jsx)("p", {+ children: m+ }), d ? /* @__PURE__ */ (0, O.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: fH(e)+ children: pH(e)}) : null]}),/* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: zH,+ leadingIcon: BH,"data-processing-toggle": "","data-collapse-upward": "","aria-label": r ? "收起任务详情" : "展开任务详情","aria-expanded": r,"aria-controls": a,- onClick: d+ onClick: f})]- }), /* @__PURE__ */ (0, O.jsx)(eU, {+ }), /* @__PURE__ */ (0, O.jsx)(tU, {traffic: e?.traffic,detailsOpen: o,onDetailsChange: s})]}),- /* @__PURE__ */ (0, O.jsx)(RH, {+ /* @__PURE__ */ (0, O.jsx)(zH, {id: a,open: r,"data-processing-body": "",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "pt-3",children: /* @__PURE__ */ (0, O.jsxs)("div", {- className: eF("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),+ className: $P("flex min-w-0 flex-col gap-2 border-t pt-3", u ? "border-border-error-default/20" : p ? "border-current/20" : "border-separator-border"),children: [e?.steps?.length ? /* @__PURE__ */ (0, O.jsx)("ol", {"aria-label": "处理步骤",@@ -46177,16 +46180,16 @@ function rU({ state: e, problem: t = "", measure: n = !1 }) {children: e.steps.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {"data-processing-step": e.status,"aria-current": e.status === "current" ? "step" : void 0,- className: eF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),+ className: $P("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, O.jsx)(ife, {+ e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(ofe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, O.jsx)(afe, {+ }) : /* @__PURE__ */ (0, O.jsx)(sfe, {"aria-hidden": !0,- className: eF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")+ className: $P("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),- /* @__PURE__ */ (0, O.jsx)(uw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),+ /* @__PURE__ */ (0, O.jsx)(cw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)("s", {className: "wrap-anywhere",children: e.label@@ -46199,9 +46202,13 @@ function rU({ state: e, problem: t = "", measure: n = !1 }) {}) : null,/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, O.jsx)(lhe, { state: e }))+ children: t || (u || l ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, O.jsx)(dhe, { state: e }))}),- u && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, O.jsxs)("p", {+ l ? /* @__PURE__ */ (0, O.jsx)("p", {+ className: "text-body-2-regular wrap-anywhere",+ children: dH+ }) : null,+ d && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, O.jsxs)("p", {className: "text-caption-1-regular text-text-tertiary",children: ["当前阶段 · ", e.stage]}) : null,@@ -46215,46 +46222,55 @@ function rU({ state: e, problem: t = "", measure: n = !1 }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",- children: [/* @__PURE__ */ (0, O.jsx)(xH, {- href: "/data-cleanup#libraryProcessing",- variant: "secondary",- size: "small",- trailingIcon: uz,- children: t || l ? "打开扫描与采集" : "任务详情"- }), u ? /* @__PURE__ */ (0, O.jsx)(ehe, {- state: e,- disabled: !!t- }) : null]+ children: [+ /* @__PURE__ */ (0, O.jsx)(SH, {+ href: "/data-cleanup#libraryProcessing",+ variant: "secondary",+ size: "small",+ trailingIcon: cz,+ children: t || u || l ? "打开扫描与采集" : "任务详情"+ }),+ l ? /* @__PURE__ */ (0, O.jsx)(SH, {+ href: fH,+ size: "small",+ trailingIcon: cz,+ children: "查看全部内容"+ }) : null,+ d ? /* @__PURE__ */ (0, O.jsx)(nhe, {+ state: e,+ disabled: !!t+ }) : null+ ]})]});}-function The(e) {- let { job: t } = jH(e);- return /* @__PURE__ */ (0, O.jsx)(rU, {+function Dhe(e) {+ let { job: t } = MH(e);+ return /* @__PURE__ */ (0, O.jsx)(iU, {state: t.data,- problem: t.isError ? t.data ? hH : An(t.error) : ""+ problem: t.isError ? t.data ? gH : An(t.error) : ""});}//#endregion//#region src/react/library-processing/library-processing-dock.tsx-var iU = "peach-library-processing";-function Ehe({ toast: e }) {- let { job: t, settled: n } = jH({+var aU = "peach-library-processing";+function Ohe({ toast: e }) {+ let { job: t, settled: n } = MH({toast: e,mode: "notice"- }), r = (0, D.useRef)(""), i = (0, D.useRef)(!1), a = t.data, o = t.isError ? a ? hH : An(t.error) : "";+ }), r = (0, D.useRef)(""), i = (0, D.useRef)(!1), a = t.data, o = t.isError ? a ? gH : An(t.error) : "";return (0, D.useEffect)(() => {- let e = dH(a), t = a?.job_id || "unavailable", s = a?.status === "failed" && (n?.job_id === a.job_id || yH(a));- !e && (!o && !s || r.current === t) ? (i.current && rH.dismiss(iU), i.current = !1) : (rH.custom(() => /* @__PURE__ */ (0, O.jsx)("div", {+ let e = lH(a), t = a?.job_id || "unavailable", s = a?.status === "failed" && (n?.job_id === a.job_id || bH(a));+ !e && (!o && !s || r.current === t) ? (i.current && tH.dismiss(aU), i.current = !1) : (tH.custom(() => /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(rU, {+ children: /* @__PURE__ */ (0, O.jsx)(iU, {state: a,problem: o,measure: !0})}), {- id: iU,+ id: aU,toasterId: "processing",duration: Infinity,dismissible: !e,@@ -46269,20 +46285,20 @@ function Ehe({ toast: e }) {o,n]), (0, D.useEffect)(() => () => {- i.current && rH.dismiss(iU), i.current = !1;+ i.current && tH.dismiss(aU), i.current = !1;}, []), null;}//#endregion//#region src/react/network-banner.tsx-var Dhe = ["network-status"], Ohe = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";-function khe(e) {+var khe = ["network-status"], Ahe = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";+function jhe(e) {return e?.state === "online" ? 12e4 : 3e4;}-function Ahe() {+function Mhe() {let e = St({- queryKey: Dhe,+ queryKey: khe,queryFn: ({ signal: e }) => V("/api/network-status", e),- refetchInterval: (e) => khe(e.state.data),+ refetchInterval: (e) => jhe(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");return e.data?.state !== "offline" || !t ? null : (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsxs)("aside", {@@ -46293,7 +46309,7 @@ function Ahe() {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-alert" })- }), /* @__PURE__ */ (0, O.jsx)("p", { children: Ohe })] }), /* @__PURE__ */ (0, O.jsx)("a", {+ }), /* @__PURE__ */ (0, O.jsx)("p", { children: Ahe })] }), /* @__PURE__ */ (0, O.jsx)("a", {href: "/settings/network#peachProxy",children: "检查 Peach 代理"})]@@ -46301,21 +46317,21 @@ function Ahe() {}//#endregion//#region src/react/router/pages/settings.tsx-function jhe() {- let e = (0, D.useContext)(lU), { pathname: t } = LB();+function Nhe() {+ let e = (0, D.useContext)(uU), { pathname: t } = FB();return (0, D.useEffect)(() => {- e?.openSettings?.(uV(t));+ e?.openSettings?.(cV(t));}, [e, t]), (0, D.useEffect)(() => () => {queueMicrotask(() => {- lV(YV.navigation.location.pathname) || e?.closeSettings?.();+ sV(qV.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}//#endregion//#region src/react/router/pages/overlay.tsx-var aU = () => Hl, Mhe = () => Ul;-function Nhe() {- let e = (0, D.useContext)(lU), t = (0, D.useSyncExternalStore)($l, Mhe), n = (0, D.useSyncExternalStore)($l, aU);+var oU = () => Hl, Phe = () => Ul;+function Fhe() {+ let e = (0, D.useContext)(uU), t = (0, D.useSyncExternalStore)($l, Phe), n = (0, D.useSyncExternalStore)($l, oU);return (0, D.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -46330,11 +46346,11 @@ function Nhe() {e]), null;}-function oU(e, t = !1) {- let n = (0, D.useSyncExternalStore)($l, aU), r = (0, D.useRef)(void 0);+function sU(e, t = !1) {+ let n = (0, D.useSyncExternalStore)($l, oU), r = (0, D.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = YV.navigation;- r.current = Hl === 0 || ZV() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = qV.navigation;+ r.current = Hl === 0 || YV() ? "boot" : e && !t ? null : "history";}let i = (0, D.useRef)(e);(0, D.useEffect)(() => {@@ -46350,22 +46366,22 @@ function oU(e, t = !1) {}));}, [n]);}-function Phe() {- let e = (0, D.useContext)(lU), t = (0, D.useRef)(e);+function Ihe() {+ let e = (0, D.useContext)(uU), t = (0, D.useRef)(e);return (0, D.useLayoutEffect)(() => {t.current = e;- }, [e]), oU((t) => {- let n = YV.navigation.location, { pathname: r, search: i } = lV(n.pathname) && fV(n.state) || n, a = hV(r, i);- e && a && (xV(), t || lme(YV.navigation.location.state), e.openOverlay(a));+ }, [e]), sU((t) => {+ let n = qV.navigation.location, { pathname: r, search: i } = sV(n.pathname) && uV(n.state) || n, a = pV(r, i);+ e && a && (yV(), t || dme(qV.navigation.location.state), e.openOverlay(a));}, !0), (0, D.useEffect)(() => () => {queueMicrotask(() => {- gV(YV.navigation.location.pathname) || t.current?.closeStage();+ mV(qV.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function Fhe({ path: e }) {- cU();- let { location: t, seq: n, action: r } = YV.navigation, i = lV(t.pathname) ? fV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, D.useRef)({+function Lhe({ path: e }) {+ lU();+ let { location: t, seq: n, action: r } = qV.navigation, i = sV(t.pathname) ? uV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, D.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -46376,162 +46392,162 @@ function Fhe({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, O.jsx)(Phe, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, O.jsx)(Ihe, {}, `${e} ${o.current.seq}`);}-function Ihe() {- let e = (0, D.useContext)(lU);- return oU(() => {+function Rhe() {+ let e = (0, D.useContext)(uU);+ return sU(() => {e?.follow?.ground();}), null;}-function Lhe() {- return /* @__PURE__ */ (0, O.jsx)(Ihe, {}, cU());+function zhe() {+ return /* @__PURE__ */ (0, O.jsx)(Rhe, {}, lU());}//#endregion//#region src/react/router/router.tsx-var sU = (0, D.createContext)(0), cU = () => (0, D.useContext)(sU), lU = (0, D.createContext)(null);-function Rhe({ children: e }) {- let [t, n] = (0, D.useState)(() => YV.navigation);- return (0, D.useLayoutEffect)(() => (n(YV.navigation), YV.listen((e) => {+var cU = (0, D.createContext)(0), lU = () => (0, D.useContext)(cU), uU = (0, D.createContext)(null);+function Bhe({ children: e }) {+ let [t, n] = (0, D.useState)(() => qV.navigation);+ return (0, D.useLayoutEffect)(() => (n(qV.navigation), qV.listen((e) => {(0, Tt.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, O.jsx)(sU.Provider, {+ })), []), /* @__PURE__ */ (0, O.jsx)(cU.Provider, {value: t.openEpoch,- children: /* @__PURE__ */ (0, O.jsx)(Zpe, {+ children: /* @__PURE__ */ (0, O.jsx)($pe, {location: t.location,navigationType: t.action,- navigator: YV,+ navigator: qV,children: e})});}-function zhe({ target: e }) {- let t = Ipe();+function Vhe({ target: e }) {+ let t = Rpe();return (0, D.useLayoutEffect)(() => {e.current = t;}), null;}-function Bhe(e, t, n) {+function Hhe(e, t, n) {let r = new URL(e, window.location.href);M6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function Vhe() {- let e = (0, D.useContext)(lU), [t, n] = (0, D.useState)(IV), r = (0, D.useRef)(null);- (0, D.useLayoutEffect)(() => (n(IV()), dme((e, t) => {+function Uhe() {+ let e = (0, D.useContext)(uU), [t, n] = (0, D.useState)(PV), r = (0, D.useRef)(null);+ (0, D.useLayoutEffect)(() => (n(PV()), pme((e, t) => {t ? (0, Tt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, D.useMemo)(() => (t) => {- e && r.current && Bhe(t, e, r.current);+ e && r.current && Hhe(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(zhe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, O.jsx)(Hhe, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Vhe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, O.jsx)(Whe, {entry: t,- children: /* @__PURE__ */ (0, O.jsx)(Uhe, {+ children: /* @__PURE__ */ (0, O.jsx)(Ghe, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var Hhe = class extends D.Component {+var Whe = class extends D.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- mme(this.props.entry.container, this.props.entry.revision);+ gme(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, Uhe = (0, D.memo)(function({ entry: e, actions: t, go: n }) {- return K6(e.path) ? (0, Tt.createPortal)(CAe(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, Ghe = (0, D.memo)(function({ entry: e, actions: t, go: n }) {+ return K6(e.path) ? (0, Tt.createPortal)(EAe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function Whe({ children: e }) {- let t = LB();- cU();- let n = QV(), r = lV(t.pathname) && !ZV() ? fV(t.state) : null;+function Khe({ children: e }) {+ let t = FB();+ lU();+ let n = XV(), r = sV(t.pathname) && !YV() ? uV(t.state) : null;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsxs)(GB, {+ /* @__PURE__ */ (0, O.jsxs)(UB, {location: n ?? t,children: [- Object.entries(j6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {+ Object.entries(j6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(HB, {path: e,element: t.element}, e)),- Object.entries(yAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {+ Object.entries(SAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(HB, {path: e,element: t.element}, e)),- Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {+ Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(HB, {path: e,element: t.element}, e)),- Object.entries(I6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {+ Object.entries(I6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(HB, {path: e,element: t.element}, e)),- Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {+ Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(HB, {path: e,element: t.element}, e)),- G6.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {+ G6.map((e) => /* @__PURE__ */ (0, O.jsx)(HB, {path: e,element: z6["/"].element}, e)),- Object.entries(bAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(WB, {+ Object.entries(CAe).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(HB, {path: e,element: t.element}, e)),- pV.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {+ dV.map((e) => /* @__PURE__ */ (0, O.jsx)(HB, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, O.jsx)(Lhe, {}) : z6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, O.jsx)(zhe, {}) : z6["/"].element}, e)),- cV.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {+ oV.map((e) => /* @__PURE__ */ (0, O.jsx)(HB, {path: e,element: null}, e)),- /* @__PURE__ */ (0, O.jsx)(WB, {+ /* @__PURE__ */ (0, O.jsx)(HB, {path: "*",element: e})]}),- /* @__PURE__ */ (0, O.jsxs)(GB, {+ /* @__PURE__ */ (0, O.jsxs)(UB, {location: r ?? t,- children: [pV.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {+ children: [dV.map((e) => /* @__PURE__ */ (0, O.jsx)(HB, {path: e,- element: /* @__PURE__ */ (0, O.jsx)(Fhe, { path: e })- }, e)), /* @__PURE__ */ (0, O.jsx)(WB, {+ element: /* @__PURE__ */ (0, O.jsx)(Lhe, { path: e })+ }, e)), /* @__PURE__ */ (0, O.jsx)(HB, {path: "*",element: null})]}),- /* @__PURE__ */ (0, O.jsxs)(GB, { children: [cV.map((e) => /* @__PURE__ */ (0, O.jsx)(WB, {+ /* @__PURE__ */ (0, O.jsxs)(UB, { children: [oV.map((e) => /* @__PURE__ */ (0, O.jsx)(HB, {path: e,- element: /* @__PURE__ */ (0, O.jsx)(jhe, {})- }, e)), /* @__PURE__ */ (0, O.jsx)(WB, {+ element: /* @__PURE__ */ (0, O.jsx)(Nhe, {})+ }, e)), /* @__PURE__ */ (0, O.jsx)(HB, {path: "*",element: null})] })] });}-function Ghe({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, O.jsxs)(eH, { children: [n, /* @__PURE__ */ (0, O.jsx)(lU.Provider, {+function qhe({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, O.jsxs)(QV, { children: [n, /* @__PURE__ */ (0, O.jsx)(uU.Provider, {value: t,- children: /* @__PURE__ */ (0, O.jsxs)(Rhe, { children: [- /* @__PURE__ */ (0, O.jsx)(Vhe, {}),- /* @__PURE__ */ (0, O.jsx)(Nhe, {}),- r && t ? /* @__PURE__ */ (0, O.jsx)(Ehe, { toast: t.toast }) : null,- r && t ? /* @__PURE__ */ (0, O.jsx)(Ahe, {}) : null,- /* @__PURE__ */ (0, O.jsx)(Whe, { children: e })+ children: /* @__PURE__ */ (0, O.jsxs)(Bhe, { children: [+ /* @__PURE__ */ (0, O.jsx)(Uhe, {}),+ /* @__PURE__ */ (0, O.jsx)(Fhe, {}),+ r && t ? /* @__PURE__ */ (0, O.jsx)(Ohe, { toast: t.toast }) : null,+ r && t ? /* @__PURE__ */ (0, O.jsx)(Mhe, {}) : null,+ /* @__PURE__ */ (0, O.jsx)(Khe, { children: e })] })})] });}-var Khe = { onCaughtError: (e) => {+var Jhe = { onCaughtError: (e) => {globalThis.reportError?.(e);} };//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function qhe(e, t, n) {+function Yhe(e, t, n) {(0, D.useEffect)(() => {if (!e) return;let r = (e) => {@@ -46545,7 +46561,7 @@ function qhe(e, t, n) {n]);}-function Jhe(e, t) {+function Xhe(e, t) {let n = (0, D.useRef)(!1);return (0, D.useEffect)(() => {if (!e) return;@@ -46559,33 +46575,33 @@ function Jhe(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var uU = (0, D.createContext)("md");-function dU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var dU = (0, D.createContext)("md");+function fU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, D.useRef)(null), u = (0, D.useRef)(null), [d, f] = (0, D.useState)(!1);- qhe(d, () => f(!1), [l, u]);- let p = Jhe(d, l);- return /* @__PURE__ */ (0, O.jsx)(Rue, {+ Yhe(d, () => f(!1), [l, u]);+ let p = Xhe(d, l);+ return /* @__PURE__ */ (0, O.jsx)(Bue, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: eF("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(_I, {+ className: $P("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(hI, {ref: l,- className: eF("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, O.jsx)(Vue, {- className: eF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: $P("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, O.jsx)(Uue, {+ className: $P("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, O.jsx)($pe, { className: eF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, O.jsx)(rR, {+ }), /* @__PURE__ */ (0, O.jsx)(tme, { className: $P("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, O.jsx)(tR, {ref: u,isNonModal: !0,offset: 4,- className: eF(nme, XB, "p-2", n),- children: /* @__PURE__ */ (0, O.jsx)(oue, {+ className: $P(ime, JB, "p-2", n),+ children: /* @__PURE__ */ (0, O.jsx)(cue, {items: a,- className: eF(rme, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, O.jsx)(uU.Provider, {+ className: $P(ame, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, O.jsx)(dU.Provider, {value: r,children: i})@@ -46593,24 +46609,24 @@ function dU({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function fU({ className: e, children: t, ...n }) {- let r = (0, D.useContext)(uU);- return /* @__PURE__ */ (0, O.jsx)(lue, {+function pU({ className: e, children: t, ...n }) {+ let r = (0, D.useContext)(dU);+ return /* @__PURE__ */ (0, O.jsx)(due, {...n,- className: (t) => eF(ZB, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),+ className: (t) => $P(YB, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}//#endregion//#region src/react/catalog-folders/catalog-folders.ts-var pU = {+var mU = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function mU(e, t = "", n = "") {+function hU(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -46622,15 +46638,15 @@ function mU(e, t = "", n = "") {queryFn: ({ signal: e }) => V(`/api/folders?${r}`, e)};}-function hU(e, t) {+function gU(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}` : "");}//#endregion//#region src/react/catalog-folders/folder-rule-dialog.tsx-function Yhe({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, D.useContext)(lU), a = AH(), [o, s] = (0, D.useState)(t?.purpose || "category"), [c, l] = (0, D.useState)(t?.name || ""), [u, d] = (0, D.useState)(t?.recursive ?? !0), [f, p] = (0, D.useState)(t?.future ?? !1), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(!1), v = {+function Zhe({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, D.useContext)(uU), a = jH(), [o, s] = (0, D.useState)(t?.purpose || "category"), [c, l] = (0, D.useState)(t?.name || ""), [u, d] = (0, D.useState)(t?.recursive ?? !0), [f, p] = (0, D.useState)(t?.future ?? !1), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -46659,7 +46675,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {})})).confirmed ? b("已移除目录规则") : _(!1);}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, O.jsx)(Nz, {+ return g ? null : /* @__PURE__ */ (0, O.jsx)(jz, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -46673,7 +46689,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, O.jsx)(xI, {+ children: [/* @__PURE__ */ (0, O.jsx)(yI, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -46681,7 +46697,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",children: e.path})]- }), /* @__PURE__ */ (0, O.jsx)(zz, {+ }), /* @__PURE__ */ (0, O.jsx)(Lz, {label: "关闭目录用途",onPress: () => {w || r();@@ -46693,20 +46709,20 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, O.jsx)(Ez, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, O.jsx)(dU, {+ children: [/* @__PURE__ */ (0, O.jsx)(wz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, O.jsx)(fU, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(pU).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(fU, {+ children: Object.entries(mU).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(pU, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, O.jsx)(Mz, {+ o === "category" ? null : /* @__PURE__ */ (0, O.jsx)(Az, {label: "关联名称",value: c,onChange: (e) => {@@ -46717,7 +46733,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, O.jsx)(rV, {+ /* @__PURE__ */ (0, O.jsx)(tV, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -46725,7 +46741,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, O.jsx)(rV, {+ /* @__PURE__ */ (0, O.jsx)(tV, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -46762,9 +46778,9 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {children: e.name}, e.id))}) : null,- m.conflicts.length ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ m.conflicts.length ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "warning",- extra: /* @__PURE__ */ (0, O.jsx)(KH, {+ extra: /* @__PURE__ */ (0, O.jsx)(qH, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, O.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -46782,7 +46798,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {}) : null]}) : null,- a.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ a.error ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: a.error}) : null@@ -46797,7 +46813,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {onClick: () => {w || C();},- ...Bz(a.busy === "remove"),+ ...Rz(a.busy === "remove"),children: "移除规则"}) : null,/* @__PURE__ */ (0, O.jsx)(J, {@@ -46809,13 +46825,13 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {}),m ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary",- ...Bz(a.busy === "save"),+ ...Rz(a.busy === "save"),onClick: S,children: T("save", "正在保存") || "保存目录用途"}) : /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary",disabled: o !== "category" && !c.trim(),- ...Bz(a.busy === "preview"),+ ...Rz(a.busy === "preview"),onClick: () => {x();},@@ -46829,7 +46845,7 @@ function Yhe({ folder: e, rule: t, revision: n, close: r }) {}//#endregion//#region src/react/catalog-folders/use-folder-sticky-offset.ts-function Xhe(e, t) {+function Qhe(e, t) {(0, D.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -46853,35 +46869,35 @@ function Xhe(e, t) {}//#endregion//#region src/react/catalog-folders/catalog-folders-page.tsx-function gU() {- return IB() ? /* @__PURE__ */ (0, O.jsx)(Zhe, {}) : null;+function _U() {+ return PB() ? /* @__PURE__ */ (0, O.jsx)($he, {}) : null;}-function Zhe() {- let e = LB(), t = (0, D.useContext)(lU);+function $he() {+ let e = FB(), t = (0, D.useContext)(uU);if (!Zt(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, O.jsx)(MF, {+ return /* @__PURE__ */ (0, O.jsx)(AF, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: mz,- onClick: () => t?.navigate(hU(e, r ? {+ icon: fz,+ onClick: () => t?.navigate(gU(e, r ? {browse: null,folder: null,folder_recursive: null} : { browse: "folders" }))});}-function Qhe({ children: e, enabled: t }) {- return IB() ? /* @__PURE__ */ (0, O.jsx)($he, {+function ege({ children: e, enabled: t }) {+ return PB() ? /* @__PURE__ */ (0, O.jsx)(tge, {enabled: t,children: e}) : /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: e });}-function $he({ children: e, enabled: t }) {- let [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)(null), o = LB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));+function tge({ children: e, enabled: t }) {+ let [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)(null), o = FB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, O.jsxs)("div", {className: "entity-folder-workspace","data-folder-workspace": "",@@ -46900,7 +46916,7 @@ function $he({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, O.jsx)(_U, {+ n && i ? /* @__PURE__ */ (0, O.jsx)(vU, {treeTarget: n,headerTarget: i,enabled: t@@ -46908,14 +46924,14 @@ function $he({ children: e, enabled: t }) {]});}-function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = LB(), i = (0, D.useContext)(lU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function vU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = FB(), i = (0, D.useContext)(uU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- Xhe(o, e);+ Qhe(o, e);let c = a.get("folder") || "", l = St({- ...mU(s, c),+ ...hU(s, c),enabled: o}), [u, d] = (0, D.useState)(!1), [f, p] = (0, D.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, D.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -46929,11 +46945,11 @@ function _U({ 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(hU(r, {+ d(!1), i.navigate(gU(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, O.jsx)(tge, {+ }, _ = l.data, v = /* @__PURE__ */ (0, O.jsx)(rge, {scope: s,selected: c,current: _,@@ -46950,21 +46966,21 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, O.jsx)(MF, {+ children: /* @__PURE__ */ (0, O.jsx)(AF, {"aria-label": "打开文件夹目录",- icon: Dfe,+ icon: kfe,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, O.jsxs)(tme, {+ /* @__PURE__ */ (0, O.jsxs)(rme, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, O.jsx)(JB, {+ children: [/* @__PURE__ */ (0, O.jsx)(KB, {current: !c,onClick: () => g(""),- icon: mz,+ icon: fz,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, O.jsx)(JB, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, O.jsx)(KB, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, O.jsx)("span", {@@ -46974,15 +46990,15 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, O.jsx)(MF, {+ _?.selected ? /* @__PURE__ */ (0, O.jsx)(AF, {"aria-label": "设置目录用途",- icon: vfe,+ icon: bfe,size: "small",onClick: () => p(!0)}) : null]}),- l.error && !u ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ l.error && !u ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -46994,7 +47010,7 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}),children: An(l.error)}) : null,- _?.conflicts?.length ? /* @__PURE__ */ (0, O.jsxs)(Fz, {+ _?.conflicts?.length ? /* @__PURE__ */ (0, O.jsxs)(Nz, {tone: "warning",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -47006,14 +47022,14 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, O.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, O.jsx)(rV, {+ children: [/* @__PURE__ */ (0, O.jsx)(tV, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(hU(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(gU(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${pU[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${mU[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -47023,13 +47039,13 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, O.jsx)(ege, {+ _?.children.length ? /* @__PURE__ */ (0, O.jsx)(nge, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, O.jsxs)(Nz, {+ /* @__PURE__ */ (0, O.jsxs)(jz, {isOpen: u,onOpenChange: d,width: "form",@@ -47039,7 +47055,7 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, O.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, O.jsx)(zz, {+ }), /* @__PURE__ */ (0, O.jsx)(Lz, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -47048,7 +47064,7 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, O.jsx)(Yhe, {+ f && _?.selected ? /* @__PURE__ */ (0, O.jsx)(Zhe, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -47056,7 +47072,7 @@ function _U({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function ege({ nodes: e, go: t }) {+function nge({ nodes: e, go: t }) {let [n, r] = (0, D.useState)(!1), i = (0, D.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -47067,7 +47083,7 @@ function ege({ nodes: e, go: t }) {children: a.map((e) => /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: mz,+ leadingIcon: fz,onClick: () => t(e.id),children: /* @__PURE__ */ (0, O.jsx)("span", {className: "truncate",@@ -47084,28 +47100,28 @@ function ege({ nodes: e, go: t }) {}) : null]});}-function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = St(mU(e)), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, D.useState)(""), u = (0, D.useDeferredValue)(c), d = St({- ...mU(e, "", u),+function rge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = St(hU(e)), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, D.useState)(""), u = (0, D.useDeferredValue)(c), d = St({+ ...hU(e, "", u),enabled: !!u.trim()- }), f = iV();+ }), f = nV();(0, D.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 = bt({ queries: p.map((t) => mU(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = bt({ queries: p.map((t) => hU(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);let g = (e) => {let t = h.get(e.id);- return /* @__PURE__ */ (0, O.jsx)($B, {+ return /* @__PURE__ */ (0, O.jsx)(ZB, {id: e.id,label: e.name,- icon: mz,- expandedIcon: hz,+ icon: fz,+ expandedIcon: pz,iconClassName: "size-(--icon-inline)",trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, O.jsx)($B, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, O.jsx)(ZB, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -47121,15 +47137,15 @@ function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-label": "文件夹导航",className: "catalog-folder-navigation flex min-h-0 min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(Az, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: Cz,+ leadingIcon: xz,value: c,onChange: l,size: "small"}),- v ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ v ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -47164,20 +47180,20 @@ function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-busy": "true",className: "h-8 skeleton-sheen","aria-label": "正在查找文件夹"- }) : d.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ }) : d.error ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: An(d.error)}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: mz,+ leadingIcon: fz,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, O.jsx)(Iz, {+ }, e.id)) : /* @__PURE__ */ (0, O.jsx)(Pz, {size: "compact",- icon: Cz,+ icon: xz,title: "没有匹配的文件夹",actions: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",@@ -47186,7 +47202,7 @@ function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, O.jsx)(ime, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, O.jsx)(ome, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -47194,11 +47210,11 @@ function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, O.jsx)(Iz, {+ }) : /* @__PURE__ */ (0, O.jsx)(Pz, {size: "compact",- icon: mz,+ icon: fz,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, O.jsx)(JF, {+ actions: /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/settings/library",children: "添加媒体"@@ -47212,54 +47228,54 @@ function tge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}//#endregion//#region src/react/components/segmented.tsx-function nge(e) {- let t = FF(SH("selection"));- return /* @__PURE__ */ (0, O.jsx)(iz, {+function ige(e) {+ let t = NF(CH("selection"));+ return /* @__PURE__ */ (0, O.jsx)(nz, {...e,ref: t});}-function vU(e) {- let t = FF(SH("selection"));- return /* @__PURE__ */ (0, O.jsx)(CR, {+function yU(e) {+ let t = NF(CH("selection"));+ return /* @__PURE__ */ (0, O.jsx)(xR, {...e,ref: t});}-var yU = "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", bU = "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", rge = "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", xU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", SU = "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)";+var bU = "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", xU = "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", age = "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", SU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", CU = "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)";//#endregion//#region src/react/catalog-grid/catalog-view-toggle.tsx-function CU() {- let e = hM();- return /* @__PURE__ */ (0, O.jsxs)(CR, {+function wU() {+ let e = mM();+ return /* @__PURE__ */ (0, O.jsxs)(xR, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: pM,+ onChange: fM,"data-entity-layout": "",- className: xU,- children: [/* @__PURE__ */ (0, O.jsx)(wR, {+ className: SU,+ children: [/* @__PURE__ */ (0, O.jsx)(SR, {value: "cards","aria-label": "卡片",- className: SU,+ className: CU,"data-glass-segment": "",children: /* @__PURE__ */ (0, O.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, O.jsx)(vz, {+ children: /* @__PURE__ */ (0, O.jsx)(gz, {"aria-hidden": "true",className: "size-4"})})- }), /* @__PURE__ */ (0, O.jsx)(wR, {+ }), /* @__PURE__ */ (0, O.jsx)(SR, {value: "list","aria-label": "列表",- className: SU,+ className: CU,"data-glass-segment": "",children: /* @__PURE__ */ (0, O.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, O.jsx)(Tfe, {+ children: /* @__PURE__ */ (0, O.jsx)(Dfe, {"aria-hidden": "true",className: "size-4"})@@ -47269,8 +47285,8 @@ function CU() {}//#endregion//#region src/react/components/icon-swap.tsx-function wU({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = lx();+function TU({ a: e, b: t, state: n, className: r }) {+ let { isFocusVisible: i } = sx();return /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -47286,115 +47302,115 @@ function wU({ a: e, b: t, state: n, className: r }) {})]});}-function TU({ className: e }) {- return /* @__PURE__ */ (0, O.jsx)(wU, {- a: Zde,- b: Xde,+function EU({ className: e }) {+ return /* @__PURE__ */ (0, O.jsx)(TU, {+ a: $de,+ b: Qde,className: e});}//#endregion//#region src/react/follow-feed/follow-marks.ts-var EU = (e) => typeof e == "string" ? e : "", DU = (e) => e.aliases;-function OU(e, t = "") {+var DU = (e) => typeof e == "string" ? e : "", OU = (e) => e.aliases;+function kU(e, t = "") {let n = hi(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${B(t)}"${t ? ` title="${B(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function kU(e, t = "") {+function AU(e, t = "") {let n = B(Or(t || e)), r = hi(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 AU = (e) => EU(e.title).trim() || "未命名内容", jU = (e, t) => Dr(e, DU(t));-function MU(e) {+var jU = (e) => DU(e.title).trim() || "未命名内容", MU = (e, t) => Dr(e, OU(t));+function NU(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 = EU(n.entity_name);+ let n = t[0], r = DU(n.entity_name);return jt("creator", r, n.entity_id), r;}-function NU(e, t) {+function PU(e, t) {let { src: n, fallback: r } = kr(e), i = Or(t);if (!n) return `<span class="favatar none" title="没有可用头像">${B(i)}</span>`;let a = r ? ` data-fallbacks="${B(r)}"` : "";return `<img class="favatar" src="${B(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${B(i)}" data-drop-class="favatar none">`;}-function PU(e, t, n) {- let r = DU(n), i = e.credit, a = i?.poster;+function FU(e, t, n) {+ let r = OU(n), i = e.credit, a = i?.poster;if (!a) {let n = Dr(t, r);return {- author: n || EU(e.author) || EU(e.source_label) || "创作者未取得",- avatar: NU(t, n),+ author: n || DU(e.author) || DU(e.source_label) || "创作者未取得",+ avatar: PU(t, n),credited: "",- entityName: MU(t)+ entityName: NU(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 && Dr(c, r) || a;return {author: l,- avatar: NU(c, l),+ avatar: PU(c, l),credited: i.credited || "",- entityName: MU(c)+ entityName: NU(c)};}-function FU(e, t = e.primary) {+function IU(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 = EU(e.primary.version);+ let i = DU(e.primary.version);i && n.push(r("version", B(i)));- let a = EU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = DU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function IU(e, t = e.primary) {+function LU(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]) => OU(e, t) || `<span>${B(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => kU(e, t) || `<span>${B(t)}</span>`).join("");return `<span data-follow-seealso="" title="另见 ${B([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;}-function LU(e, t) {- let n = EU(e.media_error);+function RU(e, t) {+ let n = DU(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var ige = 864e5, age = (e, t) => {+var oge = 864e5, sge = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > ige;+ return Number.isFinite(n) && n - t > oge;};-function RU(e, t) {- let n = EU(e.published_at);+function zU(e, t) {+ let n = DU(e.published_at);if (!n) return null;let r = e.published_precision === "approximate", i = Wn(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: age(n, t) ? " · 晚于现在" : ""+ suffix: sge(n, t) ? " · 晚于现在" : ""};}-function zU(e, t = Date.now()) {- let n = RU(e, t);+function BU(e, t = Date.now()) {+ let n = zU(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function oge(e, t = Date.now()) {- let n = RU(e, t);+function cge(e, t = Date.now()) {+ let n = zU(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 BU = /* @__PURE__ */ new Set(), VU = [], HU = null;-function UU() {- if (HU = null, !VU.length) return;- let e = VU.splice(0, 200);+var VU = /* @__PURE__ */ new Set(), HU = [], UU = null;+function WU() {+ if (UU = null, !HU.length) return;+ let e = HU.splice(0, 200);z("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), VU.length && (HU = setTimeout(UU, 800));+ }).catch(() => {}), HU.length && (UU = setTimeout(WU, 800));}-function sge(e, t, n, r) {+function lge(e, t, n, r) {let i = `${e}:${t ?? ""}`;- BU.has(i) || (BU.add(i), VU.push(t === null ? {+ VU.has(i) || (VU.add(i), HU.push(t === null ? {item: e,width: n,height: r@@ -47403,26 +47419,26 @@ function sge(e, t, n, r) {width: n,height: r,media: t- }), HU ||= setTimeout(UU, 800));+ }), UU ||= setTimeout(WU, 800));}//#endregion//#region src/react/entity-filter/entity-filter.ts-var cge = (e) => e === "videos", WU = () => /* @__PURE__ */ (0, O.jsx)("span", {+var uge = (e) => e === "videos", GU = () => /* @__PURE__ */ (0, O.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), lge = Rz("shuffle"), uge = Rz("arrow-up"), dge = Rz("arrow-down");-function fge(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = cge(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), dge = Iz("shuffle"), fge = Iz("arrow-up"), pge = Iz("arrow-down");+function mge(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = uge(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({k: e,label: t- })) : i, m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = KF(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = KF(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, D.useRef)(null), w = (0, D.useRef)(null), T = u?.mediaCounts ? u : null, E = KF(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = WF(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = WF(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, D.useRef)(null), w = (0, D.useRef)(null), T = u?.mediaCounts ? u : null, E = WF(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, D.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(GU, {+ }, [c]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(KU, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, O.jsx)(zF, {+ }), /* @__PURE__ */ (0, O.jsx)(LF, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -47451,19 +47467,19 @@ function fge(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(gge, {+ n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(vge, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, O.jsx)(WU, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(mge, {+ }), d ? /* @__PURE__ */ (0, O.jsx)(GU, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(gge, {head: T,row: w,glide: E,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, O.jsx)(WU, {})] }) : null,+ }), /* @__PURE__ */ (0, O.jsx)(GU, {})] }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -47484,11 +47500,11 @@ function fge(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, O.jsx)(WU, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, O.jsx)(GU, {}) : null]}), /* @__PURE__ */ (0, O.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, O.jsxs)(VF, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, O.jsxs)(zF, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47497,17 +47513,17 @@ function fge(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, O.jsx)(hge, {+ }, e.k)) : u ? /* @__PURE__ */ (0, O.jsx)(_ge, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, O.jsx)(_ge, { ...e })+ bottom: /* @__PURE__ */ (0, O.jsx)(yge, { ...e })})] });}-var pge = [[+var hge = [["videos","视频","play",@@ -47518,7 +47534,7 @@ var pge = [["pics","image"]];-function mge({ head: e, row: t, glide: n, onMedia: r }) {+function gge({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {ref: t,role: "group",@@ -47526,7 +47542,7 @@ function mge({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: pge.map(([t, i, a, o]) => {+ children: hge.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -47544,7 +47560,7 @@ function mge({ head: e, row: t, glide: n, onMedia: r }) {})});}-function hge({ head: e, actions: t }) {+function _ge({ head: e, actions: t }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -47554,10 +47570,10 @@ function hge({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: OU(n) }+ dangerouslySetInnerHTML: { __html: kU(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, O.jsx)(WU, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, O.jsxs)(VF, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, O.jsx)(GU, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, O.jsxs)(zF, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -47570,7 +47586,7 @@ function hge({ head: e, actions: t }) {}, e.k))] });}-function gge({ keys: e, view: t, row: n, glide: r, onView: i }) {+function vge({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -47618,7 +47634,7 @@ function gge({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function GU({ items: e, hidden: t, actions: n }) {+function KU({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -47638,7 +47654,7 @@ function GU({ items: e, hidden: t, actions: n }) {})] }) : null});}-function _ge(e) {+function yge(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, O.jsxs)("button", {@@ -47650,27 +47666,27 @@ function _ge(e) {dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, O.jsx)(vge, {+ /* @__PURE__ */ (0, O.jsx)(bge, {text: n,busy: r}),- /* @__PURE__ */ (0, O.jsx)($z, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, O.jsx)(yge, {+ /* @__PURE__ */ (0, O.jsx)(Zz, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, O.jsx)(xge, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, O.jsx)(XU, {+ t === "photos" && a ? /* @__PURE__ */ (0, O.jsx)(ZU, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, O.jsx)(YU, {+ t === "online" && e.online ? /* @__PURE__ */ (0, O.jsx)(XU, {head: e.online,actions: o}) : null] });}-function vge({ text: e, busy: t }) {+function bge({ text: e, busy: t }) {return /* @__PURE__ */ (0, O.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, O.jsx)("span", {@@ -47680,22 +47696,22 @@ function vge({ text: e, busy: t }) {}) : e});}-function KU({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, O.jsx)(CR, {+function qU({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, O.jsx)(xR, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: xU,+ className: SU,children: r.map(([e, t, n]) => {- let r = Rz(n);- return /* @__PURE__ */ (0, O.jsx)(wR, {+ let r = Iz(n);+ return /* @__PURE__ */ (0, O.jsx)(SR, {value: e,"aria-label": t,"data-glass-segment": "",- className: SU,+ className: CU,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -47705,38 +47721,38 @@ function KU({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function qU({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, O.jsx)(LF, {+function JU({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, O.jsx)(FF, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: lge,+ icon: dge,onPress: e});}-function yge({ head: e, actions: t }) {- let n = hM();+function xge({ head: e, actions: t }) {+ let n = mM();return /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(qU, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, O.jsx)(KU, {+ /* @__PURE__ */ (0, O.jsx)(JU, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, O.jsx)(qU, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, O.jsx)(CU, {}),- /* @__PURE__ */ (0, O.jsx)(gU, {}),- /* @__PURE__ */ (0, O.jsx)(JU, {+ /* @__PURE__ */ (0, O.jsx)(wU, {}),+ /* @__PURE__ */ (0, O.jsx)(_U, {}),+ /* @__PURE__ */ (0, O.jsx)(YU, {sorts: e.sorts,onSort: t.setSort})]});}-function JU({ sorts: e, onSort: t }) {+function YU({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -47744,20 +47760,20 @@ function JU({ 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, O.jsx)(wU, {- a: uge,- b: dge,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, O.jsx)(TU, {+ a: fge,+ b: pge,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function YU({ head: e, actions: t }) {+function XU({ head: e, actions: t }) {return /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(qU, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(KU, {+ /* @__PURE__ */ (0, O.jsx)(JU, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(qU, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -47777,27 +47793,27 @@ function YU({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, O.jsx)(JU, {+ /* @__PURE__ */ (0, O.jsx)(YU, {sorts: e.sorts,onSort: t.onlineSort})]});}-function XU({ head: e, actions: t, helpers: n }) {+function ZU({ head: e, actions: t, helpers: n }) {let [r, i] = (0, D.useState)(!1), a = (0, D.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, D.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, O.jsx)(qU, {+ e.shuffle ? /* @__PURE__ */ (0, O.jsx)(JU, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, O.jsx)(KU, {+ /* @__PURE__ */ (0, O.jsx)(qU, {label: "图片布局",value: e.layout,options: e.layouts,@@ -47813,31 +47829,31 @@ function XU({ head: e, actions: t, helpers: n }) {}//#endregion//#region src/react/catalog-filter/catalog-filter-page.tsx-var ZU = "";-function QU(e) {- let t = !e.tiers, n = oW(e.comboHost);+var QU = "";+function $U(e) {+ let t = !e.tiers, n = sW(e.comboHost);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(GU, {+ n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(KU, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, O.jsx)(tW, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, O.jsx)($U, { ...e })+ /* @__PURE__ */ (0, O.jsx)(nW, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, O.jsx)(eW, { ...e })]});}-function $U(e) {- let { actions: t, helpers: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = KF(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function eW(e) {+ let { actions: t, helpers: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = WF(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, D.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = sW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = cW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, D.useLayoutEffect)(() => {let e = a.current?.closest("[data-catalog-frame]");if (!e) return;@@ -47854,7 +47870,7 @@ function $U(e) {e.sorts]), (0, D.useLayoutEffect)(() => {ms(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, O.jsx)(zF, {+ }, [f]), /* @__PURE__ */ (0, O.jsx)(LF, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -47898,17 +47914,17 @@ function $U(e) {}), /* @__PURE__ */ (0, O.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, O.jsx)(rW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, O.jsx)(eW, {+ children: [e.empty || d ? /* @__PURE__ */ (0, O.jsx)(iW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, O.jsx)(tW, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, O.jsx)(iW, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, O.jsx)(aW, { ...e })});}-function eW({ tag: e, onPress: t }) {- return /* @__PURE__ */ (0, O.jsxs)(VF, {+function tW({ tag: e, onPress: t }) {+ return /* @__PURE__ */ (0, O.jsxs)(zF, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47919,12 +47935,12 @@ function eW({ tag: e, onPress: t }) {})]});}-function tW(e) {+function nW(e) {let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = e.empty || !e.tiers, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useCallback)((e) => () => t.moreTops(e), [t]), c = sW(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = sW(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;+ }, i = e.empty || !e.tiers, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useCallback)((e) => () => t.moreTops(e), [t]), c = cW(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = cW(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;return (0, D.useEffect)(() => {n.wireDrag(a.current), n.wireDrag(o.current);}, [@@ -47937,7 +47953,7 @@ function tW(e) {children: [u ? /* @__PURE__ */ (0, O.jsx)("div", {ref: a,"data-catalog-tier": "performers",- children: i ? /* @__PURE__ */ (0, O.jsx)(rW, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, O.jsx)(iW, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -47954,18 +47970,18 @@ function tW(e) {}) : null, d ? /* @__PURE__ */ (0, O.jsx)("div", {ref: o,"data-catalog-tier": "studios",- children: i ? /* @__PURE__ */ (0, O.jsx)(rW, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, O.jsx)(iW, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": e.name,onClick: () => t.openEntity("studio", e.name),- children: [/* @__PURE__ */ (0, O.jsx)(nW, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, O.jsx)(rW, { studio: e }), e.name]}, e.name))}) : null]});}-function nW({ studio: e }) {+function rW({ studio: e }) {let [t, n] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("span", {"data-tier-mark": "",@@ -47983,7 +47999,7 @@ function nW({ studio: e }) {}) : e.fallback});}-function rW({ kind: e }) {+function iW({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-catalog-placeholder": "tag",@@ -47999,37 +48015,37 @@ function rW({ kind: e }) {children: [/* @__PURE__ */ (0, O.jsx)("span", {}), /* @__PURE__ */ (0, O.jsx)("span", { children: "\xA0" })]}, t)) });}-function iW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = hM(), [o, s] = (0, D.useState)(!1);+function aW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = mM(), [o, s] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, O.jsx)(aW, { count: e }), /* @__PURE__ */ (0, O.jsx)($z, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, O.jsx)(oW, { count: e }), /* @__PURE__ */ (0, O.jsx)(Zz, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(qU, {+ /* @__PURE__ */ (0, O.jsx)(JU, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, O.jsx)(KU, {+ n && a === "cards" ? /* @__PURE__ */ (0, O.jsx)(qU, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, O.jsx)(CU, {}),- /* @__PURE__ */ (0, O.jsx)(gU, {}),- /* @__PURE__ */ (0, O.jsx)(JU, {+ /* @__PURE__ */ (0, O.jsx)(wU, {}),+ /* @__PURE__ */ (0, O.jsx)(_U, {}),+ /* @__PURE__ */ (0, O.jsx)(YU, {sorts: r,onSort: i.setSort})]})] });}-function aW({ count: e }) {+function oW({ count: e }) {let t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";return (0, D.useLayoutEffect)(() => {if (e === !1) return;@@ -48038,7 +48054,7 @@ function aW({ count: e }) {return;}let i = t.current;- i && (ZU && i.dataset.popCount === void 0 && (i.dataset.popCount = ZU), ZU = r, ds(i, r));+ i && (QU && i.dataset.popCount === void 0 && (i.dataset.popCount = QU), QU = r, ds(i, r));}, [e, r]), e === !1 ? /* @__PURE__ */ (0, O.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, O.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -48054,7 +48070,7 @@ function aW({ count: e }) {})}, "skeleton");}-function oW(e) {+function sW(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!e) return;@@ -48064,7 +48080,7 @@ function oW(e) {};}, [e]), t;}-function sW(e, t, n, r, i) {+function cW(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -48108,8 +48124,8 @@ function sW(e, t, n, r, i) {}//#endregion//#region src/react/components/grid-reveal.tsx-var cW = "100% 0px";-function lW(e, t) {+var lW = "100% 0px";+function uW(e, t) {let [n, r] = (0, D.useState)(e ? "skeleton" : "none"), [i] = (0, D.useState)(() => e ? t() : ""), a = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {a.current && Ts(a.current);@@ -48135,7 +48151,7 @@ function lW(e, t) {fading: n === "fade"};}-function uW({ message: e, onRetry: t }) {+function dW({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -48149,7 +48165,7 @@ function uW({ message: e, onRetry: t }) {}//#endregion//#region src/react/components/art-slot.tsx-function dW({ artwork: e, identity: t = e.html, relayout: n }) {+function fW({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, D.useState)({identity: t,artwork: e@@ -48169,64 +48185,64 @@ function dW({ artwork: e, identity: t = e.html, relayout: n }) {}//#endregion//#region src/library-catalog.ts-var fW = "peach.library-colors.v1", pW = null, mW = /* @__PURE__ */ new Set();-function hW() {+var pW = "peach.library-colors.v1", mW = null, hW = /* @__PURE__ */ new Set();+function gW() {try {- let e = JSON.parse(localStorage.getItem(fW) || "{}");+ let e = JSON.parse(localStorage.getItem(pW) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function gW(e) {- pW = e;+function _W(e) {+ mW = e;try {- localStorage.setItem(fW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(pW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- mW.forEach((t) => t(e));+ hW.forEach((t) => t(e));}-function _W() {- return pW;+function vW() {+ return mW;}-function vW(e) {- return mW.add(e), () => {- mW.delete(e);+function yW(e) {+ return hW.add(e), () => {+ hW.delete(e);};}//#endregion//#region src/react/components/library-tint.ts-var yW = /* @__PURE__ */ new Map(), bW = !1, xW = /* @__PURE__ */ new Set();-function SW(e) {+var bW = /* @__PURE__ */ new Map(), xW = !1, SW = /* @__PURE__ */ new Set();+function CW(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 CW(e) {- yW = e;+function wW(e) {+ bW = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...yW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${SW(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...bW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${CW(e.color)}}`).join("\n");}-function wW(e) {- CW(e), xW.forEach((e) => e());+function TW(e) {+ wW(e), SW.forEach((e) => e());}-var TW = (e) => new Map(e.map((e) => [e.id, {+var EW = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,icon: No[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), EW = !1;-function DW() {- if (EW) return;- EW = !0, vW((e) => wW(TW(e)));- let e = _W();+}])), DW = !1;+function OW() {+ if (DW) return;+ DW = !0, yW((e) => TW(EW(e)));+ let e = vW();if (e) {- CW(TW(e));+ wW(EW(e));return;}- let t = Object.entries(hW()).filter(([, e]) => e);- t.length && CW(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(gW()).filter(([, e]) => e);+ t.length && wW(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -48234,35 +48250,35 @@ function DW() {color: t}])));}-function OW() {- bW || _W() || (bW = !0, V("/api/libraries").then((e) => gW(e.libraries || [])).catch(() => {- bW = !1;+function kW() {+ xW || vW() || (xW = !0, V("/api/libraries").then((e) => _W(e.libraries || [])).catch(() => {+ xW = !1;}));}-function kW(e, t) {- let n = yW.get(e) ?? {+function AW(e, t) {+ let n = bW.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- wW(new Map([...yW, [e, {+ TW(new Map([...bW, [e, {...n,color: t}]]));}-function AW(e) {- return xW.add(e), () => {- xW.delete(e);+function jW(e) {+ return SW.add(e), () => {+ SW.delete(e);};}-function jW({ names: e = !1 } = {}) {- return DW(), e && OW(), (0, D.useSyncExternalStore)(AW, () => yW, () => yW);+function MW({ names: e = !1 } = {}) {+ return OW(), e && kW(), (0, D.useSyncExternalStore)(jW, () => bW, () => bW);}//#endregion//#region src/react/components/row-click.ts-var MW = [+var NW = ["a","button","input",@@ -48275,46 +48291,46 @@ var MW = ["[role=\"link\"]","[role=\"menu\"]"].join(",");-function NW(e, t) {+function PW(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(MW);+ let r = n.closest(NW);return !r || !t.contains(r) || r === t;}-function PW(e) {+function FW(e) {e.shiftKey && e.preventDefault();}//#endregion//#region src/react/components/media-card.tsx-var FW = 9 / 16, IW = "未命名视频";-function LW({ name: e }) {+var IW = 9 / 16, LW = "未命名视频";+function RW({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-var RW = {+var zW = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, zW = {+}, BW = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function BW({ item: e }) {+function VW({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && zW[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && BW[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, O.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function VW({ item: e, actions: t }) {+function HW({ item: e, actions: t }) {let [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48333,10 +48349,10 @@ function VW({ item: e, actions: t }) {children: i}) : null] });}-function HW(e, t, n) {- return t === "short" ? FW : wA(n);+function UW(e, t, n) {+ return t === "short" ? IW : SA(n);}-function UW(e) {+function WW(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Xa(e), s = i[0] || "", c = Fa(e);return {avatar: r ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -48368,7 +48384,7 @@ function UW(e) {"data-entity-kind": "performer","data-entity-name": s,title: s,- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: s })]+ children: [/* @__PURE__ */ (0, O.jsx)(RW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, O.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -48378,16 +48394,16 @@ function UW(e) {"data-entity-kind": t,"data-entity-name": n,title: n,- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(RW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]}) : /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(RW, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]})};}-function WW() {+function GW() {return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-media-preview": "",@@ -48406,7 +48422,7 @@ function WW() {})]});}-function GW({ item: e, actions: t, on: n, onChange: r }) {+function KW({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("div", {"data-media-later": "",@@ -48421,11 +48437,11 @@ function GW({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, O.jsx)(RW, { name: n ? "check" : "bookmark-plus" })})});}-function KW({ reason: e }) {+function qW({ reason: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {ref: t,@@ -48439,15 +48455,15 @@ function KW({ reason: e }) {e.stopPropagation(), r(!0);},children: e- }), /* @__PURE__ */ (0, O.jsx)(rR, {+ }), /* @__PURE__ */ (0, O.jsx)(tR, {triggerRef: t,isOpen: n,onOpenChange: r,placement: "top",offset: 8,containerPadding: 12,- className: XB,- children: /* @__PURE__ */ (0, O.jsx)(gR, {+ className: JB,+ children: /* @__PURE__ */ (0, O.jsx)(mR, {"data-media-reason-dialog": "","aria-label": "推荐理由",className: "w-64 max-w-full p-2 text-body-regular whitespace-normal break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -48455,17 +48471,17 @@ function KW({ reason: e }) {})})] });}-function qW(e, t) {+function JW(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 JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {- let u = (0, D.useRef)(null), [d, f] = (0, D.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = jW(), 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, D.useRef)(e);+function YW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+ let u = (0, D.useRef)(null), [d, f] = (0, D.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = MW(), 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, D.useRef)(e);_.current = e;let v = (0, D.useCallback)((e) => {let t = _.current;u.current && u.current !== e && ll(u.current), u.current = e, e && (!t.medium || t.medium === "video") && dl(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 = HW(e, t, n), w = S ? n.size : "small", T = C === FW && !!e.is_jav, E = T ? qa(e, !1) : Ga(e, w, !1, n.javImage), k = T || w === "small" ? E.html : Ga(e, "small", !1, n.javImage).html, A = y?.title || e.name || "", j = o.displayName(e, A).trim() || IW, M = o.titleHtml(e, A).trim() || B(IW), N = y?.total_size ?? e.size, P = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: F, who: te } = UW(e), I = (e.follow_tags || e.tags || []).slice(0, 3), ne = (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 = UW(e, t, n), w = S ? n.size : "small", T = C === IW && !!e.is_jav, E = T ? qa(e, !1) : Ga(e, w, !1, n.javImage), k = T || w === "small" ? E.html : Ga(e, "small", !1, n.javImage).html, A = y?.title || e.name || "", j = o.displayName(e, A).trim() || LW, M = o.titleHtml(e, A).trim() || B(LW), N = y?.total_size ?? e.size, P = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: F, who: te } = WW(e), I = (e.follow_tags || e.tags || []).slice(0, 3), ne = (t) => {let n = t.target;if (n.closest("[data-media-reason-dialog]")) return;let r = u.current;@@ -48492,10 +48508,10 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSel && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);}, re = /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",- "data-pic-portrait": C === FW ? "" : void 0,+ "data-pic-portrait": C === IW ? "" : void 0,style: { "--card-ratio": String(C) },children: [- E.html ? /* @__PURE__ */ (0, O.jsx)(dW, {+ E.html ? /* @__PURE__ */ (0, O.jsx)(fW, {artwork: E,identity: k,relayout: (e) => tl(e, w)@@ -48509,11 +48525,11 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(RW, { name: "check" })}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, O.jsx)(RW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-group": "",@@ -48528,7 +48544,7 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-duration": "",children: hn(P)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)(VW, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)(HW, {item: e,actions: s}) : null,@@ -48544,22 +48560,22 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-scrub": "",children: /* @__PURE__ */ (0, O.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, O.jsx)(WW, {}),+ /* @__PURE__ */ (0, O.jsx)(GW, {}),p || g.length ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, O.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "bookmark" })+ children: /* @__PURE__ */ (0, O.jsx)(RW, { name: "bookmark" })}) : null, g.length ? /* @__PURE__ */ (0, O.jsx)("span", {"data-status": "flagged",title: `已标记:${g.join("、")}`,"aria-label": `已标记:${g.join("、")}`,- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "heart" })+ children: /* @__PURE__ */ (0, O.jsx)(RW, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, O.jsx)(GW, {+ i ? null : /* @__PURE__ */ (0, O.jsx)(KW, {item: e,actions: s,on: p,@@ -48574,27 +48590,27 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe/* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), qW(u.current, -a);+ e.stopPropagation(), JW(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, O.jsx)(RW, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), qW(u.current, a);+ e.stopPropagation(), JW(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, O.jsx)(RW, { name: "rotate-cw" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "expand" })+ children: /* @__PURE__ */ (0, O.jsx)(RW, { name: "expand" })})]})@@ -48613,7 +48629,7 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: ne,- onMouseDown: PW,+ onMouseDown: FW,children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48653,15 +48669,15 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-release": "",dateTime: e.release_date,title: e.release_date,- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, O.jsx)(RW, { name: "calendar" }), e.release_date]}) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "hard-drive" }), Number(N) > 0 ? _n(Number(N)) : "大小未知"]+ children: [/* @__PURE__ */ (0, O.jsx)(RW, { name: "hard-drive" }), Number(N) > 0 ? _n(Number(N)) : "大小未知"]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, O.jsx)(KW, { reason: e.why }) : null : I.length || e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, O.jsx)(qW, { reason: e.why }) : null : I.length || e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", {"data-media-tags": "",children: I.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48671,15 +48687,15 @@ function JW({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSechildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, O.jsx)(BW, { item: e })+ /* @__PURE__ */ (0, O.jsx)(VW, { item: e })]})]})]});}-function YW({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, D.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : RW[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function XW({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, D.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : zW[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, O.jsxs)("article", {ref: o,"data-media-card": "",@@ -48691,14 +48707,14 @@ function YW({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpeonClick: (t) => {o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));},- onMouseDown: PW,+ onMouseDown: FW,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: u }), /* @__PURE__ */ (0, O.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, O.jsx)(RW, { name: u }), /* @__PURE__ */ (0, O.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-art": "thumb",@@ -48710,13 +48726,13 @@ function YW({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(RW, { name: "check" })}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, O.jsx)(LW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, O.jsx)(RW, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, O.jsx)(VW, {+ n ? null : /* @__PURE__ */ (0, O.jsx)(HW, {item: e,actions: i})@@ -48727,7 +48743,7 @@ function YW({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(LW, { name: u })+ children: /* @__PURE__ */ (0, O.jsx)(RW, { name: u })}), /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-text": "",children: [@@ -48755,29 +48771,29 @@ function YW({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe]}),e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, O.jsx)(BW, { item: e })+ /* @__PURE__ */ (0, O.jsx)(VW, { item: e })]})]})]});}-function XW(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, O.jsx)(YW, { ...e }) : /* @__PURE__ */ (0, O.jsx)(JW, { ...e });+function ZW(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, O.jsx)(XW, { ...e }) : /* @__PURE__ */ (0, O.jsx)(YW, { ...e });}-var ZW = (0, D.memo)(XW), QW = 1100, $W = 340, eG = 5e3;-function tG(e, t, n) {+var QW = (0, D.memo)(ZW), $W = 1100, eG = 340, tG = 5e3;+function nG(e, t, n) {return new Promise((r) => {let i = new Image();n && (i.referrerPolicy = n);let a = !1, o = (e) => {a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));- }, s = () => o(!1), c = setTimeout(s, eG);+ }, s = () => o(!1), c = setTimeout(s, tG);t.cancels.add(s), i.onerror = s, i.onload = () => {i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);}, i.src = e;});}-function nG({ load: e, canFlip: t, referrerPolicy: n }) {+function rG({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, D.useState)([]), [a, o] = (0, D.useState)(0), [s, c] = (0, D.useState)(null), l = (0, D.useRef)({live: !1,generation: 0,@@ -48819,11 +48835,11 @@ function nG({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => tG(t, e, n)));+ let s = await Promise.all(a.map((t) => nG(t, e, n)));if (!r() || !u.current.canFlip()) return;let d = a.filter((e, t) => s[t]);d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {- p(), e.cycle = setInterval(p, QW);+ p(), e.cycle = setInterval(p, $W);}));};return (0, D.useEffect)(() => d, [d]), {@@ -48832,7 +48848,7 @@ function nG({ load: e, canFlip: t, referrerPolicy: n }) {leaving: s,onPointerEnter: () => {let e = l.current;- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f($W, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(eG, () => {e.armed = null, m();});},@@ -48843,8 +48859,8 @@ function nG({ load: e, canFlip: t, referrerPolicy: n }) {}//#endregion//#region src/react/components/mix-card.tsx-var rG = Rz("play");-function iG({ src: e }) {+var iG = Iz("play");+function aG({ src: e }) {let [t, n] = (0, D.useState)(!1);return t ? null : /* @__PURE__ */ (0, O.jsx)("img", {"data-mix-poster": "",@@ -48857,8 +48873,8 @@ function iG({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var aG = "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 oG({ faces: e, fallback: t, onOpenEntity: n }) {+var oG = "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 sG({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, O.jsx)("button", {@@ -48866,18 +48882,18 @@ function oG({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${aG} cursor-pointer outline-none`,+ className: `${oG} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: La(e.name, e, va(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${aG} mt-0.5`,+ className: `${oG} mt-0.5`,children: t});}-function sG({ 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 = nG({+function cG({ 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 = rG({load: i,canFlip: a}), x = (0, D.useRef)(b.onPointerLeave);@@ -48904,11 +48920,11 @@ function sG({ 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, O.jsx)(dW, {+ f?.html ? /* @__PURE__ */ (0, O.jsx)(fW, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, O.jsx)(iG, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, O.jsx)(aG, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -48938,7 +48954,7 @@ function sG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, O.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, O.jsx)(rG, {+ children: [/* @__PURE__ */ (0, O.jsx)(iG, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -48951,8 +48967,8 @@ function sG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, O.jsx)(rG, {})- }) : /* @__PURE__ */ (0, O.jsx)(oG, {+ children: /* @__PURE__ */ (0, O.jsx)(iG, {})+ }) : /* @__PURE__ */ (0, O.jsx)(sG, {faces: o,fallback: xn(e),onOpenEntity: s@@ -48976,7 +48992,7 @@ function sG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:}//#endregion//#region src/react/video-wall/folia/blockReflows.ts-var cG = [+var lG = [[[{@@ -52537,7 +52553,7 @@ var cG = [}]]-], lG = [+], uG = [[{x: 0,@@ -52834,89 +52850,89 @@ var cG = [rows: 2}]-], uG = (e) => e.map((e) => ({+], dG = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), dG = (e) => e.map((e) => ({+})), fG = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), fG = [+})), pG = [(e) => e,- uG,dG,- (e) => uG(dG(e))-], pG = lG.flatMap((e) => fG.map((t) => t(e))), mG = cG.flatMap((e) => fG.map((t) => e.map(t)));-pG.length;-var hG = (e, t) => {+ fG,+ (e) => dG(fG(e))+], mG = uG.flatMap((e) => pG.map((t) => t(e))), hG = lG.flatMap((e) => pG.map((t) => e.map(t)));+mG.length;+var gG = (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;-}, gG = (e, t) => {- let n = lG.length;- return ((e + t * 2) % n + n) % n * fG.length + hG(e, t) % fG.length;-}, _G = (e, t) => pG[gG(e, t)], vG = (e, t, n) => n < 0 || n >= 12 ? null : mG[gG(e, t)][n], yG = 103.36, bG = 6.08, xG = 12 * yG, SG = 8 * yG, CG = 12, wG = (e, t) => (e % t + t) % t, TG = (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 EG(e, t) {- let n = Math.max(1, Math.ceil(e / CG)), r = t ? 3 : Math.min(3, n);+}, _G = (e, t) => {+ let n = uG.length;+ return ((e + t * 2) % n + n) % n * pG.length + gG(e, t) % pG.length;+}, vG = (e, t) => mG[_G(e, t)], yG = (e, t, n) => n < 0 || n >= 12 ? null : hG[_G(e, t)][n], bG = 103.36, xG = 6.08, SG = 12 * bG, CG = 8 * bG, wG = 12, TG = (e, t) => (e % t + t) % t, EG = (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 DG(e, t) {+ let n = Math.max(1, Math.ceil(e / wG)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * xG,- height: Math.ceil(n / r) * SG+ width: r * SG,+ height: Math.ceil(n / r) * CG};}-function DG(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = _G(e, t)[n];+function OG(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = vG(e, t)[n];return {- x: e * xG + r * yG,- y: t * SG + i * yG,- width: a * yG - bG,- height: o * yG - bG+ x: e * SG + r * bG,+ y: t * CG + i * bG,+ width: a * bG - xG,+ height: o * bG - xG};}-function OG(e) {+function kG(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function kG(e, t, n) {+function AG(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 >= CG) return null;- let o = EG(e, t), s = o.height / SG;+ ].every(Number.isInteger) || a < 0 || a >= wG) return null;+ let o = DG(e, t), s = o.height / CG;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : wG(r, o.columns), l = ((t ? i : wG(i, s)) * o.columns + c) * CG + a;+ let c = t ? r : TG(r, o.columns), l = ((t ? i : TG(i, s)) * o.columns + c) * wG + a;return t && l >= e ? null : {- ...DG(r, i, a),+ ...OG(r, i, a),index: l % e,key: n};}-function AG(e, t) {+function jG(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / CG);- return kG(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % CG}`);+ let n = Math.floor(t / wG);+ return AG(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % wG}`);}-function jG(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = vG(r, i, a);+function MG(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = yG(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * xG + e.x * yG,- y: i * SG + e.y * yG,- width: e.cols * yG - bG,- height: e.rows * yG - bG+ x: r * SG + e.x * bG,+ y: i * CG + e.y * bG,+ width: e.cols * bG - xG,+ height: e.rows * bG - xG}]));}-function MG(e) {+function NG(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / CG), i = DG(e % 3, Math.floor(e / 3), r % CG);+ let e = Math.floor(r / wG), i = OG(e % 3, Math.floor(e / 3), r % wG);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * xG - bG : t,+ width: e >= 36 ? 3 * SG - xG : t,height: n};}-function NG(e, t, n, r) {+function PG(e, t, n, r) {if (!r) return e;let i = (t, n, r) => Math.min(16, Math.max(Math.min(16, r - n * e.scale - 16), t));return {@@ -52925,22 +52941,22 @@ function NG(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function PG(e, t, n, r) {+function FG(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 = EG(e, t), s = o.height / SG, c = [];- for (let n = Math.floor(a.y / SG); n <= Math.floor((a.y + a.height) / SG); n += 1) for (let r = Math.floor(a.x / xG); r <= Math.floor((a.x + a.width) / xG); r += 1) {+ }, o = DG(e, t), s = o.height / CG, c = [];+ for (let n = Math.floor(a.y / CG); n <= Math.floor((a.y + a.height) / CG); n += 1) for (let r = Math.floor(a.x / SG); r <= Math.floor((a.x + a.width) / SG); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : wG(r, o.columns), l = t ? n : wG(n, s);- for (let s = 0; s < CG; s += 1) {- let u = (l * o.columns + i) * CG + s;+ let i = t ? r : TG(r, o.columns), l = t ? n : TG(n, s);+ for (let s = 0; s < wG; s += 1) {+ let u = (l * o.columns + i) * wG + s;if (t && u >= e) continue;- let d = DG(r, n, s);- TG(d, a) && c.push({+ let d = OG(r, n, s);+ EG(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -52949,7 +52965,7 @@ function PG(e, t, n, r) {}return c;}-var FG = class {+var IG = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -52961,7 +52977,7 @@ var FG = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : kG(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : AG(t, !1, e);return r ? {...r,index: n@@ -52991,7 +53007,7 @@ var FG = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * xG,+ x: (e + 2) * SG,y: 0};}@@ -53004,10 +53020,10 @@ var FG = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / xG)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / SG)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, IG = [+}, LG = ["q","performer","series",@@ -53022,17 +53038,17 @@ var FG = class {"dur_max","region"];-function LG(e = {}) {- return IG.some((t) => !!e[t]);+function RG(e = {}) {+ return LG.some((t) => !!e[t]);}//#endregion//#region src/react/video-wall/use-wall-camera.ts-var RG = {+var zG = {x: 16,y: 16,scale: 1};-function zG(e, t, n = RG, r = !1) {+function BG(e, t, n = zG, r = !1) {let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)({width: 0,height: 0@@ -53052,7 +53068,7 @@ function zG(e, t, n = RG, r = !1) {let f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(!1), h = (0, D.useRef)(null), g = (0, D.useCallback)(() => {p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;}, []), _ = (0, D.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = NG(e, o.current, MG(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = PG(e, o.current, NG(r), c && !f && !n);s.current = p;let m = window.devicePixelRatio || 1;a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));@@ -53123,7 +53139,7 @@ function zG(e, t, n = RG, r = !1) {x: o.current.width / 2 - (e.x + e.width / 2) * i,y: o.current.height / 2 - (e.y + e.height / 2) * i};- !t || v() ? _(a, !0, n) : p.current = Lne(0, 1, {+ !t || v() ? _(a, !0, n) : p.current = zne(0, 1, {duration: .42,ease: [.22,@@ -53152,7 +53168,7 @@ function zG(e, t, n = RG, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...RG }, !0);+ g(), _({ ...zG }, !0);},pan: (e, t) => {g(), _({@@ -53214,17 +53230,17 @@ function zG(e, t, n = RG, r = !1) {}//#endregion//#region src/react/video-wall/wall-motion.ts-var BG = {+var VG = {type: "spring",stiffness: 300,damping: 34-}, VG = {+}, HG = {delay: .14,duration: .24};//#endregion//#region src/react/video-wall/use-wall-playback.ts-function HG(e, t, n) {+function UG(e, t, n) {let [r, i] = (0, D.useState)({paused: !0,time: 0,@@ -53266,15 +53282,15 @@ function HG(e, t, n) {}//#endregion//#region src/react/video-wall/wall-controls.tsx-function UG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {- let b = Ay(), x = HG(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function WG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {+ let b = Oy(), x = UG(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {if (!(C || a && !s)) try {t === e.id ? await x.toggle() : await f();} catch (e) {y(Ut(e));}};- return /* @__PURE__ */ (0, O.jsxs)(Ry.div, {+ return /* @__PURE__ */ (0, O.jsxs)(Iy.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -53284,7 +53300,7 @@ function UG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groupopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : VG,+ transition: b ? { duration: 0 } : HG,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-control-row": "",children: [@@ -53292,7 +53308,7 @@ function UG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouptype: "button","data-wall-play": "","data-wall-pause": w ? void 0 : "",- ...Bz(C),+ ...Rz(C),"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",title: w ? "播放" : "暂停",onClick: () => void T(),@@ -53342,7 +53358,7 @@ function UG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",- ...Bz(d),+ ...Rz(d),"aria-label": u ? "移出稍后看" : "稍后看",title: "稍后看","aria-pressed": u,@@ -53389,7 +53405,7 @@ function UG({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group}//#endregion//#region src/react/components/mix-queue.tsx-function WG({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function GG({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, D.useRef)(null), l = (0, D.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -53425,7 +53441,7 @@ function WG({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function GG({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function KG({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-item-text": "",children: a@@ -53448,7 +53464,7 @@ function GG({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var KG = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {+var qG = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -53458,28 +53474,28 @@ var KG = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {});//#endregion//#region src/react/video-wall/wall-queue.tsx-function qG({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function JG({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, O.jsx)(WG, {+ children: /* @__PURE__ */ (0, O.jsx)(GG, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(GG, {+ children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(KG, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? oN(e.part_label) : "",+ e.part_label ? aN(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, O.jsx)(dW, { artwork: Ga(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, O.jsx)(fW, { artwork: Ga(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, O.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, O.jsx)("span", { children: [e.edition_label,- e.part_label ? oN(e.part_label) : "",+ e.part_label ? aN(e.part_label) : "",hn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -53488,7 +53504,7 @@ function qG({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {}//#endregion//#region src/react/video-wall/wall-route.ts-function JG(e = `${location.pathname}${location.search}`, t = {}) {+function YG(e = `${location.pathname}${location.search}`, t = {}) {let n = new URL(e, location.origin), [r, ...i] = n.pathname.split("/").filter(Boolean), a = {performers: "performer",creators: "creator",@@ -53503,18 +53519,18 @@ function JG(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function YG(e = `${location.pathname}${location.search}`) {+function XG(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of IG) t.delete(e);+ for (let e of LG) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function XG() {- let e = new URLSearchParams(YV.navigation.location.search).get("returnTo") || "/";- YV.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+function ZG() {+ let e = new URLSearchParams(qV.navigation.location.search).get("returnTo") || "/";+ qV.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}//#endregion//#region src/react/video-wall/video-wall.tsx-var ZG = /* @__PURE__ */ new Map(), QG = (0, D.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var QG = /* @__PURE__ */ new Map(), $G = (0, D.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {let i = Ga(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1@@ -53527,7 +53543,7 @@ var ZG = /* @__PURE__ */ new Map(), QG = (0, D.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, O.jsx)(dW, {+ children: /* @__PURE__ */ (0, O.jsx)(fW, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && Vc(e, r);@@ -53535,31 +53551,31 @@ var ZG = /* @__PURE__ */ new Map(), QG = (0, D.memo)(function({ item: e, image:})});});-function $G({ 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 }) {+function eK({ 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, D.useState)(() => {- let e = ZG.get(f);+ let e = QG.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, D.useState)(() => m?.exploration || new FG()), g = (0, D.useRef)(!1), [_, v] = (0, D.useState)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = (0, D.useRef)(null), C = (0, D.useRef)(null), [w, T] = (0, D.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, k] = (0, D.useState)(m?.selectedKey || ""), [A, j] = (0, D.useState)(m?.sourceId || null), [M, N] = (0, D.useState)(!1), P = w?.edition_group ? {+ }), [h] = (0, D.useState)(() => m?.exploration || new IG()), g = (0, D.useRef)(!1), [_, v] = (0, D.useState)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = (0, D.useRef)(null), C = (0, D.useRef)(null), [w, T] = (0, D.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, k] = (0, D.useState)(m?.selectedKey || ""), [A, j] = (0, D.useState)(m?.sourceId || null), [M, N] = (0, D.useState)(!1), P = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id} : null, ee = St({- queryKey: BM(P || {+ queryKey: zM(P || {kind: "parts",seedId: 0}),enabled: !!P,- queryFn: ({ signal: e }) => YM(P, {+ queryFn: ({ signal: e }) => JM(P, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === QM(F, A || w?.id || null)) || w, I = zG(e.length, t && !!e.length, m?.camera || {+ }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === ZM(F, A || w?.id || null)) || w, I = BG(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), ne = Ay(), [re, ie] = (0, D.useState)(!!m);+ }, !!w), ne = Oy(), [re, ie] = (0, D.useState)(!!m);(0, D.useEffect)(() => {if (!e.length || re || ne) return;let t = setTimeout(() => ie(!0), 1100);@@ -53576,7 +53592,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:(0, D.useLayoutEffect)(() => {document.body.append(Se), I.viewport.current?.focus({ preventScroll: !0 });}, [Se]), (0, D.useEffect)(() => () => Se.remove(), [Se]);- let [Ce, we] = (0, D.useState)(() => gV(YV.navigation.location.pathname)), [Te, Ee] = (0, D.useState)(m?.image || d), De = (0, D.useRef)(null), Oe = (0, D.useRef)(p), ke = (0, D.useRef)(!!e.length);+ let [Ce, we] = (0, D.useState)(() => mV(qV.navigation.location.pathname)), [Te, Ee] = (0, D.useState)(m?.image || d), De = (0, D.useRef)(null), Oe = (0, D.useRef)(p), ke = (0, D.useRef)(!!e.length);ke.current = !!e.length;let Ae = (0, D.useRef)({selectedId: w?.id || null,@@ -53593,17 +53609,17 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let je = () => {- ke.current && (ZG.delete(f), ZG.set(f, {+ ke.current && (QG.delete(f), QG.set(f, {...Ae.current,camera: I.snapshot(),exploration: h- }), ZG.size > 8 && ZG.delete(ZG.keys().next().value));+ }), QG.size > 8 && QG.delete(QG.keys().next().value));};(0, D.useLayoutEffect)(je);- let Me = PG(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({+ let Me = FG(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({...e,index: -1- })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? kG(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? jG(e.length, t, Pe) : /* @__PURE__ */ new Map();+ })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? AG(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? MG(e.length, t, Pe) : /* @__PURE__ */ new Map();Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);let Ie = (e = !1) => {C.current?.abort(), C.current = null, S.current?.(e), S.current = null, se(null), de(!1);@@ -53620,8 +53636,8 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t,p,i- ]), (0, D.useEffect)(() => YV.listen((e) => {- let t = gV(e.location.pathname);+ ]), (0, D.useEffect)(() => qV.listen((e) => {+ let t = mV(e.location.pathname);t && (C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1)), we(t);}), []), (0, D.useEffect)(() => () => {C.current?.abort(), S.current?.(!0), je();@@ -53642,7 +53658,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:w?.id !== n.id && Ie(!1), De.current = {key: r.key,id: n.id- }, pe(""), le(null), T(n), k(r.key), j(null), N(!1), xe(!1), I.reveal(jG(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), k(r.key), j(null), N(!1), xe(!1), I.reveal(MG(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));}, ze = () => {te && y.current && (je(), Ie(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));}, Be = async (e = te) => {@@ -53664,7 +53680,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:C.current === t && de(!1);}}, Ve = () => {- let e = $M(F || null, oe || 0);+ let e = QM(F || null, oe || 0);e && (j(e.id), Be(e));};(0, D.useEffect)(() => {@@ -53686,7 +53702,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:let r = I.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (I.view.size.width / 2 - r.x) / r.scale,y: (I.view.size.height / 2 - r.y) / r.scale- }, o = t ? AG(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? jG(e.length, i) : h.nearest(e.length, i, a);o && (Re(n, o), le(n.id));}, Ge = async () => {if (!(r || g.current)) {@@ -53778,7 +53794,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:/* @__PURE__ */ (0, O.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(QG, {+ children: /* @__PURE__ */ (0, O.jsx)($G, {item: w,image: Te,big: !0@@ -53786,7 +53802,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, O.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, O.jsx)(QG, {+ children: /* @__PURE__ */ (0, O.jsx)($G, {item: w,image: Te,big: !0@@ -53815,7 +53831,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),Xe.code ? /* @__PURE__ */ (0, O.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,/* @__PURE__ */ (0, O.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),- F ? /* @__PURE__ */ (0, O.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? oN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null+ F ? /* @__PURE__ */ (0, O.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? aN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -53832,7 +53848,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),fe || P && ee.error && !F ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-play-error": "",- children: [/* @__PURE__ */ (0, O.jsx)(Fz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: fe || Ut(ee.error)}), ee.error && !F ? /* @__PURE__ */ (0, O.jsx)(J, {@@ -53842,7 +53858,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, O.jsx)(UG, {+ /* @__PURE__ */ (0, O.jsx)(WG, {item: Xe,playing: oe,frame: b,@@ -53864,7 +53880,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: Ve,error: pe}),- M ? /* @__PURE__ */ (0, O.jsx)(qG, {+ M ? /* @__PURE__ */ (0, O.jsx)(JG, {items: He,activeId: Xe.id,kind: F?.kind || "wall",@@ -53880,7 +53896,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-refreshing": _ !== null || void 0,hidden: Ce,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : w ? Le() : be ? xe(!1) : XG());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : w ? Le() : be ? xe(!1) : ZG());},children: [/* @__PURE__ */ (0, O.jsx)("button", {@@ -53888,7 +53904,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: XG,+ onClick: ZG,children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -53906,7 +53922,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, O.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "ghost",- onClick: () => YV.push(YG()),+ onClick: () => qV.push(XG()),children: "清除筛选"})]}) : null,@@ -53918,7 +53934,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:onSubmit: (e) => {e.preventDefault();let t = new URLSearchParams(location.search), n = String(new FormData(e.currentTarget).get("q") || "").trim();- n ? t.set("q", n) : t.delete("q"), je(), YV.push(`/wall?${t}`), xe(!1);+ n ? t.set("q", n) : t.delete("q"), je(), qV.push(`/wall?${t}`), xe(!1);},children: [/* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",@@ -53932,18 +53948,18 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:defaultValue: new URLSearchParams(location.search).get("q") || ""})]}),- /* @__PURE__ */ (0, O.jsxs)(vU, {+ /* @__PURE__ */ (0, O.jsxs)(yU, {"aria-label": "播放墙图片",value: Te,onChange: Ee,- className: yU,- children: [/* @__PURE__ */ (0, O.jsx)(wR, {+ className: bU,+ children: [/* @__PURE__ */ (0, O.jsx)(SR, {value: "cover",- className: bU,+ className: xU,children: "封面"- }), /* @__PURE__ */ (0, O.jsx)(wR, {+ }), /* @__PURE__ */ (0, O.jsx)(SR, {value: "thumbnail",- className: bU,+ className: xU,children: "缩略图"})]}),@@ -54015,7 +54031,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}}, t.key);let n = e[t.index], r = !!w && t.key === E, i = Fe.get(t.key) || t, a = !re && !r, o = a ? Math.min(.34, (Math.max(0, t.x + I.view.camera.x / I.view.camera.scale) + Math.max(0, t.y + I.view.camera.y / I.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, O.jsx)(Ry.article, {+ return /* @__PURE__ */ (0, O.jsx)(Iy.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -54036,7 +54052,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: ae && !ne && !r && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: ne ? { duration: 0 } : {- layout: BG,+ layout: VG,transform: a ? {type: "spring",stiffness: 360,@@ -54069,7 +54085,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Re(n, t, !1));},children: r ? Ze : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(QG, {+ /* @__PURE__ */ (0, O.jsx)($G, {item: n,image: Te,ratio: i.width / i.height@@ -54095,7 +54111,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, O.jsx)(Ry.span, {+ /* @__PURE__ */ (0, O.jsx)(Iy.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: ne ? 0 : .24 }@@ -54107,7 +54123,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!i && a ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, O.jsx)(Fz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: a}), /* @__PURE__ */ (0, O.jsx)(J, {@@ -54134,7 +54150,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, O.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, O.jsx)(qU, {+ children: /* @__PURE__ */ (0, O.jsx)(JU, {busy: r,onPress: () => void qe()})@@ -54144,20 +54160,20 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: /* @__PURE__ */ (0, O.jsxs)(J, {size: "small",variant: "secondary",- ...Bz(r),+ ...Rz(r),onClick: () => void Ge(),children: [r ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns() } }) : null, "载入更多"]})}) : null,me ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, O.jsx)(Fz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: me}), /* @__PURE__ */ (0, O.jsx)(J, {size: "small",variant: "ghost",- ...Bz(r),+ ...Rz(r),onClick: () => void Ge(),children: "立即重试"})]@@ -54181,7 +54197,7 @@ function $G({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}//#endregion//#region src/catalog-onboarding.ts-var eK = [+var tK = ["loc","creator","performer",@@ -54199,19 +54215,19 @@ var eK = ["jav","thumb"];-function tK(e = typeof location > "u" ? "/" : location.href) {+function nK(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...eK,+ ...tK,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function nK(e, t) {+async function rK(e, t) {let n = new URLSearchParams();- for (let t of eK) e[t] && n.set(t, e[t]);+ for (let t of tK) 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 || [],@@ -54222,9 +54238,9 @@ async function nK(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function rK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function iK({ 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 os("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? B(tK()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return os("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 ? B(nK()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -54243,17 +54259,17 @@ function rK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:}//#endregion//#region src/react/video-wall/wall-empty.ts-function iK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || rK() : t ? os("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : os("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${YG()}">清除筛选</a>` });+function aK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || iK() : t ? os("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : os("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${XG()}">清除筛选</a>` });}//#endregion//#region src/react/library-processing/processing-actions.tsx-function aK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function oK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, D.useState)(t), [s, c] = (0, D.useState)(), [l, u] = (0, D.useState)("");return (0, D.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {try {- let o = await Bme(e, t.signal, a);+ let o = await Hme(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(() => {@@ -54271,7 +54287,7 @@ function aK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, O.jsx)(kH, {+ children: /* @__PURE__ */ (0, O.jsx)(AH, {value: a,busy: i,onChange: (e) => {@@ -54279,7 +54295,7 @@ function aK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, O.jsx)(eU, {+ s ? /* @__PURE__ */ (0, O.jsx)(tU, {traffic: s,initial: !0}) : null,@@ -54291,7 +54307,7 @@ function aK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {+function sK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {let a = (0, D.useRef)(null), o = (0, D.useRef)(null), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(r);(0, D.useEffect)(() => () => o.current?.close(), []);let [u, d] = (0, D.useState)(!1), f = {@@ -54349,7 +54365,7 @@ function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand});};return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(aK, {+ s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(oK, {command: s.command,dialog: s.dialog,speed: r,@@ -54358,11 +54374,11 @@ function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standl.current = e;}}), s.host) : null,- s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(xH, {+ s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(SH, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: uz,+ trailingIcon: cz,disabled: e,onClick: (e) => {s.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : s.dialog.close();@@ -54374,30 +54390,30 @@ function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, O.jsx)(J, {- ...Bz(e),+ ...Rz(e),onClick: () => m(f.command),children: f.label}), /* @__PURE__ */ (0, O.jsx)(J, {ref: a,iconOnly: !0,- leadingIcon: lz,+ leadingIcon: sz,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": u,- ...Bz(e),+ ...Rz(e),onClick: () => {e || d(!u);}})]}),- /* @__PURE__ */ (0, O.jsx)(rR, {+ /* @__PURE__ */ (0, O.jsx)(tR, {triggerRef: a,isOpen: u,onOpenChange: d,placement: "bottom end",offset: 4,- className: XB,- children: /* @__PURE__ */ (0, O.jsx)(CH, {+ className: JB,+ children: /* @__PURE__ */ (0, O.jsx)(wH, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",children: p.map(({ label: e, description: t, command: r }) => {@@ -54406,7 +54422,7 @@ function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standtype: "button",disabled: i,title: i ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: eF(ZB, QB, "text-body-2-medium"),+ className: $P(YB, XB, "text-body-2-medium"),onClick: () => m(r),children: /* @__PURE__ */ (0, O.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -54423,48 +54439,48 @@ function oK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}//#endregion//#region src/react/library-processing/library-completion.tsx-function sK(e, t) {+function cK(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) && !Ga(e, "small", !1, t).html).map((e) => e.id))];}-function cK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, O.jsx)(lK, {+function lK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, O.jsx)(uK, {assetIds: e,onComplete: t,className: n}) : null;}-function lK({ assetIds: e, onComplete: t, className: n }) {+function uK({ assetIds: e, onComplete: t, className: n }) {let r = St({- queryKey: uH,- queryFn: ({ signal: e }) => pH(e),- refetchInterval: (e) => gH(e.state.data, !0)+ queryKey: cH,+ queryFn: ({ signal: e }) => mH(e),+ refetchInterval: (e) => _H(e.state.data, !0)}), [i, a] = (0, D.useState)(null), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(null), l = Ct({- mutationFn: (t) => H(lH, {+ mutationFn: (t) => H(sH, {...t,asset_ids: e}),onSuccess: (e) => {- a(e.job_id || null), U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });+ a(e.job_id || null), U.setQueryData(cH, e), U.invalidateQueries({ queryKey: cH });}}), u = r.data;if ((0, D.useEffect)(() => {- u && i && u.job_id === i && !dH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), U.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());+ u && i && u.job_id === i && !lH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), U.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [u,i,t- ]), dH(u)) return null;- let d = l.isPending || dH(u), f = l.error ? An(l.error) : r.error ? hH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);+ ]), lH(u)) return null;+ let d = l.isPending || lH(u), f = l.error ? An(l.error) : r.error ? gH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);return /* @__PURE__ */ (0, O.jsx)("section", {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",- className: eF("@container", n),- children: /* @__PURE__ */ (0, O.jsxs)(Fz, {+ className: $P("@container", n),+ children: /* @__PURE__ */ (0, O.jsxs)(Nz, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, O.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, O.jsx)(oK, {+ children: /* @__PURE__ */ (0, O.jsx)(sK, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -54475,10 +54491,10 @@ function lK({ assetIds: e, onComplete: t, className: n }) {children: [p," ",- /* @__PURE__ */ (0, O.jsx)(xH, {+ /* @__PURE__ */ (0, O.jsx)(SH, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: uz,+ trailingIcon: cz,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -54487,32 +54503,32 @@ function lK({ assetIds: e, onComplete: t, className: n }) {}//#endregion//#region node_modules/@tanstack/react-table/dist/FlexRender.js-function uK(e) {- return dK(e) || typeof e == "function" || fK(e);-}function dK(e) {+ return fK(e) || typeof e == "function" || pK(e);+}+function fK(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function fK(e) {+function pK(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function pK(e, t) {- return e == null ? null : uK(e) ? /* @__PURE__ */ D.createElement(e, t) : e;+function mK(e, t) {+ return e == null ? null : dK(e) ? /* @__PURE__ */ D.createElement(e, t) : e;}-function mK(e) {+function hK(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?.() ? mK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : mK(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 ? mK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? mK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}//#endregion//#region node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function hK({ update: e, notify: t, unwatched: n }) {+function gK({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -54630,7 +54646,7 @@ function hK({ update: e, notify: t, unwatched: n }) {}//#endregion//#region node_modules/@tanstack/store/dist/atom.js-function gK(e, t, n) {+function _K(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -54638,38 +54654,38 @@ function gK(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var _K = [], vK = 0, { link: yK, unlink: bK, propagate: xK, checkDirty: SK, shallowPropagate: CK } = /* @__PURE__ */ hK({+var vK = [], yK = 0, { link: bK, unlink: xK, propagate: SK, checkDirty: CK, shallowPropagate: wK } = /* @__PURE__ */ gK({update(e) {return e._update();},notify(e) {- _K[TK++] = e, e.flags &= -3;+ vK[EK++] = e, e.flags &= -3;},unwatched(e) {- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, kK(e));+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, AK(e));}-}), wK = 0, TK = 0, EK, DK = 0;-function OK(e) {+}), TK = 0, EK = 0, DK, OK = 0;+function kK(e) {try {- ++DK, e();+ ++OK, e();} finally {- --DK || AK();+ --OK || jK();}}-function kK(e) {+function AK(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = bK(n, e);+ for (; n !== void 0;) n = xK(n, e);}-function AK() {- if (!(DK > 0)) {- for (; wK < TK;) {- let e = _K[wK];- _K[wK++] = void 0, e.notify();+function jK() {+ if (!(OK > 0)) {+ for (; TK < EK;) {+ let e = vK[TK];+ vK[TK++] = void 0, e.notify();}- wK = 0, TK = 0;+ TK = 0, EK = 0;}}-function jK(e, t) {+function MK(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -54678,53 +54694,53 @@ function jK(e, t) {depsTail: void 0,flags: +!n,get() {- return EK !== void 0 && yK(i, EK, vK), i._snapshot;+ return DK !== void 0 && bK(i, DK, yK), i._snapshot;},subscribe(e) {- let t = gK(e), n = { current: !1 }, r = MK(() => {- i.get(), n.current ? (EK = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = _K(e), n = { current: !1 }, r = NK(() => {+ i.get(), n.current ? (DK = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = EK, o = t?.compare ?? Object.is;- if (n) EK = i, ++vK, i.depsTail = void 0;+ let a = DK, o = t?.compare ?? Object.is;+ if (n) DK = i, ++yK, 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 {- EK = a, n && (i.flags &= -5), kK(i);+ DK = a, n && (i.flags &= -5), AK(i);}}};return n ? (i.flags = 17, i.get = function() {let e = i.flags;- if (e & 16 || e & 32 && SK(i.deps, i)) {+ if (e & 16 || e & 32 && CK(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && CK(e);+ e !== void 0 && wK(e);}} else e & 32 && (i.flags = e & -33);- return EK !== void 0 && yK(i, EK, vK), i._snapshot;+ return DK !== void 0 && bK(i, DK, yK), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (xK(e), CK(e), AK());+ e !== void 0 && (SK(e), wK(e), jK());}}, i;}-function MK(e) {+function NK(e) {let t = () => {- let t = EK;- EK = n, ++vK, n.depsTail = void 0, n.flags = 6;+ let t = DK;+ DK = n, ++yK, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- EK = t, n.flags &= -5, kK(n);+ DK = t, n.flags &= -5, AK(n);}}, n = {deps: void 0,@@ -54734,17 +54750,17 @@ function MK(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && SK(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && CK(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, kK(this);+ this.flags = 0, this.depsTail = void 0, AK(this);}};return t(), n;}//#endregion//#region node_modules/@tanstack/store/dist/shallow.js-function NK(e, t) {+function PK(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) {@@ -54758,18 +54774,18 @@ function NK(e, t) {return !0;}if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();- let n = PK(e);- if (n.length !== PK(t).length) return !1;+ let n = FK(e);+ if (n.length !== FK(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 PK(e) {+function FK(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var FK = /* @__PURE__ */ o(((e) => {- var t = v(), n = Bx();+var IK = /* @__PURE__ */ o(((e) => {+ var t = v(), n = Rx();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -54813,28 +54829,28 @@ var FK = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), IK = /* @__PURE__ */ o(((e, t) => {- t.exports = FK();-})), LK = IK();-function RK(e, t) {+})), LK = /* @__PURE__ */ o(((e, t) => {+ t.exports = IK();+})), RK = LK();+function zK(e, t) {return e === t;}-function zK(e, t = (e) => e, n) {- let r = n?.compare ?? RK, i = (0, D.useCallback)((t) => {+function BK(e, t = (e) => e, n) {+ let r = n?.compare ?? zK, i = (0, D.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, D.useCallback)(() => e.get(), [e]);- return (0, LK.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, RK.useSyncExternalStoreWithSelector)(i, a, a, t, r);}//#endregion//#region node_modules/@tanstack/react-table/dist/Subscribe.js-function BK(e) {- let t = zK(e.source, e.selector, { compare: NK });+function VK(e) {+ let t = BK(e.source, e.selector, { compare: PK });return typeof e.children == "function" ? e.children(t) : e.children;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function VK(e) {+function HK(e) {let t = e;return Object.defineProperty(e, "state", { get() {return e.get();@@ -54842,7 +54858,7 @@ function VK(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js-function HK(e) {+function UK(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -54872,7 +54888,7 @@ function HK(e) {}};}-function UK(e, t = Object.is) {+function WK(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -54886,29 +54902,29 @@ function UK(e, t = Object.is) {}//#endregion//#region node_modules/@tanstack/react-table/dist/reactivity.js-function WK() {- return HK({- createAtom: jK,- batch: OK+function GK() {+ return UK({+ createAtom: MK,+ batch: kK});}//#endregion//#region node_modules/@tanstack/table-core/dist/utils.js-function GK(e, t) {+function KK(e, t) {return typeof e == "function" ? e(t) : e;}-function KK(e) {- if (Array.isArray(e)) return e.map(KK);+function qK(e) {+ if (Array.isArray(e)) return e.map(qK);if (e && typeof e == "object") {let t = Object.getPrototypeOf(e);if (t !== Object.prototype && t !== null) return e;- let n = t === null ? JK() : {}, r = Object.keys(e);+ let n = t === null ? YK() : {}, 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: KK(e[i]),+ value: qK(e[i]),writable: !0});}@@ -54916,7 +54932,7 @@ function KK(e) {}return e;}-function qK(e, t) {+function JK(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -54924,53 +54940,53 @@ function qK(e, t) {}return e;}-function JK() {+function YK() {return Object.create(null);}-function YK(e, t) {+function XK(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function XK(e, t) {+function ZK(e, t) {return (n) => {- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => GK(n, e));+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => KK(n, e));};}-function ZK(e) {+function QK(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 QK(e) {+function $K(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var $K = 3;-function eq(e, t) {- return tq(e, t, $K);+var eq = 3;+function tq(e, t) {+ return nq(e, t, eq);}-function tq(e, t, n) {+function nq(e, t, n) {if (Object.is(e, t)) return !0;- if (n <= 0 || !ZK(e) || !ZK(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;- let r = QK(e), i = QK(t);+ if (n <= 0 || !QK(e) || !QK(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = $K(e), i = $K(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) || !tq(a[i], o[i], n - 1)) return !1;+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !nq(a[i], o[i], n - 1)) return !1;}return !0;}-function nq(e, t, n, r = eq) {+function rq(e, t, n, r = tq) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {- let t = GK(n, e);+ let t = KK(n, e);return r(e, t) ? e : t;});}-function rq(e) {+function iq(e) {return e instanceof Function;}-function iq(e, t) {+function aq(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -54980,7 +54996,7 @@ function iq(e, t) {};return r(e), n;}-var aq = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var oq = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -54994,23 +55010,23 @@ var aq = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeComreturn n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;};};-function oq(e) {+function sq(e) {let t = !1;return () => {t ? e() : t = !0;};}-function sq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function cq({ 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()));} : void 0 };- return aq({+ return oq({...a,...o});}-function cq(e, t = "_") {+function lq(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -55018,10 +55034,10 @@ function cq(e, t = "_") {parentName: n};}-function lq(e, t, n) {+function uq(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 } = lq(r);+ t[n] = a ? cq({memoDeps: a,fn: i,fnName: o,@@ -55030,15 +55046,15 @@ function lq(e, t, n) {}) : i;}}-function uq(e, t, n, r) {+function dq(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 } = lq(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = sq({+ this[i] = cq({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -55054,18 +55070,18 @@ function uq(e, t, n, r) {};}}-function dq(e, t, n, ...r) {+function fq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function fq(e) {+function pq(e) {return e.row.getValue(e.column.id);}-function pq(e) {+function mq(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function mq(e) {+function hq(e) {return {table: e.table,column: e.column,@@ -55077,19 +55093,19 @@ function mq(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var hq = { assignCellPrototype: (e, t) => {- uq("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => fq(e) },- cell_renderValue: { fn: (e) => pq(e) },+var gq = { assignCellPrototype: (e, t) => {+ dq("coreCellsFeature", e, t, {+ cell_getValue: { fn: (e) => pq(e) },+ cell_renderValue: { fn: (e) => mq(e) },cell_getContext: {- fn: (e) => mq(e),+ fn: (e) => hq(e),memoDeps: (e) => [e]}});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function gq(e) {+function _q(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -55097,7 +55113,7 @@ function gq(e) {}return e._columnPrototype;}-function _q(e, t, n, r) {+function vq(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -55117,7 +55133,7 @@ function _q(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = gq(e), u = Object.create(l);+ let l = _q(e), u = Object.create(l);u.accessorFn = c, u.columnDef = i, u.columns = [], u.depth = n, u.id = `${String(s)}`, u.parent = r;let d = e._columnInstanceInitFns;for (let e = 0; e < d.length; e++) d[e](u);@@ -55125,47 +55141,47 @@ function _q(e, t, n, r) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/featureStubs.js-function vq(e) {+function yq(e) {return e.getIsVisible?.() ?? !0;}-function yq(e) {+function bq(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function bq(e, t) {+function xq(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function xq(e, t, n, r) {+function Sq(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function Sq(e, t) {+function Cq(e, t) {return e._expandRows?.(t) ?? t;}-function Cq(e) {+function wq(e) {e.autoResetExpanded?.();}-function wq(e) {+function Tq(e) {e.autoResetPageIndex?.();}-function Tq(e) {+function Eq(e) {e.autoResetSorting?.();}-function Eq(e) {+function Dq(e) {e.autoResetCellSelection?.();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function Dq(e) {+function Oq(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function Oq(e) {+function kq(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return bq(e.table, t);+ return xq(e.table, t);}return [e];}-function kq(e) {+function Aq(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -55176,54 +55192,54 @@ function kq(e) {...e.options.defaultColumn};}-function Aq(e, t, n, r = 0) {+function jq(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 = _q(e, o, r, n), c = o;- s.columns = c.columns ? Aq(e, c.columns, s, r + 1) : [], i[a] = s;+ let o = t[a], s = vq(e, o, r, n), c = o;+ s.columns = c.columns ? jq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function jq(e) {- return Aq(e, e.options.columns);-}function Mq(e) {- return e.getAllColumns().flatMap((e) => e.getFlatColumns());+ return jq(e, e.options.columns);}function Nq(e) {- let t = JK(), n = e.getAllFlatColumns();+ return e.getAllColumns().flatMap((e) => e.getFlatColumns());+}+function Pq(e) {+ let t = YK(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function Pq(e) {- return bq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));-}function Fq(e) {- let t = JK(), n = e.getAllLeafColumns();+ return xq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+}+function Iq(e) {+ let t = YK(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function Iq(e, t) {+function Lq(e, t) {return e.getAllFlatColumnsById()[t];}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var Lq = {+var Rq = {assignColumnPrototype: (e, t) => {- uq("coreColumnsFeature", e, t, {+ dq("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => Dq(e),+ fn: (e) => Oq(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => Oq(e),+ fn: (e) => kq(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -55234,25 +55250,25 @@ var Lq = {});},constructTableAPIs: (e) => {- lq("coreColumnsFeature", e, {+ uq("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => kq(e),+ fn: () => Aq(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => jq(e),+ fn: () => Mq(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => Mq(e),+ fn: () => Nq(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => Nq(e),+ fn: () => Pq(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => Pq(e),+ fn: () => Fq(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -55261,16 +55277,16 @@ var Lq = {]},table_getAllLeafColumnsById: {- fn: () => Fq(e),+ fn: () => Iq(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => Iq(e, t) }+ table_getColumn: { fn: (t) => Lq(e, t) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function Rq(e) {+function Sge(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -55279,7 +55295,7 @@ function Rq(e) {return e._headerPrototype;}function zq(e, t, n) {- let r = Rq(e), i = Object.create(r);+ let r = Sge(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;for (let e = 0; e < a.length; e++) a[e](i);@@ -55291,18 +55307,18 @@ function Bq(e, t = 1) {let n = t;for (let r = 0; r < e.length; r++) {let i = e[r];- vq(i) && i.columns.length && (n = Math.max(n, Bq(i.columns, t + 1)));+ yq(i) && i.columns.length && (n = Math.max(n, Bq(i.columns, t + 1)));}return n;}-function bge(e, t) {+function Cge(e, t) {return e ? `${e}_${t}` : String(t);}-function xge(e, t, n, r) {+function wge(e, t, n, r) {let i = e ?? "";return t && (i = i ? `${i}_${t}` : String(t)), n && (i = i ? `${i}_${n}` : n), r && (i = i ? `${i}_${r}` : r), i;}-function Sge(e, t) {+function Tge(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;@@ -55310,7 +55326,7 @@ function Sge(e, t) {function Vq(e, t, n, r, i, a) {let o = {depth: t,- id: bge(r, t),+ id: Cge(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -55319,9 +55335,9 @@ function Vq(e, t, n, r, i, a) {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 = zq(n, u, {- id: xge(r, t, u.id, a.id),+ id: wge(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(Sge(s, u)) : void 0,+ placeholderId: d ? String(Tge(s, u)) : void 0,depth: t,index: s.length});@@ -55335,13 +55351,13 @@ function Vq(e, t, n, r, i, a) {function Hq(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!vq(n.column)) continue;+ if (!yq(n.column)) continue;let r = 0;if (n.subHeaders.length) {Hq(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- vq(t.column) && (r += t.colSpan);+ yq(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -55351,7 +55367,7 @@ function Hq(e) {} else n.rowSpan = 1;}}-function Cge(e, t, n, r) {+function Ege(e, t, n, r) {let i = Bq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);for (let e = 0; e < t.length; e++) e in t && (s[e] = zq(n, t[e], {depth: i,@@ -55365,24 +55381,24 @@ function Uq(e, t) {for (let n = 0; n < e.subHeaders.length; n++) Uq(e.subHeaders[n], t);t.push(e);}-function wge(e) {+function Dge(e) {let t = [];return Uq(e, t), t;}-function Tge(e) {+function Oge(e) {return {column: e.column,header: e,table: e.column.table};}-function Ege(e) {- return Cge(e.getAllColumns(), xq(e, yq(e), (e) => e.id), e);+function kge(e) {+ return Ege(e.getAllColumns(), Sq(e, bq(e), (e) => e.id), e);}-function Dge(e) {+function Age(e) {return [...e.getHeaderGroups()].reverse();}-function Oge(e) {+function jge(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -55390,7 +55406,7 @@ function Oge(e) {}return n;}-function kge(e) {+function Mge(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -55400,23 +55416,23 @@ function kge(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var Age = {+var Nge = {assignHeaderPrototype: (e, t) => {- uq("coreHeadersFeature", e, t, {+ dq("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => wge(e),+ fn: (e) => Dge(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => Tge(e),+ fn: (e) => Oge(e),memoDeps: (e) => [e.column.table.options.columns]}});},constructTableAPIs: (e) => {- lq("coreHeadersFeature", e, {+ uq("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => Ege(e),+ fn: () => kge(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -55427,15 +55443,15 @@ var Age = {]},table_getFooterGroups: {- fn: () => Dge(e),+ fn: () => Age(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => Oge(e),+ fn: () => jge(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => kge(e),+ fn: () => Mge(e),memoDeps: () => [e.getHeaderGroups()]}});@@ -55443,7 +55459,7 @@ var Age = {};//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function jge(e) {+function Pge(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -55451,102 +55467,102 @@ function jge(e) {}return e._rowPrototype;}-var Mge = (e, t, n, r, i, a, o) => {- let s = jge(e), c = Object.create(s);- c._displayIndexCache = -1, c._uniqueValuesCache = JK(), c._valuesCache = JK(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];+var Fge = (e, t, n, r, i, a, o) => {+ let s = Pge(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = YK(), c._valuesCache = YK(), 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;};//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js-function Nge() {- return (e) => sq({+function Ige() {+ return (e) => cq({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => Pge(e, e.options.data),- onAfterUpdate: oq(() => {- Cq(e), wq(e), Tq(e), Eq(e);+ fn: () => Lge(e, e.options.data),+ onAfterUpdate: sq(() => {+ wq(e), Tq(e), Eq(e), Dq(e);})});}function Wq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = Mge(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);+ let s = n[o], c = Fge(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 = Wq(e, t, c.originalSubRows, r + 1, c)));}return a;}-function Pge(e, t) {+function Lge(e, t) {let n = {rows: [],flatRows: [],- rowsById: JK()+ rowsById: YK()};return n.rows = Wq(e, n, t), n;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function Fge(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Nge()(e)), e._rowModels.coreRowModel();+function Rge(e) {+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Ige()(e)), e._rowModels.coreRowModel();}-function Ige(e) {+function zge(e) {return e.getCoreRowModel();}-function Lge(e) {+function Bge(e) {return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();}-function Rge(e) {+function Vge(e) {return e.getFilteredRowModel();}-function zge(e) {+function Hge(e) {return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();}-function Bge(e) {+function Uge(e) {return e.getGroupedRowModel();}-function Vge(e) {+function Wge(e) {return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();}-function Hge(e) {+function Gge(e) {return e.getSortedRowModel();}-function Uge(e) {+function Kge(e) {return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();}-function Wge(e) {+function qge(e) {return e.getExpandedRowModel();}-function Gge(e) {+function Jge(e) {return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();}-function Kge(e) {+function Yge(e) {return e.getPaginatedRowModel();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var qge = { constructTableAPIs: (e) => {- lq("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => Fge(e) },- table_getPreFilteredRowModel: { fn: () => Ige(e) },- table_getFilteredRowModel: { fn: () => Lge(e) },- table_getPreGroupedRowModel: { fn: () => Rge(e) },- table_getGroupedRowModel: { fn: () => zge(e) },- table_getPreSortedRowModel: { fn: () => Bge(e) },- table_getSortedRowModel: { fn: () => Vge(e) },- table_getPreExpandedRowModel: { fn: () => Hge(e) },- table_getExpandedRowModel: { fn: () => Uge(e) },- table_getPrePaginatedRowModel: { fn: () => Wge(e) },- table_getPaginatedRowModel: { fn: () => Gge(e) },- table_getRowModel: { fn: () => Kge(e) }+var Xge = { constructTableAPIs: (e) => {+ uq("coreRowModelsFeature", e, {+ table_getCoreRowModel: { fn: () => Rge(e) },+ table_getPreFilteredRowModel: { fn: () => zge(e) },+ table_getFilteredRowModel: { fn: () => Bge(e) },+ table_getPreGroupedRowModel: { fn: () => Vge(e) },+ table_getGroupedRowModel: { fn: () => Hge(e) },+ table_getPreSortedRowModel: { fn: () => Uge(e) },+ table_getSortedRowModel: { fn: () => Wge(e) },+ table_getPreExpandedRowModel: { fn: () => Gge(e) },+ table_getExpandedRowModel: { fn: () => Kge(e) },+ table_getPrePaginatedRowModel: { fn: () => qge(e) },+ table_getPaginatedRowModel: { fn: () => Jge(e) },+ table_getRowModel: { fn: () => Yge(e) }});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function Jge(e) {+function Zge(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -55554,8 +55570,8 @@ function Jge(e) {}return e._cellPrototype;}-function Yge(e, t, n) {- let r = Jge(n), i = Object.create(r);+function Qge(e, t, n) {+ let r = Zge(n), i = Object.create(r);i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;let a = n._cellInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);@@ -55563,40 +55579,40 @@ function Yge(e, t, n) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js-function Xge(e) {+function $ge(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function Zge(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Sq(e, t).rows : t.rows;+function e_e(e) {+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Cq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function Qge(e, t) {- if (YK(e._valuesCache, t)) return e._valuesCache[t];+function t_e(e, t) {+ if (XK(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 $ge(e, t) {- if (YK(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function n_e(e, t) {+ if (XK(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]);}-function e_e(e, t) {+function r_e(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function t_e(e) {- return iq(e.subRows, (e) => e.subRows);+function i_e(e) {+ return aq(e.subRows, (e) => e.subRows);}-function n_e(e) {+function a_e(e) {let t = e.getCoreRowModel().flatRows, n = 0;for (let e = 0; e < t.length; e++) n = Math.max(n, t[e].depth);return n;}-function r_e(e) {+function o_e(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function i_e(e) {+function s_e(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -55605,71 +55621,71 @@ function i_e(e) {}return t.reverse();}-function a_e(e) {+function c_e(e) {let t = e.table.getAllLeafColumns(), n = e._cellsCache;n ||= e._cellsCache = /* @__PURE__ */ new WeakMap();let r = Array(t.length);for (let i = 0; i < t.length; i++) {let a = t[i], o = n.get(a);- o || (o = Yge(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = Qge(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function o_e(e) {- let t = JK(), n = e.getAllCells();+function l_e(e) {+ let t = YK(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function s_e(e, t, n, r) {+function u_e(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function c_e(e, t, n) {+function d_e(e, t, n) {let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();return r;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js-var l_e = {+var f_e = {assignRowPrototype: (e, t) => {- uq("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => Xge(e) },+ dq("coreRowsFeature", e, t, {+ row_getDisplayIndex: { fn: (e) => $ge(e) },row_getAllCellsByColumnId: {- fn: (e) => o_e(e),+ fn: (e) => l_e(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => a_e(e),+ fn: (e) => c_e(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => t_e(e),+ fn: (e) => i_e(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => r_e(e) },- row_getParentRows: { fn: (e) => i_e(e) },- row_getUniqueValues: { fn: (e, t) => $ge(e, t) },- row_getValue: { fn: (e, t) => Qge(e, t) },- row_renderValue: { fn: (e, t) => e_e(e, t) }+ row_getParentRow: { fn: (e) => o_e(e) },+ row_getParentRows: { fn: (e) => s_e(e) },+ row_getUniqueValues: { fn: (e, t) => n_e(e, t) },+ row_getValue: { fn: (e, t) => t_e(e, t) },+ row_renderValue: { fn: (e, t) => r_e(e, t) }});},constructTableAPIs: (e) => {- lq("coreRowsFeature", e, {+ uq("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => Zge(e),+ fn: () => e_e(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => s_e(t, e, n, r) },- table_getRow: { fn: (t, n) => c_e(e, t, n) },+ table_getRowId: { fn: (t, n, r) => u_e(t, e, n, r) },+ table_getRow: { fn: (t, n) => d_e(e, t, n) },table_getMaxSubRowDepth: {- fn: () => n_e(e),+ fn: () => a_e(e),memoDeps: () => [e.getCoreRowModel()]}});@@ -55693,8 +55709,8 @@ function Kq(e, t, n = (e, t) => e === t) {Gq(e, t, n), e._reactivity.commit?.();});}-function u_e(e) {- let t = KK(e.initialState);+function p_e(e) {+ let t = qK(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -55705,7 +55721,7 @@ function u_e(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function d_e(e, t) {+function m_e(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -55738,20 +55754,20 @@ function d_e(e, t) {});}function qq(e, t, n) {- let r = d_e(e, GK(t, e.options));+ let r = m_e(e, KK(t, e.options));e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Kq(e, r.state ?? null);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var f_e = {- coreCellsFeature: hq,- coreColumnsFeature: Lq,- coreHeadersFeature: Age,- coreRowModelsFeature: qge,- coreRowsFeature: l_e,+var h_e = {+ coreCellsFeature: gq,+ coreColumnsFeature: Rq,+ coreHeadersFeature: Nge,+ coreRowModelsFeature: Xge,+ coreRowsFeature: f_e,coreTablesFeature: { constructTableAPIs: (e) => {- lq("coreTablesFeature", e, {- table_reset: { fn: () => u_e(e) },+ uq("coreTablesFeature", e, {+ table_reset: { fn: () => p_e(e) },table_setOptions: { fn: (t) => qq(e, t) }});} }@@ -55779,17 +55795,17 @@ function Yq(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function p_e(e, t = {}) {+function g_e(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), KK(t);+ }), qK(t);}-function m_e(e) {+function __e(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 = {_cellInstanceInitFns: [],_columnInstanceInitFns: [],_features: {- ...f_e,+ ...h_e,..._},_headerGroupInstanceInitFns: [],@@ -55827,7 +55843,7 @@ function m_e(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = p_e(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = g_e(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -55835,14 +55851,14 @@ function m_e(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 && YK(i, n)) {+ if (i && XK(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- Gq(v), v.store = VK(t.createReadonlyAtom(() => {+ Gq(v), v.store = HK(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -55850,7 +55866,7 @@ function m_e(e) {}return e;}, {- compare: NK,+ compare: PK,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -55861,12 +55877,12 @@ function m_e(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function h_e() {- return JK();+function v_e() {+ return YK();}function Xq(e, t) {Qq(e) && eJ(e.table, (n) => {- let r = Object.assign(JK(), n), i = t ?? !dq(e, "getIsVisible", Zq), a = e.getLeafColumns();+ let r = Object.assign(YK(), n), i = t ?? !fq(e, "getIsVisible", Zq), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];Qq(t) && (r[t.id] = i);@@ -55878,47 +55894,47 @@ function Zq(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", Zq)) : (YK(t, e.id) ? t[e.id] : void 0) ?? !0;+ return n.length ? n.some((e) => fq(e, "getIsVisible", Zq)) : (XK(t, e.id) ? t[e.id] : void 0) ?? !0;}function Qq(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function g_e(e) {+function y_e(e) {return (t) => {Xq(e, t.target.checked);};}-function __e(e) {+function b_e(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];- dq(r.column, "getIsVisible", Zq) && n.push(r);+ fq(r.column, "getIsVisible", Zq) && n.push(r);}- return xq(e.table, n, (e) => e.column.id, () => dq(e, "getVisibleCellsByColumnId", $q));+ return Sq(e.table, n, (e) => e.column.id, () => fq(e, "getVisibleCellsByColumnId", $q));}function $q(e) {- let t = JK(), n = e.getAllCells();+ let t = YK(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];- dq(r.column, "getIsVisible", Zq) && (t[r.column.id] = r);+ fq(r.column, "getIsVisible", Zq) && (t[r.column.id] = r);}return t;}-function v_e(e) {- return e.getAllFlatColumns().filter((e) => dq(e, "getIsVisible", Zq));+function x_e(e) {+ return e.getAllFlatColumns().filter((e) => fq(e, "getIsVisible", Zq));}-function y_e(e) {- return e.getAllLeafColumns().filter((e) => dq(e, "getIsVisible", Zq));+function S_e(e) {+ return e.getAllLeafColumns().filter((e) => fq(e, "getIsVisible", Zq));}function eJ(e, t) {- nq(e, "columnVisibility", t);+ rq(e, "columnVisibility", t);}-function b_e(e, t) {- eJ(e, t ? JK() : Object.assign(JK(), KK(e.initialState.columnVisibility ?? {})));+function C_e(e, t) {+ eJ(e, t ? YK() : Object.assign(YK(), qK(e.initialState.columnVisibility ?? {})));}function tJ(e, t) {t ??= !nJ(e);- let n = JK(), r = e.getAllLeafColumns();+ let n = YK(), r = e.getAllLeafColumns();for (let e = 0; e < r.length; e++) {let i = r[e];n[i.id] = t || !Qq(i);@@ -55926,12 +55942,12 @@ function tJ(e, t) {eJ(e, n);}function nJ(e) {- return !e.getAllLeafColumns().some((e) => !dq(e, "getIsVisible", Zq));+ return !e.getAllLeafColumns().some((e) => !fq(e, "getIsVisible", Zq));}-function x_e(e) {- return e.getAllLeafColumns().some((e) => dq(e, "getIsVisible", Zq));+function w_e(e) {+ return e.getAllLeafColumns().some((e) => fq(e, "getIsVisible", Zq));}-function S_e(e) {+function T_e(e) {return (t) => {tJ(e, t.target.checked);};@@ -55940,12 +55956,12 @@ function S_e(e) {//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.jsvar rJ = {getInitialState: (e) => ({- columnVisibility: h_e(),+ columnVisibility: v_e(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: XK("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: ZK("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- uq("columnVisibilityFeature", e, t, {+ dq("columnVisibilityFeature", e, t, {column_getIsVisible: {fn: (e) => Zq(e),memoDeps: (e) => [@@ -55955,14 +55971,14 @@ var rJ = {]},column_getCanHide: { fn: (e) => Qq(e) },- column_getToggleVisibilityHandler: { fn: (e) => g_e(e) },+ column_getToggleVisibilityHandler: { fn: (e) => y_e(e) },column_toggleVisibility: { fn: (e, t) => Xq(e, t) }});},assignRowPrototype: (e, t) => {- uq("columnVisibilityFeature", e, t, {+ dq("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => __e(e),+ fn: (e) => b_e(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -55976,9 +55992,9 @@ var rJ = {});},constructTableAPIs: (e) => {- lq("columnVisibilityFeature", e, {+ uq("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => v_e(e),+ fn: () => x_e(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -55988,7 +56004,7 @@ var rJ = {]},table_getVisibleLeafColumns: {- fn: () => y_e(e),+ fn: () => S_e(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -55998,11 +56014,11 @@ var rJ = {]},table_setColumnVisibility: { fn: (t) => eJ(e, t) },- table_resetColumnVisibility: { fn: (t) => b_e(e, t) },+ table_resetColumnVisibility: { fn: (t) => C_e(e, t) },table_toggleAllColumnsVisible: { fn: (t) => tJ(e, t) },table_getIsAllColumnsVisible: { fn: () => nJ(e) },- table_getIsSomeColumnsVisible: { fn: () => x_e(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => S_e(e) }+ table_getIsSomeColumnsVisible: { fn: () => w_e(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => T_e(e) }});}}, iJ = 0, aJ = 10;@@ -56012,21 +56028,21 @@ function oJ() {pageSize: aJ};}-function C_e(e) {+function E_e(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {if ((e.atoms.pagination?.get()?.pageIndex ?? iJ) === iJ) return;lJ(e, !0);}}function sJ(e, t) {- nq(e, "pagination", t);+ rq(e, "pagination", t);}-function w_e(e, t) {- sJ(e, t ? oJ() : KK(e.initialState.pagination ?? oJ()));+function D_e(e, t) {+ sJ(e, t ? oJ() : qK(e.initialState.pagination ?? oJ()));}function cJ(e, t) {sJ(e, (n) => {- let r = GK(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+ let r = KK(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@@ -56036,12 +56052,12 @@ function cJ(e, t) {function lJ(e, t) {cJ(e, t ? iJ : e.initialState.pagination?.pageIndex ?? iJ);}-function T_e(e, t) {+function O_e(e, t) {uJ(e, t ? aJ : e.initialState.pagination?.pageSize ?? aJ);}function uJ(e, t) {sJ(e, (e) => {- let n = Math.max(1, GK(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);+ let n = Math.max(1, KK(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -56049,31 +56065,31 @@ function uJ(e, t) {};});}-function E_e(e) {+function k_e(e) {let t = dJ(e), n = [];return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}-function D_e(e) {+function A_e(e) {return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}-function O_e(e) {+function j_e(e) {let t = e.atoms.pagination?.get()?.pageIndex ?? iJ, n = dJ(e);return n === -1 || n !== 0 && t < n - 1;}-function k_e(e) {+function M_e(e) {let t = e.atoms.pagination?.get()?.pageIndex ?? iJ, n = dJ(e);return Number.isFinite(n) && n > 0 && t < n - 1;}-function A_e(e) {+function N_e(e) {return cJ(e, (e) => e - 1);}-function j_e(e) {+function P_e(e) {return cJ(e, (e) => e + 1);}-function M_e(e) {+function F_e(e) {return cJ(e, 0);}-function N_e(e) {+function I_e(e) {let t = dJ(e);if (!(!Number.isFinite(t) || t <= 0)) return cJ(e, t - 1);}@@ -56096,44 +56112,44 @@ var pJ = {...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: XK("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: ZK("pagination", e) }),constructTableAPIs: (e) => {- lq("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => C_e(e) },+ uq("rowPaginationFeature", e, {+ table_autoResetPageIndex: { fn: () => E_e(e) },table_setPagination: { fn: (t) => sJ(e, t) },- table_resetPagination: { fn: (t) => w_e(e, t) },+ table_resetPagination: { fn: (t) => D_e(e, t) },table_setPageIndex: { fn: (t) => cJ(e, t) },table_resetPageIndex: { fn: (t) => lJ(e, t) },table_setPageSize: { fn: (t) => uJ(e, t) },table_getPageCount: { fn: () => dJ(e) },- table_resetPageSize: { fn: (t) => T_e(e, t) },- table_getPageOptions: { fn: () => E_e(e) },- table_getCanPreviousPage: { fn: () => D_e(e) },- table_getCanNextPage: { fn: () => O_e(e) },- table_getCanLastPage: { fn: () => k_e(e) },- table_previousPage: { fn: () => A_e(e) },- table_nextPage: { fn: () => j_e(e) },- table_firstPage: { fn: () => M_e(e) },- table_lastPage: { fn: () => N_e(e) },+ table_resetPageSize: { fn: (t) => O_e(e, t) },+ table_getPageOptions: { fn: () => k_e(e) },+ table_getCanPreviousPage: { fn: () => A_e(e) },+ table_getCanNextPage: { fn: () => j_e(e) },+ table_getCanLastPage: { fn: () => M_e(e) },+ table_previousPage: { fn: () => N_e(e) },+ table_nextPage: { fn: () => P_e(e) },+ table_firstPage: { fn: () => F_e(e) },+ table_lastPage: { fn: () => I_e(e) },table_getRowCount: { fn: () => fJ(e) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function P_e() {- return JK();+function L_e() {+ return YK();}function mJ(e, t) {e.options.onRowSelectionChange?.(t);}-function F_e(e, t) {- e._lastSelectedRowId = null, mJ(e, t ? JK() : Object.assign(JK(), KK(e.initialState.rowSelection ?? {})));+function R_e(e, t) {+ e._lastSelectedRowId = null, mJ(e, t ? YK() : Object.assign(YK(), qK(e.initialState.rowSelection ?? {})));}function hJ(e, t, n) {e._lastSelectedRowId = null, mJ(e, (r) => {- if (t = t === void 0 ? !dq(e, "getIsAllRowsSelected", vJ) : t, n?.deselectAll && !t) return JK();- let i = Object.assign(JK(), r), a = e.getPreGroupedRowModel().flatRows;+ if (t = t === void 0 ? !fq(e, "getIsAllRowsSelected", vJ) : t, n?.deselectAll && !t) return YK();+ let i = Object.assign(YK(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {@@ -56147,39 +56163,39 @@ function hJ(e, t, n) {}function gJ(e, t, n) {e._lastSelectedRowId = null, mJ(e, (r) => {- let i = t === void 0 ? !dq(e, "getIsAllPageRowsSelected", yJ) : t;- if (n?.deselectAll && !i) return JK();- let a = Object.assign(JK(), r);+ let i = t === void 0 ? !fq(e, "getIsAllPageRowsSelected", yJ) : t;+ if (n?.deselectAll && !i) return YK();+ let a = Object.assign(YK(), r);return e.getRowModel().rows.forEach((t) => {DJ(a, t.id, i, !0, e, !0);}), a;});}-function I_e(e) {+function z_e(e) {return e.getCoreRowModel();}-function L_e(e) {+function B_e(e) {let t = e.getCoreRowModel();- return dq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {+ return fq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {rows: [],flatRows: [],- rowsById: JK()+ rowsById: YK()};}-function R_e(e) {+function V_e(e) {let t = e.getFilteredRowModel();- return dq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {+ return fq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {rows: [],flatRows: [],- rowsById: JK()+ rowsById: YK()};}-function z_e(e) {+function H_e(e) {let t = e.getSortedRowModel();- return dq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {+ return fq(e, "getIsSomeRowsSelected", bJ) ? jJ(t, e) : {rows: [],flatRows: [],- rowsById: JK()+ rowsById: YK()};}function _J(e) {@@ -56203,17 +56219,17 @@ function yJ(e) {return i;}function bJ(e) {- return dq(e, "getSelectedRowIds", _J).length > 0;+ return fq(e, "getSelectedRowIds", _J).length > 0;}-function B_e(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => wJ(e)).some((e) => SJ(e) || dq(e, "getIsSomeSelected", CJ));+function U_e(e) {+ return e.getPaginatedRowModel().flatRows.filter((e) => wJ(e)).some((e) => SJ(e) || fq(e, "getIsSomeSelected", CJ));}-function V_e(e) {+function W_e(e) {return (t) => {hJ(e, t.target.checked);};}-function H_e(e) {+function G_e(e) {return (t) => {gJ(e, t.target.checked);};@@ -56222,7 +56238,7 @@ function xJ(e, t, n) {let r = SJ(e);mJ(e.table, (i) => {t = t === void 0 ? !r : t;- let a = Object.assign(JK(), i);+ let a = Object.assign(YK(), i);return DJ(a, e.id, t, (n?.selectChildren ?? !0) && EJ(e), e.table), !t && n?.deselectParents && kJ(a, e), a;});}@@ -56232,7 +56248,7 @@ function SJ(e) {function CJ(e) {return NJ(e) === "some";}-function U_e(e) {+function K_e(e) {return NJ(e) === "all";}function wJ(e) {@@ -56247,22 +56263,22 @@ function EJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function W_e(e, t) {+function q_e(e, t) {let n = wJ(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 && EJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !G_e(e, s, o, t)) && xJ(e, o, t), a._lastSelectedRowId = e.id;+ (!(a.options.enableRowRangeSelection !== !1 && s !== null && EJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !J_e(e, s, o, t)) && xJ(e, o, t), a._lastSelectedRowId = e.id;};}-function G_e(e, t, n, r) {+function J_e(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 || !EJ(s) || !EJ(e)) return !1;let f = Math.min(c, l), p = Math.max(c, l);return mJ(a, (e) => {- let t = Object.assign(JK(), e);+ let t = Object.assign(YK(), e);for (let e = f; e <= p; e++) {let s = o[e];wJ(s) && EJ(s) && (DJ(t, s.id, n, i, a), !n && r?.deselectParents && kJ(t, s));@@ -56311,14 +56327,14 @@ function AJ(e, t, n, r) {let e = AJ(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- qK(t, o), t.subRows = e, i.push(t);+ JK(t, o), t.subRows = e, i.push(t);}} else s && i.push(o);}return i;}function jJ(e, t) {- let n = [], r = JK(), i = t.atoms.rowSelection?.get() ?? {};+ let n = [], r = YK(), i = t.atoms.rowSelection?.get() ?? {};return {rows: AJ(e.rows, i, n, r),flatRows: n,@@ -56326,7 +56342,7 @@ function jJ(e, t) {};}function MJ(e, t) {- return !!(YK(t, e.id) && t[e.id]);+ return !!(XK(t, e.id) && t[e.id]);}function NJ(e) {if (!e.subRows.length) return !1;@@ -56351,11 +56367,11 @@ var PJ = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: P_e(),+ rowSelection: L_e(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: XK("rowSelection", e),+ onRowSelectionChange: ZK("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -56366,7 +56382,7 @@ var PJ = {}}),assignRowPrototype: (e, t) => {- uq("rowSelectionFeature", e, t, {+ dq("rowSelectionFeature", e, t, {row_toggleSelected: { fn: (e, t, n) => xJ(e, t, n) },row_getIsSelected: { fn: (e) => SJ(e) },row_getIsSomeSelected: {@@ -56378,7 +56394,7 @@ var PJ = {]},row_getIsAllSubRowsSelected: {- fn: (e) => U_e(e),+ fn: (e) => K_e(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -56388,26 +56404,26 @@ var PJ = {row_getCanSelect: { fn: (e) => wJ(e) },row_getCanSelectSubRows: { fn: (e) => TJ(e) },row_getCanMultiSelect: { fn: (e) => EJ(e) },- row_getToggleSelectedHandler: { fn: (e, t) => W_e(e, t) }+ row_getToggleSelectedHandler: { fn: (e, t) => q_e(e, t) }});},constructTableAPIs: (e) => {- lq("rowSelectionFeature", e, {+ uq("rowSelectionFeature", e, {table_setRowSelection: { fn: (t) => mJ(e, t) },- table_resetRowSelection: { fn: (t) => F_e(e, t) },+ table_resetRowSelection: { fn: (t) => R_e(e, t) },table_toggleAllRowsSelected: { fn: (t, n) => hJ(e, t, n) },table_toggleAllPageRowsSelected: { fn: (t, n) => gJ(e, t, n) },- table_getPreSelectedRowModel: { fn: () => I_e(e) },+ table_getPreSelectedRowModel: { fn: () => z_e(e) },table_getSelectedRowModel: {- fn: () => L_e(e),+ fn: () => B_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => R_e(e),+ fn: () => V_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => z_e(e),+ fn: () => H_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {@@ -56437,42 +56453,42 @@ var PJ = {memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => B_e(e),+ fn: () => U_e(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => V_e(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => H_e(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => W_e(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => G_e(e) }});}-}, K_e = /([0-9]+)/gm;+}, Y_e = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function q_e(e) {+function X_e(e) {let t = Object.assign((e, n, r) => {let i = e.getValue(r), a = n.getValue(r), o = t.resolveDataValue;return o && (i = o(i), a = o(a)), t.sort(i, a, e, n, r);}, e);return t;}-var FJ = /* @__PURE__ */ q_e({ sort: (e, t) => J_e(e, t) });-function J_e(e, t) {+var FJ = /* @__PURE__ */ X_e({ sort: (e, t) => Z_e(e, t) });+function Z_e(e, t) {return e === t ? 0 : e > t ? 1 : -1;}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function Y_e() {+function Q_e() {return [];}function IJ(e, t) {- nq(e, "sorting", t);+ rq(e, "sorting", t);}function LJ(e, t) {- IJ(e, t ? [] : KK(e.initialState.sorting ?? []));+ IJ(e, t ? [] : qK(e.initialState.sorting ?? []));}-function X_e(e) {+function $_e(e) {e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && LJ(e);}function RJ(e) {@@ -56483,7 +56499,7 @@ function RJ(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(K_e).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(Y_e).length > 1)) {r = "alphanumeric";break;}@@ -56504,7 +56520,7 @@ function zJ(e) {}function BJ(e) {let t = e.table._rowModelFns.sortFns;- return rq(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? RJ(e) : t?.[e.columnDef.sortFn] ?? FJ;+ return iq(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? RJ(e) : t?.[e.columnDef.sortFn] ?? FJ;}function VJ(e, t, n) {let r = UJ(e, n && GJ(e)), i = t !== void 0;@@ -56542,13 +56558,13 @@ function KJ(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function Z_e(e) {+function eve(e) {return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}-function Q_e(e) {+function tve(e) {IJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);}-function $_e(e) {+function nve(e) {let t = WJ(e);return (n) => {t && VJ(e, void 0, GJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);@@ -56559,7 +56575,7 @@ function $_e(e) {var qJ = {getInitialState(e) {return {- sorting: Y_e(),+ sorting: Q_e(),...e};},@@ -56572,12 +56588,12 @@ var qJ = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: XK("sorting", e),+ onSortingChange: ZK("sorting", e),isMultiSortEvent: (e) => e.shiftKey};},assignColumnPrototype(e, t) {- uq("rowSortingFeature", e, t, {+ dq("rowSortingFeature", e, t, {column_getAutoSortFn: { fn: (e) => RJ(e) },column_getAutoSortDir: { fn: (e) => zJ(e) },column_getSortFn: { fn: (e) => BJ(e) },@@ -56587,43 +56603,43 @@ var qJ = {column_getCanSort: { fn: (e) => WJ(e) },column_getCanMultiSort: { fn: (e) => GJ(e) },column_getIsSorted: { fn: (e) => KJ(e) },- column_getSortIndex: { fn: (e) => Z_e(e) },- column_clearSorting: { fn: (e) => Q_e(e) },- column_getToggleSortingHandler: { fn: (e) => $_e(e) }+ column_getSortIndex: { fn: (e) => eve(e) },+ column_clearSorting: { fn: (e) => tve(e) },+ column_getToggleSortingHandler: { fn: (e) => nve(e) }});},constructTableAPIs(e) {- lq("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => X_e(e) },+ uq("rowSortingFeature", e, {+ table_autoResetSorting: { fn: () => $_e(e) },table_setSorting: { fn: (t) => IJ(e, t) },table_resetSorting: { fn: (t) => LJ(e, t) }});}-}, eve = typeof window > "u" ? D.useEffect : D.useLayoutEffect;+}, rve = typeof window > "u" ? D.useEffect : D.useLayoutEffect;function JJ(e, t) {let [{ table: n, rootSource: r }] = (0, D.useState)(() => {- let t = m_e({+ let t = __e({...e,features: {- coreReactivityFeature: WK(),+ coreReactivityFeature: GK(),...e.features}});- return t.Subscribe = ((e) => BK({+ return t.Subscribe = ((e) => VK({...e,source: e.source ?? t.store- })), t.FlexRender = mK, {+ })), t.FlexRender = hK, {table: t,- rootSource: UK(t.store, NK)+ rootSource: WK(t.store, PK)};}), i = n;qq(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = zK(r, t, { compare: NK });- return eve(() => {- r.markCommitted(o), Kq(i, a ?? null, NK);+ let a = i.options.state, o = r.get(), s = BK(r, t, { compare: PK });+ return rve(() => {+ r.markCommitted(o), Kq(i, a ?? null, PK);}), (0, D.useMemo)(() => ({...n,options: e,@@ -56638,17 +56654,17 @@ function JJ(e, t) {//#region src/react/boardui/components/base/table/table.tsxfunction YJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("div", {- className: eF("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, O.jsx)(sde, {+ className: $P("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, O.jsx)(lde, {ref: r,...i,- className: eF("bui-table", e === "sm" && "bui-table-sm", t)+ className: $P("bui-table", e === "sm" && "bui-table-sm", t)})});}//#endregion//#region src/react/catalog-grid/catalog-table-columns.ts-var XJ = "peach.catalog-column-widths.v1", ZJ = "peach.catalog-column-visibility.v1", tve = {+var XJ = "peach.catalog-column-widths.v1", ZJ = "peach.catalog-column-visibility.v1", ive = {select: {width: 48,min: 48,@@ -56714,13 +56730,13 @@ var XJ = "peach.catalog-column-widths.v1", ZJ = "peach.catalog-column-visibilitymin: 144,max: 560}-}, nve = {+}, ave = {code: !1,o: !1,new: !1,played: !1,release: !1-}, rve = {+}, ove = {select: "选择",name: "作品",dur: "时长",@@ -56750,11 +56766,11 @@ var XJ = "peach.catalog-column-widths.v1", ZJ = "peach.catalog-column-visibility"release"].map((e) => ({id: e,- label: rve[e],- ...tve[e],+ label: ove[e],+ ...ive[e],flex: e === "name",required: e === "select" || e === "name",- visible: nve[e] !== !1+ visible: ave[e] !== !1}));function $J(e) {try {@@ -56764,7 +56780,7 @@ function $J(e) {return {};}}-function ive() {+function sve() {let e = $J(XJ), t = $J(ZJ);return QJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);@@ -56786,23 +56802,23 @@ function tY() {return !1;}}-function ave(e) {+function cve(e) {try {e ? localStorage.setItem(eY, "1") : localStorage.removeItem(eY);} catch {}}-var ove = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var lve = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";//#endregion//#region src/catalog-content-skeleton.tsfunction nY(e) {return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><b class=\"skeleton-sheen\"></b><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";}-function sve(e) {- let t = ive(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${nY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (tY() ? ove : "") + `<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></div>`;+function uve(e) {+ let t = sve(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${nY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (tY() ? lve : "") + `<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></div>`;}function rY(e, t) {- return fM() === "list" ? sve(e) : _s(e, {+ return dM() === "list" ? uve(e) : _s(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t@@ -56824,9 +56840,9 @@ function iY({ 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 && NW(e, r) && n(r.dataset.key);+ r && PW(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, O.jsx)(ade, {+ children: r ? /* @__PURE__ */ (0, O.jsx)(sde, {className: "relative min-w-0",onResize: r.resize,onResizeEnd: r.save,@@ -56837,7 +56853,7 @@ function iY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {//#endregion//#region src/react/components/select.tsxfunction aY({ prefix: e, renderValue: t, size: n, ...r }) {- if (e == null) return /* @__PURE__ */ (0, O.jsx)(dU, {+ if (e == null) return /* @__PURE__ */ (0, O.jsx)(fU, {...r,size: n,renderValue: t@@ -56847,7 +56863,7 @@ function aY({ prefix: e, renderValue: t, size: n, ...r }) {className: `shrink-0 text-text-tertiary ${i}`,children: e}), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });- return /* @__PURE__ */ (0, O.jsx)(dU, {+ return /* @__PURE__ */ (0, O.jsx)(fU, {...r,size: n,renderValue: a@@ -56909,10 +56925,10 @@ function sY({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, O.jsx)(fU, {+ children: [/* @__PURE__ */ (0, O.jsx)(pU, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(fU, {+ }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(pU, {id: e.id,children: e.label}, e.id))]@@ -56920,7 +56936,7 @@ function sY({ label: e, options: t, sorting: n, onChange: r }) {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: TU,+ leadingIcon: EU,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -56957,7 +56973,7 @@ function cY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记20,50,100- ].map((e) => /* @__PURE__ */ (0, O.jsx)(fU, {+ ].map((e) => /* @__PURE__ */ (0, O.jsx)(pU, {id: String(e),children: `每页 ${e} ${a}`}, e))@@ -56988,7 +57004,7 @@ function uY(e, t) {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function cve(e, t) {+function dve(e, t) {let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {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];@@ -57020,7 +57036,7 @@ function cve(e, t) {}};}-function lve(e, t, n, r = {}) {+function fve(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]))@@ -57039,7 +57055,7 @@ function dY(e, t, n) {min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = cve(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = lve(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");+ }])), [t]), i = dve(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = fve(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");return {...i,...a,@@ -57059,7 +57075,7 @@ function dY(e, t, n) {}//#endregion//#region src/react/catalog-grid/catalog-column-widths.ts-function uve() {+function pve() {return dY("catalog", QJ, {widths: XJ,visibility: ZJ@@ -57067,7 +57083,7 @@ function uve() {}//#endregion//#region src/react/components/rating-stars.tsx-var fY = Rz("star");+var fY = Iz("star");function pY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, O.jsx)("span", {@@ -57108,9 +57124,9 @@ function pY({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {}//#endregion//#region src/react/catalog-grid/catalog-table-controls.tsx-function dve({ item: e, actions: t }) {- let { rating: n } = e, r = AH(), i = (0, D.useRef)(0), a = IM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- NM(e.id, { rating: t }), U.setQueryData(["item", e.id], (e) => e && {+function mve({ item: e, actions: t }) {+ let { rating: n } = e, r = jH(), i = (0, D.useRef)(0), a = FM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ MM(e.id, { rating: t }), U.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -57126,7 +57142,7 @@ function dve({ item: e, actions: t }) {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0- }), r.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ }), r.error ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -57171,18 +57187,18 @@ function hY({ preferences: e, label: t = "表格" }) {onClick: () => i(!0),children: "显示列"}),- /* @__PURE__ */ (0, O.jsx)(rR, {+ /* @__PURE__ */ (0, O.jsx)(tR, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "bottom end",offset: 4,- className: `${XB} overscroll-contain`,- children: /* @__PURE__ */ (0, O.jsxs)(CH, {+ className: `${JB} overscroll-contain`,+ children: /* @__PURE__ */ (0, O.jsxs)(wH, {"aria-label": `${t}显示列`,className: "flex w-48 flex-col gap-2 outline-none",children: [- a.map((t) => /* @__PURE__ */ (0, O.jsx)(rV, {+ a.map((t) => /* @__PURE__ */ (0, O.jsx)(tV, {isSelected: e.visibility[t.id] !== !1,onChange: (n) => e.change((e) => ({...e,@@ -57216,7 +57232,7 @@ function hY({ preferences: e, label: t = "表格" }) {}function gY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, O.jsx)(gde, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, O.jsx)(vde, { "aria-label": `调整${n.label}列宽` }) : null;}//#endregion//#region src/react/components/table-selection-header.tsx@@ -57229,7 +57245,7 @@ function _Y(e, t) {}function vY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {let { all: i, some: a } = _Y(e, n);- return /* @__PURE__ */ (0, O.jsx)(rV, {+ return /* @__PURE__ */ (0, O.jsx)(tV, {slot: null,"aria-label": t,isDisabled: r,@@ -57243,12 +57259,12 @@ function vY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {}//#endregion//#region src/react/catalog-grid/catalog-list-page.tsx-var fve = Yq({+var hve = Yq({rowSortingFeature: qJ,rowSelectionFeature: PJ,rowPaginationFeature: pJ,columnVisibilityFeature: rJ-}), pve = [+}), gve = [{id: "name",label: "名称"@@ -57286,8 +57302,8 @@ var fve = Yq({label: "观看时间"}], yY = /* @__PURE__ */ new Map();-function mve(e) {- let t = uve(), n = jW(), r = gM(e.filters || {}, !1), [i] = (0, D.useState)(() => {+function _ve(e) {+ let t = pve(), n = MW(), r = hM(e.filters || {}, !1), [i] = (0, D.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, D.useState)(() => yY.get(i) || {@@ -57324,9 +57340,9 @@ function mve(e) {let i = new URLSearchParams(r);return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), V(`/api/items?${i}`, t);}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : sK(f, e.layout.javImage), [h] = (0, D.useState)(tY);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : cK(f, e.layout.javImage), [h] = (0, D.useState)(tY);(0, D.useEffect)(() => {- d.data && !d.isPlaceholderData && ave(m.length > 0);+ d.data && !d.isPlaceholderData && cve(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -57359,7 +57375,7 @@ function mve(e) {c.pageIndex]);let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = JJ({- features: fve,+ features: hve,columns: (0, D.useMemo)(() => {let t = Jq();return t.columns([@@ -57370,7 +57386,7 @@ function mve(e) {label: "全选本页作品",disabled: d.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(rV, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(tV, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: d.isPlaceholderData,@@ -57382,7 +57398,7 @@ function mve(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(hve, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(vve, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -57439,7 +57455,7 @@ function mve(e) {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(dve, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(mve, {item: t.original,actions: e.actions})@@ -57528,7 +57544,7 @@ function mve(e) {"data-toolbar-actions": "",children: [/* @__PURE__ */ (0, O.jsx)(hY, { preferences: t }), /* @__PURE__ */ (0, O.jsx)(sY, {label: "作品列表",- options: pve,+ options: gve,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -57538,11 +57554,11 @@ function mve(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, O.jsx)(cK, {+ }) : null : /* @__PURE__ */ (0, O.jsx)(lK, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, O.jsx)(uW, {+ d.isError ? /* @__PURE__ */ (0, O.jsx)(dW, {message: Ut(d.error),onRetry: () => void d.refetch()}) : null,@@ -57563,42 +57579,42 @@ function mve(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, O.jsxs)(GR, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(KR, {+ children: [/* @__PURE__ */ (0, O.jsxs)(UR, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(WR, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {className: "flex items-center gap-0.5",- children: [pK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, O.jsx)("span", {+ children: [mK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, O.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, O.jsx)(qB, {})+ children: /* @__PURE__ */ (0, O.jsx)(GB, {})}) : null]}), /* @__PURE__ */ (0, O.jsx)(gY, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, O.jsx)(KR, {+ }, e.id)), /* @__PURE__ */ (0, O.jsx)(WR, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, O.jsx)(YR, {+ })] }), /* @__PURE__ */ (0, O.jsx)(qR, {renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsxs)(QR, {+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsxs)(XR, {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(ez, { children: /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: nY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, O.jsx)(ez, { "data-table-space": "" })]- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, O.jsxs)(QR, {+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(QR, { children: /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: nY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, O.jsx)(QR, { "data-table-space": "" })]+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, O.jsxs)(XR, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"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, O.jsx)(ez, { children: pK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, O.jsx)(ez, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(QR, { children: mK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, O.jsx)(QR, { "data-table-space": "" })]}, e.id))})]})@@ -57614,8 +57630,8 @@ function mve(e) {]});}-function hve({ item: e, props: t, disabled: n }) {- let r = Ga(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = UW(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = jW({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, O.jsx)("svg", {+function vve({ item: e, props: t, disabled: n }) {+ let r = Ga(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = WW(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = MW({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })@@ -57640,7 +57656,7 @@ function hve({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, O.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, O.jsx)(dW, {+ r.html ? /* @__PURE__ */ (0, O.jsx)(fW, {artwork: r,relayout: (e) => tl(e, "small")}) : /* @__PURE__ */ (0, O.jsx)("span", { children: "无预览" }),@@ -57695,7 +57711,7 @@ function hve({ item: e, props: t, disabled: n }) {children: [p?.name ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-list-library": "",title: `媒体库:${p.name}`,- children: [/* @__PURE__ */ (0, O.jsx)(qH, { mark: p.icon }), p.name]+ children: [/* @__PURE__ */ (0, O.jsx)(JH, { mark: p.icon }), p.name]}) : null, u]})]})@@ -57705,12 +57721,12 @@ function hve({ item: e, props: t, disabled: n }) {//#endregion//#region src/react/catalog-grid/catalog-grid-page.tsxfunction bY(e) {- let t = hM();- if (e.mode === "items") return /* @__PURE__ */ (0, O.jsx)(_ve, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${gM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return t === "list" && !e.wall ? /* @__PURE__ */ (0, O.jsx)(mve, { ...e }, n) : /* @__PURE__ */ (0, O.jsx)(vve, { ...e }, n);+ let t = mM();+ if (e.mode === "items") return /* @__PURE__ */ (0, O.jsx)(bve, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${hM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, O.jsx)(_ve, { ...e }, n) : /* @__PURE__ */ (0, O.jsx)(xve, { ...e }, n);}-function gve({ name: e }) {+function yve({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -57733,8 +57749,8 @@ function xY({ children: e, selectMode: t }) {children: e});}-function _ve(e) {- let { actions: t } = e, n = (0, D.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, O.jsx)(ZW, {+function bve(e) {+ let { actions: t } = e, n = (0, D.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, O.jsx)(QW, {item: i,variant: r,layout: e.layout,@@ -57753,8 +57769,8 @@ function _ve(e) {children: i});}-function vve(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? CM(e) : SM(e), [s] = (0, D.useState)(() => e.wall ? TM(o.queryKey) : void 0), c = s || (i && e.initial ? {+function xve(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? SM(e) : xM(e), [s] = (0, D.useState)(() => e.wall ? wM(o.queryKey) : void 0), c = s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -57775,7 +57791,7 @@ function vve(e) {(0, D.useEffect)(() => {l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));}, [l.isPending]);- let { tiles: d, pageStarts: f } = (0, D.useMemo)(() => kM(l.data?.pages || [], {+ let { tiles: d, pageStarts: f } = (0, D.useMemo)(() => OM(l.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -57785,7 +57801,7 @@ function vve(e) {e.mix,a,r.javImage- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || LG(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && OG(e.item) ? [e.item] : []), v = a ? [] : sK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = lW(l.isPending, e.skeletonHtml), b = (0, D.useRef)(null), x = yve(e, l.data, d, f, b);+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || RG(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && kG(e.item) ? [e.item] : []), v = a ? [] : cK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = uW(l.isPending, e.skeletonHtml), b = (0, D.useRef)(null), x = Sve(e, l.data, d, f, b);(0, D.useLayoutEffect)(() => {if (!l.data) return;let t = !0;@@ -57812,12 +57828,12 @@ function vve(e) {let C = (0, D.useCallback)((e, t) => n.open(e, t), [n]), w = (0, D.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, D.useCallback)((e) => n.openShort(e), [n]), E = (0, D.useCallback)(async () => {let e = await l.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)(xve, {+ }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)(wve, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, O.jsx)(ZW, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, O.jsx)(QW, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -57835,10 +57851,10 @@ function vve(e) {"data-grid-reveal": y.fading ? "" : void 0,children: [!e.wall && y.layer,- /* @__PURE__ */ (0, O.jsx)(cK, { assetIds: v }),+ /* @__PURE__ */ (0, O.jsx)(lK, { assetIds: v }),(() => {- if (g && e.wall) return /* @__PURE__ */ (0, O.jsx)($G, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${gM(e.filters || {}, !!e.excludeVertical)}`,+ if (g && e.wall) return /* @__PURE__ */ (0, O.jsx)(eK, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${hM(e.filters || {}, !!e.excludeVertical)}`,items: _,finite: h,hasMore: !!l.hasNextPage,@@ -57846,7 +57862,7 @@ function vve(e) {loading: l.isPending || !l.data && l.isFetching,error: !l.data && !l.isPending ? Ut(l.error) : "",retry: () => void l.refetch(),- emptyHtml: l.data && !_.length ? iK({+ emptyHtml: l.data && !_.length ? aK({libraryEmpty: !!l.data.pages[0]?.libraryEmpty,matches: m,hasMore: !!l.hasNextPage,@@ -57861,7 +57877,7 @@ function vve(e) {javImage: r.javImage}, h ? "finite" : "explore");if (l.isPending) return null;- if (!l.data) return /* @__PURE__ */ (0, O.jsx)(uW, {+ if (!l.data) return /* @__PURE__ */ (0, O.jsx)(dW, {message: Ut(l.error),onRetry: () => void l.refetch()});@@ -57878,7 +57894,7 @@ function vve(e) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: MM(d, x).map((t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(xY, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, O.jsx)(bve, {+ children: jM(d, x).map((t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(xY, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, O.jsx)(Cve, {cut: t.strip,props: e,onOpen: T@@ -57934,7 +57950,7 @@ function SY({ entity: e, load: t, enabled: n, children: r }) {if (!e) return;let t = new IntersectionObserver((e) => {e.some((e) => e.isIntersecting) && d(!1);- }, { rootMargin: cW });+ }, { rootMargin: lW });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -57957,12 +57973,12 @@ function SY({ entity: e, load: t, enabled: n, children: r }) {hidden: !!c.error,onClick: () => void d(!0),dangerouslySetInnerHTML: { __html: is(rs) }- }), c.error ? /* @__PURE__ */ (0, O.jsx)(uW, {+ }), c.error ? /* @__PURE__ */ (0, O.jsx)(dW, {message: c.error,onRetry: () => void d(!0)}) : null] });}-function yve(e, t, n, r, i) {+function Sve(e, t, n, r, i) {let [a, o] = (0, D.useState)([]), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(0), u = (0, D.useRef)(0), d = (0, D.useRef)({parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()@@ -57974,7 +57990,7 @@ function yve(e, t, n, r, i) {let r = new AbortController();f.current.push(r);let i = n - 1;- V(`/api/items?${jM(e.filters || {}, l.current)}`, r.signal).then((e) => {+ V(`/api/items?${AM(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];t.length ? c({page: i,@@ -57986,9 +58002,9 @@ function yve(e, t, n, r, i) {}, [t]), (0, D.useLayoutEffect)(() => {if (!s) return;c(null);- let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = AM(n.length - t, m, p);+ let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = kM(n.length - t, m, p);if (!h.length) return;- let g = EM(s.items, d.current, e.groupCollapse !== !1);+ let g = TM(s.items, d.current, e.groupCollapse !== !1);if (l.current = s.more ? l.current + 18 : 0, !g.length) return;let _ = t + (h[Math.floor(Math.random() * h.length)] ?? 0);o((e) => [...e, {@@ -57998,7 +58014,7 @@ function yve(e, t, n, r, i) {}]);}, [s]), a;}-function bve({ cut: e, props: t, onOpen: n }) {+function Cve({ cut: e, props: t, onOpen: n }) {let r = (0, D.useRef)(null), { wireDrag: i } = t;return (0, D.useEffect)(() => {r.current && i(r.current);@@ -58014,12 +58030,12 @@ function bve({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, O.jsx)(gve, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, O.jsx)(yve, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, O.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, O.jsx)(ZW, {+ children: e.items.map((e) => /* @__PURE__ */ (0, O.jsx)(QW, {item: e,variant: "short",layout: t.layout,@@ -58037,14 +58053,14 @@ function bve({ cut: e, props: t, onOpen: n }) {function CY(e, t, n) {return Ka(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function xve({ seed: e, layout: t, helpers: n, actions: r }) {+function wve({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, D.useRef)(/* @__PURE__ */ new Map()), a = (0, D.useRef)(t);a.current = t;let o = Qa(e, n.tagLabel), s = (0, D.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => DM(e, t.javImage)).slice(0, 9);+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => EM(e, t.javImage)).slice(0, 9);return i.current = new Map(n.map((e) => [String(e.id), CY(e, t, !0).html])), n.map((e) => String(e.id));}, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = CY(e, t, !1);- return /* @__PURE__ */ (0, O.jsx)(sG, {+ return /* @__PURE__ */ (0, O.jsx)(cG, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -58059,7 +58075,7 @@ function xve({ seed: e, layout: t, helpers: n, actions: r }) {size: "small"}, !1).html,relayoutArt: (e) => tl(e, c),- ratio: HW(e, "grid", t),+ ratio: UW(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -58077,31 +58093,31 @@ async function wY(e) {queryFn: () => Vn(e)});}-var Sve = (e) => (e?.sources ?? []).filter((e) => Bt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Cve = "/api/duplicates?limit=120", TY = ["duplicates"], EY = "/api/batch", DY = (e) => V(Cve, e), wve = /[\s\-_.()[\]【】/\\]/;-function Tve(e) {+var Tve = (e) => (e?.sources ?? []).filter((e) => Bt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Eve = "/api/duplicates?limit=120", TY = ["duplicates"], EY = "/api/batch", DY = (e) => V(Eve, e), Dve = /[\s\-_.()[\]【】/\\]/;+function Ove(e) {if (e.length < 2) return "";let t = 0, n = e[0];for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));let r = t;- for (; r > 0 && !wve.test(n[r - 1]);) --r;+ for (; r > 0 && !Dve.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var Eve = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function Dve(e) {+var kve = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function Ave(e) {await Promise.all([U.fetchQuery({queryKey: TY,queryFn: () => DY(e)}), wY(e)]);}-var Ove = {+var jve = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, kve = (e, t) => t.filter((t) => e.some((e) => e.location === t)), OY = (e, t) => kve(e, t).filter((t) => e.some((e) => e.location !== t)), Ave = (e, t) => t.filter((t) => e.some((e) => OY(e.files, [t]).length));-function jve(e, t) {+}, Mve = (e, t) => t.filter((t) => e.some((e) => e.location === t)), OY = (e, t) => Mve(e, t).filter((t) => e.some((e) => e.location !== t)), Nve = (e, t) => t.filter((t) => e.some((e) => OY(e.files, [t]).length));+function Pve(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -58120,11 +58136,11 @@ function jve(e, t) {}return n;}-function Mve(e, t) {+function Fve(e, t) {let n = new Set(t);return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);}-async function Nve(e, t) {+async function Ive(e, t) {for (let n = 0; n < e.length; n += 200) await H(EY, {ids: e.slice(n, n + 200),operation: t,@@ -58133,7 +58149,7 @@ async function Nve(e, t) {}//#endregion//#region src/react/media-repair/media-repair.ts-var kY = "/api/media-repair", AY = ["media-repair"], jY = ["media-repair", "libraries"], Pve = {+var kY = "/api/media-repair", AY = ["media-repair"], jY = ["media-repair", "libraries"], Lve = {status: "idle",library: "",stage: "",@@ -58146,7 +58162,7 @@ var kY = "/api/media-repair", AY = ["media-repair"], jY = ["media-repair", "librskipped: 0,message: ""}, MY = (e) => V(kY, e), NY = async (e) => (await V("/api/libraries", e)).libraries || [];-async function Fve(e) {+async function Rve(e) {await Promise.all([U.fetchQuery({queryKey: AY,queryFn: () => MY(e)@@ -58156,21 +58172,21 @@ async function Fve(e) {})]);}var PY = (e) => Number(e).toLocaleString();-function Ive(e) {+function zve(e) {if (e.status === "running") {let t = e.total ? `${PY(Math.min(e.checked || 0, e.total))} / ${PY(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${PY(e.repaired)} 部,${PY(e.failed)} 部修不了` : `修好 ${PY(e.repaired)} 部` : "";}-var Lve = (e) => `${PY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Rve = "/api/quality-goals?limit=200", FY = ["quality-goals"], IY = (e) => V(Rve, e);-async function zve(e) {+var Bve = (e) => `${PY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Vve = "/api/quality-goals?limit=200", FY = ["quality-goals"], IY = (e) => V(Vve, e);+async function Hve(e) {await U.fetchQuery({queryKey: FY,queryFn: () => IY(e)});}-var Bve = (e) => e.has_cover ? Aa(e) : `/poster?id=${e.id}&c=4`;+var Uve = (e) => e.has_cover ? Aa(e) : `/poster?id=${e.id}&c=4`;//#endregion//#region src/selection.tsfunction LY(e, t, n, r, i, a = i || !e.has(r)) {@@ -58179,7 +58195,7 @@ function LY(e, t, n, r, i, a = i || !e.has(r)) {}//#endregion//#region src/react/review/review.ts-var Vve = "/api/review", Hve = "/api/review/decision", Uve = "/api/review/genre", RY = ["review"], zY = {+var Wve = "/api/review", Gve = "/api/review/decision", Kve = "/api/review/genre", RY = ["review"], zY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -58189,11 +58205,11 @@ var Vve = "/api/review", Hve = "/api/review/decision", Uve = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, Wve = Object.keys(zY), Gve = "metadata_fields", BY = (e) => typeof e == "string" && Object.hasOwn(zY, e), Kve = {+}, qve = Object.keys(zY), Jve = "metadata_fields", BY = (e) => typeof e == "string" && Object.hasOwn(zY, e), Yve = {creator_tags: "creator",western_identity: "creator"};-function qve(e, t) {+function Xve(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;}@@ -58214,10 +58230,10 @@ function VY(e, t) {}return [...n.values()];}-function Jve(e, t, n) {+function Zve(e, t, n) {return n && VY(e, t).find((e) => e.key === n)?.rows || e;}-function Yve(e, t) {+function Qve(e, t) {let n = Ln(e.length, 20), r = Rn(t, n);return {page: r,@@ -58225,32 +58241,32 @@ function Yve(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function Xve(e) {+function $ve(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 Zve(e, t, n, r, i, a) {+function eye(e, t, n, r, i, a) {return LY(e, t, n, r, i, a);}-function Qve(e, t) {+function tye(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}function HY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}var UY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function $ve(e, t) {+function nye(e, t) {let n = HY(e, t), r = UY(e, t);return r ? `${n} · ${r}` : n;}-var eye = (e) => e.reason || e.evidence || e.note || e.decision_note || "", tye = (e) => String(e.tags || "").split("|").filter(Boolean), nye = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function rye(e) {+var rye = (e) => e.reason || e.evidence || e.note || e.decision_note || "", iye = (e) => String(e.tags || "").split("|").filter(Boolean), aye = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function oye(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function iye(e, t, n, r) {+function sye(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -58266,9 +58282,9 @@ function iye(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var aye = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", WY = (e) => V(Vve, e);-async function oye(e) {- let t = await H(Hve, e);+var cye = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", WY = (e) => V(Wve, e);+async function lye(e) {+ let t = await H(Gve, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;U.setQueryData(RY, (t) => t && {@@ -58287,20 +58303,20 @@ async function oye(e) {}return t;}-function sye(e, t) {+function uye(e, t) {return U.getQueryData(RY)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;}-var cye = (e, t) => H(Uve, {+var dye = (e, t) => H(Kve, {genre: e,tag: t});-async function lye(e) {+async function fye(e) {await U.fetchQuery({queryKey: RY,queryFn: () => WY(e)});}-function uye(e, t) {+function pye(e, t) {let n = new Set(t);n.size && U.setQueryData(RY, (t) => {if (!t) return t;@@ -58318,16 +58334,16 @@ function uye(e, t) {};});}-var dye = () => U.invalidateQueries({+var mye = () => U.invalidateQueries({queryKey: RY,exact: !0});-function fye(e, t) {+function hye(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Wn(e.fetched_at)} 的缓存` : e?.error || t;}//#endregion//#region src/react/data-cleanup/links.ts-var pye = "/api/links", GY = "/api/links/check", KY = "/api/links/prune", qY = ["links"], JY = ["links", "check"], YY = ["links", "prune"], mye = {+var gye = "/api/links", GY = "/api/links/check", KY = "/api/links/prune", qY = ["links"], JY = ["links", "check"], YY = ["links", "prune"], _ye = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",@@ -58338,23 +58354,23 @@ async function XY(e) {if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var ZY = (e) => V(pye, e), QY = (e) => H(GY, { status_only: !0 }, "POST", e), hye = ({ retry: e, checkId: t }) => XY(H(GY, e ? {+var ZY = (e) => V(gye, e), QY = (e) => H(GY, { status_only: !0 }, "POST", e), vye = ({ retry: e, checkId: t }) => XY(H(GY, e ? {retry: e,check_id: t-} : { restart: !0 })), $Y = (e) => V(KY, e), gye = ({ checkId: e, ids: t }) => XY(H(KY, {+} : { restart: !0 })), $Y = (e) => V(KY, e), yye = ({ checkId: e, ids: t }) => XY(H(KY, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), eX = (e) => Number(e || 0).toLocaleString(), _ye = (e) => `已删除 ${eX(e.removed)} 条;${e.marked ? `已隐退女优的 ${eX(e.marked)} 条留作不可点的记录;` : ""}保留 ${eX(e.recovered)} 条未确认失效的链接。`;-function vye(e) {+})), eX = (e) => Number(e || 0).toLocaleString(), bye = (e) => `已删除 ${eX(e.removed)} 条;${e.marked ? `已隐退女优的 ${eX(e.marked)} 条留作不可点的记录;` : ""}保留 ${eX(e.recovered)} 条未确认失效的链接。`;+function xye(e) {let t = e.scope === "retry";return e.total ? `${t ? "已重验" : "已检查"} ${eX(e.checked)} / ${eX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}//#endregion//#region src/configuration-endpoints.ts-var tX = "/api/configuration", nX = "/api/pick-folder", rX = "/api/settings", iX = "/api/follow/schedule", aX = "/api/feeds/schedule", oX = "/api/thumbnail-jobs", sX = ["settings"], cX = ["follow-schedule"], lX = ["feed-schedule"], uX = ["thumbnail-jobs"], dX = "/api/media-processing", yye = ["media-processing"], bye = (e) => V(dX, e), fX = (e) => V(rX, e), xye = (e) => V(iX, e), Sye = (e) => V(aX, e), Cye = (e) => V(oX, e);-function wye(e = U) {+var tX = "/api/configuration", nX = "/api/pick-folder", rX = "/api/settings", iX = "/api/follow/schedule", aX = "/api/feeds/schedule", oX = "/api/thumbnail-jobs", sX = ["settings"], cX = ["follow-schedule"], lX = ["feed-schedule"], uX = ["thumbnail-jobs"], dX = "/api/media-processing", Sye = ["media-processing"], Cye = (e) => V(dX, e), fX = (e) => V(rX, e), wye = (e) => V(iX, e), Tye = (e) => V(aX, e), Eye = (e) => V(oX, e);+function Dye(e = U) {return e.fetchQuery({queryKey: sX,queryFn: ({ signal: e }) => fX(e),@@ -58367,7 +58383,7 @@ function pX() {onSuccess: (e) => U.setQueryData(sX, e)});}-function Tye() {+function Oye() {return Ct({mutationFn: (e) => H(iX, {enabled: e > 0,@@ -58376,7 +58392,7 @@ function Tye() {onSuccess: (e) => U.setQueryData(cX, e)});}-var Eye = {+var kye = {follow: {url: `${iX}/run`,key: cX@@ -58386,15 +58402,15 @@ var Eye = {key: lX}};-function Dye(e) {- let { url: t, key: n } = Eye[e];+function Aye(e) {+ let { url: t, key: n } = kye[e];return Ct({mutationFn: () => H(t, {}),onSuccess: (e) => U.setQueryData(n, e)});}-var Oye = (e) => e?.running ? 3e3 : !1;-function kye() {+var jye = (e) => e?.running ? 3e3 : !1;+function Mye() {return Ct({mutationFn: (e) => H(oX, { mode: e }),onSuccess: (e) => U.setQueryData(uX, e)@@ -58402,21 +58418,21 @@ function kye() {}//#endregion//#region src/react/data-cleanup/organize.ts-var Aye = "/api/organize", jye = "/api/organize/preview", Mye = "/api/organize/apply", Nye = "/api/organize/rollback", mX = ["organize"], Pye = "/api/organize/example", Fye = (e, t, n) => V(`${Pye}?${new URLSearchParams({+var Nye = "/api/organize", Pye = "/api/organize/preview", Fye = "/api/organize/apply", Iye = "/api/organize/rollback", mX = ["organize"], Lye = "/api/organize/example", Rye = (e, t, n) => V(`${Lye}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), hX = (e) => V(Aye, e);-async function Iye(e) {+})}`, n), hX = (e) => V(Nye, e);+async function zye(e) {await U.fetchQuery({queryKey: mX,queryFn: () => hX(e)});}-var Lye = (e) => H(jye, e), Rye = (e) => H(nX, { initial: e }), zye = (e) => e.kind === "apply" ? H(Mye, {+var Bye = (e) => H(Pye, e), Vye = (e) => H(nX, { initial: e }), Hye = (e) => e.kind === "apply" ? H(Fye, {...e.request,confirm: !0-}) : H(Nye, { confirm: !0 });-async function Bye(e) {+}) : H(Iye, { confirm: !0 });+async function Uye(e) {U.setQueryData(mX, (t) => t && {...t,templates: e@@ -58425,20 +58441,20 @@ async function Bye(e) {await H(rX, { organizeTemplates: e });} catch {}}-var Vye = (e, t) => e && {+var Wye = (e, t) => e && {...e,...t-}, Hye = /目录模板|分隔符|盘符|`\.`/;-function Uye(e) {+}, Gye = /目录模板|分隔符|盘符|`\.`/;+function Kye(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}var gX = (e) => Number(e || 0).toLocaleString();-function Wye(e) {+function qye(e) {let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${gX(t)}`).join(" · ");return Number(e.counts?.change || 0) ? `${gX(e.counts.change)} 个文件会改名或移动,${gX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function Gye(e) {+function Jye(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {text: t ? `已退回 ${gX(r)} 个文件${n ? `,${gX(n)} 行未能退回` : ""}。` : `已整理 ${gX(r)} 个文件${n ? `,${gX(n)} 行未能处理` : ""}。`,@@ -58448,36 +58464,36 @@ function Gye(e) {}//#endregion//#region src/react/data-cleanup/orphan-records.ts-var Kye = "/api/orphan-records", qye = "/api/orphan-records/attach", _X = ["orphan-records"], Jye = [+var Yye = "/api/orphan-records", Xye = "/api/orphan-records/attach", _X = ["orphan-records"], Zye = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], vX = (e) => V(Kye, e), Yye = (e, t) => H(qye, {+], vX = (e) => V(Yye, e), Qye = (e, t) => H(Xye, {id: e,target: t-}), Xye = (e) => H(EY, {+}), $ye = (e) => H(EY, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), Zye = (e) => [+}), ebe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], Qye = (e) => [...Jye.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Zye(e)].filter(Boolean).join(" · "), $ye = (e) => e ? `${Math.round(e / 60)} 分钟` : "", ebe = (e) => [e.name, $ye(e.duration)].filter(Boolean).join(" · "), yX = "/api/resource-sync/scan", bX = "/api/resource-sync/apply", xX = ["resource-sync", "scan"], SX = ["resource-sync", "apply"], CX = (e) => H(yX, {+], tbe = (e) => [...Zye.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...ebe(e)].filter(Boolean).join(" · "), nbe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", rbe = (e) => [e.name, nbe(e.duration)].filter(Boolean).join(" · "), yX = "/api/resource-sync/scan", bX = "/api/resource-sync/apply", xX = ["resource-sync", "scan"], SX = ["resource-sync", "apply"], CX = (e) => H(yX, {background: !0,status_only: !0-}, "POST", e), tbe = () => H(yX, {+}, "POST", e), ibe = () => H(yX, {background: !0,restart: !0-}), wX = (e) => V(bX, e), nbe = (e) => H(bX, {+}), wX = (e) => V(bX, e), abe = (e) => H(bX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0}), TX = (e) => (e?.sources ?? []).some((e) => zt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function rbe(e) {+async function obe(e) {TX(U.getQueryData(Bn)) && await Promise.all([U.fetchQuery({queryKey: xX,queryFn: () => CX(e)@@ -58486,7 +58502,7 @@ async function rbe(e) {queryFn: () => wX(e)})]);}-var ibe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), EX = (e) => Number(e || 0).toLocaleString(), abe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", DX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), OX = (e) => e.vanish ? `${EX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", kX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", obe = (e) => `将永久删除文件已不在盘上的 ${EX(DX(e))} 条记录和 ${EX(e.empty)} 个空文件夹,并清理 ${EX(e.cache?.files)} 个闲置缓存。${kX(e)}${OX(e)}`, sbe = (e) => `将永久删除文件已不在盘上的 ${EX(DX(e))} 条记录(含回收站里的)、${EX(e.empty)} 个空文件夹,并清理 ${EX(e.cache?.files)} 个闲置缓存。来源根目录保留。${kX(e)}${OX(e)}`, cbe = (e) => e.online ? [+var sbe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), EX = (e) => Number(e || 0).toLocaleString(), cbe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", DX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), OX = (e) => e.vanish ? `${EX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", kX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", lbe = (e) => `将永久删除文件已不在盘上的 ${EX(DX(e))} 条记录和 ${EX(e.empty)} 个空文件夹,并清理 ${EX(e.cache?.files)} 个闲置缓存。${kX(e)}${OX(e)}`, ube = (e) => `将永久删除文件已不在盘上的 ${EX(DX(e))} 条记录(含回收站里的)、${EX(e.empty)} 个空文件夹,并清理 ${EX(e.cache?.files)} 个闲置缓存。来源根目录保留。${kX(e)}${OX(e)}`, dbe = (e) => e.online ? [`找不到文件 · 共 ${EX(e.total)} 项`,e.vanish ? `${EX(e.vanish)} 项带个人记录` : "",e.empty ? `空文件夹 ${EX(e.empty)} 个` : ""@@ -58503,33 +58519,33 @@ function AX(e) {].filter(Boolean).join(",")};}-var lbe = (e, t) => {+var fbe = (e, t) => {let { rest: n } = AX(e), r = `已永久删除 ${EX(e.purged)} 条失效记录和 ${EX(e.dirs_removed)} 个空文件夹,清理 ${EX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${EX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${EX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, ube = "/api/review?counts=1", jX = ["review", "counts"], dbe = "/api/ads?limit=1", MX = ["junk-summary"], NX = "/api/items?state=trash&limit=1", PX = ["trash-summary"], fbe = [+}, pbe = "/api/review?counts=1", jX = ["review", "counts"], mbe = "/api/ads?limit=1", MX = ["junk-summary"], NX = "/api/items?state=trash&limit=1", PX = ["trash-summary"], hbe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], FX = (e) => V(ube, e), IX = (e) => V(dbe, e), LX = (e) => {+], FX = (e) => V(pbe, e), IX = (e) => V(mbe, e), LX = (e) => {let t = sessionStorage.getItem("peach.library");return V(t ? `${NX}&library=${encodeURIComponent(t)}` : NX, e);}, RX = (e) => Number(e || 0).toLocaleString();-function pbe(e) {+function gbe(e) {let t = zY, 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(" · ")};}-function mbe(e) {+function _be(e) {if (!e) return "";- let t = fbe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${RX(e.counts[t])}`);+ let t = hbe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${RX(e.counts[t])}`);return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${RX(e.dismissed_total)}`), t.join(" · ");}-var hbe = [+var vbe = [[jX, ({ signal: e }) => FX(e)],[FY, ({ signal: e }) => IY(e)],[PX, ({ signal: e }) => LX(e)],@@ -58538,8 +58554,8 @@ var hbe = [[YY, ({ signal: e }) => $Y(e)],[_X, ({ signal: e }) => vX(e)]];-async function gbe(e) {- let t = !!location.hash, n = hbe.map(([n, r]) => {+async function ybe(e) {+ let t = !!location.hash, n = vbe.map(([n, r]) => {if (t) return U.fetchQuery({queryKey: n,queryFn: () => r({ signal: e })@@ -58559,16 +58575,16 @@ async function gbe(e) {queryKey: TY,queryFn: () => DY(e)}),- wY(e).then(() => rbe(e)),- mH(e),- Fve(e),- Iye(e)+ wY(e).then(() => obe(e)),+ hH(e),+ Rve(e),+ zye(e)]);}//#endregion//#region src/react/feed-new/feed-new.ts-var zX = (e) => ["feed-new", e ?? "home"], _be = 8, vbe = 1500;-function ybe(e, t, n) {+var zX = (e) => ["feed-new", e ?? "home"], bbe = 8, xbe = 1500;+function Sbe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -58579,11 +58595,11 @@ function ybe(e, t, n) {setTimeout(e, n);})]);}-async function bbe(e, t, n) {- let r = new URLSearchParams({ limit: String(iA().value.feedLimit) });+async function Cbe(e, t, n) {+ let r = new URLSearchParams({ limit: String(nA().value.feedLimit) });e && r.set("entity", String(e));let i = await z(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await ybe(s, _be, vbe), {+ return n && o.length && await Sbe(s, bbe, xbe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)@@ -58591,7 +58607,7 @@ async function bbe(e, t, n) {}var BX = (e, t, n = !1) => ({queryKey: zX(e),- queryFn: () => bbe(e, t, n),+ queryFn: () => Cbe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1}), VX = (e, t) => z("/api/feeds/discovery", {@@ -58601,7 +58617,7 @@ var BX = (e, t, n = !1) => ({ids: [e]})}).then(() => void 0, () => void 0);-async function xbe(e) {+async function wbe(e) {U.removeQueries({ queryKey: zX(null) }), await U.fetchQuery(BX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}//#endregion@@ -58626,7 +58642,7 @@ var HX = ["entity",e,t-], Sbe = (e, t, n, r) => [+], Tbe = (e, t, n, r) => ["entity-items",e,t,@@ -58638,7 +58654,7 @@ var HX = [t,n,r-], KX = (e) => String(e || "").split(",").filter(Boolean), Cbe = (e, t) => KX(e).includes(t);+], KX = (e) => String(e || "").split(",").filter(Boolean), Ebe = (e, t) => KX(e).includes(t);function qX(e, t, n, r, i = 0) {let a = new URLSearchParams();a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...KX(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");@@ -58655,7 +58671,7 @@ var YX = (e) => {seed: e.seed}, n = qX(e.kind, e.name, e.filters, t).toString();return {- queryKey: Sbe(e.kind, e.name, n, e.revision),+ queryKey: Tbe(e.kind, e.name, n, e.revision),queryFn: ({ signal: n }) => JX(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};@@ -58664,7 +58680,7 @@ var YX = (e) => {queryFn: ({ signal: n }) => z(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function wbe(e, t, n, r, i, a) {+function Dbe(e, t, n, r, i, a) {let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;if (i) {let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;@@ -58676,7 +58692,7 @@ function wbe(e, t, n, r, i, a) {var ZX = (e, t, n, r) => ({queryKey: GX(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await z(wbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await z(Dbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -58690,7 +58706,7 @@ var ZX = (e, t, n, r) => ({} : void 0,staleTime: Infinity}), QX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function Tbe(e) {+async function Obe(e) {let { kind: t, name: n } = e;for (let e of ["entity",@@ -58718,7 +58734,7 @@ var $X = [["blogger", "网黄博主"],["animation", "动画作者"]], eZ = "mb-4 flex flex-wrap gap-2";-function Ebe(e) {+function kbe(e) {let t = $X.some(([t]) => t === e) ? e : "all";return `<div class="peach-react"><div aria-label="身份分类" class="${eZ}">${$X.map(([e, n]) => Wo({variant: e === t ? "primary" : "secondary",@@ -58729,38 +58745,38 @@ function Ebe(e) {}//#endregion//#region src/react/follow/online-vocab.ts-var Dbe = "/api/follow/authors", Obe = "/api/follow/tags", kbe = (e) => [+var Abe = "/api/follow/authors", jbe = "/api/follow/tags", Mbe = (e) => ["follow","authors",e-], Abe = (e, t) => [+], Nbe = (e, t) => ["follow","tags",e,t];-function jbe(e, t, n) {+function Pbe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${Dbe}?${r}`;+ return e && r.set("q", e), `${Abe}?${r}`;}-function Mbe(e, t, n, r) {+function Fbe(e, t, n, r) {let i = new URLSearchParams({types: "all",limit: String(n),offset: String(r)});- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Obe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${jbe}?${i}`;}-var Nbe = (e, t, n, r) => V(jbe(e, t, n), r), Pbe = (e, t, n, r, i) => V(Mbe(e, t, n, r), i), Fbe = "/api/index", tZ = {+var Ibe = (e, t, n, r) => V(Pbe(e, t, n), r), Lbe = (e, t, n, r, i) => V(Fbe(e, t, n, r), i), Rbe = "/api/index", tZ = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, Ibe = {+}, zbe = {performers: "performer",creators: "creator",studios: "studio",@@ -58831,7 +58847,7 @@ function uZ(e, t, n, r, i) {limit: String(r),offset: String(i)});- return t && a.set("q", t), n !== "all" && a.set("category", n), `${Fbe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${Rbe}?${a}`;}function dZ(e) {let t = e.what === "people" || e.what === "online-authors" ? iZ.people : iZ.tags, n = {@@ -58851,17 +58867,17 @@ function dZ(e) {};case "online-authors": return {...n,- queryKey: kbe(e.q),- queryFn: ({ pageParam: n, signal: r }) => Nbe(e.q, t, n, r)+ queryKey: Mbe(e.q),+ queryFn: ({ pageParam: n, signal: r }) => Ibe(e.q, t, n, r)};case "online-tags": return {...n,- queryKey: Abe(e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => Pbe(e.q, e.category, t, n, r)+ queryKey: Nbe(e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => Lbe(e.q, e.category, t, n, r)};}}-async function Lbe(e, t) {+async function Bbe(e, t) {let n = dZ(cZ(sZ(e)));U.removeQueries({queryKey: n.queryKey,@@ -58876,13 +58892,13 @@ async function Lbe(e, t) {getNextPageParam: n.getNextPageParam});}-var Rbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], zbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, fZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Bbe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Vbe = {+var Vbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Hbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, fZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Ube = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Wbe = {numeric: !0,sensitivity: "base"};function pZ(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Vbe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Wbe))) {let e = xn(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);a ? a.push(r) : n.set(i, [r]);}@@ -58890,7 +58906,7 @@ function pZ(e, t) {}//#endregion//#region src/react/boardui/components/base/badges/chip.tsx-var mZ = tF({+var mZ = eF({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",@@ -58912,7 +58928,7 @@ var mZ = tF({function hZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("span", {ref: r,- className: eF(mZ.base, mZ.variant[e], mZ.color[t], n),+ className: $P(mZ.base, mZ.variant[e], mZ.color[t], n),...i});}@@ -58930,18 +58946,18 @@ function gZ({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var Hbe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Ube = Rz("rss");+var Gbe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Kbe = Iz("rss");function _Z({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: MH({+ className: NH({radius: "plain",padding: "none",interactive: !0,- className: `${Hbe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${Gbe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -58953,7 +58969,7 @@ function _Z({ name: e, readout: t, big: n, children: r, following: i, onPress: achildren: /* @__PURE__ */ (0, O.jsx)(hZ, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, O.jsx)(Ube, {})+ children: /* @__PURE__ */ (0, O.jsx)(Kbe, {})})}) : null,/* @__PURE__ */ (0, O.jsx)("span", {@@ -58977,12 +58993,12 @@ function vZ({ kind: e, items: t, layout: n, props: r }) {"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || Ibe[e], o = r.personAvatar(t, n, a);+ let n = t.entity_kind || zbe[e], o = r.personAvatar(t, n, a);return /* @__PURE__ */ (0, O.jsx)(_Z, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${Bbe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${Ube(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),@@ -58996,7 +59012,7 @@ function vZ({ kind: e, items: t, layout: n, props: r }) {})});}-function Wbe({ items: e, layout: t, props: n }) {+function qbe({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, O.jsx)("div", {"data-index-grid": "",@@ -59060,7 +59076,7 @@ function SZ(e) {}return !1;}-function Gbe() {+function Jbe() {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 = (t) => {@@ -59092,11 +59108,11 @@ function CZ(e) {e.style.setProperty("--board-range-value", `${i}%`);}var wZ = /* @__PURE__ */ new WeakSet();-function Kbe() {+function Ybe() {if (wZ.has(document)) return;wZ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(CZ), Jbe(e), qbe(e);+ e.querySelectorAll("input[type=range]").forEach(CZ), Zbe(e), Xbe(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]") && CZ(t), e(t));@@ -59105,9 +59121,9 @@ function Kbe() {childList: !0}), document.addEventListener("input", (e) => {e.target instanceof HTMLInputElement && e.target.type === "range" && CZ(e.target);- }), Gbe();+ }), Jbe();}-function qbe(e) {+function Xbe(e) {let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-tabs")) return;@@ -59132,7 +59148,7 @@ function qbe(e) {});}var TZ = /* @__PURE__ */ new Map();-function Jbe(e) {+function Zbe(e) {let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;@@ -59165,7 +59181,7 @@ function Jbe(e) {}//#endregion//#region src/react/photo-lightbox/photo-lightbox.ts-var EZ = "/vendor/swiper/14.3.0/", DZ = null, Ybe = () => DZ ??= Promise.all([new Promise((e, t) => {+var EZ = "/vendor/swiper/14.3.0/", DZ = null, Qbe = () => DZ ??= Promise.all([new Promise((e, t) => {let n = `${EZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();@@ -59184,7 +59200,7 @@ var EZ = "/vendor/swiper/14.3.0/", DZ = null, Ybe = () => DZ ??= Promise.all([ne})]).then(([, e]) => e).catch((e) => {throw DZ = null, e;});-function Xbe(e, t, n) {+function $be(e, t, n) {let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {let e = i();return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);@@ -59208,8 +59224,8 @@ function Xbe(e, t, n) {var OZ = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : _n(t)).replace(" ", "\xA0") : "大小未知";-}, Zbe = (e) => e.asset?.name || e.name || "未命名图片";-function Qbe(e, t) {+}, exe = (e) => e.asset?.name || e.name || "未命名图片";+function txe(e, t) {let n = e.asset;if (n) return [Cn[n.location ?? ""] || n.location || "来源未知", OZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";@@ -59221,31 +59237,31 @@ function Qbe(e, t) {}//#endregion//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx-var kZ = null, AZ = null, $be = 0;-function exe() {+var kZ = null, AZ = null, nxe = 0;+function rxe() {return (!AZ || !kZ?.isConnected) && (AZ?.unmount(), kZ = document.createElement("div"), kZ.className = "peach-react", kZ.dataset.photoLightboxHost = "", document.body.append(kZ), AZ = (0, Et.createRoot)(kZ)), AZ;}async function jZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await Ybe();+ r = await Qbe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = exe();- (0, Tt.flushSync)(() => i.render(/* @__PURE__ */ (0, O.jsx)(txe, {+ let i = rxe();+ (0, Tt.flushSync)(() => i.render(/* @__PURE__ */ (0, O.jsx)(ixe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++$be)));+ }, ++nxe)));}function MZ() {AZ && (0, Tt.flushSync)(() => AZ.render(null));}-function txe({ slides: e, index: t, Swiper: n, host: r }) {+function ixe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, D.useId)(), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), [_, v] = (0, D.useState)(t), [y, b] = (0, D.useState)(100), [x, S] = (0, D.useState)({}), [C, w] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, D.useState)(!1), [j, M] = (0, D.useState)({at: t,text: ""@@ -59288,7 +59304,7 @@ function txe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = Xbe(e, a, b);+ i(t, 0), h.current = $be(e, a, b);let m = gc(e, f.current, p.current), _ = (e = !1) => {m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();};@@ -59489,10 +59505,10 @@ function txe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: Zbe(N)+ children: exe(N)}, _), /* @__PURE__ */ (0, O.jsx)("span", {"data-photo-detail-meta": "",- children: Qbe(N, x[_])+ children: txe(N, x[_])})]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -59531,17 +59547,17 @@ function txe({ slides: e, index: t, Swiper: n, host: r }) {}//#endregion//#region src/react/entity-body/entity-body-page.tsx-function nxe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, O.jsx)(rxe, {+function axe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, O.jsx)(oxe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, O.jsx)(ixe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, O.jsx)(sxe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, O.jsx)(sxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, O.jsx)(uxe, {photos: e.photos,props: e}, e.photos.revision) : null;}var NZ = iZ.people;-function rxe({ roster: e, props: t }) {+function oxe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, D.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity@@ -59559,8 +59575,8 @@ function rxe({ roster: e, props: t }) {enabled: () => !0}, a) : null] });}-function ixe(e) {- let t = lW(!e.items, e.skeletonHtml);+function sxe(e) {+ let t = uW(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,@@ -59584,14 +59600,14 @@ function ixe(e) {}) : null]});}-var axe = (e) => Array.from({ length: e.n }, (t, n) => ({+var cxe = (e) => Array.from({ length: e.n }, (t, n) => ({sample: !0,code: e.code,position: n + 1,total: e.n,name: `${e.code} 样张 ${n + 1}`,source: e.site_label || "官方样张"-})), PZ = (e) => e.sample === !0, FZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, IZ = (e) => PZ(e) ? `/sample-thumb?${FZ(e)}` : `/photo-thumb?id=${e.id}`, oxe = (e) => PZ(e) ? {+})), PZ = (e) => e.sample === !0, FZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, IZ = (e) => PZ(e) ? `/sample-thumb?${FZ(e)}` : `/photo-thumb?id=${e.id}`, lxe = (e) => PZ(e) ? {src: `/sample-image?${FZ(e)}`,thumb: IZ(e),name: e.name,@@ -59603,14 +59619,14 @@ var axe = (e) => Array.from({ length: e.n }, (t, n) => ({name: e.name || "",asset: e};-function sxe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, D.useMemo)(() => [...e.codeSets.flatMap(axe), ...e.items], [e]), [s, c] = (0, D.useState)(() => /* @__PURE__ */ new Set()), l = (0, D.useCallback)((e) => c((t) => {+function uxe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, D.useMemo)(() => [...e.codeSets.flatMap(cxe), ...e.items], [e]), [s, c] = (0, D.useState)(() => /* @__PURE__ */ new Set()), l = (0, D.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, D.useCallback)((e) => {- jZ(e, o.map(oxe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, O.jsx)(cxe, {+ jZ(e, o.map(lxe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, O.jsx)(dxe, {item: e,index: t,lost: s.has(t),@@ -59673,7 +59689,7 @@ function LZ({ label: e, title: t, meta: n }) {]});}-function cxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function dxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -59693,9 +59709,9 @@ function cxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {}//#endregion//#region src/react/background-job.ts-var lxe = 2e3, uxe = (e) => e, dxe = (e, t) => t;+var fxe = 2e3, pxe = (e) => e, mxe = (e, t) => t;function RZ(e) {- let { queryKey: t, jobOf: n = uxe, withJob: r = dxe, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);+ let { queryKey: t, jobOf: n = pxe, withJob: r = mxe, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);(0, D.useEffect)(() => {l.current = e;});@@ -59704,7 +59720,7 @@ function RZ(e) {queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? lxe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? fxe : i ?? !1;}}), d = Ct({mutationFn: (e) => l.current.start(e),@@ -59730,12 +59746,12 @@ function RZ(e) {//#endregion//#region src/react/follow-feed/follow-check.tsvar zZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function fxe(e, t) {+function hxe(e, t) {return t ? zZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}//#endregion//#region src/react/follow-feed/follow-check-button.tsx-function pxe({ sources: e, report: t }) {+function gxe({ sources: e, report: t }) {let n = zZ(e), [r, i] = (0, D.useState)(""), { running: a, start: o } = RZ({queryKey: or,queryFn: ({ signal: e }) => zr(e),@@ -59750,12 +59766,12 @@ function pxe({ sources: e, report: t }) {children: [/* @__PURE__ */ (0, O.jsx)(J, {size: "small",disabled: !n.length,- ...Bz(s),+ ...Rz(s),onClick: () => {n.length && !s && (i(""), o.mutate(n));},children: "检查更新"- }), r ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ }), r ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: r}) : null]@@ -59763,7 +59779,7 @@ function pxe({ sources: e, report: t }) {}//#endregion//#region src/react/follow-feed/follow-card.tsx-var mxe = (e) => Number(e) > 0;+var _xe = (e) => Number(e) > 0;function BZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, O.jsx)("a", {...r,@@ -59776,9 +59792,9 @@ function BZ({ name: e, actions: t, children: n, ...r }) {}var VZ = ({ provider: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: kU(e) }+ dangerouslySetInnerHTML: { __html: AU(e) }});-function hxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function vxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, D.useState)(!1), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(null);return (0, D.useEffect)(() => {c(!1);@@ -59801,8 +59817,8 @@ function hxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function gxe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Li(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => sge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? zi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Vi({+function yxe(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Li(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => lge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? zi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Vi({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -59810,7 +59826,7 @@ function gxe(e) {limit: 9}), S = (0, D.useRef)(x.faces);S.current = x.faces;- let C = nG({+ let C = rG({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -59818,7 +59834,7 @@ function gxe(e) {w.current = C.onPointerLeave;let T = (0, D.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = PU(u, n, i), k = AU(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = LU(u, i), N = IU(t, u), P = u.status === "saved", ee = (e) => {+ }, []), E = FU(u, n, i), k = jU(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = RU(u, i), N = LU(t, u), P = 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));}, F = (e, t) => {e.stopPropagation(), t();@@ -59833,7 +59849,7 @@ function gxe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: PW,+ onMouseDown: FW,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -59847,7 +59863,7 @@ function gxe(e) {}), /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, O.jsx)(hxe, {+ p ? /* @__PURE__ */ (0, O.jsx)(vxe, {src: p,fallback: m,width: _?.width,@@ -59875,7 +59891,7 @@ function gxe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: kU(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: AU(u.provider, u.provider_label) }}), N ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: N }@@ -59888,7 +59904,7 @@ function gxe(e) {},dangerouslySetInnerHTML: { __html: R("check") }}) : null,- mxe(u.duration) ? /* @__PURE__ */ (0, O.jsx)("span", {+ _xe(u.duration) ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-duration": "",children: hn(u.duration)}) : null,@@ -59979,7 +59995,7 @@ function gxe(e) {/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: FU(t, u) + B(k) }+ dangerouslySetInnerHTML: { __html: IU(t, u) + B(k) }}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-byline": "",@@ -59997,8 +60013,8 @@ function gxe(e) {}),/* @__PURE__ */ (0, O.jsx)("time", {dateTime: u.published_at || "",- title: zU(u),- children: oge(u)+ title: BU(u),+ children: cge(u)}),E.credited ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-credit": "",@@ -60033,10 +60049,10 @@ function gxe(e) {]});}-var HZ = (0, D.memo)(gxe);+var HZ = (0, D.memo)(yxe);//#endregion//#region src/react/components/use-masonry-grid.ts-function _xe(e, t) {+function bxe(e, t) {let n = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {let t = n.current;@@ -60072,7 +60088,7 @@ function _xe(e, t) {}//#endregion//#region src/react/follow-manage/manage-route.ts-var vxe = [+var xxe = ["list","add","feeds"@@ -60080,7 +60096,7 @@ var vxe = [function UZ(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: vxe.find((e) => e === n) || "list",+ tab: xxe.find((e) => e === n) || "list",page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),sort: t.get("sort") || "",dir: t.get("dir") || ""@@ -60103,7 +60119,7 @@ function GZ(e, t) {var KZ = () => /* @__PURE__ */ (0, O.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), yxe = Rz("settings"), qZ = Rz("chevron-down"), bxe = Rz("history"), xxe = Rz("arrow-up"), Sxe = Rz("arrow-down"), Cxe = [[+}), Sxe = Iz("settings"), qZ = Iz("chevron-down"), Cxe = Iz("history"), wxe = Iz("arrow-up"), Txe = Iz("arrow-down"), Exe = [["fixed","固定比例","layout-grid"@@ -60112,7 +60128,7 @@ var KZ = () => /* @__PURE__ */ (0, O.jsx)("span", {"瀑布流","columns-2"]];-function wxe(e, t, n) {+function Dxe(e, t, n) {return (0, D.useMemo)(() => {let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();a.forEach((e) => {@@ -60160,7 +60176,7 @@ function wxe(e, t, n) {n]);}-function Txe(e) {+function Oxe(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = wi(t, r), o = wt(a), s = St({queryKey: Ti,queryFn: ({ signal: e }) => Ei(e)@@ -60168,7 +60184,7 @@ function Txe(e) {sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = wxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, D.useMemo)(() => ({+ }), [c, l]), d = Dxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, D.useMemo)(() => ({tags: xl(d.visible.flatMap(Ai).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,@@ -60194,10 +60210,10 @@ function Txe(e) {m,i]);- let h = Dxe(e, !!c);+ let h = Axe(e, !!c);if (!c) return o.isError ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, O.jsx)(JZ, {}), /* @__PURE__ */ (0, O.jsx)(uW, {+ children: [/* @__PURE__ */ (0, O.jsx)(JZ, {}), /* @__PURE__ */ (0, O.jsx)(dW, {message: Ut(o.error),onRetry: () => void o.refetch()})]@@ -60210,7 +60226,7 @@ function Txe(e) {author: d.author,provider: d.provider}, {- authors: new Map([...d.authorSources].map(([e, t]) => [e, jU(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, MU(t, u)])),providers: d.providers,works: d.workNames}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);@@ -60219,7 +60235,7 @@ function Txe(e) {ref: h.host,"data-follow-progress": ""}, h.generation),- !h.busy && h.report ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ !h.busy && h.report ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",title: "检查结果",children: h.report@@ -60239,20 +60255,20 @@ function Txe(e) {dangerouslySetInnerHTML: { __html: ns("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, O.jsx)(Oxe, {+ /* @__PURE__ */ (0, O.jsx)(jxe, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, O.jsx)(kxe, {+ /* @__PURE__ */ (0, O.jsx)(Mxe, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, O.jsx)(Axe, {+ /* @__PURE__ */ (0, O.jsx)(Nxe, {facets: d,view: t,total: v,@@ -60260,7 +60276,7 @@ function Txe(e) {props: e,route: g}),- /* @__PURE__ */ (0, O.jsx)(jxe, {+ /* @__PURE__ */ (0, O.jsx)(Pxe, {conditions: _,onDrop: (e) => i.route(qi(t, e)),onClear: () => g({@@ -60272,8 +60288,8 @@ function Txe(e) {durMax: 0})}),- d.broken.length ? /* @__PURE__ */ (0, O.jsx)(Mxe, { count: d.broken.length }) : null,- /* @__PURE__ */ (0, O.jsx)(Nxe, {+ d.broken.length ? /* @__PURE__ */ (0, O.jsx)(Fxe, { count: d.broken.length }) : null,+ /* @__PURE__ */ (0, O.jsx)(Ixe, {retryKey: o.dataUpdatedAt,pending: f,facets: d,@@ -60303,7 +60319,7 @@ function Txe(e) {await o.fetchNextPage({ throwOnError: !0 });},children: [/* @__PURE__ */ (0, O.jsx)(qZ, { className: "size-(--icon-inline)" }), "加载更多"]- }, o.data?.pages.length) : /* @__PURE__ */ (0, O.jsx)(Exe, {+ }, o.data?.pages.length) : /* @__PURE__ */ (0, O.jsx)(kxe, {busy: o.isFetchingNextPage,error: o.isFetchNextPageError ? Ut(o.error) : "",load: () => {@@ -60314,7 +60330,7 @@ function Txe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : bxe,+ leadingIcon: h.olderBusy ? void 0 : Cxe,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),@@ -60340,9 +60356,9 @@ function JZ({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, O.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, O.jsx)(JF, {+ children: [/* @__PURE__ */ (0, O.jsx)(KF, {variant: "secondary",- leadingIcon: yxe,+ leadingIcon: Sxe,"data-follow-manage": "",href: YZ(),children: "管理关注"@@ -60350,7 +60366,7 @@ function JZ({ children: e }) {})]});}-function Exe({ busy: e, error: t, load: n }) {+function kxe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-entity-more": "",@@ -60358,12 +60374,12 @@ function Exe({ busy: e, error: t, load: n }) {"aria-disabled": e || void 0,onClick: n,children: [/* @__PURE__ */ (0, O.jsx)(qZ, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, O.jsx)(uW, {+ }), t ? /* @__PURE__ */ (0, O.jsx)(dW, {message: t,onRetry: n}) : null] });}-function Dxe(e, t) {+function Axe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, D.useState)(0), [o, s] = (0, D.useState)(!1), [c, l] = (0, D.useState)(""), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(!1), m = (0, D.useRef)(!1), h = (0, D.useRef)(null), g = (0, D.useRef)({helpers: n,actions: r@@ -60425,12 +60441,12 @@ function Dxe(e, t) {olderBusy: c === "older" || f && o};}-function Oxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function jxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, D.useRef)(null);(0, D.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => jU(e.authorSources.get(t) || [], n);+ let o = (t) => MU(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, O.jsx)("div", {@@ -60438,9 +60454,9 @@ function Oxe({ 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 = MU(a), c = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = NU(a), c = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: NU(a, o(n)) }+ dangerouslySetInnerHTML: { __html: PU(a, o(n)) }}), /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-name": "",children: o(n)@@ -60462,7 +60478,7 @@ function Oxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function kxe({ rows: e, pressed: t, props: n, onPick: r }) {+function Mxe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, D.useRef)(null);return (0, D.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -60483,13 +60499,13 @@ function kxe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = KF(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = KF(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function Nxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = WF(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = WF(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, D.useEffect)(() => {o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);}, [o]);let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";- return /* @__PURE__ */ (0, O.jsx)(zF, {+ return /* @__PURE__ */ (0, O.jsx)(LF, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -60574,10 +60590,10 @@ function Axe({ 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: kU(t, n) }+ dangerouslySetInnerHTML: { __html: AU(t, n) }}, t)),_.length && e.tagRows.length ? /* @__PURE__ */ (0, O.jsx)(KZ, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, O.jsxs)(VF, {+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, O.jsxs)(zF, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${Ji(e.groups, n)}`,@@ -60597,18 +60613,18 @@ function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"data-follow-readout": "",children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`}),- /* @__PURE__ */ (0, O.jsx)($z, {+ /* @__PURE__ */ (0, O.jsx)(Zz, {currentHref: () => location.pathname + location.search,kind: "creator"}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(qU, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(KU, {+ /* @__PURE__ */ (0, O.jsx)(JU, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(qU, {label: "图片布局",value: i.photoLayout,- options: Cxe,+ options: Exe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",@@ -60638,9 +60654,9 @@ function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let n = Ui(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, O.jsx)(wU, {- a: xxe,- b: Sxe,+ children: [n, r ? /* @__PURE__ */ (0, O.jsx)(TU, {+ a: wxe,+ b: Txe,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -60651,7 +60667,7 @@ function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function jxe({ conditions: e, onDrop: t, onClear: n }) {+function Pxe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -60676,19 +60692,19 @@ function jxe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function Mxe({ count: e }) {+function Fxe({ count: e }) {return /* @__PURE__ */ (0, O.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="${B(YZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}var YZ = () => GZ(window.location.search);-function Nxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {- let { view: s, helpers: c } = i, l = s.media === "images", u = lW(e, () => c.listSkeletonHtml(s.media));+function Ixe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+ let { view: s, helpers: c } = i, l = s.media === "images", u = uW(e, () => c.listSkeletonHtml(s.media));return /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": u.fading ? "" : void 0,- children: [u.layer, e ? null : /* @__PURE__ */ (0, O.jsx)(Pxe, {+ children: [u.layer, e ? null : /* @__PURE__ */ (0, O.jsx)(Lxe, {facets: t,data: n,context: r,@@ -60699,12 +60715,12 @@ function Nxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})]});}-function Pxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+function Lxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {let { view: s, actions: c } = r, l = ZZ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = _xe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = bxe(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, O.jsx)(HZ, {@@ -60721,7 +60737,7 @@ function Pxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, O.jsx)(Fxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(Rxe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -60747,19 +60763,19 @@ function Pxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,function XZ(e, t) {return Li(e, t.media).id;}-function Fxe({ data: e, filtered: t, clear: n, checkAction: r }) {+function Rxe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, O.jsx)(Pz, {+ icon: Iz(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",actions: i ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, O.jsx)(JF, {+ }) : a ? r : /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60768,7 +60784,7 @@ function Fxe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var Ixe = {+var zxe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"@@ -60796,7 +60812,7 @@ function ZZ(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(Ixe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(zxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await H($n, {item: t,to: i@@ -60842,9 +60858,9 @@ function ZZ(e) {}//#endregion//#region src/react/entity-body/entity-online.tsx-function Lxe(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = lW(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, O.jsx)(uW, {+function Bxe(e) {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = uW(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, O.jsx)(dW, {message: Ut(t.error),onRetry: () => {t.refetch();@@ -60855,7 +60871,7 @@ function Lxe(e) {"data-grid-reveal": o.fading ? "" : void 0,children: [o.layer,- a || !n ? null : /* @__PURE__ */ (0, O.jsx)(Rxe, {+ a || !n ? null : /* @__PURE__ */ (0, O.jsx)(Vxe, {...e,data: n}),@@ -60869,7 +60885,7 @@ function Lxe(e) {]});}-function Rxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+function Vxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {let u = ZZ({view: e,revision: 0,@@ -60901,11 +60917,11 @@ function Rxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, O.jsx)(zxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(Hxe, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: fxe(n.sources || [], e.author)+ sources: hxe(n.sources || [], e.author)});return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-list": "",@@ -60914,21 +60930,21 @@ function Rxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function zxe({ searched: e, clear: t, actions: n, sources: r }) {+function Hxe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, O.jsx)(Pz, {+ icon: Iz(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",actions: e ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, O.jsx)(pxe, {+ }) : r.length ? /* @__PURE__ */ (0, O.jsx)(gxe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, O.jsx)(JF, {+ }) : /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60974,7 +60990,7 @@ function tQ(e, t) {y1: a + r});}-function Bxe(e, t) {+function Uxe(e, t) {if (!eQ(e) || !(t > 0)) return QZ(e);let n = Math.min(e.width, e.height * t);return $Z({@@ -60984,7 +61000,7 @@ function Bxe(e, t) {y1: e.height});}-function Vxe(e, t, n) {+function Wxe(e, t, n) {if (!eQ(t) || !(n > 0)) return QZ(t);let r = nQ(e, t), i = tQ({width: r.x1 - r.x0,@@ -61033,7 +61049,7 @@ function iQ(e, t, n, r = null) {y1: a + s / 2}, n, r);}-function Hxe(e, t, n, r, i = null) {+function Gxe(e, t, n, r, i = null) {let a = {x0: e.x0,y0: e.y0,@@ -61042,7 +61058,7 @@ function Hxe(e, t, n, r, i = null) {};return nQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function Uxe(e, t) {+function Kxe(e, t) {return eQ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,@@ -61055,7 +61071,7 @@ function Uxe(e, t) {height: 0};}-function Wxe(e, t) {+function qxe(e, t) {if (!eQ(t)) return {size: "cover",position: "50% 50%"@@ -61066,7 +61082,7 @@ function Wxe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function Gxe(e, t) {+function Jxe(e, t) {let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);return {left: `${-e.x0 / n * 100}%`,@@ -61078,12 +61094,12 @@ function Gxe(e, t) {function aQ(e, t, n) {return t > 0 ? e * n / t : 0;}-function Kxe(e, t) {+function Yxe(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}//#endregion//#region src/react/crop/crop-frame.tsx-var qxe = .02, oQ = 1.08;+var Xxe = .02, oQ = 1.08;function sQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, D.useRef)(null), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(null);(0, D.useEffect)(() => {@@ -61121,14 +61137,14 @@ function sQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: olet 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(rQ(n.box, o.dx, o.dy, r)) : i(Hxe(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(rQ(n.box, o.dx, o.dy, r)) : i(Gxe(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));}function _(e) {if (!n || !r) return;- let a = Math.max(1, (n.x1 - n.x0) * qxe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * Xxe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],@@ -61136,7 +61152,7 @@ function sQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o};o[e.key] ? (e.preventDefault(), i(rQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(iQ(n, e.key === "-" ? 1 / oQ : oQ, r, t)));}- let v = n && r ? Uxe(nQ(n, r, t), r) : null, y = v ? Kxe(v, d) : !1, b = v ? {+ let v = n && r ? Kxe(nQ(n, r, t), r) : null, y = v ? Yxe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -61217,12 +61233,12 @@ function sQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o}//#endregion//#region src/react/avatar-picker/avatar-picker.ts-var Jxe = "/api/avatar-choices", cQ = "/api/avatar-pick", Yxe = "/api/avatar-code-cover", lQ = "/api/avatar-frame", Xxe = "/avatar-choice", uQ = (e, t) => [+var Zxe = "/api/avatar-choices", cQ = "/api/avatar-pick", Qxe = "/api/avatar-code-cover", lQ = "/api/avatar-frame", $xe = "/avatar-choice", uQ = (e, t) => ["avatar-choices",e,t-], dQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, fQ = (e, t, n, r = "") => `${Xxe}${dQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), pQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Zxe = (e, t, n) => V(Jxe + dQ(e, t), n), Qxe = (e) => H(Yxe, { code: e });-async function $xe(e, t, n) {+], dQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, fQ = (e, t, n, r = "") => `${$xe}${dQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), pQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", eSe = (e, t, n) => V(Zxe + dQ(e, t), n), tSe = (e) => H(Qxe, { code: e });+async function nSe(e, t, n) {let r = await H(lQ, {kind: e,id: t,@@ -61236,11 +61252,11 @@ async function $xe(e, t, n) {bases: r.bases};}-var eSe = (e, t, n) => H(lQ, {+var rSe = (e, t, n) => H(lQ, {kind: e,id: t,url: n-}), tSe = (e, t, n) => mQ(`${lQ}${dQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+}), iSe = (e, t, n) => mQ(`${lQ}${dQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);async function mQ(e, t) {let n = await fetch(e, {method: "POST",@@ -61252,13 +61268,13 @@ async function mQ(e, t) {}function hQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? Vxe(e.focus, t, n) : tQ(t, n);+ return e.focus && r ? Wxe(e.focus, t, n) : tQ(t, n);}-var nSe = (e) => e.crop && eQ({+var aSe = (e) => e.crop && eQ({width: e.width,height: e.height});-async function rSe(e, t, n) {+async function oSe(e, t, n) {if (!("file" in n)) {await H(cQ, {kind: e,@@ -61276,16 +61292,16 @@ async function rSe(e, t, n) {await mQ(`${cQ}${dQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}var gQ = 2;-function iSe(e, t) {+function sSe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);return n.length ? `${e}:图库里按${`「${n.slice(0, gQ).join("」「")}」`}${n.length > gQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var aSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function oSe(e) {- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${aSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var cSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function lSe(e) {+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${cSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var _Q = (e) => e.cast > 1, sSe = (e) => _Q(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, cSe = {+var _Q = (e) => e.cast > 1, uSe = (e) => _Q(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, dSe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -61295,7 +61311,7 @@ var _Q = (e) => e.cast > 1, sSe = (e) => _Q(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function lSe(e) {+function fSe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -61306,19 +61322,19 @@ function lSe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var uSe = (e) => `${cSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (_Q(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), dSe = 8, fSe = 3 / 4;-async function pSe(e, t, n) {+var pSe = (e) => `${dSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (_Q(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), mSe = 8, hSe = 3 / 4;+async function gSe(e, t, n) {switch (n.via) {- case "choice": return { choice: await $xe(e, t, n.choice) };- case "code": return { choice: await Qxe(n.code) };- case "url": return { choice: await eSe(e, t, n.url) };+ case "choice": return { choice: await nSe(e, t, n.choice) };+ case "code": return { choice: await tSe(n.code) };+ case "url": return { choice: await rSe(e, t, n.url) };case "file": return {- choice: await tSe(e, t, n.file),+ choice: await iSe(e, t, n.file),file: n.file};}}-function mSe({ kind: e, entityId: t, name: n, onPicked: r }) {+function _Se({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -61328,17 +61344,17 @@ function mSe({ 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, O.jsx)(Yde, {+ children: /* @__PURE__ */ (0, O.jsx)(Zde, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, O.jsx)(Nz, {+ }), /* @__PURE__ */ (0, O.jsx)(jz, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, O.jsx)(hSe, {+ children: /* @__PURE__ */ (0, O.jsx)(vSe, {kind: e,entityId: t,name: n,@@ -61347,22 +61363,22 @@ function mSe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, D.useRef)(null), o = iV(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(null), p = uQ(e, t), m = (0, D.useRef)(!1), h = St({+function vSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, D.useRef)(null), o = nV(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(null), p = uQ(e, t), m = (0, D.useRef)(!1), h = St({queryKey: p,- queryFn: ({ signal: n }) => Zxe(e, t, n),+ queryFn: ({ signal: n }) => eSe(e, t, n),retryOnMount: !0});(0, D.useEffect)(() => () => {m.current && U.removeQueries({ queryKey: uQ(e, t) });}, [e, t]);let g = Ct({- mutationFn: (n) => rSe(e, t, n),+ mutationFn: (n) => oSe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = Ct({- mutationFn: (n) => pSe(e, t, n),+ mutationFn: (n) => gSe(e, t, n),onMutate: () => {g.reset();},@@ -61383,17 +61399,17 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {crop: e.crop} : { file: n }) : g.mutate(e ?? { ref: t.ref });}- let x = h.data, S = x?.choices ?? [], C = (g.error ? An(g.error) : "") || (!d && _.error ? An(_.error) : "") || (h.error ? An(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : oSe(x), E = !!C && !!h.error && C === An(h.error), k = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? An(g.error) : "") || (!d && _.error ? An(_.error) : "") || (h.error ? An(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : lSe(x), E = !!C && !!h.error && C === An(h.error), k = h.isPending || S.length > 0;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, O.jsx)(Pz, { children: /* @__PURE__ */ (0, O.jsx)(wz, { className: "size-6" }) }),+ /* @__PURE__ */ (0, O.jsx)(Mz, { children: /* @__PURE__ */ (0, O.jsx)(Sz, { className: "size-6" }) }),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(xI, {+ children: [/* @__PURE__ */ (0, O.jsx)(yI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"@@ -61404,18 +61420,18 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? sSe(d.choice) : iSe(n, x)+ children: d ? uSe(d.choice) : sSe(n, x)}),- T ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ T ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",children: T}) : null,- C ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ C ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",action: E ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...Bz(h.isFetching),+ ...Rz(h.isFetching),onClick: () => {h.isFetching || h.refetch();},@@ -61425,14 +61441,14 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, O.jsx)(MF, {- icon: fz,+ /* @__PURE__ */ (0, O.jsx)(AF, {+ icon: uz,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, O.jsx)(_Se, {+ }), d ? /* @__PURE__ */ (0, O.jsx)(bSe, {kind: e,entityId: t,choice: d.choice,@@ -61452,7 +61468,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {"aria-busy": h.isPending || void 0,"data-skeleton": h.isPending ? "avatar-choices" : void 0,className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",- children: h.isPending ? Array.from({ length: dSe }, (e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {+ children: h.isPending ? Array.from({ length: mSe }, (e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": !0,"data-avatar-skeleton": !0,className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",@@ -61465,8 +61481,8 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: uSe(n),- ...Bz(w),+ title: pSe(n),+ ...Rz(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({via: "choice",@@ -61475,7 +61491,7 @@ function hSe({ 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, O.jsx)(gSe, {+ /* @__PURE__ */ (0, O.jsx)(ySe, {src: fQ(e, t, n.ref, pQ(n, n.ref)),choice: n}),@@ -61515,7 +61531,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(Mz, {+ children: /* @__PURE__ */ (0, O.jsx)(Az, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -61525,7 +61541,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {type: "submit",variant: "secondary",disabled: !l.trim(),- ...Bz(v("code")),+ ...Rz(v("code")),children: "取封面来框"})]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -61534,7 +61550,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: () => a.current?.click(),- ...Bz(v("file")),+ ...Rz(v("file")),children: "从本机选图片"}),/* @__PURE__ */ (0, O.jsx)("input", {@@ -61554,7 +61570,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "flex min-w-0 flex-1 basis-56 items-center gap-2",children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(Mz, {+ children: /* @__PURE__ */ (0, O.jsx)(Az, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -61564,7 +61580,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}), /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",disabled: !s.trim(),- ...Bz(v("url")),+ ...Rz(v("url")),onClick: () => {w || _.mutate({via: "url",@@ -61578,7 +61594,7 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function gSe({ src: e, choice: t }) {+function ySe({ src: e, choice: t }) {let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1), [a, o] = (0, D.useState)(!1);(0, D.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -61586,7 +61602,7 @@ function gSe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = nSe(t) ? Gxe(hQ(t, s, fSe), s) : null, l = r || a ? !0 : void 0;+ }, c = aSe(t) ? Jxe(hQ(t, s, hSe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, O.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -61612,12 +61628,12 @@ function gSe({ src: e, choice: t }) {})]});}-function _Se({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = pQ(n, s), m = fQ(e, t, s, p), h = iV();+function bSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = pQ(n, s), m = fQ(e, t, s, p), h = nV();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? Wxe(d, l) : null;+ let _ = d && l ? qxe(d, l) : null;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.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",@@ -61642,7 +61658,7 @@ function _Se({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })"data-crop-base": !0,onClick: () => g(e),className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",- children: lSe(e)+ children: fSe(e)}, e))}) : null]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -61662,12 +61678,12 @@ function _Se({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",onClick: i,- ...Bz(r),+ ...Rz(r),children: "返回备选图片"}),n.crop ? null : /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(r),+ ...Rz(r),onClick: () => {r || a(null);},@@ -61675,7 +61691,7 @@ function _Se({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}),/* @__PURE__ */ (0, O.jsx)(J, {disabled: !d || !l,- ...Bz(r),+ ...Rz(r),onClick: () => {d && !r && a({ref: s,@@ -61703,7 +61719,7 @@ function yQ({ item: e, image: t, thumbnail: n = !1 }) {referrerPolicy: "no-referrer"}) : n ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, O.jsx)(Fz, {+ children: /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",children: "封面未取得"})@@ -61712,7 +61728,7 @@ function yQ({ item: e, image: t, thumbnail: n = !1 }) {let f = vQ(e.code, t, r);if (s === f) return n ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, O.jsx)(Fz, {+ children: /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -61771,7 +61787,7 @@ function bQ({ code: e, person: t, detail: n = !1 }) {//#endregion//#region src/react/feed-new/feed-new-row.tsxfunction xQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, D.useContext)(lU), o = (0, D.useRef)(null), [s, c] = (0, D.useState)([]), l = e?.items.length ? e.html : "";+ let a = (0, D.useContext)(uU), o = (0, D.useRef)(null), [s, c] = (0, D.useState)([]), l = e?.items.length ? e.html : "";(0, D.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);}, [@@ -61905,7 +61921,7 @@ function EQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function vSe({ following: e, busy: t, onToggle: n, tip: r }) {+function xSe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), [s, c] = (0, D.useState)(!1), l = (0, D.useRef)(!1), u = () => {wQ(o.current) && o.current.hidePopover(), c(!1);}, d = () => {@@ -61958,29 +61974,29 @@ function vSe({ following: e, busy: t, onToggle: n, tip: r }) {}//#endregion//#region src/react/entity-hero/name-picker.tsx-function ySe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function SSe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, D.useState)(!1), o = (0, D.useRef)(null);return (0, D.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, O.jsxs)(vue, {+ }, []), /* @__PURE__ */ (0, O.jsxs)(bue, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, O.jsx)(_I, {+ children: [/* @__PURE__ */ (0, O.jsx)(hI, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",children: /* @__PURE__ */ (0, O.jsx)(SQ, { name: "chevron-down" })- }), /* @__PURE__ */ (0, O.jsx)(rR, {+ }), /* @__PURE__ */ (0, O.jsx)(tR, {placement: "bottom start",offset: 8,containerPadding: 8,- className: XB,+ className: JB,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, O.jsxs)(bue, {+ children: /* @__PURE__ */ (0, O.jsxs)(Sue, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, O.jsx)(dR, {+ /* @__PURE__ */ (0, O.jsx)(lR, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -61988,15 +62004,15 @@ function ySe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(pR, {+ children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(dR, {id: e,textValue: e,"data-namepick-name": e,children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]}, e))}),- /* @__PURE__ */ (0, O.jsx)(tue, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, O.jsx)(dR, { children: /* @__PURE__ */ (0, O.jsxs)(pR, {+ /* @__PURE__ */ (0, O.jsx)(rue, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, O.jsx)(lR, { children: /* @__PURE__ */ (0, O.jsxs)(dR, {id: "alias",textValue: "添加别名","data-namepick-alias": "",@@ -62008,8 +62024,8 @@ function ySe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {})]});}-var bSe = (e) => e === "studio" || e === "agency", DQ = (e) => e === "performer" || e === "creator", xSe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function SSe(e) {+var CSe = (e) => e === "studio" || e === "agency", DQ = (e) => e === "performer" || e === "creator", wSe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function TSe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}function OQ(e) {@@ -62029,7 +62045,7 @@ function kQ(e, t) {return r && [e.label, n].map(un).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}var AQ = (e) => ({ site: on(e) });-function CSe(e, t) {+function ESe(e, t) {let n = OQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,@@ -62071,9 +62087,9 @@ function CSe(e, t) {mark: AQ(e)};});- return [...r, ...wSe(a)];+ return [...r, ...DSe(a)];}-function wSe(e) {+function DSe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -62082,7 +62098,7 @@ function wSe(e) {}];}var jQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function TSe(e) {+function OSe(e) {return [["legal_name",@@ -62138,7 +62154,7 @@ function TSe(e) {}]}] : []);}-function ESe(e) {+function kSe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -62202,7 +62218,7 @@ function MQ(e, t = 4) {rest: e.length - n};}-function DSe(e) {+function ASe(e) {if (!e) return null;let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;return n.length || r > 0 ? {@@ -62213,7 +62229,7 @@ function DSe(e) {}//#endregion//#region src/react/entity-hero/entity-hero-page.tsx-function OSe(e) {+function jSe(e) {return Ia({id: e.id,hasImage: e.has_image,@@ -62224,8 +62240,8 @@ function OSe(e) {standIn: e.avatar_stand_in});}-function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = DQ(e), c = bSe(e), l = s ? ESe(n.profile) : c ? TSe(n.company_profile) : [], u = CSe(n, e), d = jQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, D.useRef)(null), m = (0, D.useRef)(null);+function MSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = DQ(e), c = CSe(e), l = s ? kSe(n.profile) : c ? OSe(n.company_profile) : [], u = ESe(n, e), d = jQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, D.useRef)(null), m = (0, D.useRef)(null);return (0, D.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, D.useEffect)(() => {@@ -62238,7 +62254,7 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, O.jsx)(ASe, {+ children: [/* @__PURE__ */ (0, O.jsx)(NSe, {kind: e,name: t,helpers: o,@@ -62246,7 +62262,7 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, O.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, O.jsx)(mSe, {+ children: /* @__PURE__ */ (0, O.jsx)(_Se, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -62261,13 +62277,13 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, O.jsx)("h2", { children: n.canonical_name }),- e === "tag" ? null : /* @__PURE__ */ (0, O.jsx)(ySe, {+ e === "tag" ? null : /* @__PURE__ */ (0, O.jsx)(SSe, {current: n.canonical_name,- choices: SSe(n),+ choices: TSe(n),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, O.jsx)(Qz, { item: {+ n.id ? /* @__PURE__ */ (0, O.jsx)(Xz, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -62275,7 +62291,7 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,} }) : null]}),- /* @__PURE__ */ (0, O.jsx)(jSe, {+ /* @__PURE__ */ (0, O.jsx)(PSe, {kind: e,entity: n,actions: a@@ -62296,14 +62312,14 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, O.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, O.jsx)(LSe, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, O.jsx)(BSe, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, O.jsx)(RSe, {+ d.length || n.feed ? /* @__PURE__ */ (0, O.jsx)(VSe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, O.jsx)(PSe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, O.jsx)(LSe, {follow: n.follow,entity: n,actions: a@@ -62312,11 +62328,11 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, O.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(FSe, {+ children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(RSe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, O.jsx)(ISe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, O.jsx)(zSe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -62335,7 +62351,7 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${B(xn(e.k))}</span>${OSe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${B(xn(e.k))}</span>${jSe(e)}` }}), /* @__PURE__ */ (0, O.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -62350,7 +62366,7 @@ function kSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function ASe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function NSe({ kind: e, name: t, helpers: n, people: r, company: i }) {let [a] = (0, D.useState)(() => `${n.portraitImg()}<span>${B(xn(t))}</span>`);return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-portrait": r ? "round" : "square",@@ -62359,7 +62375,7 @@ function ASe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function jSe({ kind: e, entity: t, actions: n }) {+function PSe({ kind: e, entity: t, actions: n }) {let r = OQ(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, O.jsx)("a", {@@ -62369,7 +62385,7 @@ function jSe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = DSe(t.name_groups);+ let e = ASe(t.name_groups);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-alias": "meta",children: [@@ -62379,7 +62395,7 @@ function jSe({ kind: e, entity: t, actions: n }) {title: "视频",children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: "film" }), /* @__PURE__ */ (0, O.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, O.jsx)(NSe, {+ t.follow?.key ? /* @__PURE__ */ (0, O.jsx)(ISe, {follow: t.follow,actions: n}) : null,@@ -62446,11 +62462,11 @@ function jSe({ kind: e, entity: t, actions: n }) {children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, O.jsx)(MSe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, O.jsx)(FSe, { aliases: s }) : null]});}-function MSe({ aliases: e }) {+function FSe({ aliases: e }) {let { shown: t, rest: n } = MQ(e, 3);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-meta-item": "names",@@ -62473,7 +62489,7 @@ function MSe({ aliases: e }) {]});}-function NSe({ follow: e, actions: t }) {+function ISe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",@@ -62488,7 +62504,7 @@ function NSe({ follow: e, actions: t }) {})]});}-function PSe({ follow: e, entity: t, actions: n }) {+function LSe({ follow: e, entity: t, actions: n }) {let [r, i] = (0, D.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -62502,12 +62518,12 @@ function PSe({ follow: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-held": "",className: "flex flex-col gap-2",- children: e.held.map((e) => /* @__PURE__ */ (0, O.jsxs)(Fz, {+ children: e.held.map((e) => /* @__PURE__ */ (0, O.jsxs)(Nz, {tone: "info",title: `关注里有同名作者 ${e.name}`,action: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",- ...Bz(r === e.key),+ ...Rz(r === e.key),onClick: () => {a(e.key, e.name);},@@ -62538,14 +62554,14 @@ function PQ({ label: e, names: t }) {}, t))})] });}-function FSe({ glyph: e, label: t, clip: n, children: r }) {+function RSe({ glyph: e, label: t, clip: n, children: r }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("dt", { children: [/* @__PURE__ */ (0, O.jsx)(SQ, { name: e }), t] }), /* @__PURE__ */ (0, O.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function ISe({ tags: e }) {+function zSe({ tags: e }) {let { shown: t, rest: n } = MQ(e);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, O.jsx)("span", {"data-fact-tag": "",@@ -62578,7 +62594,7 @@ function FQ({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function LSe({ link: e }) {+function BSe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, O.jsx)("a", {"data-link": "icon",@@ -62626,7 +62642,7 @@ function LSe({ link: e }) {});}}-function RSe({ entity: e, actions: t, helpers: n }) {+function VSe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, D.useState)(!!e.feed?.following), [a, o] = (0, D.useState)(!1), s = (0, D.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -62658,20 +62674,20 @@ function RSe({ entity: e, actions: t, helpers: n }) {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, O.jsx)(vSe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, O.jsx)(xSe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: xSe(r)+ tip: wSe(r)}) : null]});}//#endregion//#region src/react/entity-page/use-entity-online.ts-var zSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function BSe(e, t, n) {+var HSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function USe(e, t, n) {let [r, i] = (0, D.useState)(() => Ri(e));r.author !== e && i(Ri(e));let [a, o] = (0, D.useState)({@@ -62750,7 +62766,7 @@ function BSe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => T({sort: xi,- seed: zSe()+ seed: HSe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),@@ -62781,7 +62797,7 @@ function BSe(e, t, n) {}//#endregion//#region src/react/entity-page/entity-page-view.tsx-function VSe(e) {+function WSe(e) {let { kind: t, name: n } = e, r = St(XX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {kind: t,name: a@@ -62800,12 +62816,12 @@ function VSe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, O.jsx)(uW, {+ ]), r.isError ? /* @__PURE__ */ (0, O.jsx)(dW, {message: An(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, O.jsx)(WSe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, O.jsx)(qSe, {...e,entity: r.data});@@ -62822,17 +62838,17 @@ function IQ(e) {};return n(r), r.n;}-var HSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function USe(e, t) {+var GSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function KSe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function WSe(e) {+function qSe(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 = wt(ZX(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 || QX(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} : UX, [y, b] = (0, D.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, D.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = BSe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = USe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,@@ -63050,7 +63066,7 @@ function WSe(e) {await U.fetchQuery(a).catch(() => null);return;}- let r = HSe(), a = await U.fetchInfiniteQuery(ZX(t, n, re, r)).catch(() => null);+ let r = GSe(), a = await U.fetchInfiniteQuery(ZX(t, n, re, r)).catch(() => null);me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({...e,[re]: r@@ -63085,7 +63101,7 @@ function WSe(e) {k: e.k,label: fl(e.k),n: e.n,- selected: Cbe(i.tag, e.k)+ selected: Ebe(i.tag, e.k)})), Te = [u.length,!_,@@ -63127,7 +63143,7 @@ function WSe(e) {Pe = !M.data;let e = KX(i.tag).length;Ne = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : USe(oe, QX(oe).length) : Pe = ae.isPending;+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : KSe(oe, QX(oe).length) : Pe = ae.isPending;let Fe = (0, D.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -63144,7 +63160,7 @@ function WSe(e) {u]);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(kSe, {+ /* @__PURE__ */ (0, O.jsx)(MSe, {kind: t,name: n,entity: r,@@ -63154,7 +63170,7 @@ function WSe(e) {actions: be,helpers: xe}, k),- (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(fge, {+ (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(mge, {kind: t,name: n,view: w,@@ -63171,9 +63187,9 @@ function WSe(e) {actions: Se,helpers: Ce}), c.filter),- (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(Qhe, {+ (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(ege, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, O.jsx)(Lxe, {+ children: w === "online" ? /* @__PURE__ */ (0, O.jsx)(Bxe, {view: T.view,media: T.media,result: T.result,@@ -63187,16 +63203,16 @@ function WSe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, O.jsx)(uW, {+ }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, O.jsx)(dW, {message: An(M.error),onRetry: () => {M.refetch();}- }) : je ? /* @__PURE__ */ (0, O.jsx)(GSe, {+ }) : je ? /* @__PURE__ */ (0, O.jsx)(JSe, {filtered: Ae,onShowAll: Me,onOnline: g ? () => Se.setView("online") : void 0- }) : /* @__PURE__ */ (0, O.jsx)(nxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(axe, {kind: t,name: n,view: w,@@ -63228,9 +63244,9 @@ function WSe(e) {}), c.body)] });}-function GSe({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz("search"),+function JSe({ filtered: e, onShowAll: t, onOnline: n }) {+ return e ? /* @__PURE__ */ (0, O.jsx)(Pz, {+ icon: Iz("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",@@ -63238,14 +63254,14 @@ function GSe({ filtered: e, onShowAll: t, onOnline: n }) {children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz("film"),+ }) : /* @__PURE__ */ (0, O.jsx)(Pz, {+ icon: Iz("film"),title: "还没有视频",actions: n ? /* @__PURE__ */ (0, O.jsx)(J, {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, O.jsx)(JF, {+ }) : /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/",children: "浏览馆藏"@@ -63256,7 +63272,7 @@ function GSe({ filtered: e, onShowAll: t, onOnline: n }) {//#endregion//#region src/react/diagnostics/diagnostics.tsvar LQ = ["diagnostics"], RQ = (e) => V("/api/diagnostics", e);-async function KSe(e) {+async function YSe(e) {await U.fetchQuery({queryKey: LQ,queryFn: () => RQ(e),@@ -63265,7 +63281,7 @@ async function KSe(e) {}//#endregion//#region src/react/feed-new/feed-new-page.tsx-function qSe({ host: e, revision: t, helpers: n, actions: r }) {+function XSe({ host: e, revision: t, helpers: n, actions: r }) {let i = St(BX(null, n.feedRowHtml)), a = (0, D.useRef)(t);return (0, D.useEffect)(() => {a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: zX(null) }));@@ -63286,9 +63302,9 @@ function zQ({ value: e }) {children: e.toLocaleString()});}-var JSe = "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";+var ZSe = "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 BQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, D.useRef)(null), o = FF(a);+ let a = (0, D.useRef)(null), o = NF(a);return (0, D.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -63297,7 +63313,7 @@ function BQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"let n = t.offsetLeft, r = n + t.offsetWidth;n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);})();- }, [t]), /* @__PURE__ */ (0, O.jsx)(rF, {+ }, [t]), /* @__PURE__ */ (0, O.jsx)(nF, {ref: o,role: "tablist","aria-label": n,@@ -63312,7 +63328,7 @@ function BQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"},className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,children: e.map((e) => {- let n = e.symbol ? Rz(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? Iz(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",@@ -63321,7 +63337,7 @@ function BQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5""data-pill-selected": i ? "" : void 0,"data-pill-variant": "gray",tabIndex: i ? 0 : -1,- className: JSe,+ className: ZSe,onClick: () => {i || r(e.value);},@@ -63336,7 +63352,7 @@ var VQ = () => /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), HQ = Rz("pencil"), UQ = (e, t) => ({+}), HQ = Iz("pencil"), UQ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -63345,7 +63361,7 @@ var VQ = () => /* @__PURE__ */ (0, O.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function YSe({ tag: e, actions: t }) {+function QSe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -63371,8 +63387,8 @@ function YSe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(Qz, { item: UQ(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, O.jsx)(Zz, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(Xz, { item: UQ(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, O.jsx)(Yz, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),children: /* @__PURE__ */ (0, O.jsx)(HQ, {})@@ -63386,7 +63402,7 @@ function WQ({ groups: e, actions: t }) {className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, O.jsxs)("section", {"data-alpha-group": r,- className: MH({+ className: NH({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"@@ -63396,7 +63412,7 @@ function WQ({ groups: e, actions: t }) {children: [e, /* @__PURE__ */ (0, O.jsx)(zQ, { value: n.length })]}), /* @__PURE__ */ (0, O.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(YSe, {+ children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(QSe, {tag: e,actions: t}, e.k))@@ -63404,7 +63420,7 @@ function WQ({ groups: e, actions: t }) {}, e))});}-var XSe = "\xA0";+var $Se = "\xA0";function GQ({ tags: e, actions: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-tag-cloud": "",@@ -63423,7 +63439,7 @@ function GQ({ tags: e, actions: t }) {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",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 truncate",- children: e.label + XSe+ children: e.label + $Se}), /* @__PURE__ */ (0, O.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -63432,7 +63448,7 @@ function GQ({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(Qz, { item: UQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, O.jsx)(Zz, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(Xz, { item: UQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, O.jsx)(Yz, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),children: /* @__PURE__ */ (0, O.jsx)(HQ, {})@@ -63441,7 +63457,7 @@ function GQ({ tags: e, actions: t }) {}, e.k))});}-var ZSe = [[+var eCe = [["cloud","标签云","tags"@@ -63451,22 +63467,22 @@ var ZSe = [["text-aa"]];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 = FF();- return /* @__PURE__ */ (0, O.jsx)(zF, {+ let d = NF();+ return /* @__PURE__ */ (0, O.jsx)(LF, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [l ? /* @__PURE__ */ (0, O.jsx)("div", {role: "group","aria-label": "标签状态",className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",- children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(VF, {+ children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(zF, {"data-tag-pill": "","data-tag-cat": "all",pressed: l.hidden === e,onPress: () => l.onChange(!!e),children: t}, String(e)))- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(VF, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(zF, {"data-tag-pill": "","data-tag-cat": e === "all" ? "all" : fZ(n, e),pressed: t === e,@@ -63492,19 +63508,19 @@ function KQ({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, O.jsx)(CR, {+ /* @__PURE__ */ (0, O.jsx)(xR, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${xU}`,- children: ZSe.map(([e, t, n]) => {- let r = Rz(n);- return /* @__PURE__ */ (0, O.jsx)(wR, {+ className: `ml-auto ${SU}`,+ children: eCe.map(([e, t, n]) => {+ let r = Iz(n);+ return /* @__PURE__ */ (0, O.jsx)(SR, {value: e,"aria-label": t,"data-glass-segment": "",- className: SU,+ className: CU,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -63516,13 +63532,13 @@ function KQ({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function QSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, O.jsxs)(Ck, {+function tCe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, O.jsxs)(xk, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, O.jsx)(rV, {+ /* @__PURE__ */ (0, O.jsx)(tV, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, O.jsxs)("span", {@@ -63570,7 +63586,7 @@ var ZQ = (e, t) => {JQ = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, O.jsxs)(eH, { children: [/* @__PURE__ */ (0, O.jsx)(cH, {+ }, n.render(/* @__PURE__ */ (0, O.jsxs)(QV, { children: [/* @__PURE__ */ (0, O.jsx)(oH, {id: "receipts",position: "bottom-right",closeButton: !0,@@ -63594,7 +63610,7 @@ var ZQ = (e, t) => {success: qQ(t.success, !0),error: qQ(t.error, !1)}- }), /* @__PURE__ */ (0, O.jsx)(cH, {+ }), /* @__PURE__ */ (0, O.jsx)(oH, {id: "processing",position: "bottom-right",gap: 8,@@ -63615,13 +63631,13 @@ var ZQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, $Se = 6e3, QQ = (e, t) => {+}, nCe = 6e3, QQ = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? rH.error : rH.success, r = t.action;+ let n = t.alert ? tH.error : tH.success, r = t.action;n(/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : $Se,+ duration: t.timeout > 0 ? t.timeout : nCe,action: r ? {label: r.label,onClick: (e) => {@@ -63654,7 +63670,7 @@ async function n$(e, t, n) {action: null}), !0);}-function eCe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function rCe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, D.useRef)({operation: e,selected: t,@@ -63698,7 +63714,7 @@ function eCe({ operation: e, selected: t, close: n, done: r, scope: i = "local"}), () => {e.abort(), n.close();};- }, []), s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(tCe, {+ }, []), s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(iCe, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -63707,7 +63723,7 @@ function eCe({ operation: e, selected: t, close: n, done: r, scope: i = "local"}}), s.host) : null;}-function tCe({ operation: e, selected: t, dialog: n, update: r }) {+function iCe({ operation: e, selected: t, dialog: n, update: r }) {let [i, a] = (0, D.useState)(t[0]?.k || ""), [o, s] = (0, D.useState)(t[0] ? $Q(t[0]) : 0);return (0, D.useEffect)(() => {r({@@ -63721,7 +63737,7 @@ function tCe({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, O.jsx)(Mz, {+ ]), e === "rename" ? /* @__PURE__ */ (0, O.jsx)(Az, {autoFocus: !0,"aria-label": "标签名称",value: i,@@ -63735,7 +63751,7 @@ function tCe({ operation: e, selected: t, dialog: n, update: r }) {let n = t.find((t) => String($Q(t)) === String(e));n && s($Q(n));},- children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(fU, {+ children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(pU, {id: String($Q(e)),children: e.k}, $Q(e)))@@ -63743,11 +63759,11 @@ function tCe({ operation: e, selected: t, dialog: n, update: r }) {}//#endregion//#region src/react/index/tag-manager.tsx-function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function aCe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = St({queryKey: ["tag-management", o],queryFn: ({ signal: e }) => V(`/api/tag-management${s ? "?scope=online" : ""}`, e)- }), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, D.useState)(null), h = AH(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? rZ : nZ).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({+ }), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, D.useState)(null), h = jH(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? rZ : nZ).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({...e,label: e.k})), x = n === "alphabet" ? pZ(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {@@ -63796,7 +63812,7 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}},actions: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, O.jsx)(UF, {+ c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, O.jsx)(VF, {busy: h.busy === "repair",onPress: () => C({operation: "repair",@@ -63804,11 +63820,11 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}),children: "整理重复标签"}) : null,- v.length ? /* @__PURE__ */ (0, O.jsx)(UF, {+ v.length ? /* @__PURE__ */ (0, O.jsx)(VF, {onPress: () => f(new Set(v.map((e) => e.k))),children: "选择当前结果"}) : null,- d.size ? /* @__PURE__ */ (0, O.jsx)(UF, {+ d.size ? /* @__PURE__ */ (0, O.jsx)(VF, {onPress: () => f(/* @__PURE__ */ new Set()),children: "清空选择"}) : null@@ -63818,8 +63834,8 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor"aria-busy": "true","data-skeleton": "",className: "h-24 rounded-lg bg-background-tertiary-default",- children: /* @__PURE__ */ (0, O.jsx)(uw, { children: "正在读取标签" })- }) : c.isError ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ children: /* @__PURE__ */ (0, O.jsx)(cw, { children: "正在读取标签" })+ }) : c.isError ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -63833,15 +63849,15 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}) : /* @__PURE__ */ (0, O.jsx)(GQ, {tags: b,actions: T- }) : /* @__PURE__ */ (0, O.jsx)(Fz, {+ }) : /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",children: "没有符合条件的标签。"}),- h.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ h.error ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: h.error}) : null,- /* @__PURE__ */ (0, O.jsxs)(Ck, {+ /* @__PURE__ */ (0, O.jsxs)(xk, {label: "标签管理操作",count: `已选 ${d.size} 个标签`,visible: d.size > 0,@@ -63863,7 +63879,7 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...Bz(!!h.busy),+ ...Rz(!!h.busy),onClick: () => C({operation: l ? "restore" : "hide",ids: w@@ -63872,7 +63888,7 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor})]}),- p ? /* @__PURE__ */ (0, O.jsx)(eCe, {+ p ? /* @__PURE__ */ (0, O.jsx)(rCe, {operation: p,selected: S,scope: o,@@ -63884,7 +63900,7 @@ function nCe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}//#endregion//#region src/react/index/index-page.tsx-var rCe = [{+var oCe = [{value: "studios",label: "厂牌",symbol: "clapperboard"@@ -63892,7 +63908,7 @@ var rCe = [{value: "agencies",label: "事务所",symbol: "briefcase"-}], iCe = [{+}], sCe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -63900,7 +63916,7 @@ var rCe = [{value: "online",label: "在线",symbol: "rss"-}], aCe = [+}], cCe = [{value: "performers",label: "艺人",@@ -63916,7 +63932,7 @@ var rCe = [{label: "在线",symbol: "rss"}-], oCe = {+], lCe = {people: [["big","大图 · 竖幅头像",@@ -63936,20 +63952,20 @@ var rCe = [{"layout-grid"]]};-function sCe({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, O.jsx)(vU, {+function uCe({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, O.jsx)(yU, {"aria-label": `${tZ[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${yU}`,- children: oCe[oZ(e) ? "company" : "people"].map(([e, t, n]) => {- let r = Rz(n);- return /* @__PURE__ */ (0, O.jsx)(wR, {+ className: `flex-none ${bU}`,+ children: lCe[oZ(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = Iz(n);+ return /* @__PURE__ */ (0, O.jsx)(SR, {value: e,"aria-label": t,- className: rge,+ className: age,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -63959,8 +63975,8 @@ function sCe({ kind: e, layout: t, onChange: n }) {})});}-var cCe = Rz("search");-function lCe({ label: e, value: t, onQuery: n }) {+var dCe = Iz("search");+function fCe({ label: e, value: t, onQuery: n }) {let [r, i] = (0, D.useState)(t), a = (0, D.useRef)(!1), o = (0, D.useRef)(void 0);(0, D.useEffect)(() => {clearTimeout(o.current), i(t);@@ -63977,15 +63993,15 @@ function lCe({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, O.jsx)(kz, {+ children: /* @__PURE__ */ (0, O.jsx)(Dz, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, O.jsx)(jz, {+ children: /* @__PURE__ */ (0, O.jsx)(kz, {type: "search",- leadingIcon: cCe,+ leadingIcon: dCe,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -63996,7 +64012,7 @@ function lCe({ label: e, value: t, onQuery: n }) {})});}-function uCe(e) {+function pCe(e) {let [t, n] = (0, D.useState)(!1), [r, i] = (0, D.useState)(() => sZ({kind: e.kind,q: e.q,@@ -64031,7 +64047,7 @@ function uCe(e) {initialPageParam: 0,getNextPageParam: C.getNextPageParam,placeholderData: b ? _e : void 0- }), T = Rbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = zbe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, D.useRef)(null), M = w.data?.pages[0]?.categories;+ }), T = Vbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = Hbe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, D.useRef)(null), M = w.data?.pages[0]?.categories;M && !w.isPlaceholderData && (j.current = {key: A,counts: M@@ -64055,7 +64071,7 @@ function uCe(e) {]), I = (t) => {o(t), e.savePreference({ layout: t });}, ne = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(BQ, {- tabs: iCe,+ tabs: sCe,value: m,label: "词表",onChange: (e) => {@@ -64066,7 +64082,7 @@ function uCe(e) {});}}) : oZ(f) ? /* @__PURE__ */ (0, O.jsx)(BQ, {- tabs: rCe,+ tabs: oCe,value: f,label: "公司类型",onChange: (e) => S({ kind: e })@@ -64095,18 +64111,18 @@ function uCe(e) {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: w.isPending || w.isError ? "" : k}) : null,- aZ(f) ? /* @__PURE__ */ (0, O.jsx)(sCe, {+ aZ(f) ? /* @__PURE__ */ (0, O.jsx)(uCe, {kind: f,layout: a,onChange: I}) : null,- /* @__PURE__ */ (0, O.jsx)($z, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),+ /* @__PURE__ */ (0, O.jsx)(Zz, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),f === "tags" ? /* @__PURE__ */ (0, O.jsx)(J, {variant: t ? "primary" : "ghost",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: Rz("pencil"),+ leadingIcon: Iz("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -64114,7 +64130,7 @@ function uCe(e) {e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, O.jsx)(lCe, {+ /* @__PURE__ */ (0, O.jsx)(fCe, {label: `过滤${_}`,value: p,onQuery: (e) => {@@ -64124,7 +64140,7 @@ function uCe(e) {]}),f === "performers" || f === "creators" ? /* @__PURE__ */ (0, O.jsx)(BQ, {- tabs: aCe,+ tabs: cCe,value: y ? "online" : f,label: "人物名册",onChange: (t) => {@@ -64136,7 +64152,7 @@ function uCe(e) {}}) : null,ne,- t && f === "tags" ? /* @__PURE__ */ (0, O.jsx)(nCe, {+ t && f === "tags" ? /* @__PURE__ */ (0, O.jsx)(aCe, {scope: m,search: p,category: g,@@ -64184,8 +64200,8 @@ function uCe(e) {mode: h}) }});- if (w.isError) return /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz("alert"),+ if (w.isError) return /* @__PURE__ */ (0, O.jsx)(Pz, {+ icon: Iz("alert"),title: `没能读取${_}`,actions: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -64194,7 +64210,7 @@ function uCe(e) {}),children: Ut(w.error)});- if (!T.length) return /* @__PURE__ */ (0, O.jsx)(fCe, {+ if (!T.length) return /* @__PURE__ */ (0, O.jsx)(hCe, {kind: f,filtered: !!p || g !== "all",online: v || y,@@ -64203,7 +64219,7 @@ function uCe(e) {category: "all"})});- if (y) return /* @__PURE__ */ (0, O.jsx)(Wbe, {+ if (y) return /* @__PURE__ */ (0, O.jsx)(qbe, {items: T,layout: a,props: e@@ -64243,7 +64259,7 @@ function uCe(e) {}) : null, "载入更多"]})}) : null,- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, O.jsx)(QSe, {+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, O.jsx)(tCe, {count: s.size,match: l,onMatch: u,@@ -64257,16 +64273,16 @@ function uCe(e) {]});}-var dCe = {+var mCe = {tags: "标签",performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所"};-function fCe({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz("search"),+function hCe({ kind: e, filtered: t, online: n, onClear: r }) {+ if (t) return /* @__PURE__ */ (0, O.jsx)(Pz, {+ icon: Iz("search"),title: "没有符合条件的内容",actions: /* @__PURE__ */ (0, O.jsx)(J, {size: "small",@@ -64275,16 +64291,16 @@ function fCe({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : dCe[e], a = /* @__PURE__ */ (0, O.jsx)(JF, {+ let i = n && e === "performers" ? "创作者" : mCe[e], a = /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: Rz(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, O.jsx)(Pz, {+ icon: Iz(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(JF, {+ actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/settings/library",children: "添加媒体"@@ -64299,8 +64315,8 @@ var r$ = {audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, pCe = (e) => r$[e.junk_kind || "other"] || r$.other;-function mCe(e) {+}, gCe = (e) => r$[e.junk_kind || "other"] || r$.other;+function _Ce(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -64311,21 +64327,21 @@ function mCe(e) {glyph: "check"};}-var i$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), hCe = (e, t) => [+var i$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), vCe = (e, t) => ["junk-queue",e.view,e.kind,t];-function gCe({ kind: e, view: t }) {+function yCe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function _Ce(e, t) {- let n = await V(`/api/ads?${gCe(e)}`, t);+async function bCe(e, t) {+ let n = await V(`/api/ads?${yCe(e)}`, t);return {...n,items: n.items || []@@ -64341,8 +64357,8 @@ function a$({ name: e }) {});}var o$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function vCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, D.useRef)(null), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = e.junk_kind || "other", [f, p] = pCe(e), m = String(e.name || ""), h = mCe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {+function xCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, D.useRef)(null), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = e.junk_kind || "other", [f, p] = gCe(e), m = String(e.name || ""), h = _Ce(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]") || o$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {t.stopPropagation(), o$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);@@ -64376,7 +64392,7 @@ function vCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: PW,+ onMouseDown: FW,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",@@ -64472,7 +64488,7 @@ function vCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var yCe = (0, D.memo)(vCe), s$ = [+var SCe = (0, D.memo)(xCe), s$ = [["","全部",@@ -64508,11 +64524,11 @@ var yCe = (0, D.memo)(vCe), s$ = ["其它","hard-drive"]-], bCe = (e) => s$.find(([t]) => t === e)?.[0] ?? "";+], CCe = (e) => s$.find(([t]) => t === e)?.[0] ?? "";function c$(e) {let t = new URLSearchParams(e);return {- kind: bCe(t.get("type")),+ kind: CCe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}@@ -64536,7 +64552,7 @@ function u$(e) {};}var d$ = (e) => e === "dismissed" ? "已排除" : "待判断", f$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function xCe({ kind: e, view: t }) {+function wCe({ kind: e, view: t }) {let n = s$.map(([n, r, i]) => `<a href="${l$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${f$(i)}${B(r)}</a>`).join(""), r = u$(t);return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Qo(d$(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\"" : ""}>${f$(r.glyph)}${r.label}</a></nav></div></div></div>`;}@@ -64582,8 +64598,8 @@ function h$({ scope: e, count: t }) {children: t.toLocaleString()})] }) : null;}-function SCe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = iV(), a = (0, D.useRef)(null), { kind: o, view: s } = e, c = KF(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? s$.map(([e]) => i$(t, e)).join(",") : ""}`), l = u$(s), u = (e) => {+function TCe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = nV(), a = (0, D.useRef)(null), { kind: o, view: s } = e, c = WF(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? s$.map(([e]) => i$(t, e)).join(",") : ""}`), l = u$(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") || l$()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";@@ -64652,33 +64668,33 @@ function SCe({ route: e, page: t, failed: n, onNavigate: r }) {}//#endregion//#region src/react/junk-queue/junk-queue-page.tsx-var CCe = Rz("check"), wCe = (e, t) => e[1] === t.view && e[2] === t.kind;-function TCe(e) {+var ECe = Iz("check"), DCe = (e, t) => e[1] === t.view && e[2] === t.kind;+function OCe(e) {let t = {kind: e.kind,view: e.view}, n = St({- queryKey: hCe(t, e.revision),- queryFn: ({ signal: e }) => _Ce(t, e),- placeholderData: (e, n) => n && wCe(n.queryKey, t) ? e : void 0+ queryKey: vCe(t, e.revision),+ queryFn: ({ signal: e }) => bCe(t, e),+ placeholderData: (e, n) => n && DCe(n.queryKey, t) ? e : void 0});(0, D.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = ECe(e.countRow), i = n.isPending;+ let r = kCe(e.countRow), i = n.isPending;(0, D.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, D.useLayoutEffect)(() => {r && n.data && ms(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(SCe, {+ let { navigate: a } = e.actions, o = r ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(TCe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [o, /* @__PURE__ */ (0, O.jsx)(DCe, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [o, /* @__PURE__ */ (0, O.jsx)(ACe, {props: e,data: n.data,pending: i,@@ -64686,7 +64702,7 @@ function TCe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function ECe(e) {+function kCe(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!e) return;@@ -64696,8 +64712,8 @@ function ECe(e) {};}, [e]), t;}-function DCe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = lW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, D.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, D.useCallback)(() => {+function ACe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = uW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, D.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, D.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -64705,16 +64721,16 @@ function DCe({ 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, O.jsx)(uW, {+ if (!t) return /* @__PURE__ */ (0, O.jsx)(dW, {message: Ut(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, O.jsx)(Iz, {- icon: CCe,+ return /* @__PURE__ */ (0, O.jsx)(Pz, {+ icon: ECe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, O.jsx)(JF, {+ actions: t ? /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: "/junk-files",children: "查看待判断"@@ -64727,7 +64743,7 @@ function DCe({ 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, O.jsx)(yCe, {+ children: u.map((t) => /* @__PURE__ */ (0, O.jsx)(SCe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -64736,7 +64752,7 @@ function DCe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, O.jsx)(OCe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, O.jsx)(jCe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, O.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -64746,14 +64762,14 @@ function DCe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function OCe({ onMore: e }) {+function jCe({ onMore: e }) {let t = (0, D.useRef)(null);return (0, D.useEffect)(() => {let n = t.current;if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: cW });+ }, { rootMargin: lW });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, O.jsx)("div", {ref: t,@@ -64764,17 +64780,17 @@ function OCe({ onMore: e }) {}//#endregion//#region src/react/wants/wants.ts-var g$ = "/api/wants", _$ = ["wants"], kCe = (e) => [+var g$ = "/api/wants", _$ = ["wants"], MCe = (e) => ["wants","follow",e-], ACe = [+], NCe = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]], v$ = (e) => V(g$, e);-function jCe(e, t) {+function PCe(e, t) {U.setQueryData(_$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {@@ -64783,17 +64799,17 @@ function jCe(e, t) {} : n)} : n);}-var MCe = (e, t) => V(`${g$}?follow=${encodeURIComponent(e)}`, t), y$ = (e, t) => H(g$, {+var FCe = (e, t) => V(`${g$}?follow=${encodeURIComponent(e)}`, t), y$ = (e, t) => H(g$, {action: "add",...e}, "POST", t), b$ = (e, t) => H(g$, {action: "remove",ids: e-}, "POST", t), NCe = (e, t) => H(g$, {+}, "POST", t), ICe = (e, t) => H(g$, {action: "reset",ids: e-}, "POST", t), x$ = () => U.invalidateQueries({ queryKey: _$ }), PCe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function FCe(e) {+}, "POST", t), x$ = () => U.invalidateQueries({ queryKey: _$ }), LCe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function RCe(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} 次` : "还没查过";}//#endregion@@ -64802,8 +64818,8 @@ var S$ = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], C$ = (e) => S$.some(([t]) => t === e) ? e : "library", ICe = (e) => C$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function LCe(e) {+], C$ = (e) => S$.some(([t]) => t === e) ? e : "library", zCe = (e) => C$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function BCe(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}@@ -64824,7 +64840,7 @@ function T$(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"), V(`/api/jav/discoveries?${r}`, t);}-function RCe(e, t, n) {+function VCe(e, t, n) {let r = Wa({...e,is_jav: !0@@ -64833,7 +64849,7 @@ function RCe(e, t, n) {let i = B(Ma(e));return Ha(e, t).replace(/ src="[^"]*"/, ` src="${i}" data-jav-image="${e.id}" data-jav-cover="${i}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"media-nopic\"");}-async function zCe(e, t) {+async function HCe(e, t) {e === "wants" ? await U.ensureQueryData({queryKey: _$,queryFn: () => v$(t),@@ -64848,7 +64864,7 @@ async function zCe(e, t) {}//#endregion//#region src/react/components/fieldset-layout.ts-var E$ = MH({+var E$ = NH({padding: "none",bordered: "line",className: "overflow-hidden"@@ -64864,10 +64880,10 @@ function k$(e) {}//#endregion//#region src/management.ts-var A$ = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", j$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", M$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", N$ = "disabled data-skeleton-action", BCe = "aria-disabled=\"true\"", P$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, F$ = (e, t, n) => `<div class="${D$[n]}"><div class="flex flex-col gap-2">+var A$ = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", j$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", M$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", N$ = "disabled data-skeleton-action", UCe = "aria-disabled=\"true\"", P$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, F$ = (e, t, n) => `<div class="${D$[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 VCe() {+function WCe() {return P$(`<section aria-label="扫描与采集" class="${k$("stack")}" data-cleanup-task data-cleanup-processing>${F$("扫描与采集", A$, "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>${Vo("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Wo({@@ -64879,12 +64895,12 @@ function VCe() {})}</span></footer></section>`);}-function HCe() {+function GCe() {return P$(`<section aria-label="媒体修复" class="${k$("split")}" data-cleanup-task data-cleanup-processing>${F$("媒体修复", j$, "split")}<footer class="${O$.split}">${Ko(M$, {className: "w-48",- attrs: BCe+ attrs: UCe})}${Wo({label: "开始修复",attrs: N$@@ -64905,7 +64921,7 @@ function I$() {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"><div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><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">${Vo(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${M$}</strong><span class="text-caption-1-regular">${M$}</span></div>`).join("")}</div><div class="flex flex-col gap-4 max-cleanup-tight:gap-3">- <div id="libraryProcessing">${VCe()}</div><div id="mediaRepair">${HCe()}</div>+ <div id="libraryProcessing">${WCe()}</div><div id="mediaRepair">${GCe()}</div><section id="organize" class="${t} flex flex-col" data-cleanup-organize><div class="${n}">${r("整理", "mb-3")}<p class="text-body-regular text-text-secondary">清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p><div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${Ko(M$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Wo({variant: "secondary",@@ -64923,12 +64939,12 @@ function I$() {}//#endregion//#region src/react/components/fieldset.tsx-var UCe = MH({+var KCe = NH({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), WCe = "border-t border-border-button-default p-4 first:border-t-0";+}), qCe = "border-t border-border-button-default p-4 first:border-t-0";function L$({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, O.jsx)("h3", {id: e,@@ -64954,7 +64970,7 @@ function R$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a,}//#endregion//#region src/react/components/status-label.tsx-var GCe = {+var JCe = {success: "lime",progress: "blue",warning: "yellow",@@ -64965,13 +64981,13 @@ function z$({ tone: e = "neutral", ...t }) {return /* @__PURE__ */ (0, O.jsx)(hZ, {"data-status-tone": e,variant: "caption",- color: GCe[e],+ color: JCe[e],...t});}//#endregion//#region src/react/components/path-line.tsx-function KCe({ className: e }) {+function YCe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -64984,7 +65000,7 @@ function KCe({ className: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-folder-open" })});}-var qCe = "打开文件管理器失败,请重试";+var XCe = "打开文件管理器失败,请重试";function B$({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(!0);(0, D.useEffect)(() => () => {@@ -64996,7 +65012,7 @@ function B$({ path: e, prefix: t, className: n, onRevealed: r }) {try {await H("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof On ? e.message : qCe);+ c.current && s(e instanceof On ? e.message : XCe);} finally {c.current && a(!1);}@@ -65007,15 +65023,15 @@ function B$({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, O.jsxs)("p", {- className: eF("min-w-0 break-all", n),+ className: $P("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, O.jsx)(MF, {- icon: KCe,+ }), /* @__PURE__ */ (0, O.jsx)(AF, {+ icon: YCe,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",onClick: () => void l(),- ...Bz(i)+ ...Rz(i)})]}), o ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-caption-1-regular text-text-error-primary",@@ -65025,42 +65041,51 @@ function B$({ path: e, prefix: t, className: n, onRevealed: r }) {}//#endregion//#region src/react/library-processing/library-processing-card.tsx-var JCe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", YCe = (e) => {+var ZCe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", QCe = (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(",")}。`;-}, XCe = (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} 部视频预览。` : "") + YCe(e);-function ZCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = qme(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Wme(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = iV();+}, $Ce = (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} 部视频预览。` : "") + QCe(e);+function ewe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = Yme(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Kme(e.notes || {}), c = !!t || e.status === "failed", l = !t && uH(e), u = c && !!a?.log, d = nV();return /* @__PURE__ */ (0, O.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "warning",title: "处理较慢",- children: JCe+ children: ZCe}) : null,- c ? /* @__PURE__ */ (0, O.jsx)(Fz, {- tone: "error",+ c ? /* @__PURE__ */ (0, O.jsxs)(Nz, {+ tone: l ? "warning" : "error",className: "gap-0 p-3",- action: o ? /* @__PURE__ */ (0, O.jsx)(J, {- variant: "secondary",- size: "small",- "aria-label": "立即重试未完成项",- onClick: r,- children: "立即重试"- }) : null,+ title: l ? "处理已结束,部分项目需处理" : "处理未完成",+ action: /* @__PURE__ */ (0, O.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [l ? /* @__PURE__ */ (0, O.jsx)(SH, {+ href: fH,+ size: "small",+ trailingIcon: cz,+ children: "查看全部内容"+ }) : null, o ? /* @__PURE__ */ (0, O.jsx)(J, {+ variant: "secondary",+ size: "small",+ "aria-label": "立即重试未完成项",+ onClick: r,+ children: "立即重试"+ }) : null]+ }),extra: a ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3",- children: /* @__PURE__ */ (0, O.jsxs)(KH, {+ children: /* @__PURE__ */ (0, O.jsxs)(qH, {summary: a.label,contentClassName: "gap-0",children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "relative",children: /* @__PURE__ */ (0, O.jsx)("ul", {- ref: u,+ ref: d,className: "max-h-96 overflow-y-auto pr-3",children: a.items.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {className: "flex flex-col gap-1 border-b border-current/15 py-2 wrap-anywhere first:pt-0 last:border-b-0 last:pb-0",@@ -65085,7 +65110,7 @@ function ZCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}, e.key))})}), a.log ? /* @__PURE__ */ (0, O.jsx)("div", {- className: "mt-3 border-t border-border-error-default/20 pt-3 text-text-secondary",+ className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",children: /* @__PURE__ */ (0, O.jsx)(B$, {path: a.log,prefix: "完整记录:",@@ -65095,17 +65120,17 @@ function ZCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null]})}) : null,- children: t || e.error || "处理未完成,请重试"+ children: [t || e.error || "处理未完成,请重试", l ? `\n${dH}` : null]}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "success",title: "处理完成",- children: XCe(n)+ children: $Ce(n)}) : null,- !dH(e) && s ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ !lH(e) && s ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",className: "gap-0 p-3",- extra: e.issues_log && !l ? /* @__PURE__ */ (0, O.jsx)("div", {+ extra: e.issues_log && !u ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",children: /* @__PURE__ */ (0, O.jsx)(B$, {path: e.issues_log,@@ -65120,16 +65145,16 @@ function ZCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {});}function V$(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = jH(e), o = Ct({- mutationFn: (e) => H(lH, e),+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = MH(e), o = Ct({+ mutationFn: (e) => H(sH, e),onSuccess: (e) => {- a(), U.setQueryData(uH, e), U.invalidateQueries({ queryKey: uH });+ a(), U.setQueryData(cH, e), U.invalidateQueries({ queryKey: cH });}});(0, D.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? An(o.error) : r.isError ? r.data ? hH : An(r.error) : "", l = o.isPending || dH(s), u = async (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? An(o.error) : r.isError ? r.data ? gH : An(r.error) : "", l = o.isPending || lH(s), u = async (e) => {l || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -65138,19 +65163,19 @@ function V$(e) {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(xH, {+ /* @__PURE__ */ (0, O.jsx)(SH, {href: "/sources",size: "small",- trailingIcon: uz,+ trailingIcon: cz,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, O.jsx)(xH, {+ s.candidates ? /* @__PURE__ */ (0, O.jsx)(SH, {href: "/review",size: "small",- trailingIcon: uz,+ trailingIcon: cz,children: "复核资料"}) : null,- /* @__PURE__ */ (0, O.jsx)(oK, {+ /* @__PURE__ */ (0, O.jsx)(sK, {scan: !0,busy: l,metadataOnly: s?.metadata_only,@@ -65169,16 +65194,16 @@ function V$(e) {s.status === "paused" && !s.total ? /* @__PURE__ */ (0, O.jsx)("span", {className: "self-start",children: /* @__PURE__ */ (0, O.jsx)(z$, { children: "已暂停" })- }) : dH(s) ? /* @__PURE__ */ (0, O.jsx)(uhe, { state: s }) : null,- dH(s) ? /* @__PURE__ */ (0, O.jsx)("p", {+ }) : lH(s) ? /* @__PURE__ */ (0, O.jsx)(fhe, { state: s }) : null,+ lH(s) ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: fH(s)+ children: pH(s)}) : null,- dH(s) ? /* @__PURE__ */ (0, O.jsx)(eU, { traffic: s.traffic }) : null+ lH(s) ? /* @__PURE__ */ (0, O.jsx)(tU, { traffic: s.traffic }) : null]})- }), /* @__PURE__ */ (0, O.jsx)(ZCe, {+ }), /* @__PURE__ */ (0, O.jsx)(ewe, {state: s,problem: c,settled: i,@@ -65194,30 +65219,30 @@ function V$(e) {}//#endregion//#region src/react/playlists/playlists.ts-var QCe = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => V(QCe, e);-async function $Ce(e) {+var twe = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => V(twe, e);+async function nwe(e) {await U.fetchQuery({queryKey: U$,queryFn: () => W$(e),staleTime: 0});}-var ewe = () => U.invalidateQueries({+var rwe = () => U.invalidateQueries({queryKey: U$,exact: !0-}), twe = (e) => e.current_asset_id || e.preview_asset_id || null, nwe = (e) => `/poster?id=${e}&c=4`, rwe = (e) => H(H$, {+}), iwe = (e) => e.current_asset_id || e.preview_asset_id || null, awe = (e) => `/poster?id=${e}&c=4`, owe = (e) => H(H$, {action: "create",name: e,asset_ids: []-}), iwe = (e, t) => H(H$, {+}), swe = (e, t) => H(H$, {action: "rename",id: e,name: t-}), awe = (e) => H(H$, {+}), cwe = (e) => H(H$, {action: "delete",id: e-}), owe = (e) => V(`${H$}?id=${e}`).catch(() => null);-function swe(e) {+}), lwe = (e) => V(`${H$}?id=${e}`).catch(() => null);+function uwe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;return H(H$, {action: "create",@@ -65229,8 +65254,8 @@ function swe(e) {}//#endregion//#region src/react/scraping/custom-source-data.ts-var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => V(G$, e), cwe = "/api/scraping", lwe = "/api/scraping/settings", uwe = "/api/scraping/check", J$ = "/api/scraping/cover", dwe = "/api/scraping/amane-bridge", fwe = "/api/scraping/amane-bridge/check", pwe = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], mwe = 262144, Q$ = (e) => V(cwe, e), $$ = (e) => V(J$, e), e1 = (e) => V(dwe, e);-async function hwe(e) {+var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => V(G$, e), dwe = "/api/scraping", fwe = "/api/scraping/settings", pwe = "/api/scraping/check", J$ = "/api/scraping/cover", mwe = "/api/scraping/amane-bridge", hwe = "/api/scraping/amane-bridge/check", gwe = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], _we = 262144, Q$ = (e) => V(dwe, e), $$ = (e) => V(J$, e), e1 = (e) => V(mwe, e);+async function vwe(e) {await Promise.all([U.fetchQuery({queryKey: Y$,@@ -65250,7 +65275,7 @@ async function hwe(e) {})]);}-function gwe(e, t) {+function ywe(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}` : "");}//#endregion@@ -65268,7 +65293,7 @@ var t1 = /* @__PURE__ */ new Set(["photo","release"]), r1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function _we({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+function bwe({ 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,@@ -65357,7 +65382,7 @@ function _we({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function vwe(e, t, n = Math.random) {+function xwe(e, t, n = Math.random) {let r = [...e];for (let e = r.length - 1; e > 0; --e) {let t = Math.floor(n() * (e + 1));@@ -65367,7 +65392,7 @@ function vwe(e, t, n = Math.random) {}//#endregion//#region src/react/search/search-page.tsx-var ywe = () => ({+var Swe = () => ({history: [],pool: [],poolRequest: 0,@@ -65385,7 +65410,7 @@ var ywe = () => ({active: -1,reveal: !1,rewind: !1-}), i1 = (e) => _we({+}), i1 = (e) => bwe({query: e.query,history: e.history,picks: e.picks,@@ -65394,18 +65419,18 @@ var ywe = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), bwe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {+}), Cwe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});-function xwe(e) {+function wwe(e) {let t = (0, D.useRef)(e);t.current = e;let n = (0, D.useRef)(null);- n.current ??= ywe();+ n.current ??= Swe();let r = n.current, i = (0, D.useRef)(null), [, a] = (0, D.useReducer)((e) => e + 1, 0), o = (0, D.useRef)(null);- o.current ??= Swe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= Twe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, D.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();@@ -65418,7 +65443,7 @@ function xwe(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 = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, O.jsx)(wwe, {+ let c = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, O.jsx)(Dwe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -65450,7 +65475,7 @@ function xwe(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, O.jsx)(Cwe, {+ c.tabs ? /* @__PURE__ */ (0, O.jsx)(Ewe, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -65477,7 +65502,7 @@ function xwe(e) {]});}-function Swe(e, t, n, r) {+function Twe(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 () => {@@ -65534,9 +65559,9 @@ function Swe(e, t, n, r) {let i = n();i && e().helpers.dismiss(i), t.active = -1, r();}, h = () => {- t.query = i().value.trim(), t.picks = t.query ? [] : vwe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : xwe(t.pool, o()), t.active = -1;let a = n();- a && (bwe(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (Cwe(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, g = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -65609,7 +65634,7 @@ function Swe(e, t, n, r) {openPath: C};}-function Cwe({ tabs: e, kind: t, onPick: n, wire: r }) {+function Ewe({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {r(i.current);@@ -65625,7 +65650,7 @@ function Cwe({ tabs: e, kind: t, onPick: n, wire: r }) {onClick: () => n(e),children: [r, i ? /* @__PURE__ */ (0, O.jsx)(zQ, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, O.jsxs)(rF, {+ return /* @__PURE__ */ (0, O.jsxs)(nF, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -65635,7 +65660,7 @@ function Cwe({ tabs: e, kind: t, onPick: n, wire: r }) {});}var o1 = (e) => e.preventDefault();-function wwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+function Dwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -65796,7 +65821,7 @@ function c1({ item: e, kind: t }) {//#endregion//#region src/react/settings/configuration.tsvar l1 = ["configuration"], u1 = (e) => V(tX, e);-async function Twe(e) {+async function Owe(e) {await U.fetchQuery({queryKey: l1,queryFn: () => u1(e)@@ -65850,7 +65875,7 @@ function p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function Ewe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function kwe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)({onStep: a,onSettle: o@@ -65885,7 +65910,7 @@ function Ewe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet}//#endregion//#region src/react/settings-panel/glow-settings.tsx-var Dwe = [+var Awe = [["strength","强度",@@ -65912,8 +65937,8 @@ var Dwe = [100]];-function Owe({ host: e, spot: t, index: n, glow: r }) {- let i = poe[n], a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = iV(), [l, u] = (0, D.useState)("all");+function jwe({ host: e, spot: t, index: n, glow: r }) {+ let i = hoe[n], a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = nV(), [l, u] = (0, D.useState)("all");(0, D.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -65926,7 +65951,7 @@ function Owe({ host: e, spot: t, index: n, glow: r }) {}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = Xk(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), So(), o.current?.focus();+ r[t].color = Jk(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), So(), o.current?.focus();};return /* @__PURE__ */ (0, O.jsxs)("div", {"data-glow-stop": t,@@ -65951,7 +65976,7 @@ function Owe({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-down" })+ /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-down" })]}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "popmenu",@@ -65963,7 +65988,7 @@ function Owe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: Jk.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: Kk.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -65977,7 +66002,7 @@ function Owe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: goe.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: voe.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -65994,8 +66019,8 @@ function Owe({ host: e, spot: t, index: n, glow: r }) {})]});}-function kwe({ host: e }) {- let t = e.store.value.homeGlow, n = Hk(t.preset);+function Mwe({ host: e }) {+ let t = e.store.value.homeGlow, n = Bk(t.preset);return /* @__PURE__ */ (0, O.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -66014,10 +66039,10 @@ function kwe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, O.jsx)("b", {"data-glow-preset-name": "",- children: moe(t.preset)+ children: goe(t.preset)})]}),- /* @__PURE__ */ (0, O.jsx)(HA, {+ /* @__PURE__ */ (0, O.jsx)(BA, {store: e.store,label: "光晕配色"}),@@ -66028,7 +66053,7 @@ function kwe({ host: e }) {}),/* @__PURE__ */ (0, O.jsx)("div", {"data-glow-fields": "",- children: Dwe.map(([r, i, a]) => /* @__PURE__ */ (0, O.jsx)(Ewe, {+ children: Awe.map(([r, i, a]) => /* @__PURE__ */ (0, O.jsx)(kwe, {field: r,label: i,max: a,@@ -66049,7 +66074,7 @@ function kwe({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = Qk(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = Xk(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -66068,7 +66093,7 @@ function kwe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, O.jsx)("div", {"data-glow-stops": "",- children: zk.map((n, r) => /* @__PURE__ */ (0, O.jsx)(Owe, {+ children: Lk.map((n, r) => /* @__PURE__ */ (0, O.jsx)(jwe, {host: e,spot: n,index: r,@@ -66081,7 +66106,7 @@ function kwe({ host: e }) {}//#endregion//#region src/react/settings-panel/number-setting.tsx-var Awe = {+var Nwe = {batchSizeSetting: {min: 1,max: 200,@@ -66135,8 +66160,8 @@ function h1(e, t) {return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = Awe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, D.useRef)(0);- d.current ||= Ok(Number(localStorage.getItem(m1(e))), o, s, n && n > 0 ? n : l);+ let a = Nwe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, D.useRef)(0);+ d.current ||= Ek(Number(localStorage.getItem(m1(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, D.useState)(n ?? 0), [m, h] = (0, D.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, D.useState)(""), v = (0, D.useRef)(null), y = (0, D.useRef)(i);y.current = i, (0, D.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));@@ -66220,8 +66245,8 @@ function v1(e, t, n, r) {}//#endregion//#region src/react/settings-panel/sidebar-order.tsx-var jwe = "__home__", y1 = (e) => e === "" ? jwe : e;-function Mwe({ host: e }) {+var Pwe = "__home__", y1 = (e) => e === "" ? Pwe : e;+function Fwe({ host: e }) {let t = _1(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, D.useState)(null), [c, l] = (0, D.useState)(!1), [u, d] = (0, D.useState)(null), [f, p] = (0, D.useState)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (e, r, i) => {let a = v1(n, e, r, i);a && t(a);@@ -66283,9 +66308,9 @@ function Mwe({ host: e }) {/* @__PURE__ */ (0, O.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, O.jsx)(cP, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, O.jsx)(lP, { name: a ?? "" }),+ /* @__PURE__ */ (0, O.jsx)(cP, { name: a ?? "" }),/* @__PURE__ */ (0, O.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, O.jsxs)("span", {@@ -66299,7 +66324,7 @@ function Mwe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-up" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66309,7 +66334,7 @@ function Mwe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-down" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66321,7 +66346,7 @@ function Mwe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "eye-off" })+ children: /* @__PURE__ */ (0, O.jsx)(cP, { name: "eye-off" })})]})]@@ -66341,13 +66366,13 @@ function Mwe({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(lP, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, O.jsx)(cP, { name: v[2] ?? "" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(lP, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(cP, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, O.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -66365,7 +66390,7 @@ function Mwe({ host: e }) {onClick: () => {s(y1(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, O.jsx)(lP, { name: n ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]+ children: [/* @__PURE__ */ (0, O.jsx)(cP, { name: n ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]}, y1(e)))}) : null]}), /* @__PURE__ */ (0, O.jsx)("button", {@@ -66389,7 +66414,7 @@ var b1 = [["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], Nwe = [+], Iwe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -66398,7 +66423,7 @@ var b1 = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Pwe = [["desc", "降序"], ["asc", "升序"]], Fwe = [[+], Lwe = [["desc", "降序"], ["asc", "升序"]], Rwe = [["cover","官方封面",""@@ -66406,7 +66431,7 @@ var b1 = ["thumbnail","预览图",""-]], Iwe = [+]], zwe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -66425,32 +66450,32 @@ var b1 = ["切片","隐藏切片"]-], Lwe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {+], Bwe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null}, C1 = 0, w1 = null, T1 = /* @__PURE__ */ new Set();-function Rwe(e) {+function Vwe(e) {return T1.add(e), () => {T1.delete(e);};}-function zwe() {+function Hwe() {for (let e of [...T1]) e();}function E1(e) {S1 = {...S1,...e- }, (0, Tt.flushSync)(zwe);+ }, (0, Tt.flushSync)(Hwe);}-async function Bwe(e) {+async function Uwe(e) {let t = S1.epoch, n = await e.configurable();S1.open && S1.epoch === t && E1({ configurable: n });}-function Vwe(e = "") {+function Wwe(e = "") {let t = x1;if (!t) return;let n = b1.findIndex(([t]) => t === e);@@ -66459,7 +66484,7 @@ function Vwe(e = "") {return;}So(), C1 += 1, w1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = wye();+ let r = Dye();E1({open: !0,closing: !1,@@ -66468,7 +66493,7 @@ function Vwe(e = "") {tab: n >= 0 ? n : S1.tab}), r.then((e) => {e && t.syncRemote(e);- }), Bwe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), Uwe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}function D1(e = !0) {if (!S1.open || S1.closing) return;@@ -66482,31 +66507,31 @@ function D1(e = !0) {};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var Hwe = {- open: Vwe,+var Gwe = {+ open: Wwe,close: D1,isOpen: () => S1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function Uwe(e) {- return x1 = e, Hwe;+function Kwe(e) {+ return x1 = e, Gwe;}-function Wwe() {- let e = (0, D.useSyncExternalStore)(Rwe, () => S1);- return x1 ? /* @__PURE__ */ (0, O.jsx)(qwe, {+function qwe() {+ let e = (0, D.useSyncExternalStore)(Vwe, () => S1);+ return x1 ? /* @__PURE__ */ (0, O.jsx)(Xwe, {host: x1,view: e}) : null;}-function Gwe(e) {+function Jwe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(Lwe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(Bwe)].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 O1 = (e) => `settings-tab-${e}`, k1 = (e) => `settings-group-${e}`;-function Kwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+function Ywe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(e), l = (0, D.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -66578,7 +66603,7 @@ function Kwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, O.jsx)(lP, { name: n }) : /* @__PURE__ */ (0, O.jsx)(Cce, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, O.jsx)(cP, { name: n }) : /* @__PURE__ */ (0, O.jsx)(wce, { name: n }), t]}, t)),/* @__PURE__ */ (0, O.jsx)("div", {"data-settings-service": "",@@ -66589,9 +66614,9 @@ function Kwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, O.jsx)(lP, { name: "folder-cog" }),+ /* @__PURE__ */ (0, O.jsx)(cP, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-right" })+ /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-right" })]})})@@ -66634,7 +66659,7 @@ function M1({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("span", { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, O.jsx)("small", { children: t }) : t] }), r]});}-function qwe({ host: e, view: t }) {+function Xwe({ host: e, view: t }) {(0, D.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -66666,7 +66691,7 @@ function qwe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: Gwe,+ onKeyDown: Jwe,onClick: (e) => {e.target === e.currentTarget && D1();},@@ -66680,13 +66705,13 @@ function qwe({ host: e, view: t }) {children: [/* @__PURE__ */ (0, O.jsx)("h2", {id: "settingsTitle",children: b1[t.tab][0]- }), /* @__PURE__ */ (0, O.jsx)(zz, {+ }), /* @__PURE__ */ (0, O.jsx)(Lz, {id: "settingsClose",label: "关闭设置",onPress: () => D1()})]}),- /* @__PURE__ */ (0, O.jsx)(Kwe, {+ /* @__PURE__ */ (0, O.jsx)(Ywe, {tab: t.tab,epoch: d,configurable: t.configurable,@@ -66755,7 +66780,7 @@ function qwe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, O.jsx)(kwe, { host: e }),+ /* @__PURE__ */ (0, O.jsx)(Mwe, { host: e }),/* @__PURE__ */ (0, O.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -66767,18 +66792,18 @@ function qwe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, O.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, O.jsx)(Mwe, { host: e })+ children: /* @__PURE__ */ (0, O.jsx)(Fwe, { host: e })})})]})]}),- /* @__PURE__ */ (0, O.jsx)(Ywe, {+ /* @__PURE__ */ (0, O.jsx)(Qwe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, O.jsx)(Xwe, {+ /* @__PURE__ */ (0, O.jsx)($we, {host: e,tab: t.tab,epoch: d@@ -66787,7 +66812,7 @@ function qwe({ host: e, view: t }) {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, O.jsx)($we, {+ /* @__PURE__ */ (0, O.jsx)(nTe, {host: e,epoch: d}),@@ -66809,7 +66834,7 @@ function qwe({ host: e, view: t }) {title: "口味与记录",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(JF, {+ children: /* @__PURE__ */ (0, O.jsx)(KF, {variant: "secondary",href: "/taste",onClick: () => D1(!1),@@ -66837,7 +66862,7 @@ function qwe({ host: e, view: t }) {})});}-function Jwe(e, t) {+function Zwe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = cs("arrow-up", "arrow-down", "a", {@@ -66847,7 +66872,7 @@ function Jwe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function Ywe({ host: e, tab: t, epoch: n }) {+function Qwe({ 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, O.jsxs)(A1, {index: 1,@@ -66879,7 +66904,7 @@ function Ywe({ host: e, tab: t, epoch: n }) {children: [/* @__PURE__ */ (0, O.jsx)(p1, {id: "defaultSortSetting",label: "默认排序",- options: Nwe,+ options: Iwe,value: r.defaultSort,epoch: n,onPick: (t) => {@@ -66888,7 +66913,7 @@ function Ywe({ host: e, tab: t, epoch: n }) {}), /* @__PURE__ */ (0, O.jsx)(p1, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: Pwe,+ options: Lwe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -66896,7 +66921,7 @@ function Ywe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => Jwe(e, o)+ decorate: (e) => Zwe(e, o)})]})}),@@ -66937,7 +66962,7 @@ function Ywe({ host: e, tab: t, epoch: n }) {label: "悬停预览延迟",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = Ok(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = Ek(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})@@ -66946,14 +66971,14 @@ function Ywe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "播放"}),- /* @__PURE__ */ (0, O.jsx)(Qwe, {+ /* @__PURE__ */ (0, O.jsx)(tTe, {host: e,epoch: n})]});}-function Xwe({ host: e, tab: t, epoch: n }) {+function $we({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();return /* @__PURE__ */ (0, O.jsxs)(A1, {index: 2,@@ -66969,7 +66994,7 @@ function Xwe({ host: e, tab: t, epoch: n }) {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: Fwe,+ options: Rwe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -66993,7 +67018,7 @@ function Xwe({ host: e, tab: t, epoch: n }) {label: "新作显示数量",value: r.feedLimit,onApply: (t) => {- r.feedLimit = Ok(t, 1, 100, 12), i(), e.changed("feedLimit");+ r.feedLimit = Ek(t, 1, 100, 12), i(), e.changed("feedLimit");}}, n)})@@ -67006,7 +67031,7 @@ function Xwe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- Iwe.map(([t, n, r, i]) => /* @__PURE__ */ (0, O.jsx)(Zwe, {+ zwe.map(([t, n, r, i]) => /* @__PURE__ */ (0, O.jsx)(eTe, {host: e,id: t,settingKey: n,@@ -67016,7 +67041,7 @@ function Xwe({ host: e, tab: t, epoch: n }) {]});}-function Zwe({ host: e, id: t, settingKey: n, label: r, title: i }) {+function eTe({ host: e, id: t, settingKey: n, label: r, title: i }) {let a = pX(), [o, s] = (0, D.useState)(null), c = (0, D.useRef)(null), l = e.store.value, u = (t) => {s(t), cc(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {@@ -67041,7 +67066,7 @@ function Zwe({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function Qwe({ host: e, epoch: t }) {+function tTe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(j1, {@@ -67076,7 +67101,7 @@ function Qwe({ host: e, epoch: t }) {})] });}-function $we({ host: e, epoch: t }) {+function nTe({ host: e, epoch: t }) {let n = e.store.value, r = pX();return /* @__PURE__ */ (0, O.jsx)(M1, {title: "搜索记录数量",@@ -67087,7 +67112,7 @@ function $we({ host: e, epoch: t }) {label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = Ok(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = Ek(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})@@ -67095,7 +67120,7 @@ function $we({ host: e, epoch: t }) {}//#endregion//#region src/react/sidebar/sidebar-island.tsx-var N1 = "__home__", eTe = {+var N1 = "__home__", rTe = {creator: 26,tag: 30,tech: 16@@ -67107,7 +67132,7 @@ var N1 = "__home__", eTe = {},epoch: 0}, L1 = /* @__PURE__ */ new Set();-function tTe(e) {+function iTe(e) {return L1.add(e), () => {L1.delete(e);};@@ -67115,7 +67140,7 @@ function tTe(e) {function R1() {for (let e of [...L1]) e();}-var nTe = {+var aTe = {render(e) {I1 = {...I1,@@ -67129,7 +67154,7 @@ var nTe = {}, (0, Tt.flushSync)(R1);}};-function rTe(e) {+function oTe(e) {return F1 = e, I1 = {...I1,props: {@@ -67137,26 +67162,26 @@ function rTe(e) {filters: {},latest: null}- }, nTe;+ }, aTe;}-function iTe() {- let e = (0, D.useSyncExternalStore)(tTe, () => I1);- return F1 ? /* @__PURE__ */ (0, O.jsx)(aTe, {+function sTe() {+ let e = (0, D.useSyncExternalStore)(iTe, () => I1);+ return F1 ? /* @__PURE__ */ (0, O.jsx)(cTe, {host: F1,props: e.props,epoch: e.epoch}) : null;}-function aTe({ host: e, props: t, epoch: n }) {+function cTe({ host: e, props: t, epoch: n }) {let r = (0, D.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, O.jsx)(oTe, {+ /* @__PURE__ */ (0, O.jsx)(lTe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, O.jsx)(cTe, {+ t.content ? /* @__PURE__ */ (0, O.jsx)(dTe, {host: e,content: t.content,filters: t.filters,@@ -67164,8 +67189,8 @@ function aTe({ host: e, props: t, epoch: n }) {}) : null] });}-function oTe({ host: e, epoch: t, version: n }) {- let r = _1(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, D.useRef)(null), l = (0, D.useRef)(null), u = KF(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function lTe({ host: e, epoch: t, version: n }) {+ let r = _1(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, D.useRef)(null), l = (0, D.useRef)(null), u = WF(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, D.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -67232,7 +67257,7 @@ function oTe({ host: e, epoch: t, version: n }) {height: 24,alt: "",decoding: "async"- }) : /* @__PURE__ */ (0, O.jsx)(lP, { name: r }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ }) : /* @__PURE__ */ (0, O.jsx)(cP, { name: r }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]}, t || N1))}), v ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-glide": "",@@ -67241,7 +67266,7 @@ function oTe({ host: e, epoch: t, version: n }) {}), v) : null] });}var z1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function sTe(e) {+function uTe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -67254,7 +67279,7 @@ function sTe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function cTe({ host: e, content: t, filters: n, latest: r }) {+function dTe({ 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, D.useLayoutEffect)(() => {t.kind === "catalog" && ms(e.scroll, "drawer");@@ -67263,8 +67288,8 @@ function cTe({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? lTe(e, t.facets, n, r, i) : uTe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, O.jsx)(dTe, {+ let a = t.kind === "catalog" ? fTe(e, t.facets, n, r, i) : pTe(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, O.jsx)(mTe, {title: e.title,kind: e.kind,active: e.active,@@ -67273,8 +67298,8 @@ function cTe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function lTe(e, t, n, r, i) {- let a = sTe(r), o = (t, r, i) => {+function fTe(e, t, n, r, i) {+ let a = uTe(r), o = (t, r, i) => {if (!t.length) return null;let o = z1(n, r);return /* @__PURE__ */ (0, O.jsx)(H1, {@@ -67299,12 +67324,12 @@ function lTe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, O.jsx)(pTe, {+ body: /* @__PURE__ */ (0, O.jsx)(gTe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: eTe[d],+ limit: rTe[d],filterKey: l,selected: f,counts: a,@@ -67342,7 +67367,7 @@ function lTe(e, t, n, r, i) {} : null];}-function uTe(e, t, n) {+function pTe(e, t, n) {let r = t.providers || [], i = z1(n, "provider"), a = new Set(t.selected);return [r.length ? {@@ -67389,7 +67414,7 @@ function B1(e, t) {} catch {}return n === null ? t : n === "open";}-function dTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+function mTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(() => B1(e, n)), u = (0, D.useRef)(!1);(0, D.useLayoutEffect)(() => {let t = o.current, r = s.current;@@ -67415,7 +67440,7 @@ function dTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-right" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-right" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, O.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -67436,8 +67461,8 @@ function dTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })});}var V1 = (0, D.createContext)(() => {});-function fTe({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, O.jsx)(lP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, O.jsx)("img", {+function hTe({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, O.jsx)(cP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, O.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""@@ -67460,7 +67485,7 @@ function H1({ 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, O.jsx)(fTe, { dot: e.dot }),+ /* @__PURE__ */ (0, O.jsx)(hTe, { dot: e.dot }),/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -67475,7 +67500,7 @@ function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function pTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+function gTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {let u = (0, D.useContext)(V1), [d, f] = (0, D.useState)(null), [p, m] = (0, D.useState)(e);p !== e && (m(e), f(null));let h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;@@ -67516,7 +67541,7 @@ function pTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, O.jsx)(lP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, O.jsx)(cP, { name: "chevron-down" })}) : null] });}function U1({ rows: e, host: t, selected: n, badges: r }) {@@ -67627,11 +67652,11 @@ function K1() {}//#endregion//#region src/react/settings/library-policy-copy.ts-var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", mTe = [+var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", _Te = ["自动补全","仅使用本地资料","自定义"-], hTe = [+], vTe = [["读本地 NFO 和图片","✓",@@ -67662,7 +67687,7 @@ var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], gTe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", _Te = [+], yTe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", bTe = [{provider: "coomer",label: "Coomer",@@ -67743,7 +67768,7 @@ var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式label: "SubscribeStar",requirement: "none"}-], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", vTe = "peach.configuration.shape.v1";+], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", xTe = "peach.configuration.shape.v1";function Q1() {try {let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");@@ -67752,11 +67777,11 @@ function Q1() {return {};}}-function yTe(e, t) {+function STe(e, t) {try {let n = Q1();if (JSON.stringify(n[e]) === JSON.stringify(t)) return;- localStorage.setItem(vTe, JSON.stringify({+ localStorage.setItem(xTe, JSON.stringify({...n,[e]: t}));@@ -67767,13 +67792,13 @@ var $1 = (e) => Q1()[e], e0 = (e) => e === !0, t0 = (e, t) => Number.isInteger(evariant: t,size: n,attrs: r0-}), u0 = (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>`, d0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, bTe = (e, t, n) => {+}), u0 = (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>`, d0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, CTe = (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">${c0()}${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;-}, f0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${bTe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? u0(n, i) : ""}</div></section>`, p0 = (e, t, n) => `<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"><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>${n}</div>`, m0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => p0(e, t, `<span class="skeleton ${n}"></span>`), h0 = (e, t = "4em") => p0(e, "", i0(t)), g0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, _0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, v0 = (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>${a0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, y0 = (e) => `<div class="flex flex-col gap-1">${_0(e)}${Ko(i0("8em"))}</div>`, b0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${o0("16px", "16px")}${e}</span>`, x0 = (e) => `<span class="inline-flex items-center gap-1">${c0()}${e}</span>`, S0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Vo("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, xTe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), C0 = (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">${xTe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, STe = _Te;-function CTe(e = $1("credentials")) {+}, f0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${CTe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? u0(n, i) : ""}</div></section>`, p0 = (e, t, n) => `<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"><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>${n}</div>`, m0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => p0(e, t, `<span class="skeleton ${n}"></span>`), h0 = (e, t = "4em") => p0(e, "", i0(t)), g0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, _0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, v0 = (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>${a0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, y0 = (e) => `<div class="flex flex-col gap-1">${_0(e)}${Ko(i0("8em"))}</div>`, b0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${o0("16px", "16px")}${e}</span>`, x0 = (e) => `<span class="inline-flex items-center gap-1">${c0()}${e}</span>`, S0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Vo("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, wTe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), C0 = (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">${wTe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, TTe = bTe;+function ETe(e = $1("credentials")) {let t = new Set(n0(e?.done, 64, String));- return STe.map((e) => {+ return TTe.map((e) => {let n = t.has(e.provider);return {...e,@@ -67782,19 +67807,19 @@ function CTe(e = $1("credentials")) {};});}-function wTe(e) {+function DTe(e) {let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = s0() + (n && !e.done ? t.map(() => s0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${o0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${B(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 ? g0(B(e.why)) : ""}</div>`;let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + g0(`${B(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? g0(B(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => v0(B(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${l0("保存配置")}</div>${S0("凭据文件")}</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>${S0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;}function w0() {- let e = CTe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;+ let e = ETe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;return f0("来源凭据", d0(`<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(wTe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });+ ].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(DTe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });}function T0() {let e = n0($1("indexers")?.open, 20, e0).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">${Vo("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${i0("6em")}${i0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${v0("名称")}${v0("Torznab 地址")}${v0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${b0("启用")}${l0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");@@ -67809,25 +67834,25 @@ function O0() {let e = $1("cloudProxy"), t = n0(e?.accounts, 12, (e) => Array.isArray(e) ? [e0(e[0]), e0(e[1])] : [!1, !1]), n = t0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${_0(x0(i0("6em")))}${g0(i0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${_0(x0(i0("8em")))}${g0(i0("50%"))}${D0("数据代理", e)}${D0("API 代理", t)}<div class="flex justify-end">${l0("保存配置")}</div></div>`).join("") : g0(i0("60%"));return f0("CloudDrive 代理", d0(`${g0(Z1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), l0("重新读取", "secondary"));}-var k0 = (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>`, TTe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">+var k0 = (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>`, OTe = (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">${a0()}</span>${Wo({glyph: "folder-search",variant: "secondary",attrs: r0})}</div><div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${k0("来源", Ko(i0("6em")), "w-full @lg:w-60")}${k0("读取策略", Ko(i0("4em")), "w-full @lg:w-32")}${e > 1 ? k0("移到媒体库", Ko(i0("4em")), "w-full @lg:w-48") : ""}</div></div>- </div>`, ETe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">+ </div>`, kTe = (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>${Wo({label: "自动识别",variant: "secondary",attrs: r0})}${a0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Ko(i0("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${TTe(t).repeat(e)}<div class="flex">${Wo({+ <div data-library-folders>${OTe(t).repeat(e)}<div class="flex">${Wo({label: "添加文件夹",variant: "secondary",attrs: r0-})}</div></div></div>`, DTe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${q1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, OTe = "<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 kTe(e = $1("media")) {+})}</div></div></div>`, ATe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${q1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, jTe = "<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 MTe(e = $1("media")) {let t = n0(e?.folders, 12, (e) => t0(e, 50)).filter(Boolean);return t.length ? {folders: t,@@ -67837,7 +67862,7 @@ function kTe(e = $1("media")) {cloud: !1};}-function ATe() {+function NTe() {let e = $1("discovery"), t = e0(e?.enabled), n = t && e0(e?.cloud), r = n && e0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${Ko(i0("4em"), { prefix: "对应目录" })}${Wo({glyph: "trash",variant: "secondary",@@ -67845,13 +67870,13 @@ function ATe() {})}</div>`;return f0("自动发现新文件", d0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${s0()}</div>`) + m0("发现新文件后自动入库", t ? i0("10em") : "") + m0("监视本机文件夹", t && e0(e?.watchLocal) ? i0("12em") : "") + m0("接收 CloudDrive2 通知") + (n ? p0("Webhook 配置", i0("20em"), "") : "") + (r ? d0(S0("查看配置"), !0) : "") + (n ? d0(`<div class="flex flex-col gap-3">${_0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(t0(e?.prefixes, 20))}</div><div>${l0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? l0("更换密钥", "secondary") : "") + l0("保存配置"));}-var jTe = () => {- let e = kTe();- return f0("媒体库与目录", d0(`${DTe}<div class="flex flex-col gap-4">${e.folders.map((t) => ETe(t, e.folders.length)).join("")}</div>+var PTe = () => {+ let e = MTe();+ return f0("媒体库与目录", d0(`${ATe}<div class="flex flex-col gap-4">${e.folders.map((t) => kTe(t, e.folders.length)).join("")}</div><div class="self-start">${l0("添加媒体库", "secondary")}</div><p class="text-body-2-regular text-text-secondary">${J1}</p>- ${e.cloud ? OTe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + ATe() + f0("番号识别规则", d0(`${i0("90%")}${i0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), l0("保存配置")) + f0("视频预览", m0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + m0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + m0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));-}, MTe = () => `<div>${l0("采集来源与登录状态", "secondary")}</div>` + w0() + f0("关注采集", p0("自动检查更新", "", "<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>") + h0("订阅源拉取") + m0("首次采集范围", "", "ui-configuration-skeleton-select") + h0("头像刷新") + h0("favicon 刷新")) + T0() + f0("作品资料站点", d0(`<p class="text-body-2-regular text-text-secondary">${Y1}</p>${v0(x0("JavDB 地址"), X1)}${v0(x0("MISSAV 地址"), X1)}`), l0("保存配置")), NTe = () => {+ ${e.cloud ? jTe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + NTe() + f0("番号识别规则", d0(`${i0("90%")}${i0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), l0("保存配置")) + f0("视频预览", m0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + m0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + m0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, FTe = () => `<div>${l0("采集来源与登录状态", "secondary")}</div>` + w0() + f0("关注采集", p0("自动检查更新", "", "<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>") + h0("订阅源拉取") + m0("首次采集范围", "", "ui-configuration-skeleton-select") + h0("头像刷新") + h0("favicon 刷新")) + T0() + f0("作品资料站点", d0(`<p class="text-body-2-regular text-text-secondary">${Y1}</p>${v0(x0("JavDB 地址"), X1)}${v0(x0("MISSAV 地址"), X1)}`), l0("保存配置")), ITe = () => {let e = $1("downloads"), t = e0(e?.pikpak), n = e0(e?.pikpakRoots) ? y0(x0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${_0(x0("PikPak 根目录对应的媒体目录"))}${g0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = e0(e?.cloud) ? f0("云下载", d0(v0("CloudDrive2 地址") + v0("CloudDrive2 API 令牌", "需要离线任务权限。") + (e0(e?.has115) ? v0(x0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? v0(x0("PikPak 目标目录"), "目录要已经存在。") + n : "") + v0("等待上限(小时)", i0("14em"))), l0("检查连接", "secondary") + l0("保存配置")) : "", i = e0(e?.pikpakLoggedIn);return r + (t ? f0("PikPak 账号", i ? C0(["账号", i0("4em")]) : d0(v0("账号") + v0("密码") + b0("保存密码,登录过期时自动重新登录")), i ? l0("登出", "secondary") : (e0(e?.browserLogin) ? l0("用浏览器登录", "secondary") : "") + l0("登录"), {aside: s0(),@@ -67865,20 +67890,20 @@ var jTe = () => {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function PTe(e) {+function LTe(e) {let t = e === "locked" ? "" : v0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + v0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");return (A0[e] ? g0(A0[e]) : "") + (e === "open" ? o0("100%", "64px") : "") + (e === "password" || e === "legacy" ? b0("关闭访问密码") : "") + (e === "password" ? v0("当前访问密码 *") : "") + t;}-var FTe = () => {+var RTe = () => {let e = $1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = e0(e?.tunnelNamed), r = (n && e0(e?.tunnelNamedMode) ? g0(j0.named) + v0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + v0("隧道令牌", i0("16em")) : g0(j0.quick)) + (e0(e?.tunnelNote) ? o0("100%", "64px") : "");- return (e0(e?.port) ? f0("本机访问端口", d0(a0("128px")), l0("保存配置"), { status: "保存后 Peach 会重启,并跳转到新地址。" }) : "") + f0("Peach 代理", m0("连接方式", "", "ui-configuration-skeleton-select") + (e0(e?.proxyAddress) ? d0(v0("代理地址"), !0) : ""), l0("保存配置")) + f0("访问密码", d0(PTe(t)), t === "locked" ? "" : l0("保存配置")) + f0("Cloudflare 公网入口", d0((n ? o0("10.5em", "36px") : "") + r), l0("启动公网入口", n ? "secondary" : "primary") + (n ? l0("保存配置") : ""), { aside: s0() });-}, ITe = [+ return (e0(e?.port) ? f0("本机访问端口", d0(a0("128px")), l0("保存配置"), { status: "保存后 Peach 会重启,并跳转到新地址。" }) : "") + f0("Peach 代理", m0("连接方式", "", "ui-configuration-skeleton-select") + (e0(e?.proxyAddress) ? d0(v0("代理地址"), !0) : ""), l0("保存配置")) + f0("访问密码", d0(LTe(t)), t === "locked" ? "" : l0("保存配置")) + f0("Cloudflare 公网入口", d0((n ? o0("10.5em", "36px") : "") + r), l0("启动公网入口", n ? "secondary" : "primary") + (n ? l0("保存配置") : ""), { aside: s0() });+}, zTe = ["版本","操作系统","数据目录","设置文件","日志目录"-], LTe = () => {+], BTe = () => {let e = $1("maintenance"), t = ["当前版本","安装方式",@@ -67889,20 +67914,20 @@ var FTe = () => {return f0("检查更新", C0(t) + (n ? d0(g0(i0("50%")).repeat(n), !0) : ""), l0("检查更新"), {aside: s0("4em"),status: i0("5em")- }) + f0("自动更新", m0("自动检查新版本") + m0("自动下载更新") + m0("检查频率", e0(e?.autoUpdateHelp) ? i0("12em") : "", "ui-configuration-skeleton-select"), l0("保存配置")) + f0("开机自启", m0("开机后启动 Peach") + m0("只启动托盘,不打开网页") + m0("在桌面创建快捷方式", e0(e?.desktopNote) ? i0("12em") : "") + (e0(e?.startupNote) ? d0(g0(i0("60%")), !0) : ""), l0("保存配置")) + f0("视频播放", m0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + f0("存储空间", C0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => p0(i0("6em"), "", i0("4em"))).join("") : d0(g0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? d0(g0(i0("80%")).repeat(i), !0) : ""), l0("更改位置", "secondary") + l0(r ? "重新统计" : "统计占用")) + (c || l ? f0("数据上传", c + l) : "") + f0("运行信息", C0(a.length ? a : ITe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${p0("安装教程", "", l0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? f0("卸载 Peach", (e0(e?.uninstallHelp) ? d0(g0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + m0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + d0(S0("数据目录"), !0), l0("卸载 Peach"), { status: i0("16em") }) : "");+ }) + f0("自动更新", m0("自动检查新版本") + m0("自动下载更新") + m0("检查频率", e0(e?.autoUpdateHelp) ? i0("12em") : "", "ui-configuration-skeleton-select"), l0("保存配置")) + f0("开机自启", m0("开机后启动 Peach") + m0("只启动托盘,不打开网页") + m0("在桌面创建快捷方式", e0(e?.desktopNote) ? i0("12em") : "") + (e0(e?.startupNote) ? d0(g0(i0("60%")), !0) : ""), l0("保存配置")) + f0("视频播放", m0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + f0("存储空间", C0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => p0(i0("6em"), "", i0("4em"))).join("") : d0(g0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? d0(g0(i0("80%")).repeat(i), !0) : ""), l0("更改位置", "secondary") + l0(r ? "重新统计" : "统计占用")) + (c || l ? f0("数据上传", c + l) : "") + f0("运行信息", C0(a.length ? a : zTe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${p0("安装教程", "", l0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? f0("卸载 Peach", (e0(e?.uninstallHelp) ? d0(g0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + m0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + d0(S0("数据目录"), !0), l0("卸载 Peach"), { status: i0("16em") }) : "");};-function RTe(e) {+function VTe(e) {switch (e) {case "系统诊断": return K1();- case "来源与订阅": return MTe();- case "下载渠道": return NTe();- case "网络与访问": return FTe();- case "应用与维护": return LTe();- default: return jTe();+ case "来源与订阅": return FTe();+ case "下载渠道": return ITe();+ case "网络与访问": return RTe();+ case "应用与维护": return BTe();+ default: return PTe();}}-function zTe(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(oV).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">${RTe(e)}</div></div></div>`;+function HTe(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(iV).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">${VTe(e)}</div></div></div>`;}//#endregion//#region src/react/jav/discovery-sorts.ts@@ -67914,7 +67939,7 @@ var M0 = [],["release_date",- Ak[1],+ Ok[1],"按发行日期排序"],[@@ -67933,10 +67958,10 @@ var M0 = ["按番号排序"]];-function BTe(e) {+function UTe(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function VTe(e) {+function WTe(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -67962,7 +67987,7 @@ function VTe(e) {}//#endregion//#region src/jav-skeleton.ts-var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, HTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";+var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, GTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";function F0() {return ["w-20",@@ -67973,10 +67998,10 @@ function F0() {"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 I0(e, t = gA()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${N0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${HTe("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">${N0("80%")}${N0("60%")}${N0("40%")}</div></div>`).join("")}</div>`;- let n = wA({- ...CA({+function I0(e, t = mA()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${N0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${GTe("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">${N0("80%")}${N0("60%")}${N0("40%")}</div></div>`).join("")}</div>`;+ let n = SA({+ ...xA({active: !0,home: !1,portrait: !1@@ -67992,7 +68017,7 @@ function I0(e, t = gA()) {<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>`;}-function UTe(e) {+function KTe(e) {let t = e === "wants" ? "筛选想要" : "筛选推荐";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 flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${Wo({@@ -68002,10 +68027,10 @@ function UTe(e) {})}</div><div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${S$.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><form aria-label="${t}">${Uo("筛选番号、女优或标题", "", t)}</form>- ${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>${N0("100%")}</div>${I0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${WTe()}${I0(e)}</section>`}</div></div>`;+ ${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>${N0("100%")}</div>${I0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${qTe()}${I0(e)}</section>`}</div></div>`;}-function WTe() {- 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="" ${gA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Vo(t, "size-4")}</span>`;+function qTe() {+ 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="" ${mA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Vo(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>${F0()}</div></div>@@ -68022,7 +68047,7 @@ function WTe() {//#endregion//#region src/management-skeletons.tsvar L0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", R0 = (e = "60%") => `<span class="${L0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, z0 = "disabled data-skeleton-action", B0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function GTe() {+function JTe() {let e = ["馆藏视频","看过",@@ -68063,7 +68088,7 @@ function GTe() {</section></div></div>`;}-function KTe() {+function YTe() {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 = ["浏览记录","口味维度",@@ -68119,7 +68144,7 @@ function KTe() {</div></div></div>`;}-function qTe() {+function XTe() {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="${L0} 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">${R0("70%")}</span>@@ -68147,7 +68172,7 @@ function qTe() {${t.repeat(2)}</div></div>`;}-function JTe() {+function ZTe() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3"><div class="flex min-w-0 gap-4"><span class="${L0} 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">${R0("80%")}</h3><p class="text-body-2-regular">${R0("60%")}</p></div>@@ -68166,18 +68191,18 @@ function JTe() {}//#endregion//#region src/board-skeleton.ts-var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YTe = () => `${V0("80%")}${V0("48%")}`, H0 = (e, t) => e.repeat(t), U0 = "disabled data-skeleton-action", W0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, G0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, XTe = "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", K0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, QTe = () => `${V0("80%")}${V0("48%")}`, H0 = (e, t) => e.repeat(t), U0 = "disabled data-skeleton-action", W0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, G0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, $Te = "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", K0 = () => `<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="${XTe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, q0 = [+].map((e) => `<div class="${$Te}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, q0 = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"]-], ZTe = (e = "") => q0.some(([t]) => t === e) ? e : "list", J0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${q0.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Y0 = (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>`, QTe = ({ table: e, sort: t, dir: n }) => {+], eEe = (e = "") => q0.some(([t]) => t === e) ? e : "list", J0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${q0.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Y0 = (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>`, tEe = ({ table: e, sort: t, dir: n }) => {let r = jn.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">${W0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Wo({glyph: "refresh-cw",@@ -68212,7 +68237,7 @@ var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YTesize: "small",glyph: "trash",attrs: U0-})}</span>`, $Te = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Y0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(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">${W0("113px")}</span>${X0()}</span></div>`, Z0 = (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>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("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">${Wo({+})}</span>`, nEe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Y0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(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">${W0("113px")}</span>${X0()}</span></div>`, Z0 = (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>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("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">${Wo({variant: "secondary",size: "small",glyph: "refresh-cw",@@ -68229,13 +68254,13 @@ var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YTeglyph: "chevron-up",label: "收起",attrs: U0-})}</span></span></div><div data-source-divider>${H0($Te(), e)}</div></section>`, eEe = () => {+})}</span></span></div><div data-source-divider>${H0(nEe(), e)}</div></section>`, rEe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, tEe = [+}, iEe = [["select", ""],["author", "创作者"],["source", "来源"],@@ -68243,13 +68268,13 @@ var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YTe["status", "状态"],["checked", "上次检查"],["actions", ""]-], nEe = {+], aEe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, rEe = "<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>", iEe = (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>${tEe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${nEe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${rEe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[+}, oEe = "<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>", sEe = (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>${iEe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${aEe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${oEe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[Y0(),`<span class="flex min-w-0 items-center gap-2">${G0(32, 32, !0)}${W0("5em")}</span>`,W0("10em"),@@ -68257,37 +68282,37 @@ var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YTeG0(48, 24),W0("113px"),X0()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, aEe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${W0("111px")}</span><div data-toolbar-actions>${Ko(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, oEe = () => `<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">${W0("120px")}</h3>${[+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, cEe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${W0("111px")}</span><div data-toolbar-actions>${Ko(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, lEe = () => `<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">${W0("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, sEe = (e) => {- let t = ZTe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4">${oEe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = Fn(e.followSort, e.followDir), i = e.followPageSize || eEe(), a = n ? iEe(i, r) : `${Y0("全选本页")}<div class="flex flex-col gap-3">${Z0(3)}${Z0(4)}${Z0(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${J0(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"}">${QTe({+].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, uEe = (e) => {+ let t = eEe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4">${lEe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = Fn(e.followSort, e.followDir), i = e.followPageSize || rEe(), a = n ? sEe(i, r) : `${Y0("全选本页")}<div class="flex flex-col gap-3">${Z0(3)}${Z0(4)}${Z0(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${J0(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"}">${tEe({table: n,...r- })}${a}${aEe(n, i)}</div></div></div></div></div>`;+ })}${a}${cEe(n, i)}</div></div></div></div></div>`;};-function cEe() {- 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">${V0("85%")}${V0("65%")}${H0(YTe(), 4)}</div></aside></div>`;+function dEe() {+ 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">${V0("85%")}${V0("65%")}${H0(QTe(), 4)}</div></aside></div>`;}-function lEe(e, t = {}) {+function fEe(e, t = {}) {let n = "";- if (e === "/stats") n = GTe();- else if (e === "/jav") n = UTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = KTe();- else if (e === "/subscriptions") n = sEe(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in oV) n = zTe(oV[e.split("/")[2]]);+ if (e === "/stats") n = JTe();+ else if (e === "/jav") n = KTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/taste") n = YTe();+ else if (e === "/subscriptions") n = uEe(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in iV) n = HTe(iV[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 border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${W0("8em")}</span><span class="text-caption-1-regular">${W0("14em")}</span>${W0("60%")}${W0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${W0("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = qTe();- else if (e === "/quality-goals") n = JTe();+ else if (e === "/duplicates") n = XTe();+ else if (e === "/quality-goals") n = ZTe();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>${Wo({label: "新建",attrs: U0@@ -68297,7 +68322,7 @@ function lEe(e, t = {}) {}//#endregion//#region src/react/components/overlay-host.ts-function uEe(e) {+function pEe(e) {let t = e.querySelector(":scope > [data-react-overlays]");if (t) return t;let n = e.ownerDocument.createElement("div");@@ -68305,7 +68330,7 @@ function uEe(e) {}function Q0(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return uEe(n ?? t.body);+ return pEe(n ?? t.body);}function $0(e) {let t = document.getElementById("toasts"), n = e?.open ? e : document.body;@@ -68313,13 +68338,13 @@ function $0(e) {}//#endregion//#region src/react/follow-detail/follow-detail.ts-var e2 = (e) => ["follow-item", e], dEe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, fEe = "/api/follow/save", pEe = "/api/follow/media/hide", t2 = class extends Error {+var e2 = (e) => ["follow-item", e], mEe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, hEe = "/api/follow/save", gEe = "/api/follow/media/hide", t2 = class extends Error {constructor() {super("这条关注内容已不存在");}};async function n2(e, t) {- let n = await V(dEe(e), t);+ let n = await V(mEe(e), t);for (let t of n.groups || []) {let r = Ai(t).find((t) => t.id === e);if (r) return {@@ -68331,7 +68356,7 @@ async function n2(e, t) {}throw new t2();}-function mEe(e) {+function _Ee(e) {for (let [, t] of U.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = Ai(t.group).find((t) => t.id === e);@@ -68349,13 +68374,13 @@ async function r2(e, t) {}), a = r ? {...r,item: r.item- } : U.getQueryData(n) ?? mEe(e.id);+ } : U.getQueryData(n) ?? _Ee(e.id);a ? U.setQueryData(n, a) : await U.fetchQuery({queryKey: n,queryFn: () => n2(e.id, t)}), await i;}-function hEe(e, t, n, r) {+function vEe(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 && zi(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,@@ -68370,32 +68395,32 @@ function hEe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var gEe = (e) => Ai(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), _Ee = {+var yEe = (e) => Ai(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), bEe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, vEe = {+}, xEe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function yEe(e) {+function SEe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return _Ee[t] || t;+ return bEe[t] || t;} catch {return "外部文件页";}}function i2(e, t) {- return vEe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+ return xEe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function bEe(e, t, n = "") {+function CEe(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;@@ -68404,16 +68429,16 @@ function bEe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var xEe = (e) => String(e.name || "").trim(), a2 = (e, t) => e.tag_types?.[t] || "unknown", SEe = /* @__PURE__ */ new Set([+var wEe = (e) => String(e.name || "").trim(), a2 = (e, t) => e.tag_types?.[t] || "unknown", TEe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function CEe(e, t) {+function EEe(e, t) {let n = a2(e, t);- return `r34-${SEe.has(n) ? n : "general"}`;+ return `r34-${TEe.has(n) ? n : "general"}`;}var o2 = ["copyright",@@ -68422,7 +68447,7 @@ var o2 = ["general","metadata"];-function wEe(e, t) {+function DEe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {let n = o2.indexOf(a2(e, t));return n < 0 ? o2.length : n;@@ -68433,12 +68458,12 @@ function s2(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 TEe = (e, t) => ({+var OEe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t}), c2 = (e) => e?.size ? { size: e.size } : {};-function EEe(e, t) {+function kEe(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}`,@@ -68459,7 +68484,7 @@ function EEe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var DEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", l2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => _s(e, {+var AEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", l2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => _s(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -68467,7 +68492,7 @@ var DEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", l2...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), OEe = [+}), jEe = ["元数据字段","创作者标签","厂牌 Logo",@@ -68477,14 +68502,14 @@ var DEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", l2"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], kEe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">+], MEe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}"><div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>- <div class="reviewtabs" data-section-items>${OEe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>+ <div class="reviewtabs" data-section-items>${jEe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(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>`, AEe = {+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, NEe = {"/data-cleanup": () => I$(),"/resource-sync": () => I$(),- "/review": () => kEe(),+ "/review": () => MEe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>${l2("正在读取采集来源", {cards: !0,@@ -68494,13 +68519,13 @@ var DEe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", l2})}</div>`};function u2(e, { followLayout: t, followSort: n, followDir: r }) {- return lEe(e, {+ return fEe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (AEe[e] ?? (() => l2("正在读取页面")))();+ }) || (NEe[e] ?? (() => l2("正在读取页面")))();}var d2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";function f2(e, t) {@@ -68522,17 +68547,17 @@ function p2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, O.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, O.jsx)(uW, {+ children: /* @__PURE__ */ (0, O.jsx)(dW, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, O.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, O.jsx)(Iz, {+ children: /* @__PURE__ */ (0, O.jsx)(Pz, {size: "compact",- icon: Tz,+ icon: Cz,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, O.jsx)(JF, {+ actions: /* @__PURE__ */ (0, O.jsx)(KF, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -68638,7 +68663,7 @@ function h2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)(jEe, {+ children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)(PEe, {item: e,selected: r === t,onSelect: n,@@ -68657,7 +68682,7 @@ function h2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function jEe({ item: e, selected: t, onSelect: n, render: r }) {+function PEe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(typeof IntersectionObserver > "u");return (0, D.useEffect)(() => {if (!i.current || a) return;@@ -68684,7 +68709,7 @@ function jEe({ item: e, selected: t, onSelect: n, render: r }) {}//#endregion//#region src/react/follow-detail/follow-related.ts-var MEe = (e, t, n) => [+var FEe = (e, t, n) => ["follow-feed","related",e,@@ -68706,7 +68731,7 @@ function g2(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);}-async function NEe(e, t, n, r) {+async function IEe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {...Ri(i),status: "new",@@ -68727,11 +68752,11 @@ async function NEe(e, t, n, r) {}//#endregion//#region src/react/follow-detail/follow-detail-page.tsx-var _2 = (e) => Number(e) > 0, PEe = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var _2 = (e) => Number(e) > 0, LEe = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }}), v2 = R("external-link", "ui-externalmark");-function FEe(e) {+function REe(e) {let { id: t, actions: n } = e, r = St({queryKey: e2(t),queryFn: ({ signal: e }) => n2(t, e)@@ -68739,10 +68764,10 @@ function FEe(e) {queryKey: Ti,queryFn: ({ signal: e }) => Ei(e)}), a = (0, D.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, D.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, O.jsx)(REe, {+ return r.data ? /* @__PURE__ */ (0, O.jsx)(VEe, {...e,data: r.data,- context: TEe(r.data, a),+ context: OEe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, O.jsx)("div", {@@ -68753,7 +68778,7 @@ function FEe(e) {"data-follow-detail-media": "none",children: [/* @__PURE__ */ (0, O.jsx)(y2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? IEe(r.error) ? /* @__PURE__ */ (0, O.jsx)(LEe, { onBack: n.close }) : /* @__PURE__ */ (0, O.jsx)(uW, {+ children: r.isError ? zEe(r.error) ? /* @__PURE__ */ (0, O.jsx)(BEe, { onBack: n.close }) : /* @__PURE__ */ (0, O.jsx)(dW, {message: Ut(r.error),onRetry: () => void r.refetch()}) : null@@ -68761,8 +68786,8 @@ function FEe(e) {})});}-var IEe = (e) => e instanceof t2 || e instanceof On && e.status === 404;-function LEe({ onBack: e }) {+var zEe = (e) => e instanceof t2 || e instanceof On && e.status === 404;+function BEe({ onBack: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -68780,8 +68805,8 @@ var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function REe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = hEe(c, l, n, i), d = WEe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, D.useState)({+function VEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = vEe(c, l, n, i), d = qEe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, D.useState)({key: "",kind: ""}), h = {@@ -68801,7 +68826,7 @@ function REe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? gEe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, O.jsx)(C2, {+ let g = !u.embedded.length && u.collection ? yEe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, O.jsx)(C2, {item: c,current: u.selected.index,helpers: o,@@ -68814,7 +68839,7 @@ function REe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relactions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, O.jsx)(VEe, {+ }) : /* @__PURE__ */ (0, O.jsx)(WEe, {group: u.collection,itemId: c.id,helpers: o,@@ -68824,14 +68849,14 @@ function REe({ 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, O.jsx)(BEe, {+ children: [/* @__PURE__ */ (0, O.jsx)(UEe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, O.jsx)(HEe, {+ }, f), /* @__PURE__ */ (0, O.jsx)(GEe, {item: c,data: e,context: t,@@ -68843,7 +68868,7 @@ function REe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel})]}), /* @__PURE__ */ (0, O.jsx)(m2, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, O.jsx)(zEe, {+ children: a > 0 ? /* @__PURE__ */ (0, O.jsx)(HEe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -68853,10 +68878,10 @@ function REe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function zEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+function HEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {let o = St({- queryKey: MEe(e.item.id, t, n),- queryFn: ({ signal: r }) => NEe(e, t, n, r)+ queryKey: FEe(e.item.id, t, n),+ queryFn: ({ signal: r }) => IEe(e, t, n, r)}), [s] = (0, D.useState)(() => l2("正在读取推荐", {cards: !0,className: "related-skeleton"@@ -68896,8 +68921,8 @@ function zEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function BEe({ 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, D.useRef)(null), p = EEe(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, D.useState)(g), b = (0, D.useRef)({+function UEe({ 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, D.useRef)(null), p = kEe(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, D.useState)(g), b = (0, D.useRef)({item: e,selected: o}), x = (0, D.useRef)(i.failed);@@ -68926,7 +68951,7 @@ function BEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: OU(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: kU(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, O.jsx)("span", { children: "没有可用预览" })]}),u ? /* @__PURE__ */ (0, O.jsx)(h2, {@@ -68965,18 +68990,18 @@ function S2(e) {t && e.wireDrag(t);}, [e]);}-function VEe({ group: e, itemId: t, helpers: n, actions: r }) {+function WEe({ group: e, itemId: t, helpers: n, actions: r }) {let i = zi(e), a = S2(n);- return /* @__PURE__ */ (0, O.jsx)(WG, {+ return /* @__PURE__ */ (0, O.jsx)(GG, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${AU(e.primary)} · ${i.length} 个视频`,+ summary: `${jU(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = bEe(e, n, i ? n.provider_label : ""), o = i ? OU(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, O.jsxs)(GG, {+ let i = e.duplicates.includes(n), a = CEe(e, n, i ? n.provider_label : ""), o = i ? kU(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, O.jsxs)(KG, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),@@ -68998,7 +69023,7 @@ function VEe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, O.jsx)("time", {dateTime: n.published_at || "",- children: zU(n)+ children: BU(n)})]})]}, n.id);@@ -69016,17 +69041,17 @@ function C2({ 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, O.jsx)(WG, {+ return /* @__PURE__ */ (0, O.jsx)(GG, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${AU(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, O.jsx)(KG, {+ summary: `${jU(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, O.jsx)(qG, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, O.jsxs)(GG, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, O.jsxs)(KG, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,@@ -69035,7 +69060,7 @@ function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,pic: n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(b2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, O.jsx)("b", {"data-middle-truncate": "",- children: xEe(n)+ children: wEe(n)}), /* @__PURE__ */ (0, O.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -69043,13 +69068,13 @@ function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function GEe({ 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 = IU(d, e), p = PU(e, s2(e, t.sources), n), m = p.credited ? "" : e.author && un(e.author) !== un(p.author) ? e.author : "", h = LU(e, n), g = wEe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {+ }, f = LU(d, e), p = FU(e, s2(e, t.sources), n), m = p.credited ? "" : e.author && un(e.author) !== un(p.author) ? e.author : "", h = RU(e, n), g = DEe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -69065,7 +69090,7 @@ function HEe({ 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: FU(d, e) + B(AU(e)) }+ dangerouslySetInnerHTML: { __html: IU(d, e) + B(jU(e)) }}), e.url ? /* @__PURE__ */ (0, O.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -69081,7 +69106,7 @@ function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, O.jsx)("span", { children: zU(e) }),+ /* @__PURE__ */ (0, O.jsx)("span", { children: BU(e) }),_2(e.duration) ? /* @__PURE__ */ (0, O.jsx)("span", { children: hn(e.duration) }) : null,f ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-badges": "",@@ -69131,7 +69156,7 @@ function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, O.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, O.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, O.jsx)(UEe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, O.jsx)(KEe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, O.jsx)("p", {"data-follow-media-issue": "",children: h@@ -69154,7 +69179,7 @@ function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [yEe(e), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [SEe(e), /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: v2 }})]@@ -69256,7 +69281,7 @@ function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...y(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, O.jsx)(x2, { src: e.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(PEe, { name: "image-off" }), /* @__PURE__ */ (0, O.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, O.jsx)(x2, { src: e.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(LEe, { name: "image-off" }), /* @__PURE__ */ (0, O.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -69270,7 +69295,7 @@ function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-follow-detail-tags": "",children: g.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",- "data-tag-cat": CEe(e, t),+ "data-tag-cat": EEe(e, t),"data-follow-tag": t,onClick: () => s.openTag(t),children: o.tagLabel(t)@@ -69280,7 +69305,7 @@ function HEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function UEe({ text: e }) {+function KEe({ text: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(!1);return (0, D.useLayoutEffect)(() => {let e = t.current;@@ -69303,7 +69328,7 @@ function UEe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function WEe(e, t, n) {+function qEe(e, t, n) {let r = e.id, i = e2(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;@@ -69323,7 +69348,7 @@ function WEe(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && x$(), t.toast(DEe(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && x$(), t.toast(AEe(n), { undo: i === "saved" ? void 0 : async () => {await H($n, {item: r,to: i@@ -69333,7 +69358,7 @@ function WEe(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = Ct({- mutationFn: () => H(fEe, { item: r }),+ mutationFn: () => H(hEe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},@@ -69341,7 +69366,7 @@ function WEe(e, t, n) {onSettled: () => l("save", !1)}), m = Ct({mutationFn: async ({ index: e, hidden: t }) => {- await H(pEe, {+ await H(gEe, {item: r,media: e,hidden: t@@ -69357,8 +69382,8 @@ function WEe(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = St({- queryKey: kCe(r),- queryFn: ({ signal: e }) => MCe(r, e)+ queryKey: MCe(r),+ queryFn: ({ signal: e }) => FCe(r, e)}).data?.want ?? null, g = Ct({mutationFn: async (e) => (e ? await b$([e.id]) : await y$({ follow: r }), !e),onSuccess: (e) => {@@ -69516,7 +69541,7 @@ function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {src: c,alt: "",onError: () => a(!0)- }) : i ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ }) : i ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -69535,13 +69560,13 @@ function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}//#endregion//#region src/react/jav-detail/jav-detail.ts-var O2 = (e) => ["jav-detail", e], k2 = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), GEe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), A2 = (e, t) => U.ensureQueryData({+var O2 = (e) => ["jav-detail", e], k2 = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), JEe = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), A2 = (e, t) => U.ensureQueryData({queryKey: O2(e.code),queryFn: () => k2(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function KEe(e, t) {+function YEe(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;@@ -69553,7 +69578,7 @@ var j2 = "peach.external-player.v1", M2 = [["vlc-ios", "VLC(iPhone / iPad)"],["iina", "IINA(Mac)"]];-function qEe(e, t, n) {+function XEe(e, t, n) {return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;}function N2({ id: e }) {@@ -69563,10 +69588,10 @@ function N2({ id: e }) {} catch {return "m3u";}- }), [r, i] = (0, D.useState)(null), a = AH();- return /* @__PURE__ */ (0, O.jsx)(KH, {+ }), [r, i] = (0, D.useState)(null), a = jH();+ return /* @__PURE__ */ (0, O.jsx)(qH, {summary: "外部播放器 / VR",- children: /* @__PURE__ */ (0, O.jsxs)(HH, { children: [+ children: /* @__PURE__ */ (0, O.jsxs)(UH, { children: [/* @__PURE__ */ (0, O.jsx)(p1, {id: `external-player-${e}`,label: "此设备的外部播放器",@@ -69583,33 +69608,33 @@ function N2({ id: e }) {}),/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(a.busy === "prepare"),+ ...Rz(a.busy === "prepare"),onClick: () => void a.run("prepare", (t) => H(`/api/external-playback?id=${e}`, {}, "POST", t), (e) => i({url: new URL(e.url, location.origin).href,playlist: new URL(e.playlist, location.origin).href})),children: "生成播放链接"}),- a.error ? /* @__PURE__ */ (0, O.jsx)(WH, { children: a.error }) : null,+ a.error ? /* @__PURE__ */ (0, O.jsx)(GH, { children: a.error }) : null,r ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("a", {- href: qEe(t, r.url, r.playlist),+ href: XEe(t, r.url, r.playlist),rel: "noreferrer",children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${M2.find(([e]) => e === t)?.[1]}`}),- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(Az, {label: "网络播放地址",value: r.url,isReadOnly: !0}),- /* @__PURE__ */ (0, O.jsx)(UH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })+ /* @__PURE__ */ (0, O.jsx)(WH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null] })}, e);}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var JEe = tF({+var ZEe = eF({sm: {track: "h-4 w-7",trackRadius: {@@ -69671,23 +69696,23 @@ var JEe = tF({}}});-function YEe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = JEe[t];+function QEe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = ZEe[t];return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: eF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? eF("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: $P("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? $P("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, O.jsx)("span", {- className: eF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),- children: /* @__PURE__ */ (0, O.jsx)("span", { className: eF("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })+ className: $P("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),+ children: /* @__PURE__ */ (0, O.jsx)("span", { className: $P("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })})});}function P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(Uue, {+ return /* @__PURE__ */ (0, O.jsx)(Gue, {ref: i,...a,- className: (t) => eF("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, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(YEe, {+ className: (t) => $P("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, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(QEe, {state: e,size: n,shape: r@@ -69699,7 +69724,7 @@ function P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/cover-crop/cover-crop.ts-var XEe = "/api/cover-crop", ZEe = (e, t) => H(XEe, {+var $Ee = "/api/cover-crop", eDe = (e, t) => H($Ee, {code: e,box: t});@@ -69718,7 +69743,7 @@ function F2({ className: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-crop" })});}-function QEe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function tDe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -69729,12 +69754,12 @@ function QEe({ code: e, coverUrl: t, box: n, onSaved: r }) {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, O.jsx)(F2, { className: "size-3.75" })- }), /* @__PURE__ */ (0, O.jsx)(Nz, {+ }), /* @__PURE__ */ (0, O.jsx)(jz, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, O.jsx)($Ee, {+ children: /* @__PURE__ */ (0, O.jsx)(nDe, {code: e,coverUrl: t,box: n,@@ -69743,9 +69768,9 @@ function QEe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = iV(), f = Ct({- mutationFn: (t) => ZEe(e, t),+function nDe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = nV(), f = Ct({+ mutationFn: (t) => eDe(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -69757,7 +69782,7 @@ function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : Bxe(e, Ca);+ } : Uxe(e, Ca);c(nQ(t, e, null));}let m = f.isPending;@@ -69765,11 +69790,11 @@ function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, O.jsx)(Pz, { children: /* @__PURE__ */ (0, O.jsx)(F2, { className: "size-6" }) }),+ /* @__PURE__ */ (0, O.jsx)(Mz, { children: /* @__PURE__ */ (0, O.jsx)(F2, { className: "size-6" }) }),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(xI, {+ /* @__PURE__ */ (0, O.jsx)(yI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -69778,14 +69803,14 @@ function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]}),- f.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ f.error ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: An(f.error)}) : null]}),- /* @__PURE__ */ (0, O.jsx)(MF, {- icon: fz,+ /* @__PURE__ */ (0, O.jsx)(AF, {+ icon: uz,size: "small","aria-label": "关闭",onClick: i@@ -69822,14 +69847,14 @@ function $Ee({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "flex flex-1 flex-wrap items-center justify-end gap-3",children: [/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(m),+ ...Rz(m),onClick: () => {m || f.mutate(null);},children: "恢复默认"}), /* @__PURE__ */ (0, O.jsx)(J, {disabled: !s || !a,- ...Bz(m),+ ...Rz(m),onClick: () => {s && !m && f.mutate(s);},@@ -69848,14 +69873,14 @@ var I2 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }}), R2 = (e) => Number(e) > 0 ? _n(Number(e)) : "大小未知";-function eDe(e) {+function rDe(e) {let { queue: t, actions: n } = e, r = St({- queryKey: t ? BM(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => YM(t, e.helpers, n),+ queryKey: t ? zM(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => JM(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? QM(i, e.id) : t ? null : e.id, o = St({- queryKey: zM(a ?? 0),- queryFn: ({ signal: e }) => JM(a, e),+ }), i = t && r.data || null, a = i ? ZM(i, e.id) : t ? null : e.id, o = St({+ queryKey: RM(a ?? 0),+ queryFn: ({ signal: e }) => qM(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -69868,7 +69893,7 @@ function eDe(e) {"data-item-media": "none",children: [/* @__PURE__ */ (0, O.jsx)(z2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, O.jsx)(uW, {+ children: e ? /* @__PURE__ */ (0, O.jsx)(dW, {message: Ut(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -69878,9 +69903,9 @@ function eDe(e) {})});}- return /* @__PURE__ */ (0, O.jsx)(tDe, {+ return /* @__PURE__ */ (0, O.jsx)(iDe, {...e,- item: Tse(o.data, i),+ item: Ese(o.data, i),queue: i}, o.data.id);}@@ -69893,23 +69918,23 @@ var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function tDe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = _De(t, r, i.tagLabel), o = (0, D.useRef)(t);+function iDe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = bDe(t, r, i.tagLabel), o = (0, D.useRef)(t);(0, D.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, D.useEffect)(() => {- n?.kind === "playlist" && H(VM, {+ n?.kind === "playlist" && H(BM, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = Ise(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = $M(n, t.id);+ let s = Lse(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = QM(n, t.id);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, O.jsx)(nDe, {+ children: [/* @__PURE__ */ (0, O.jsx)(aDe, {item: t,gate: s,helpers: i,@@ -69922,7 +69947,7 @@ function tDe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, O.jsx)(sDe, {+ }), /* @__PURE__ */ (0, O.jsx)(uDe, {item: t,queue: n,write: a,@@ -69931,13 +69956,13 @@ function tDe(e) {})]}), /* @__PURE__ */ (0, O.jsx)(m2, {editionCards: n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, O.jsx)(iDe, {+ queue: n ? /* @__PURE__ */ (0, O.jsx)(sDe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, O.jsx)(gDe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, O.jsx)(yDe, {...e,item: n ? {...t,@@ -69946,7 +69971,7 @@ function tDe(e) {}) : null})] });}-function nDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+function aDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, D.useState)(t ? "" : "auto"), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(-2), d = (0, D.useRef)(!1), f = St({queryKey: O2(e.code || ""),queryFn: ({ signal: t }) => {@@ -70032,7 +70057,7 @@ function nDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aclassName: "relative block h-12 w-20 skeleton-sheen"}) : /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(f.isFetching),+ ...Rz(f.isFetching),title: f.data?.message || Ut(f.error),"aria-label": "立即重试样图",onClick: () => {@@ -70041,7 +70066,7 @@ function nDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, O.jsx)(rDe, {+ t === "offline" ? /* @__PURE__ */ (0, O.jsx)(oDe, {item: e,badge: y,helpers: n,@@ -70079,7 +70104,7 @@ function nDe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a]});}-function rDe({ item: e, badge: t, helpers: n, actions: r }) {+function oDe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -70104,8 +70129,8 @@ function rDe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function iDe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Mse(e), a = (0, D.useRef)(null), o = oDe(e, t, r), s = (0, D.useRef)(o);+function sDe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Nse(e), a = (0, D.useRef)(null), o = lDe(e, t, r), s = (0, D.useRef)(o);s.current = o;let c = (0, D.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -70113,7 +70138,7 @@ function iDe({ 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 = aDe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)("button", {+ }, [n, e.kind]), l = cDe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -70132,7 +70157,7 @@ function iDe({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, O.jsx)(WG, {+ return /* @__PURE__ */ (0, O.jsx)(GG, {kind: e.kind,title: i.title,summary: i.summary,@@ -70141,11 +70166,11 @@ function iDe({ queue: e, itemId: t, helpers: n, actions: r }) {listRef: c,children: e.items.map((i) => {let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, O.jsx)("i", {- className: `javedition ${Ase[i.edition_label] || "censored"}`,+ className: `javedition ${jse[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && ZM(i);- return /* @__PURE__ */ (0, O.jsxs)(GG, {+ }) : null, s = e.kind === "playlist" && XM(i);+ return /* @__PURE__ */ (0, O.jsxs)(KG, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -70184,14 +70209,14 @@ function iDe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, O.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? oN(i.part_label) : Qa(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? aN(i.part_label) : Qa(i, n.tagLabel)})]}, i.id);})});}-function aDe(e, t) {- let n = Ct({ mutationFn: (t) => H(VM, {+function cDe(e, t) {+ let n = Ct({ mutationFn: (t) => H(BM, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -70204,11 +70229,11 @@ function aDe(e, t) {save: (e) => n.mutateAsync(e)});}-function oDe(e, t, n) {- let r = BM({+function lDe(e, t, n) {+ let r = zM({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (U.setQueryData(r, XM(e)), e), a = (t) => H(VM, {+ }), i = (e) => (U.setQueryData(r, YM(e)), e), a = (t) => H(BM, {id: e.playlistId,...t}).then((e) => e.playlist), o = Ct({@@ -70224,8 +70249,8 @@ function oDe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = Pse(s, t, r, c);- if (Fse(l, s)) return;+ let l = Fse(s, t, r, c);+ if (Ise(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -70267,7 +70292,7 @@ function oDe(e, t, n) {}};}-function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function uDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-side": "",@@ -70275,7 +70300,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, O.jsx)(cDe, {+ /* @__PURE__ */ (0, O.jsx)(dDe, {item: e,queue: t,helpers: r,@@ -70287,7 +70312,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, O.jsx)(uDe, {+ /* @__PURE__ */ (0, O.jsx)(pDe, {item: e,write: n}),@@ -70322,24 +70347,24 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null]}),- /* @__PURE__ */ (0, O.jsx)(dDe, {+ /* @__PURE__ */ (0, O.jsx)(mDe, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, O.jsx)(fDe, {+ /* @__PURE__ */ (0, O.jsx)(hDe, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, O.jsx)(cK, {- assetIds: sK([e], r.javImage()),+ /* @__PURE__ */ (0, O.jsx)(lK, {+ assetIds: cK([e], r.javImage()),onComplete: () => {- U.invalidateQueries({ queryKey: zM(e.id) });+ U.invalidateQueries({ queryKey: RM(e.id) });}}),- /* @__PURE__ */ (0, O.jsx)(mDe, { item: e }),+ /* @__PURE__ */ (0, O.jsx)(_De, { item: e }),e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, O.jsx)(N2, { id: e.id }, e.id) : null,/* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-actions": "",@@ -70434,7 +70459,7 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})]}),- /* @__PURE__ */ (0, O.jsx)(hDe, {+ /* @__PURE__ */ (0, O.jsx)(vDe, {item: e,open: s,write: n@@ -70458,8 +70483,8 @@ function sDe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function cDe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = E2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Nse(e, t);+function dDe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = E2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Pse(e, t);return /* @__PURE__ */ (0, O.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, O.jsxs)("div", {@@ -70486,23 +70511,23 @@ function cDe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, O.jsx)(zH, {})+ children: /* @__PURE__ */ (0, O.jsx)(BH, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, O.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, O.jsx)(QEe, {+ children: /* @__PURE__ */ (0, O.jsx)(tDe, {code: e.cover_key || e.code || "",coverUrl: Aa(e),box: e.poster_box || null,onSaved: (t) => {U.invalidateQueries({- queryKey: zM(e.id),+ queryKey: RM(e.id),exact: !0- }), PM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), NM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, O.jsx)(lDe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, O.jsx)(fDe, {id: e.id,actions: r,onStatus: i@@ -70512,7 +70537,7 @@ function cDe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function lDe({ id: e, actions: t, onStatus: n }) {+function fDe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, D.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -70545,14 +70570,14 @@ function lDe({ id: e, actions: t, onStatus: n }) {children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "folder-sync" })})] });}-function uDe({ item: e, write: t }) {- let n = IM(e.rating);+function pDe({ item: e, write: t }) {+ let n = FM(e.rating);return /* @__PURE__ */ (0, O.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": FM(e.rating),+ "data-value": PM(e.rating),children: [/* @__PURE__ */ (0, O.jsx)(pY, {value: n,onRate: (e) => t.rate(e),@@ -70567,12 +70592,12 @@ function uDe({ item: e, write: t }) {}), /* @__PURE__ */ (0, O.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: LM(e.rating)+ children: IM(e.rating)})]});}-function dDe({ item: e, actions: t }) {- let n = (0, D.useMemo)(() => Ese(e), [e]), [r, i] = (0, D.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+function mDe({ item: e, actions: t }) {+ let n = (0, D.useMemo)(() => Dse(e), [e]), [r, i] = (0, D.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;return /* @__PURE__ */ (0, O.jsx)(w2, {kind: e,@@ -70618,7 +70643,7 @@ function dDe({ item: e, actions: t }) {size: "small",id: "castMore","data-cast-more": "",- trailingIcon: lz,+ trailingIcon: sz,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -70643,8 +70668,8 @@ function dDe({ item: e, actions: t }) {})]});}-function fDe({ item: e, write: t, helpers: n, actions: r }) {- let i = Dse(e, n);+function hDe({ item: e, write: t, helpers: n, actions: r }) {+ let i = Ose(e, n);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-tags": "",id: "detailTags",@@ -70666,14 +70691,14 @@ function fDe({ item: e, write: t, helpers: n, actions: r }) {onClick: () => t.removeTag(e),children: /* @__PURE__ */ (0, O.jsx)(I2, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, O.jsx)(pDe, {+ }, e.k)), /* @__PURE__ */ (0, O.jsx)(gDe, {item: e,write: t,helpers: n})]});}-function pDe({ item: e, write: t, helpers: n }) {+function gDe({ item: e, write: t, helpers: n }) {let r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(!1), [s, c] = (0, D.useState)(!1), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(-1), h = (0, D.useCallback)(() => {i.current && To(i.current), c(!1);}, []);@@ -70687,7 +70712,7 @@ function pDe({ item: e, write: t, helpers: n }) {clearTimeout(t), document.removeEventListener("pointerdown", e, !0);};}, [s, h]);- let g = s ? kse(d, n.tagCandidates(), aN()) : {+ let g = s ? Ase(d, n.tagCandidates(), iN()) : {recent: [],results: [],create: ""@@ -70710,12 +70735,12 @@ function pDe({ item: e, write: t, helpers: n }) {} else if (n.key === "Enter") {n.preventDefault();let r = p >= 0 ? _[p] : null;- r ? v(r, r.n !== -1 && tN(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));+ r ? v(r, r.n !== -1 && eN(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));}}}, b = -1, x = (t) => {b += 1;- let r = b, i = tN(e, t.k);+ let r = b, i = eN(e, t.k);return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-pick": t.k,@@ -70812,8 +70837,8 @@ function pDe({ item: e, write: t, helpers: n }) {})]})] });}-function mDe({ item: e }) {- let t = Lse(e);+function _De({ item: e }) {+ let t = Rse(e);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -70847,7 +70872,7 @@ function mDe({ item: e }) {})]});}-function hDe({ item: e, open: t, write: n }) {+function vDe({ item: e, open: t, write: n }) {let [r, i] = (0, D.useState)(e.like_reason || ""), a = (0, D.useRef)(null);(0, D.useEffect)(() => {t && a.current?.focus();@@ -70886,10 +70911,10 @@ function hDe({ item: e, open: t, write: n }) {})]});}-function gDe(e) {+function yDe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = St({- queryKey: Sse(t.id, n),- queryFn: async ({ signal: e }) => (await V(wse(t.id, n), e)).items || []+ queryKey: Cse(t.id, n),+ queryFn: async ({ signal: e }) => (await V(Tse(t.id, n), e)).items || []}), [o] = (0, D.useState)(() => r.relatedSkeletonHtml());return /* @__PURE__ */ (0, O.jsx)(p2, {wireDrag: r.wireDrag,@@ -70915,8 +70940,8 @@ function gDe(e) {}) : /* @__PURE__ */ (0, O.jsx)(L2, { html: o })});}-function _De(e, t, n) {- let r = e.id, i = zM(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = (e, t) => o((n) => {+function bDe(e, t, n) {+ let r = e.id, i = RM(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), f = () => U.getQueryData(i) || e, p = (e) => {@@ -70932,7 +70957,7 @@ function _De(e, t, n) {rating: t.rating,o_count: t.o_count};- return NM(r, n), t;+ return MM(r, n), t;}, m = (e, t) => H(e, {id: r,...t@@ -70947,7 +70972,7 @@ function _De(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(HM, t === void 0 ? { kind: e } : {+ let n = await m(VM, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -70967,21 +70992,21 @@ function _De(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = RM(n, e);- await _("rate", r), t.toast(r ? `已评 ${IM(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = LM(n, e);+ await _("rate", r), t.toast(r ? `已评 ${FM(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(sN(e, r), { undo: async () => {+ t.toast(oN(e, r), { undo: async () => {e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);}),later: () => g("later", "更新稍后看", async () => {- let e = await m(WM, {});+ let e = await m(UM, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(WM, {})).watch_later });+ p({ watch_later: (await m(UM, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -70991,9 +71016,9 @@ function _De(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(GM, { wanted: !e.wanted });+ }), r = await m(WM, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(GM, e));+ n(await m(WM, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -71007,7 +71032,7 @@ function _De(e, t, n) {});u("保存中…");try {- o(await m(KM, {+ o(await m(GM, {liked: a,reason: i}));@@ -71017,7 +71042,7 @@ function _De(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(KM, r));+ o(await m(GM, r));} });});},@@ -71026,30 +71051,30 @@ function _De(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => nN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(UM, {+ p((t) => tN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(HM, {operation: "add",tag: e.k- }), p((t) => rN(t, e));+ }), p((t) => nN(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(UM, {+ let e = await m(HM, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- tN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => rN(e, {+ eN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => nN(e, {k: i,cat: "general"- })), Ose(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(UM, {+ })), kse(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(HM, {operation: "remove",tag: i- }), p((e) => nN(e, i));+ }), p((e) => tN(e, i));} }));});}@@ -71057,7 +71082,7 @@ function _De(e, t, n) {}//#endregion//#region src/react/activity/downloads-panel.tsx-var B2 = "/api/downloads", V2 = ["downloads"], vDe = "/api/downloads/cancel", yDe = "/api/downloads/postprocess", H2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, bDe = {+var B2 = "/api/downloads", V2 = ["downloads"], xDe = "/api/downloads/cancel", SDe = "/api/downloads/postprocess", H2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, CDe = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -71067,14 +71092,14 @@ var B2 = "/api/downloads", V2 = ["downloads"], vDe = "/api/downloads/cancel", yDlanded: "lime",submitted: "neutral"}, U2 = (e) => {- let t = e.display_code || e.code || "", { title: n } = sF({+ let t = e.display_code || e.code || "", { title: n } = oF({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}`;-}, W2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", xDe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function SDe() {+}, W2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", wDe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function TDe() {let e = (0, D.useId)(), t = wt({queryKey: [...V2, "pages"],initialPageParam: null,@@ -71092,14 +71117,14 @@ function SDe() {className: "text-title-2-medium text-text-primary",children: "云下载"}),- t.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ t.error ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: An(t.error)}) : null,r.length ? /* @__PURE__ */ (0, O.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(CDe, {+ children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(EDe, {task: e,writable: n[0]?.available ?? !1}, e.id))@@ -71107,9 +71132,9 @@ function SDe() {t.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: lz,+ leadingIcon: sz,className: "self-start",- ...Bz(t.isFetchingNextPage),+ ...Rz(t.isFetchingNextPage),onClick: () => {t.isFetching || t.fetchNextPage();},@@ -71118,15 +71143,15 @@ function SDe() {]});}-function CDe({ task: e, writable: t }) {- let n = A(), r = AH(), [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = (0, D.useId)(), l = W2(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 = [+function EDe({ task: e, writable: t }) {+ let n = A(), r = jH(), [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = (0, D.useId)(), l = W2(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 = [e.display_code || e.code ? "" : "番号未识别",e.target,- EF(e.submitted_at)+ wF(e.submitted_at)].filter(Boolean).join(" · "), h = () => {n.invalidateQueries({ queryKey: V2 });}, g = () => {- r.run("cancel", (t) => H(vDe, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => H(xDe, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -71140,12 +71165,12 @@ function CDe({ task: e, writable: t }) {}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => H(yDe, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => H(SDe, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, O.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: MH({+ className: NH({padding: "none",bordered: "line",className: p ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -71156,14 +71181,14 @@ function CDe({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(mA) },+ style: { "--card-ratio": String(fA) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [u?.has_cover ? null : /* @__PURE__ */ (0, O.jsx)("span", {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, O.jsx)(dW, {+ u?.has_cover ? /* @__PURE__ */ (0, O.jsx)(fW, {artwork: {kind: "cover",html: Ha(u, "big")@@ -71194,7 +71219,7 @@ function CDe({ task: e, writable: t }) {}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-center gap-2",children: [/* @__PURE__ */ (0, O.jsx)(hZ, {- color: bDe[e.state] ?? "neutral",+ color: CDe[e.state] ?? "neutral",children: e.state_label}), e.state === "ingested" ? /* @__PURE__ */ (0, O.jsx)(hZ, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",@@ -71206,7 +71231,7 @@ function CDe({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, O.jsx)(XH, {+ children: /* @__PURE__ */ (0, O.jsx)(ZH, {source: e.provider,label: e.provider_label})@@ -71233,7 +71258,7 @@ function CDe({ task: e, writable: t }) {children: [d.map((e) => e.name).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, O.jsx)(FH, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, O.jsx)(IH, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -71243,7 +71268,7 @@ function CDe({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, O.jsx)(WH, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, O.jsx)(GH, { children: r.error }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {"data-download-actions": "",className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",@@ -71268,21 +71293,21 @@ function CDe({ task: e, writable: t }) {e.cancellable ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...Bz(r.busy === "cancel"),+ ...Rz(r.busy === "cancel"),onClick: g,children: "取消"}) : null,e.resubmittable ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...Bz(r.busy === "resubmit"),+ ...Rz(r.busy === "resubmit"),onClick: _,children: "重新提交"}) : null,e.postprocess_retryable ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- ...Bz(r.busy === "postprocess"),+ ...Rz(r.busy === "postprocess"),onClick: y,children: "重试入库后整理"}) : null@@ -71303,7 +71328,7 @@ function CDe({ task: e, writable: t }) {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, O.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || xDe(e)+ children: l || wDe(e)})}) : null]@@ -71314,18 +71339,18 @@ function CDe({ task: e, writable: t }) {var G2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), K2 = (e, t) => !!G2(e) && G2(e) === G2(t);//#endregion//#region src/react/activity/resource-search.tsx-function wDe({ className: e }) {+function DDe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: ns("") }});}-function TDe(e) {+function ODe(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(() => TDe(t)), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(""), [_, v] = (0, D.useState)(""), y = AH(), b = (0, D.useRef)(null);+function kDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(() => ODe(t)), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(""), [_, v] = (0, D.useState)(""), y = jH(), b = (0, D.useRef)(null);(0, D.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -71362,18 +71387,18 @@ function EDe({ 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, O.jsxs)(UH, { children: [+ t ? /* @__PURE__ */ (0, O.jsxs)(WH, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(Az, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? wDe : Cz,+ leadingIcon: y.busy ? DDe : xz,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -71383,7 +71408,7 @@ function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, O.jsx)(GH, { children: "优先寻找" }), /* @__PURE__ */ (0, O.jsxs)(dU, {+ children: [/* @__PURE__ */ (0, O.jsx)(KH, { children: "优先寻找" }), /* @__PURE__ */ (0, O.jsxs)(fU, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -71391,15 +71416,15 @@ function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, O.jsx)(fU, {+ /* @__PURE__ */ (0, O.jsx)(pU, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, O.jsx)(fU, {+ /* @__PURE__ */ (0, O.jsx)(pU, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, O.jsx)(fU, {+ /* @__PURE__ */ (0, O.jsx)(pU, {id: "uncensored",children: "无码"})@@ -71408,32 +71433,32 @@ function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, O.jsx)(Mz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Az, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, O.jsx)(Mz, {+ }), /* @__PURE__ */ (0, O.jsx)(Az, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, O.jsx)(UH, {+ y.busy ? /* @__PURE__ */ (0, O.jsx)(WH, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, O.jsx)(WH, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, O.jsx)(UH, {+ y.error ? /* @__PURE__ */ (0, O.jsx)(GH, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, O.jsx)(WH, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, O.jsx)(UH, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, O.jsx)(WH, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, O.jsx)(UH, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, O.jsx)(WH, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {@@ -71443,7 +71468,7 @@ function EDe({ 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, O.jsx)(UH, { children: [+ /* @__PURE__ */ (0, O.jsx)(WH, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -71468,19 +71493,19 @@ function EDe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}//#endregion//#region src/react/activity/cloud-download-dialog.tsx-var DDe = {+var ADe = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};function q2({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, O.jsx)(Nz, {+ return /* @__PURE__ */ (0, O.jsx)(jz, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, O.jsx)(ODe, {+ children: e ? /* @__PURE__ */ (0, O.jsx)(jDe, {prefill: e,close: t,receipt: n,@@ -71488,26 +71513,26 @@ function q2({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function ODe({ prefill: e, close: t, receipt: n, provider: r }) {+function jDe({ prefill: e, close: t, receipt: n, provider: r }) {let i = St({queryKey: V2,queryFn: ({ signal: e }) => V(`${B2}?limit=50`, e),refetchInterval: (e) => H2(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, O.jsx)(xI, {+ children: [/* @__PURE__ */ (0, O.jsx)(yI, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"}), /* @__PURE__ */ (0, O.jsx)(J, {variant: "ghost",iconOnly: !0,- leadingIcon: fz,+ leadingIcon: uz,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, O.jsx)(kDe, {+ return a ? /* @__PURE__ */ (0, O.jsx)(MDe, {header: o,snapshot: a,prefill: e,@@ -71520,7 +71545,7 @@ function ODe({ prefill: e, close: t, receipt: n, provider: r }) {o,/* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",- children: i.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ children: i.error ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: An(i.error)}) : null@@ -71536,8 +71561,8 @@ function ODe({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = A(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, D.useState)(c?.key || ""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(n.code ?? ""), [h, g] = (0, D.useState)(c?.target || ""), [_, v] = (0, D.useState)(n.code ? n : null), [y, b] = (0, D.useState)(""), x = t.available && s.some((e) => e.key === l), S = AH(), C = (0, D.useRef)(null), w = (e) => {+function MDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = A(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, D.useState)(c?.key || ""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(n.code ?? ""), [h, g] = (0, D.useState)(c?.target || ""), [_, v] = (0, D.useState)(n.code ? n : null), [y, b] = (0, D.useState)(""), x = t.available && s.some((e) => e.key === l), S = jH(), C = (0, D.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, O.jsxs)("form", {@@ -71555,7 +71580,7 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide};b(""), S.run("submit", (e) => H(B2, t, "POST", e), (e) => {o.invalidateQueries({ queryKey: V2 });- let t = DDe[e.outcome];+ let t = ADe[e.outcome];if (e.ok && t) {i(t), r();return;@@ -71584,7 +71609,7 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, O.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, O.jsx)(UH, { children: [+ }), _ ? /* @__PURE__ */ (0, O.jsx)(WH, { children: [_.performers,_.studio,_.release_date,@@ -71592,7 +71617,7 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, O.jsx)(EDe, {+ /* @__PURE__ */ (0, O.jsx)(kDe, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {@@ -71607,7 +71632,7 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providef(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(Az, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -71619,38 +71644,38 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, O.jsx)(GH, { children: "下载到" }),- /* @__PURE__ */ (0, O.jsx)(dU, {+ /* @__PURE__ */ (0, O.jsx)(KH, { children: "下载到" }),+ /* @__PURE__ */ (0, O.jsx)(fU, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, O.jsx)(fU, {+ children: s.map((e) => /* @__PURE__ */ (0, O.jsx)(pU, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, O.jsx)(XH, {+ children: /* @__PURE__ */ (0, O.jsx)(ZH, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, O.jsx)(UH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, O.jsx)(WH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- t.available ? null : /* @__PURE__ */ (0, O.jsx)(Fz, {+ t.available ? null : /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}),- s.length ? null : /* @__PURE__ */ (0, O.jsxs)(Fz, {+ s.length ? null : /* @__PURE__ */ (0, O.jsxs)(Nz, {tone: "neutral",children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, O.jsx)("a", {href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",children: "下载渠道设置"})]}),- /* @__PURE__ */ (0, O.jsx)(Mz, {+ /* @__PURE__ */ (0, O.jsx)(Az, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -71658,7 +71683,7 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, O.jsx)(Mz, {+ n.code ? null : /* @__PURE__ */ (0, O.jsx)(Az, {label: "番号",placeholder: "可不填",autoComplete: "off",@@ -71668,7 +71693,7 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providem(e), K2(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, O.jsx)(WH, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, O.jsx)(GH, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, O.jsxs)("div", {@@ -71680,7 +71705,7 @@ function kDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}), /* @__PURE__ */ (0, O.jsx)(J, {type: "submit",disabled: !d.trim() || !x,- ...Bz(S.busy === "submit"),+ ...Rz(S.busy === "submit"),children: "提交下载"})]})@@ -71701,12 +71726,12 @@ function X2(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function ADe(e, t = Date.now()) {+function NDe(e, t = Date.now()) {let n = X2(e);return n !== void 0 && Y2(t) > n ? Infinity : J2;}function Z2(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : ADe(t, n) === Infinity ? Y2(e) > X2(t) : n - e < J2;+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : NDe(t, n) === Infinity ? Y2(e) > X2(t) : n - e < J2;}//#endregion//#region src/react/wants/resource-cache.ts@@ -71729,11 +71754,11 @@ function t4() {return [];}}-function jDe(e, t) {+function PDe(e, t) {let n = t4().find((t) => t.code === e);return n && Z2(n.saved, t) ? n : void 0;}-function MDe(e) {+function FDe(e) {let t = new Map(t4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;@@ -71742,7 +71767,7 @@ function MDe(e) {}return n;}-function NDe(e, t) {+function IDe(e, t) {if (t.state === "ready" && $2(t)) try {let n = t4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");localStorage.setItem(Q2, JSON.stringify([{@@ -71754,11 +71779,11 @@ function NDe(e, t) {}//#endregion//#region src/react/wants/resource-display.ts-function PDe(e) {+function LDe(e) {let t = /^([\d,]+)\s*B$/i.exec(e.trim());return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? _n(Number(t[1].replaceAll(",", ""))) : e || "大小未知";}-function FDe(e) {+function RDe(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}//#endregion@@ -71774,7 +71799,7 @@ function n4({ icon: e, children: t, title: n }) {});}function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, D.useRef)(null), [c, l] = (0, D.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, D.useState)([]), f = AH(), p = A(), m = (0, D.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, D.useMemo)(() => jDe(h, e.release_date), [h, e.release_date]);+ let s = (0, D.useRef)(null), [c, l] = (0, D.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, D.useState)([]), f = jH(), p = A(), m = (0, D.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, D.useMemo)(() => PDe(h, e.release_date), [h, e.release_date]);(0, D.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -71794,7 +71819,7 @@ function r4({ 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 V(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);- return m.current = n && i.state === "busy", NDe(h, i), i;+ return m.current = n && i.state === "busy", IDe(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,@@ -71809,7 +71834,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc(0, D.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, D.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && jCe(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && PCe(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -71846,39 +71871,39 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}), /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: Sz,- ...Bz(x),+ leadingIcon: bz,+ ...Rz(x),onClick: () => {x || (m.current = !0, _.refetch());},children: "重新查询"})]}),- x ? /* @__PURE__ */ (0, O.jsx)(NH, { label: "正在查找资源链接" }) : null,- S ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ x ? /* @__PURE__ */ (0, O.jsx)(PH, { label: "正在查找资源链接" }) : null,+ S ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",title: "资源链接未取得",children: S}) : null,- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, O.jsx)(Fz, {+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",- children: FDe(e)+ children: RDe(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, O.jsx)(JF, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, O.jsx)(KF, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: pz,+ trailingIcon: dz,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",children: "查看来源页"}) : null,- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",children: "暂未找到资源链接。"}) : null,- f.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ f.error ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",title: "操作未完成",children: f.error@@ -71908,25 +71933,25 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, O.jsx)(n4, {- icon: wfe,+ icon: Efe,children: e.source}),/* @__PURE__ */ (0, O.jsx)(n4, {- icon: _z,+ icon: hz,title: `来源大小:${e.size}`,- children: PDe(e.size)+ children: LDe(e.size)}),e.files ? /* @__PURE__ */ (0, O.jsx)(n4, {- icon: hfe,+ icon: _fe,children: e.files.replaceAll("個", "个")}) : null,/* @__PURE__ */ (0, O.jsx)(n4, {- icon: tfe,+ icon: rfe,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, O.jsx)(n4, {- icon: xz,+ icon: yz,children: e}, e))]@@ -71935,11 +71960,11 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(JF, {+ /* @__PURE__ */ (0, O.jsx)(KF, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: pz,+ trailingIcon: dz,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -71948,18 +71973,18 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc/* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: pfe,- ...Bz(f.busy === `copy:${e.id}`),+ leadingIcon: hfe,+ ...Rz(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"}),e.protocol === "magnet" ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "primary",size: "small",- leadingIcon: v ? YH(v.key) : sfe,+ leadingIcon: v ? XH(v.key) : lfe,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,- ...Bz(f.busy === e.id),+ ...Rz(f.busy === e.id),onClick: () => y(e),children: r ? "已添加" : "添加下载"}) : null@@ -71970,7 +71995,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, O.jsx)(KH, {+ }), e.length > 3 ? /* @__PURE__ */ (0, O.jsx)(qH, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -71994,7 +72019,7 @@ function a4() {return [];}}-function IDe(e, t) {+function zDe(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,@@ -72004,7 +72029,7 @@ function IDe(e, t) {i.length <= 2e6 && localStorage.setItem(i4, i);} catch {}}-function LDe(e, t) {+function BDe(e, t) {let n = a4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);@@ -72016,12 +72041,12 @@ function LDe(e, t) {saved: i} : void 0;}-function RDe(e, t, n) {+function VDe(e, t, n) {return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Z2(Date.parse(e.checked_at || "") || t, n));}//#endregion//#region src/react/jav-detail/jav-detail-page.tsx-function zDe(e) {+function HDe(e) {let t = (0, D.useRef)(!1), n = St({queryKey: O2(e.code),queryFn: ({ signal: n }) => {@@ -72036,14 +72061,14 @@ function zDe(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, O.jsx)(BDe, {+ children: n.data ? /* @__PURE__ */ (0, O.jsx)(UDe, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, O.jsx)(o4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, O.jsx)(uW, {+ children: [/* @__PURE__ */ (0, O.jsx)(o4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, O.jsx)(dW, {message: An(n.error),onRetry: r}) : null]@@ -72059,7 +72084,7 @@ var o4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function UDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, D.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, D.useEffect)(() => {@@ -72079,7 +72104,7 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(t.want_id), p = AH(), m = () => {+ ], [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(t.want_id), p = jH(), m = () => {p.run("want", async (e) => d ? (await b$([d], e), null) : (await y$({ code: t.code }, e)).want.id, (t) => {f(t), U.setQueryData(O2(e), (e) => e && {...e,@@ -72102,7 +72127,7 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: aonClick: () => s(o === -2 ? -1 : -2),children: [/* @__PURE__ */ (0, O.jsx)(s4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, O.jsx)(UDe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, O.jsx)(yQ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, O.jsx)(KDe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, O.jsx)(yQ, {item: t,image: o === -1 ? "cover" : String(o)}, o),@@ -72125,7 +72150,7 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, O.jsx)(VDe, { item: t }),+ /* @__PURE__ */ (0, O.jsx)(WDe, { item: t }),Number(t.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(l4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {className: "mono",@@ -72141,7 +72166,7 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avalue: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, O.jsx)(HDe, {+ /* @__PURE__ */ (0, O.jsx)(GDe, {item: t,navigate: n.navigate}),@@ -72180,11 +72205,11 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-summary": "",children: t.summary}) : null,- t.message ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ t.message ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(a),+ ...Rz(a),onClick: i,children: "立即重试"}),@@ -72193,10 +72218,10 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, O.jsx)(JF, {+ t.source_url ? /* @__PURE__ */ (0, O.jsx)(KF, {"data-button-link": "",variant: "secondary",- trailingIcon: pz,+ trailingIcon: dz,href: t.source_url,target: "_blank",rel: "noopener noreferrer",@@ -72206,7 +72231,7 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avariant: "secondary",disabled: r,"aria-pressed": !!d,- ...Bz(!!p.busy),+ ...Rz(!!p.busy),onClick: m,children: d ? "取消想要" : "想要"}),@@ -72224,16 +72249,16 @@ function BDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})]}),- p.error ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ p.error ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, O.jsx)(WDe, {+ /* @__PURE__ */ (0, O.jsx)(qDe, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, O.jsx)(GDe, {+ /* @__PURE__ */ (0, O.jsx)(JDe, {item: t,actions: n,readOnly: r@@ -72257,7 +72282,7 @@ var s4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {title: t,children: [/* @__PURE__ */ (0, O.jsx)(s4, { name: e }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]}) : null;-function VDe({ item: e }) {+function WDe({ item: e }) {let { text: t, expanded: n, foldable: r, toggle: i } = E2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-title": "",@@ -72285,7 +72310,7 @@ function VDe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, O.jsx)(zH, {})+ children: /* @__PURE__ */ (0, O.jsx)(BH, {})})})]});@@ -72303,7 +72328,7 @@ function l4({ score: e, review: t = !1 }) {})]});}-function HDe({ item: e, navigate: t }) {+function GDe({ item: e, navigate: t }) {let n = (e, n) => t(en(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, O.jsxs)("section", {"data-id-group": t,"data-id-gender": a,@@ -72345,18 +72370,18 @@ function HDe({ item: e, navigate: t }) {})]});}-function UDe({ src: e }) {+function KDe({ src: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(0);return (0, D.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), cM(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), sM(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));}, [e, i]), /* @__PURE__ */ (0, O.jsx)("div", {ref: t,"data-jav-video": "",- children: n ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ children: n ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",@@ -72369,8 +72394,8 @@ function UDe({ src: e }) {}) : null});}-function WDe({ code: e, count: t, released: n }) {- let r = A(), [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => LDe(e, n), [e, n]), s = (0, D.useRef)(!1), c = wt({+function qDe({ code: e, count: t, released: n }) {+ let r = A(), [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => BDe(e, n), [e, n]), s = (0, D.useRef)(!1), c = wt({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -72379,12 +72404,12 @@ function WDe({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => RDe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => VDe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await GEe(e, n, t, s.current);- if (IDe(e, i), !i.ok || i.cache_stale) {+ let i = await JEe(e, n, t, s.current);+ if (zDe(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,@@ -72394,7 +72419,7 @@ function WDe({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: KEe+ getNextPageParam: YEe});(0, D.useEffect)(() => {c.isFetching || (s.current = !1);@@ -72402,10 +72427,10 @@ function WDe({ 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 ? An(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, O.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, O.jsxs)(KH, {+ children: /* @__PURE__ */ (0, O.jsxs)(qH, {trailing: !0,summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(nfe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(ife, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -72454,24 +72479,24 @@ function WDe({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, O.jsx)("p", { children: e.content })]}, e.id)),- d ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ d ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(c.isFetching),+ ...Rz(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "立即重试"}),children: d- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, O.jsx)(Fz, {+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, O.jsx)(Nz, {tone: "neutral",children: "暂无评论"}) : null,!d && l.length ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(c.isFetching),+ ...Rz(c.isFetching),onClick: () => {s.current = !0, c.refetch();},@@ -72479,13 +72504,13 @@ function WDe({ code: e, count: t, released: n }) {}) : null,c.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(J, {variant: "secondary",- ...Bz(c.isFetchingNextPage),+ ...Rz(c.isFetchingNextPage),onClick: () => {c.isFetchingNextPage || c.fetchNextPage();},children: "更多评论"}) : null,- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, O.jsxs)(Fz, {+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, O.jsxs)(Nz, {tone: "neutral",children: ["已显示 ",@@ -72497,7 +72522,7 @@ function WDe({ code: e, count: t, released: n }) {})});}-function GDe({ item: e, actions: t, readOnly: n }) {+function JDe({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, D.useState)(!1), a = St({queryKey: V2,enabled: r,@@ -72505,7 +72530,7 @@ function GDe({ item: e, actions: t, readOnly: n }) {}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, O.jsx)(KH, {+ children: /* @__PURE__ */ (0, O.jsx)(qH, {trailing: !0,summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(s4, { name: "link" }), "资源"] }),onOpenChange: (e) => {@@ -72530,16 +72555,16 @@ function GDe({ item: e, actions: t, readOnly: n }) {//#endregion//#region src/react/stage/stage-player.tsvar u4 = null, d4 = null, f4 = null, p4 = null, m4 = null, h4 = !1, g4 = 0, _4 = null, v4 = () => !1, y4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function KDe(e, t) {- u4 = e, v4 = () => t.isOpen(), _4 = () => t.requestClose(), KA({+function YDe(e, t) {+ u4 = e, v4 = () => t.isOpen(), _4 = () => t.requestClose(), WA({...e.player,stage: () => document.getElementById("stage")- }), YA({+ }), qA({inMiniplayer: (e) => d4?.player === e,kind: (e) => d4?.player === e ? d4.kind : f4?.kind ?? p4?.kind ?? "item",expand: () => z4(),toMiniplayer: () => B4()- }), b4 || (b4 = !0, addEventListener("pagehide", () => Jj()));+ }), b4 || (b4 = !0, addEventListener("pagehide", () => qj()));}var b4 = !1;function x4() {@@ -72549,10 +72574,10 @@ function x4() {function S4(e) {p4 = e;}-var qDe = () => p4;+var XDe = () => p4;function C4(e, t) {let { kind: n, item: r, media: i = null } = t, a = y4(n, r.id, i?.index ?? null);- if (d4 && d4.key === a) return YDe(e, d4);+ if (d4 && d4.key === a) return QDe(e, d4);d4 && R4();let o = {player: null,@@ -72564,7 +72589,7 @@ function C4(e, t) {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 = aM(s, {+ let c = iM(s, {kind: n,item: r,media: i,@@ -72577,10 +72602,10 @@ function C4(e, t) {});return () => {let e = !!o.player && d4?.player === o.player;- f4 === o && (f4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), Jj());+ f4 === o && (f4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), qj());};}-async function JDe(e, t, n) {+async function ZDe(e, t, n) {let r = await z(`/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("这条作品没有可播放的视频");@@ -72604,9 +72629,9 @@ async function JDe(e, t, n) {s || (s = !0, e && p4 === a && T4(!0), o(), p4 === a && S4(null));};}-function YDe(e, t) {+function QDe(e, t) {let { player: n } = t;- I4(t), d4 = null, L4(), n.el().classList.remove("vjs-peach-mini"), rM(e), e.append(n.el()), nj(n);+ I4(t), d4 = null, L4(), n.el().classList.remove("vjs-peach-mini"), nM(e), e.append(n.el()), tj(n);let r = {player: n,kind: t.kind,@@ -72615,9 +72640,9 @@ function YDe(e, t) {key: t.key};f4 = r;- let i = iM(n, e);- return rj(n), () => {- f4 === r && (f4 = null), i(), d4?.player !== n && (tj() === n && nj(null), zj(n), Jj());+ let i = rM(n, e);+ return nj(n), () => {+ f4 === r && (f4 = null), i(), d4?.player !== n && (ej() === n && tj(null), Rj(n), qj());};}var w4 = () => {@@ -72630,7 +72655,7 @@ function T4(e) {let n = f4, r = n?.player, i = p4;if (!n || !r || r.isDisposed() || !i || !m4) return;let a = x4().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && $De({+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && nOe({player: r,kind: n.kind,item: n.item,@@ -72645,11 +72670,11 @@ function D4(e) {m4 = e, m4 && P4();}var O4 = () => !!d4 && !d4.pending && !d4.player.isDisposed();-function XDe() {+function $De() {return O4() ? m4?.frame.querySelector("video") ?? null : null;}-function ZDe() {- return v4() ? document.getElementById("stage")?.querySelector("video") ?? null : w4()?.el().querySelector("video") ?? XDe();+function eOe() {+ return v4() ? document.getElementById("stage")?.querySelector("video") ?? null : w4()?.el().querySelector("video") ?? $De();}function k4(e) {m4 && (m4.title.textContent = e.title || "", m4.sub.textContent = e.sub || "", m4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));@@ -72698,7 +72723,7 @@ function F4(e) {function I4(e) {e.off.forEach((e) => e()), e.off = [];}-function QDe() {+function tOe() {let e = m4?.root;if (!e) return;let t = e.hidden;@@ -72719,7 +72744,7 @@ function L4() {e.style.transform = "";}}-function $De(e, t) {+function nOe(e, t) {if (!m4) return;let n = {...e,@@ -72727,13 +72752,13 @@ function $De(e, t) {off: [],pending: !1};- d4 = n, g4++, e.player.el().classList.add("vjs-peach-mini"), m4.frame.prepend(e.player.el()), k4(t), F4(n), QDe(), rj(e.player);+ d4 = n, g4++, e.player.el().classList.add("vjs-peach-mini"), m4.frame.prepend(e.player.el()), k4(t), F4(n), tOe(), nj(e.player);}function R4() {let e = d4;e && I4(e), d4 = null, g4++;let t = e?.player ?? null;- t && tj() === t && nj(null), zj(t), t && Jj(), m4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), $A(), L4();+ t && ej() === t && tj(null), Rj(t), t && qj(), m4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), ZA(), L4();}function z4() {if (!O4() || !d4) return;@@ -72743,7 +72768,7 @@ function z4() {function B4() {O4() && !v4() ? z4() : v4() && w4() && _4 && (h4 = !0, _4());}-function eOe() {+function rOe() {let e = d4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}@@ -72756,7 +72781,7 @@ function V4(e) {function H4(e) {return !(!O4() || !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 || x4().sourceOffline(String(e.root_id || e.location || "")));}-async function tOe(e) {+async function iOe(e) {if (!O4() || !d4 || !m4) return;let t = ++g4, n = await z(`/api/item?id=${e}`).catch(() => null);if (t !== g4 || !O4() || !d4 || !m4 || !n || n.error) return;@@ -72765,7 +72790,7 @@ async function tOe(e) {return;}let r = d4;- I4(r), tj() === r.player && nj(null), zj(r.player), Jj(), m4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ I4(r), ej() === r.player && tj(null), Rj(r.player), qj(), m4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", m4.frame.prepend(i);let a = {@@ -72774,14 +72799,14 @@ async function tOe(e) {title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- k4(a), aM(i, {+ k4(a), iM(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {if (t !== g4) {- r && tj() === r && nj(null), zj(r);+ r && ej() === r && tj(null), Rj(r);return;}if (!r) {@@ -72809,9 +72834,9 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })-}), nOe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, W4 = (e) => (t) => {+}), aOe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, W4 = (e) => (t) => {t.stopPropagation(), e();-}, rOe = (0, D.memo)(function() {+}, oOe = (0, D.memo)(function() {let e = (0, D.useRef)(null), t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => (D4({root: e.current,@@ -72823,7 +72848,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => D4(null)), []), (0, D.useEffect)(() => aOe(e.current, t.current), []), /* @__PURE__ */ (0, O.jsx)("aside", {+ }), () => D4(null)), []), (0, D.useEffect)(() => cOe(e.current, t.current), []), /* @__PURE__ */ (0, O.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -72873,8 +72898,8 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: W4(eOe),- dangerouslySetInnerHTML: nOe+ onClick: W4(rOe),+ dangerouslySetInnerHTML: aOe}),/* @__PURE__ */ (0, O.jsx)("button", {ref: o,@@ -72913,7 +72938,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {})});});-function iOe(e, t, n) {+function sOe(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@@ -72935,7 +72960,7 @@ function iOe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function aOe(e, t) {+function cOe(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 = {@@ -72961,7 +72986,7 @@ function aOe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), iOe(e, i.dx, i.dy));+ }, 0), sOe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -72981,25 +73006,25 @@ function $4() {if (!G4) throw Error("舞台还没有接上宿主(configureStage)");return G4;}-function oOe(e) {+function lOe(e) {return q4.add(e), () => {q4.delete(e);};}-function sOe() {+function uOe() {for (let e of [...q4]) e();}function e3() {- (0, Tt.flushSync)(sOe);+ (0, Tt.flushSync)(uOe);}-function cOe({ view: e }) {- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)(lOe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, O.jsx)(rOe, {})] });+function dOe({ view: e }) {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)(fOe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, O.jsx)(oOe, {})] });}var t3 = () => /* @__PURE__ */ (0, O.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: cEe() }+ dangerouslySetInnerHTML: { __html: dEe() }});function n3(e) {let t = e.currentTarget;@@ -73007,7 +73032,7 @@ function n3(e) {let n = t.getBoundingClientRect();return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;}-function lOe({ view: e }) {+function fOe({ view: e }) {let t = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {let e = t.current, n = (t) => {@@ -73015,7 +73040,7 @@ function lOe({ view: e }) {};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, O.jsx)(eDe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, O.jsx)(zDe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, O.jsx)(FEe, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, O.jsx)(rDe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, O.jsx)(HDe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, O.jsx)(REe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, O.jsxs)("dialog", {ref: t,id: "stage",@@ -73042,7 +73067,7 @@ function lOe({ view: e }) {"data-stage-scroll": "",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(CT, {+ children: /* @__PURE__ */ (0, O.jsx)(xT, {getContainer: () => Q0(t.current),children: i})@@ -73135,7 +73160,7 @@ function a3(e) {}};}-function uOe(e, t) {+function pOe(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 = () => {@@ -73152,10 +73177,10 @@ function o3(e) {let t = Q4();return !K4 || K4.content.kind !== e || X4 || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function dOe(e) {+async function mOe(e) {let t = o3(e.kind);if (t) {- await pOe(e, t);+ await gOe(e, t);return;}K4 && s3({ miniplayer: !1 });@@ -73168,12 +73193,12 @@ async function dOe(e) {content: i,phase: "skeleton"};- let a = i.kind === "item" ? eN(i.props, r.signal) : i.kind === "jav" ? A2(i.props, r.signal) : r2(i.props, r.signal);+ let a = i.kind === "item" ? $M(i.props, r.signal) : i.kind === "jav" ? A2(i.props, r.signal) : r2(i.props, r.signal);if (n !== J4 || K4?.request !== e) {await a.catch(() => {});return;}- let o = fOe(i);+ let o = hOe(i);K4 = {...K4,phase: o ? "content" : "skeleton"@@ -73194,31 +73219,31 @@ async function dOe(e) {K4 = {...K4,phase: c ? "content" : "reveal"- }, e3(), c || uOe(s, n), hs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, e3(), c || pOe(s, n), hs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;(l === s || !s.contains(l)) && s.querySelector("#closeStage")?.focus();}-function fOe(e) {+function hOe(e) {if (e.kind === "jav") return !!U.getQueryData(O2(e.props.code));if (e.kind === "follow") return !!U.getQueryData(e2(e.props.id));- let { queue: t, id: n } = e.props, r = t ? U.getQueryData(BM(t)) : null;+ let { queue: t, id: n } = e.props, r = t ? U.getQueryData(zM(t)) : null;if (t && !r) return !1;- let i = r ? QM(r, n) : n;- return i != null && !!U.getQueryData(zM(i));+ let i = r ? ZM(r, n) : n;+ return i != null && !!U.getQueryData(RM(i));}-async function pOe(e, t) {+async function gOe(e, t) {let n = ++J4;Y4?.abort();let r = new AbortController();Y4 = r, Z4 = !1;let i = a3(e);try {- i.kind === "item" ? await eN(i.props, r.signal) : i.kind === "jav" ? await A2(i.props, r.signal) : await r2(i.props, r.signal);+ i.kind === "item" ? await $M(i.props, r.signal) : i.kind === "jav" ? await A2(i.props, r.signal) : await r2(i.props, r.signal);} catch {if (r.signal.aborted) return;}if (n !== J4 || !K4 || o3(e.kind) !== t) return;- e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN), cl(t), $A(), K4 = {+ e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN), cl(t), ZA(), K4 = {...K4,request: e,content: i,@@ -73227,7 +73252,7 @@ async function pOe(e, t) {let a = document.activeElement;(a === t || !t.contains(a)) && (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });}-function mOe() {+function _Oe() {$0(null);let e = Q4();return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {@@ -73242,9 +73267,9 @@ function mOe() {function s3({ miniplayer: e = !0 } = {}) {if (J4++, Y4?.abort(), Y4 = null, T4(e), !K4) return;let t = Q4();- t && cl(t), $A(), $0(null), t?.open && t.close(), K4 = null, X4 = !1, Z4 = !1, e3(), S4(null), document.body.removeAttribute("data-detail-open");+ t && cl(t), ZA(), $0(null), t?.open && t.close(), K4 = null, X4 = !1, Z4 = !1, e3(), S4(null), document.body.removeAttribute("data-detail-open");}-function hOe(e) {+function vOe(e) {K4 && (K4 = {...K4,content: K4.content.kind === "item" ? {@@ -73262,62 +73287,62 @@ function hOe(e) {}}, e3());}-function gOe() {- let e = qDe(), t = e?.kind === "item" ? e.item : null, n = t ? Ya(t, $4().player.settings().javImage) : "";+function yOe() {+ let e = XDe(), t = e?.kind === "item" ? e.item : null, n = t ? Ya(t, $4().player.settings().javImage) : "";if (!n) return;let r = w4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var _Oe = {- open: dOe,- update: hOe,- exit: mOe,+var bOe = {+ open: mOe,+ update: vOe,+ exit: _Oe,dispose: s3,requestClose: r3,- repaintPoster: gOe,+ repaintPoster: yOe,isOpen: () => !!K4,showing: () => K4 && o3(K4.content.kind) ? K4.content.kind : null,- activeVideo: () => ZDe(),- mountWallPlayer: JDe,+ activeVideo: () => eOe(),+ mountWallPlayer: ZDe,toggleTheater: () => {- K4 && Ej(!$4().player.settings().theaterMode);+ K4 && Tj(!$4().player.settings().theaterMode);},toggleMiniplayer: () => B4(),closeMiniplayer: () => R4(),miniplayerActive: () => O4(),miniplayerTakesCard: (e) => H4(e),miniplayerPlay: (e) => {- tOe(e);+ iOe(e);}};-function vOe(e) {- return G4 = e, KDe(e, {+function xOe(e) {+ return G4 = e, YDe(e, {isOpen: () => !!K4,requestClose: r3- }), _Oe;+ }), bOe;}-function yOe() {- let e = (0, D.useSyncExternalStore)(oOe, () => K4);- return G4 ? /* @__PURE__ */ (0, O.jsx)(cOe, { view: e }) : null;+function SOe() {+ let e = (0, D.useSyncExternalStore)(lOe, () => K4);+ return G4 ? /* @__PURE__ */ (0, O.jsx)(dOe, { view: e }) : null;}//#endregion//#region src/react/stats/stats.ts-var bOe = "/api/stats", c3 = ["stats"], l3 = (e) => V(bOe, e);-async function xOe(e) {+var COe = "/api/stats", c3 = ["stats"], l3 = (e) => V(COe, e);+async function wOe(e) {await U.fetchQuery({queryKey: c3,queryFn: () => l3(e)});}-var u3 = (e) => e != null && Number.isFinite(e), SOe = (e) => u3(e) ? e.toLocaleString() : "未取得", COe = (e, t) => u3(e) && u3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, wOe = (e, t) => {- let n = COe(e, t);+var u3 = (e) => e != null && Number.isFinite(e), TOe = (e) => u3(e) ? e.toLocaleString() : "未取得", EOe = (e, t) => u3(e) && u3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, DOe = (e, t) => {+ let n = EOe(e, t);return !n && u3(e) && e > 0 && u3(t) && t > 0 ? "<1%" : `${n}%`;}, d3 = (e) => {if (!u3(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)} 分钟`;-}, f3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, p3 = (e) => (e.max_reached || 0) * 100, TOe = (e) => e.kind === "online" ? "在线直接观看" : f3(e) < p3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", EOe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function DOe(e, t = 6) {+}, f3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, p3 = (e) => (e.max_reached || 0) * 100, OOe = (e) => e.kind === "online" ? "在线直接观看" : f3(e) < p3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", kOe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function AOe(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);@@ -73327,7 +73352,7 @@ function DOe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var OOe = (e) => Math.max(1, ...e) * 1.1, kOe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, AOe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), jOe = {+var jOe = (e) => Math.max(1, ...e) * 1.1, MOe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, NOe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), POe = {video: "视频",image: "图片",illustration: "插画",@@ -73335,10 +73360,10 @@ var OOe = (e) => Math.max(1, ...e) * 1.1, kOe = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, MOe = (e) => e.map((e) => ({- name: jOe[e.k] ?? e.k,+}, FOe = (e) => e.map((e) => ({+ name: POe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), NOe = {+})).sort((e, t) => t.value - e.value), IOe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",@@ -73346,7 +73371,7 @@ var OOe = (e) => Math.max(1, ...e) * 1.1, kOe = (e, t) => e > 0 ? Math.max(e, t}, m3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), POe = (e) => m3(e, NOe), FOe = [+})), LOe = (e) => m3(e, IOe), ROe = [[1,1,@@ -73382,7 +73407,7 @@ var OOe = (e) => Math.max(1, ...e) * 1.1, kOe = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], IOe = (e) => FOe.map(([t, n, r]) => ({+], zOe = (e) => ROe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));@@ -73421,7 +73446,7 @@ function _3(e, t) {}//#endregion//#region node_modules/d3-sankey/src/align.js-function LOe(e, t) {+function BOe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion@@ -73445,13 +73470,13 @@ function x3(e, t) {function S3(e) {return e.value;}-function ROe(e) {+function VOe(e) {return e.index;}-function zOe(e) {+function HOe(e) {return e.nodes;}-function BOe(e) {+function UOe(e) {return e.links;}function C3(e, t) {@@ -73466,8 +73491,8 @@ function w3({ nodes: e }) {for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function VOe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = ROe, c = LOe, l, u, d = zOe, f = BOe, p = 6;+function WOe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = VOe, c = BOe, l, u, d = HOe, f = UOe, p = 6;function m() {let e = {nodes: d.apply(null, arguments),@@ -73653,7 +73678,7 @@ function VOe() {}//#endregion//#region node_modules/d3-path/src/path.js-var T3 = Math.PI, E3 = 2 * T3, D3 = 1e-6, HOe = E3 - D3;+var T3 = Math.PI, E3 = 2 * T3, D3 = 1e-6, GOe = E3 - D3;function O3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}@@ -73694,7 +73719,7 @@ O3.prototype = k3.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) > D3 || Math.abs(this._y1 - l) > D3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % E3 + E3), d > HOe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > D3 && (this._ += "A" + n + "," + n + ",0," + +(d >= T3) + "," + 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) > D3 || Math.abs(this._y1 - l) > D3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % E3 + E3), d > GOe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > D3 && (this._ += "A" + n + "," + n + ",0," + +(d >= T3) + "," + 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";@@ -73712,27 +73737,27 @@ function A3(e) {}//#endregion//#region node_modules/d3-shape/src/point.js-function UOe(e) {+function KOe(e) {return e[0];}-function WOe(e) {+function qOe(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var GOe = Array.prototype.slice;+var JOe = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function KOe(e) {+function YOe(e) {return e.source;}-function qOe(e) {+function XOe(e) {return e.target;}-function JOe(e) {- var t = KOe, n = qOe, r = UOe, i = WOe, a = null;+function ZOe(e) {+ var t = YOe, n = XOe, r = KOe, i = qOe, a = null;function o() {- var o, s = GOe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ var o, s = JOe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);if (a ||= o = k3(), 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) {@@ -73747,56 +73772,56 @@ function JOe(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function YOe(e, t, n, r, i) {+function QOe(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function XOe() {- return JOe(YOe);+function $Oe() {+ return ZOe(QOe);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function ZOe(e) {+function eke(e) {return [e.source.x1, e.y0];}-function QOe(e) {+function tke(e) {return [e.target.x0, e.y1];}-function $Oe() {- return XOe().source(ZOe).target(QOe);+function nke() {+ return $Oe().source(eke).target(tke);}//#endregion//#region src/react/taste/taste.ts-var eke = "/api/taste", j3 = "/api/taste/refresh", tke = "/api/taste/import", M3 = "/api/taste/source", N3 = (e) => ["taste", e], nke = ["taste", "refresh"], rke = [+var rke = "/api/taste", j3 = "/api/taste/refresh", ike = "/api/taste/import", M3 = "/api/taste/source", N3 = (e) => ["taste", e], ake = ["taste", "refresh"], oke = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], ike = 2e3, ake = (e) => e?.stale && !e.error ? ike : !1, oke = (e) => e ? new Date(e).toLocaleString("zh-CN", {+], ske = 2e3, cke = (e) => e?.stale && !e.error ? ske : !1, lke = (e) => e ? new Date(e).toLocaleString("zh-CN", {month: "numeric",day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", ske = (e, t) => H(M3, {+}) : "—", uke = (e, t) => H(M3, {...e,window: t-}), P3 = (e, t, n = !1) => V(`${eke}?window=${e}${n ? "&retry=1" : ""}`, t), cke = (e) => V(j3, e);-async function lke(e, t) {+}), P3 = (e, t, n = !1) => V(`${rke}?window=${e}${n ? "&retry=1" : ""}`, t), dke = (e) => V(j3, e);+async function fke(e, t) {await U.fetchQuery({queryKey: N3(e),queryFn: () => P3(e, t)});}-var uke = (e) => H(j3, {+var pke = (e) => H(j3, {window: e,background: !0-}), dke = (e, t) => H(M3, {+}), mke = (e, t) => H(M3, {operation: "remove",source_key: e,window: t});-async function fke(e) {- let t = await fetch(tke, {+async function hke(e) {+ let t = await fetch(ike, {method: "POST",credentials: "same-origin",headers: {@@ -73814,8 +73839,8 @@ async function fke(e) {}return n;}-var pke = 1e4, F3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function mke(e) {+var gke = 1e4, F3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function _ke(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", {@@ -73824,31 +73849,31 @@ function mke(e) {}) : F3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var hke = d3, gke = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), _ke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function vke(e) {+var vke = d3, yke = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), bke = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function xke(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 yke(e) {- let t = e.map(_ke), n = Math.max(1, ...t);+function Ske(e) {+ let t = e.map(bke), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}var I3 = (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 bke(e) {+function Cke(e) {let t = I3(e, 6);return t.length < 3 ? [] : t;}var L3 = {width: 720,height: 435-}, xke = {+}, wke = {source: 145,target: 545-}, R3 = 30, Ske = 240;+}, R3 = 30, Tke = 240;function z3(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);@@ -73856,7 +73881,7 @@ function z3(e, t, n) {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 Cke(e = []) {+function Eke(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;let n = z3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = z3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();@@ -73868,7 +73893,7 @@ function Cke(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) * R3 + Ske), u = VOe().nodeId((e) => e.id).nodeWidth(10).nodePadding(R3).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) * R3 + Tke), u = WOe().nodeId((e) => e.id).nodeWidth(10).nodePadding(R3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -73883,7 +73908,7 @@ function Cke(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = $Oe();+ }), d = a.reduce((e, t) => e + t.value, 0), f = nke();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -73914,13 +73939,13 @@ function Cke(e = []) {height: l + L3.height - 404};}-var wke = (e) => Sn(e, 17), B3 = {+var Dke = (e) => Sn(e, 17), B3 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, Tke = [[+}, Oke = [["big","大图 · 竖幅头像","maximize"@@ -73928,7 +73953,7 @@ var wke = (e) => Sn(e, 17), B3 = {"compact","紧凑 · 圆形头像","layout-grid"-]], Eke = [[+]], kke = [["big","大图 · 完整标识","maximize"@@ -73936,7 +73961,7 @@ var wke = (e) => Sn(e, 17), B3 = {"compact","紧凑 · 圆形标识","layout-grid"-]], Dke = [[+]], Ake = [["studios","厂牌","clapperboard"@@ -73944,7 +73969,7 @@ var wke = (e) => Sn(e, 17), B3 = {"agencies","事务所","briefcase"-]], Oke = [[+]], jke = [["local","本地","hard-drive"@@ -73952,7 +73977,7 @@ var wke = (e) => Sn(e, 17), B3 = {"online","在线","rss"-]], kke = [+]], Mke = [["performers","艺人",@@ -73968,7 +73993,7 @@ var wke = (e) => Sn(e, 17), B3 = {"在线","rss"]-], Ake = [[+], Nke = [["cloud","标签云","tags"@@ -73995,12 +74020,12 @@ var U3 = (e, t, n) => as(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), jke = (e) => `<div class="board-filter-frame" data-filter-frame>+}), Pke = (e) => `<div class="board-filter-frame" data-filter-frame><div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div><div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>- ${dc("tag-view", "标签视图", Ake, e)}</div></div>`;-function Mke({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = B3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? dc("people-layout", o + "索引版式", c ? Eke : Tke, a) : "";+ ${dc("tag-view", "标签视图", Nke, e)}</div></div>`;+function Fke({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = B3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? dc("people-layout", o + "索引版式", c ? kke : Oke, 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}@@ -74012,27 +74037,27 @@ function Mke({ 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">${Uo("", t, "过滤" + o)}</div></div>- ${e === "tags" ? U3(Oke, n, "词表") : e === "performers" || e === "creators" ? U3(kke, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? U3(Dke, e, "公司类型") : ""}- ${e === "tags" ? jke(r) : ""}- ${e === "performers" && n !== "online" ? Ebe(i) : ""}+ ${e === "tags" ? U3(jke, n, "词表") : e === "performers" || e === "creators" ? U3(Mke, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? U3(Ake, e, "公司类型") : ""}+ ${e === "tags" ? Pke(r) : ""}+ ${e === "performers" && n !== "online" ? kbe(i) : ""}${vs({kind: e,layout: a,mode: r})}`;}-var Nke = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+var Ike = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";function W3(e, t, n) {- let r = Mke(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== Nke(r) && (e.innerHTML = r, Ts(e));+ let r = Fke(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== Ike(r) && (e.innerHTML = r, Ts(e));}//#endregion//#region src/react/router/pages/index-entity.tsx-var Pke = () => Hl, Fke = () => Dl, G3 = () => document.getElementById("index");+var Lke = () => Hl, Rke = () => Dl, G3 = () => document.getElementById("index");function K3(e, t, n = {}) {- let r = (0, D.useSyncExternalStore)($l, Pke);- LB();- let i = gV(YV.navigation.location.pathname), a = (0, D.useRef)({+ let r = (0, D.useSyncExternalStore)($l, Lke);+ FB();+ let i = mV(qV.navigation.location.pathname), a = (0, D.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -74057,7 +74082,7 @@ function K3(e, t, n = {}) {let t = a.current;if (!t.mounted) return;let n = t.epoch !== e || t.opens !== Hl, r = t.opens !== Hl;- if (t.epoch = e, t.opens = Hl, gV(YV.navigation.location.pathname)) {+ if (t.epoch = e, t.opens = Hl, mV(qV.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -74078,13 +74103,13 @@ function K3(e, t, n = {}) {i]);}-async function Ike(e, t, n, r) {+async function zke(e, t, n, r) {let i = G3();if (!i) return;let a = `/${t}`;e.surfaceChanged("index", a);- let o = H3(t, n), s = V3(iA().value.peopleLayout);- W3(i, o, s), await RV(a, {+ let o = H3(t, n), s = V3(nA().value.peopleLayout);+ W3(i, o, s), await IV(a, {...o,layout: s,selectMode: Dl,@@ -74094,21 +74119,21 @@ async function Ike(e, t, n, r) {isCurrent: r}) && r() && e.surfaceShown?.("index", a);}-function Lke(e) {- let t = G3(), n = t ? PV(t) : null;+function Bke(e) {+ let t = G3(), n = t ? MV(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function Rke({ epoch: e }) {- let t = (0, D.useContext)(lU), n = LB(), r = n.pathname.split("/").filter(Boolean)[0];+function Vke({ epoch: e }) {+ let t = (0, D.useContext)(uU), n = FB(), r = n.pathname.split("/").filter(Boolean)[0];return K3(e, (e, i) => {- t && Ike(t, r, n.search, i);- }, { shown: () => Lke(`/${r}`) }), null;+ t && zke(t, r, n.search, i);+ }, { shown: () => Bke(`/${r}`) }), null;}-function zke() {- let e = cU(), t = (0, D.useSyncExternalStore)($l, Fke), n = (0, D.useRef)(t);+function Hke() {+ let e = lU(), t = (0, D.useSyncExternalStore)($l, Rke), n = (0, D.useRef)(t);return (0, D.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && zV(G3(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, O.jsx)(Rke, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && LV(G3(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, O.jsx)(Vke, { epoch: e }, e);}function q3(e) {let t;@@ -74125,7 +74150,7 @@ function q3(e) {} : null;}var J3 = /* @__PURE__ */ new WeakMap();-function Bke(e) {+function Uke(e) {let t = J3.get(e);return t || (t = {helpers: {@@ -74139,10 +74164,10 @@ function Bke(e) {}, J3.set(e, t)), t;}function Y3() {- let e = G3(), t = e ? PV(e) : null;+ let e = G3(), t = e ? MV(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function Vke(e, t, n, r, i, a, o) {+async function Wke(e, t, n, r, i, a, o) {let s = G3();if (!s) return;let { segment: c, kind: l, name: u } = n;@@ -74157,7 +74182,7 @@ async function Vke(e, t, n, r, i, a, o) {}, h = t.props(l, u, i), g = {...h,hosts: m,- card: Bke(e),+ card: Uke(e),resolvedEntity: o,actions: {...h.actions,@@ -74166,7 +74191,7 @@ async function Vke(e, t, n, r, i, a, o) {}}};- await RV(`/${c}/*`, g, {+ await IV(`/${c}/*`, g, {container: s,isCurrent: a,place: (e) => (e.replaceChildren(...f), p.firstElementChild)@@ -74175,8 +74200,8 @@ async function Vke(e, t, n, r, i, a, o) {behavior: "smooth"}));}-function Hke({ target: e }) {- let t = (0, D.useContext)(lU), n = cU(), r = LB();+function Gke({ target: e }) {+ let t = (0, D.useContext)(uU), n = lU(), r = FB();return K3(n, (n, i) => {let a = t?.entity;t && a && (async () => {@@ -74193,9 +74218,9 @@ function Hke({ target: e }) {}).catch(() => null);if (!i()) return;if (s?.redirect) {- XV(en(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ JV(en(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: YV.navigation.location.state+ state: qV.navigation.location.state});return;}@@ -74204,19 +74229,19 @@ function Hke({ target: e }) {return;}let c = String(s.canonical_name || e.name), l = en(e.kind, c, Number(s.id));- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Vke(t, a, {+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Wke(t, a, {...e,name: c- }, r.pathname, r.search, i, s) : XV(l + r.search + r.hash, {+ }, r.pathname, r.search, i, s) : JV(l + r.search + r.hash, {replace: !0,- state: YV.navigation.location.state+ state: qV.navigation.location.state});})();}, { shown: () => Y3() && !G3()?.hidden }), null;}-function Uke() {- let e = q3(LB().pathname);- return e ? /* @__PURE__ */ (0, O.jsx)(Hke, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function Kke() {+ let e = q3(FB().pathname);+ return e ? /* @__PURE__ */ (0, O.jsx)(Gke, { target: e }, JSON.stringify([e.kind, e.name])) : null;}//#endregion//#region src/react/jav/jav-header.tsx@@ -74242,11 +74267,11 @@ function X3({ tab: e, navigate: t, find: n }) {value: e,label: "JAV 分区",className: "",- onChange: (e) => t(ICe(e))+ onChange: (e) => t(zCe(e))})]});}-function Wke({ navigate: e, receipt: t }) {+function qke({ navigate: e, receipt: t }) {let [n, r] = (0, D.useState)(null);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(X3, {tab: "library",@@ -74260,12 +74285,12 @@ function Wke({ navigate: e, receipt: t }) {}//#endregion//#region src/react/router/pages/catalog.tsx-var Gke = () => Hl, Z3 = YV.navigation.seq, Q3 = YV.navigation.openEpoch, $3 = YV.navigation.location.pathname, e6 = {+var Jke = () => Hl, Z3 = qV.navigation.seq, Q3 = qV.navigation.openEpoch, $3 = qV.navigation.location.pathname, e6 = {seq: Z3,claimed: !0,from: $3};-YV.listen((e) => {+qV.listen((e) => {e6 = {seq: e.seq,claimed: e.openEpoch === Q3,@@ -74274,7 +74299,7 @@ YV.listen((e) => {});var t6 = !1;function n6(e) {- let { seq: t, openEpoch: n, location: r } = YV.navigation, i = gV(r.pathname), a = QV() ?? r, o = W ?? {};+ let { seq: t, openEpoch: n, location: r } = qV.navigation, i = mV(r.pathname), a = XV() ?? r, o = W ?? {};return {seq: t,epoch: n,@@ -74285,7 +74310,7 @@ function n6(e) {opened: e};}-function Kke(e, t, n, r) {+function Yke(e, t, n, r) {let i = { ...W };if (e === "/trash") return {...i,@@ -74296,7 +74321,7 @@ function Kke(e, t, n, r) {state: "trash",q: ""};- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = iA().value;+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = nA().value;return {...i,loc: a.get("loc") ?? r.defaultLoc(),@@ -74310,7 +74335,7 @@ function Kke(e, t, n, r) {dur_max: a.get("dur_max") || "",orient: a.get("orient") || "",state: Yt[e] || a.get("state") || "",- ...Rk(a.get("sort"), a.get("dir"), o, s),+ ...Ik(a.get("sort"), a.get("dir"), o, s),seed: a.get("seed") || (n ? Tn() : i.seed || Tn()),q: a.get("q") || "",jav: a.get("jav") || "",@@ -74321,13 +74346,13 @@ function Kke(e, t, n, r) {folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""};}-function qke(e, t) {+function Xke(e, t) {let n = { ...e }, r = n6(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- QV() || i.fill();+ XV() || i.fill();return;}let a = !1;@@ -74337,41 +74362,41 @@ function qke(e, t) {i.load();return;}- r.epoch !== n.epoch && (a = YV.navigation.action === "POP" && e6.from !== "/");+ r.epoch !== n.epoch && (a = qV.navigation.action === "POP" && e6.from !== "/");}- let { pathname: o, search: s } = YV.navigation.location;+ let { pathname: o, search: s } = qV.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {let { kind: e, view: t } = c$(s);- t6 = !0, XV(l$(e, t), { replace: !0 });+ t6 = !0, JV(l$(e, t), { replace: !0 });return;}let c = t6;- t6 = !1, a &&= o === "/", e.opened = !0, Zl({ state: Kke(o, s, a, i) }), i.open(o, {+ t6 = !1, a &&= o === "/", e.opened = !0, Zl({ state: Yke(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}-function Jke(e) {- return Zt(e) || e === "/trash" || gV(e) || e === "/immerse" || !!q3(e);+function Zke(e) {+ return Zt(e) || e === "/trash" || mV(e) || e === "/immerse" || !!q3(e);}-function Yke() {- let e = (0, D.useContext)(lU), t = cU(), n = (0, D.useSyncExternalStore)($l, Gke), r = LB(), i = (0, D.useRef)(null), a = (0, D.useRef)({+function Qke() {+ let e = (0, D.useContext)(uU), t = lU(), n = (0, D.useSyncExternalStore)($l, Jke), r = FB(), i = (0, D.useRef)(null), a = (0, D.useRef)({mounted: !0,queued: !1});return (0, D.useEffect)(() => {let t = a.current;t.mounted = !0;- let n = n6(!gV(YV.navigation.location.pathname));+ let n = n6(!mV(qV.navigation.location.pathname));return !n.covered && n.opens > 0 && (t6 || e6.seq === Z3 ? n.opens = -1 : e6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {t.mounted = !1, queueMicrotask(() => {- e?.catalog && !Jke(YV.navigation.location.pathname) && e.catalog.release();+ e?.catalog && !Zke(qV.navigation.location.pathname) && e.catalog.release();});};}, []), (0, D.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && qke(i.current, e);+ t.queued = !1, t.mounted && i.current && Xke(i.current, e);}));}, [t,@@ -74381,7 +74406,7 @@ function Yke() {]), null;}function r6() {- let { pathname: e, search: t } = LB();+ let { pathname: e, search: t } = FB();(0, D.useLayoutEffect)(() => {if (e !== "/wall") return;document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");@@ -74394,15 +74419,15 @@ function r6() {});};}, [e]);- let n = (0, D.useContext)(lU), r = document.getElementById("javLibraryHeader"), i = Zt(e) && new URLSearchParams(t).get("jav") === "1";+ let n = (0, D.useContext)(uU), r = document.getElementById("javLibraryHeader"), i = Zt(e) && new URLSearchParams(t).get("jav") === "1";return (0, D.useLayoutEffect)(() => {if (r) return r.hidden = !i, () => {r.hidden = !0;};- }, [r, i]), gV(e) && !hV(e) ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(Yke, {}, e === "/junk-files" ? "/junk-files" : "/"),- Zt(e) ? /* @__PURE__ */ (0, O.jsx)(_U, {}) : null,- i && r && n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(Wke, {+ }, [r, i]), mV(e) && !pV(e) ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [+ /* @__PURE__ */ (0, O.jsx)(Qke, {}, e === "/junk-files" ? "/junk-files" : "/"),+ Zt(e) ? /* @__PURE__ */ (0, O.jsx)(vU, {}) : null,+ i && r && n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(qke, {navigate: n.navigate,receipt: (e) => n.receipt(e)}), r) : null@@ -74410,21 +74435,21 @@ function r6() {}//#endregion//#region src/react/router/pages/follow.tsx-var i6 = () => document.getElementById("stats"), Xke = () => Jl;-function Zke(e) {+var i6 = () => document.getElementById("stats"), $ke = () => Jl;+function eAe(e) {let t = document.createElement("div");return t.className = "peach-react", gs(e, () => {e.textContent = "", e.append(t);}), t;}-async function Qke(e, t) {+async function tAe(e, t) {let n = i6(), r = e.follow;if (!n || !r || r.refresh()) return;let i = ql;- e.surfaceChanged("follow", "/follow"), f2(n, r.skeleton()), await RV("/follow", r.props(), {+ e.surfaceChanged("follow", "/follow"), f2(n, r.skeleton()), await IV("/follow", r.props(), {container: n,isCurrent: t,- place: Zke+ place: eAe}), t() && window.scrollTo(i ? {top: i,behavior: "instant"@@ -74433,32 +74458,32 @@ async function Qke(e, t) {behavior: "smooth"});}-function $ke() {- let e = i6(), t = e ? PV(e) : null;+function nAe() {+ let e = i6(), t = e ? MV(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function eAe() {- let e = (0, D.useContext)(lU);- return K3(cU(), (t, n) => {- e && Qke(e, n);+function rAe() {+ let e = (0, D.useContext)(uU);+ return K3(lU(), (t, n) => {+ e && tAe(e, n);}, {- shown: $ke,+ shown: nAe,onCovered: () => {- YV.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ qV.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}function a6(e) {- let t = e ? PV(e) : null;+ let t = e ? MV(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function tAe(e, t) {+async function iAe(e, t) {let n = i6();n && (e.surfaceChanged("playlists", "/playlists"), f2(n, u2("/playlists", {followLayout: "",followSort: "",followDir: ""- })), await RV("/playlists", { revision: Jl }, {+ })), await IV("/playlists", { revision: Jl }, {container: n,isCurrent: t}), t() && window.scrollTo({@@ -74466,15 +74491,15 @@ async function tAe(e, t) {behavior: "smooth"}));}-function nAe() {- let e = (0, D.useContext)(lU), t = (0, D.useSyncExternalStore)($l, Xke), n = (0, D.useRef)(t);+function aAe() {+ let e = (0, D.useContext)(uU), t = (0, D.useSyncExternalStore)($l, $ke), n = (0, D.useRef)(t);return (0, D.useEffect)(() => {if (n.current === t) return;n.current = t;let e = i6();- a6(e) && zV(e, { revision: t });- }, [t]), K3(cU(), (t, n) => {- e && tAe(e, n);+ a6(e) && LV(e, { revision: t });+ }, [t]), K3(lU(), (t, n) => {+ e && iAe(e, n);}, { shown: () => {let e = i6();return a6(e) && !e.hidden;@@ -74482,18 +74507,18 @@ function nAe() {}//#endregion//#region src/react/router/pages/immerse.tsx-function rAe() {- let e = new URLSearchParams(YV.navigation.location.search).get("id");+function oAe() {+ let e = new URLSearchParams(qV.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function iAe() {- let e = (0, D.useContext)(lU);- return oU(() => {- e?.openImmerse(rAe());+function sAe() {+ let e = (0, D.useContext)(uU);+ return sU(() => {+ e?.openImmerse(oAe());}, !0), null;}-function aAe() {- return /* @__PURE__ */ (0, O.jsx)(iAe, {}, cU());+function cAe() {+ return /* @__PURE__ */ (0, O.jsx)(sAe, {}, lU());}//#endregion//#region src/ui-kit/anchor-scroll.ts@@ -74518,12 +74543,12 @@ async function s6(e, t) {}//#endregion//#region src/react/router/pages/managed.tsx-var oAe = [+var lAe = ["list","add","feeds"-], sAe = () => Hl > 0, c6 = () => (0, D.useSyncExternalStore)($l, sAe), l6 = () => iA().value.followLayout === "table" ? "table" : "default", u6 = () => new URLSearchParams(window.location.search);-function cAe(e) {+], uAe = () => Hl > 0, c6 = () => (0, D.useSyncExternalStore)($l, uAe), l6 = () => nA().value.followLayout === "table" ? "table" : "default", u6 = () => new URLSearchParams(window.location.search);+function dAe(e) {let t = u6();return u2(e, {followLayout: l6(),@@ -74544,7 +74569,7 @@ function f6(e, t) {writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""};}-async function lAe(e, t) {+async function fAe(e, t) {if (e === "/jav") {let e = await d6(t);return t.live ? {@@ -74559,7 +74584,7 @@ async function lAe(e, t) {}if (e.startsWith("/settings/")) {window.location.hash === "#peachProxy" && Zl({ configurationRequestedSection: "网络与访问" });- let t = u6().get("section") || zl || sV(e);+ let t = u6().get("section") || zl || aV(e);return t ? { section: t } : {};}if (e === "/review") {@@ -74571,13 +74596,13 @@ async function lAe(e, t) {}if (e === "/subscriptions") {let e = u6(), n = e.get("tab") || "", r = {- tab: oAe.includes(n) ? n : "list",+ tab: lAe.includes(n) ? n : "list",page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),sort: e.get("sort") || "",dir: e.get("dir") || ""}, i = await d6(t);if (!t.live) return null;- let a = iA().value;+ let a = nA().value;return {...r,pageSize: Number(a.followPageSize) || 20,@@ -74587,12 +74612,12 @@ async function lAe(e, t) {}return {};}-var uAe = () => {+var pAe = () => {window.scrollTo({top: 0,behavior: o6()});-}, dAe = /* @__PURE__ */ new Set([+}, mAe = /* @__PURE__ */ new Set(["/stats","/taste","/review",@@ -74600,18 +74625,18 @@ var uAe = () => {"/tasks","/subscriptions"]);-async function fAe(e, t, n) {- let r = YV.navigation.seq, i = () => n.live && YV.navigation.seq === r;+async function hAe(e, t, n) {+ let r = qV.navigation.seq, i = () => n.live && qV.navigation.seq === r;if (e === "/jav" && C$(u6().get("tab")) === "library") {- YV.replace(LCe(window.location.search));+ qV.replace(BCe(window.location.search));return;}if (e === "/subscriptions" && u6().get("tab") === "wants") {- XV("/jav?tab=wants", { replace: !0 });+ JV("/jav?tab=wants", { replace: !0 });return;}if (e === "/subscriptions" && u6().get("tab") === "source") {- XV("/settings/subscriptions", { replace: !0 });+ JV("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");@@ -74633,38 +74658,38 @@ async function fAe(e, t, n) {state: "",q: "",jav: ""- } }), t.clearSearch()), f2(a, cAe(e));- let o = await lAe(e, n);+ } }), t.clearSearch()), f2(a, dAe(e));+ let o = await fAe(e, n);if (!o) return;- let s = await RV(e, o, {+ let s = await IV(e, o, {container: a,isCurrent: () => n.live});- if (s && (n.revision = PV(a)?.revision ?? 0), e.startsWith("/settings/") && s && Zl({ configurationRequestedSection: "" }), s && i()) {+ if (s && (n.revision = MV(a)?.revision ?? 0), e.startsWith("/settings/") && s && Zl({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {- i() && XV("/data-cleanup#libraryProcessing", {+ i() && JV("/data-cleanup#libraryProcessing", {replace: !0,state: null});- }) : t ? s6(t, i) : (dAe.has(e) || e === "/settings/library") && uAe();+ }) : t ? s6(t, i) : (mAe.has(e) || e === "/settings/library") && pAe();}}function p6({ path: e }) {- let t = cU();- LB();- let n = gV(YV.navigation.location.pathname), r = (0, D.useRef)(n ? null : t), i = (0, D.useRef)(n);+ let t = lU();+ FB();+ let n = mV(qV.navigation.location.pathname), r = (0, D.useRef)(n ? null : t), i = (0, D.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, O.jsx)(pAe, {+ return /* @__PURE__ */ (0, O.jsx)(gAe, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function pAe({ path: e, covered: t }) {- let n = (0, D.useContext)(lU), r = c6(), i = (0, D.useRef)(null);+function gAe({ path: e, covered: t }) {+ let n = (0, D.useContext)(uU), r = c6(), i = (0, D.useRef)(null);return (0, D.useEffect)(() => {- e.startsWith("/settings/") && zV(document.getElementById("stats"), { section: sV(e) });+ e.startsWith("/settings/") && LV(document.getElementById("stats"), { section: aV(e) });}, [e]), (0, D.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -74673,7 +74698,7 @@ function pAe({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && fAe(e, n, a);+ a.live && hAe(e, n, a);});}, [r]), (0, D.useEffect)(() => () => {let e = i.current;@@ -74681,18 +74706,18 @@ function pAe({ path: e, covered: t }) {e.live = !1, e.controller.abort();let t = document.getElementById("stats");queueMicrotask(() => {- t && e.revision && !t.hidden && PV(t)?.revision === e.revision && BV(t);+ t && e.revision && !t.hidden && MV(t)?.revision === e.revision && RV(t);});}, []), null;}-function mAe() {+function _Ae() {let e = c6(), t = (0, D.useRef)(!1);return (0, D.useEffect)(() => {- if (!e || t.current || gV(YV.navigation.location.pathname)) return;+ if (!e || t.current || mV(qV.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && XV("/data-cleanup#resource-sync", { replace: !0 });+ n && JV("/data-cleanup#resource-sync", { replace: !0 });}), () => {n = !1;};@@ -74700,11 +74725,11 @@ function mAe() {}//#endregion//#region src/react/router/route-chunk.ts-var m6 = [], h6 = "peach.chunkReloadAt", hAe = 3e4;-async function gAe() {+var m6 = [], h6 = "peach.chunkReloadAt", vAe = 3e4;+async function yAe() {try {let e = Number(sessionStorage.getItem(h6) || 0);- if (Date.now() - e < hAe || !(await fetch("/healthz", {+ if (Date.now() - e < vAe || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;@@ -74717,7 +74742,7 @@ function g6(e) {});return m6.push(r), {preload: () => r().catch(async (e) => {- throw await gAe(), e;+ throw await yAe(), e;}),get: () => {if (!t) throw Error("页面代码还没装载");@@ -74725,7 +74750,7 @@ function g6(e) {}};}-function _Ae() {+function bAe() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;let t = [...m6], n = () => {@@ -74749,8 +74774,8 @@ var v6 = g6(() => import("./peach-app.jav-page-BylXQgrV.js")), y6 = g6(() => impConfigurationPage: e,DiagnosticsPage: t};-}), D6 = g6(() => import("./peach-app.activity-page-ClyZLUeQ.js")), O6 = g6(() => import("./peach-app.follow-manage-page-K8kzYRBb.js")), k6 = g6(() => import("./peach-app.playlists-page-DKMNf-v5.js"));-function vAe(e, t, n) {+}), D6 = g6(() => import("./peach-app.activity-page-DAASgSRU.js")), O6 = g6(() => import("./peach-app.follow-manage-page-K8kzYRBb.js")), k6 = g6(() => import("./peach-app.playlists-page-DKMNf-v5.js"));+function xAe(e, t, n) {if (e === "duplicates") {n("/duplicates");return;@@ -74760,7 +74785,7 @@ function vAe(e, t, n) {}var A6 = (e) => ({element: /* @__PURE__ */ (0, O.jsx)(p6, { path: e }),- prefetch: (t, n) => _6(E6, Promise.all([Twe(n), ...e === "/settings/diagnostics" ? [KSe(n)] : []]).then(() => {})),+ prefetch: (t, n) => _6(E6, Promise.all([Owe(n), ...e === "/settings/diagnostics" ? [YSe(n)] : []]).then(() => {})),page: (t, n) => {let { ConfigurationPage: r, DiagnosticsPage: i } = E6.get();return /* @__PURE__ */ (0, O.jsx)(r, {@@ -74776,7 +74801,7 @@ var A6 = (e) => ({}), j6 = {"/jav": {element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/jav" }),- prefetch: (e, t) => _6(v6, zCe(e.tab, t)),+ prefetch: (e, t) => _6(v6, HCe(e.tab, t)),page: (e, t) => {let { JavPage: n } = v6.get();return /* @__PURE__ */ (0, O.jsx)(n, {@@ -74788,7 +74813,7 @@ var A6 = (e) => ({},"/stats": {element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/stats" }),- prefetch: (e, t) => _6(y6, xOe(t)),+ prefetch: (e, t) => _6(y6, wOe(t)),page: (e, t) => {let { StatsPage: n } = y6.get();return /* @__PURE__ */ (0, O.jsx)(n, {@@ -74799,7 +74824,7 @@ var A6 = (e) => ({},"/taste": {element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/taste" }),- prefetch: (e, t) => _6(b6, lke("all", t)),+ prefetch: (e, t) => _6(b6, fke("all", t)),page: (e, t, n) => {let { TastePage: r } = b6.get();return /* @__PURE__ */ (0, O.jsx)(r, {@@ -74812,7 +74837,7 @@ var A6 = (e) => ({},"/review": {element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/review" }),- prefetch: (e, t) => _6(x6, lye(t)),+ prefetch: (e, t) => _6(x6, fye(t)),page: (e, t) => {let { ReviewPage: n } = x6.get();return /* @__PURE__ */ (0, O.jsx)(n, {@@ -74827,19 +74852,19 @@ var A6 = (e) => ({},"/data-cleanup": {element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/data-cleanup" }),- prefetch: (e, t) => _6(S6, gbe(t)),+ prefetch: (e, t) => _6(S6, ybe(t)),page: (e, t, n) => {let { DataCleanupPage: r } = S6.get();return /* @__PURE__ */ (0, O.jsx)(r, {failure: t.failure,- open: (e) => vAe(e, t, n),+ open: (e) => xAe(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)});}},"/duplicates": {element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/duplicates" }),- prefetch: (e, t) => _6(C6, Dve(t)),+ prefetch: (e, t) => _6(C6, Ave(t)),page: (e, t) => {let { DuplicatesPage: n } = C6.get();return /* @__PURE__ */ (0, O.jsx)(n, {@@ -74851,13 +74876,13 @@ var A6 = (e) => ({},"/quality-goals": {element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/quality-goals" }),- prefetch: (e, t) => _6(w6, zve(t)),+ prefetch: (e, t) => _6(w6, Hve(t)),page: (e, t) => {let { QualityGoalsPage: n } = w6.get();return /* @__PURE__ */ (0, O.jsx)(n, {openItem: t.openItem,- javTitleHtml: lF,- javDisplayName: cF,+ javTitleHtml: cF,+ javDisplayName: sF,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});@@ -74865,7 +74890,7 @@ var A6 = (e) => ({},"/sources": {element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/sources" }),- prefetch: (e, t) => _6(T6, hwe(t)),+ prefetch: (e, t) => _6(T6, vwe(t)),page: (e, t) => {let { ScrapingPage: n } = T6.get();return /* @__PURE__ */ (0, O.jsx)(n, { toast: (e) => t.toast(e) });@@ -74879,7 +74904,7 @@ var A6 = (e) => ({"/settings/diagnostics": A6("/settings/diagnostics"),"/tasks": {element: /* @__PURE__ */ (0, O.jsx)(p6, { path: "/tasks" }),- prefetch: (e, t) => _6(D6, Fle(t)),+ prefetch: (e, t) => _6(D6, Ile(t)),page: () => {let { ActivityPage: e } = D6.get();return /* @__PURE__ */ (0, O.jsx)(e, {});@@ -74899,10 +74924,10 @@ var A6 = (e) => ({});}}-}, M6 = (e) => Object.hasOwn(j6, e), yAe = { "/resource-sync": { element: /* @__PURE__ */ (0, O.jsx)(mAe, {}) } }, bAe = { "/immerse": { element: /* @__PURE__ */ (0, O.jsx)(aAe, {}) } }, N6 = {+}, M6 = (e) => Object.hasOwn(j6, e), SAe = { "/resource-sync": { element: /* @__PURE__ */ (0, O.jsx)(_Ae, {}) } }, CAe = { "/immerse": { element: /* @__PURE__ */ (0, O.jsx)(cAe, {}) } }, N6 = {"/playlists": {- element: /* @__PURE__ */ (0, O.jsx)(nAe, {}),- prefetch: (e, t) => _6(k6, $Ce(t)),+ element: /* @__PURE__ */ (0, O.jsx)(aAe, {}),+ prefetch: (e, t) => _6(k6, nwe(t)),page: (e, t) => {let { PlaylistsPage: n } = k6.get();return /* @__PURE__ */ (0, O.jsx)(n, {@@ -74915,14 +74940,14 @@ var A6 = (e) => ({}},"/follow": {- element: /* @__PURE__ */ (0, O.jsx)(eAe, {}),+ element: /* @__PURE__ */ (0, O.jsx)(rAe, {}),prefetch: (e, t) => Di(e, t),- page: (e) => /* @__PURE__ */ (0, O.jsx)(Txe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(Oxe, { ...e })}}, P6 = (e) => Object.hasOwn(N6, e), F6 = {- element: /* @__PURE__ */ (0, O.jsx)(zke, {}),- prefetch: (e, t) => Lbe(e, t),- page: (e, t) => /* @__PURE__ */ (0, O.jsx)(uCe, {+ element: /* @__PURE__ */ (0, O.jsx)(Hke, {}),+ prefetch: (e, t) => Bbe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, O.jsx)(pCe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -74942,9 +74967,9 @@ var A6 = (e) => ({"/agencies": F6,"/tags": F6}, L6 = {- element: /* @__PURE__ */ (0, O.jsx)(Uke, {}),- prefetch: (e) => Tbe(e),- page: (e) => /* @__PURE__ */ (0, O.jsx)(VSe, { ...e })+ element: /* @__PURE__ */ (0, O.jsx)(Kke, {}),+ prefetch: (e) => Obe(e),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(WSe, { ...e })}, R6 = {"/performers/*": L6,"/studios/*": L6,@@ -74955,59 +74980,59 @@ var A6 = (e) => ({}, z6 = {"/": {element: /* @__PURE__ */ (0, O.jsx)(r6, {}),- prefetch: (e, t) => wM(e, t),+ prefetch: (e, t) => CM(e, t),page: (e) => /* @__PURE__ */ (0, O.jsx)(bY, { ...e })},"/junk-files": {element: /* @__PURE__ */ (0, O.jsx)(r6, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(TCe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(OCe, { ...e })}-}, B6 = (e) => Object.hasOwn(z6, e), xAe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(The, { ...e }) : /* @__PURE__ */ (0, O.jsx)(V$, { ...e }), V6 = {+}, B6 = (e) => Object.hasOwn(z6, e), wAe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(Dhe, { ...e }) : /* @__PURE__ */ (0, O.jsx)(V$, { ...e }), V6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(QU, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)($U, { ...e })},"feed-new": {- prefetch: (e) => xbe(e),- page: (e) => /* @__PURE__ */ (0, O.jsx)(qSe, { ...e })+ prefetch: (e) => wbe(e),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(XSe, { ...e })},"library-processing": {- prefetch: (e, t) => mH(t),- page: (e) => /* @__PURE__ */ (0, O.jsx)(xAe, { ...e })+ prefetch: (e, t) => hH(t),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(wAe, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(xwe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(wwe, { ...e })}}, H6 = (e) => Object.hasOwn(V6, e), U6 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(uoe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(foe, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(Uoe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(Goe, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(xle, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(Sle, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(_ce, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(vce, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(Wwe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(qwe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(iTe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(sTe, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(yOe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(SOe, {})}}, W6 = (e) => Object.hasOwn(U6, e), G6 = ["/",@@ -75029,33 +75054,33 @@ var K6 = (e) => M6(e) || P6(e) || Object.hasOwn(I6, e) || Object.hasOwn(R6, e) |function q6(e) {return M6(e) ? j6[e] : P6(e) ? N6[e] : B6(e) ? z6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : Object.hasOwn(I6, e) ? I6[e] : R6[e];}-function SAe(e, t, n) {+function TAe(e, t, n) {return K6(e) ? q6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function CAe(e, t, n, r) {+function EAe(e, t, n, r) {return q6(e).page(t, n, r);}//#endregion//#region src/react/application-residents.tsvar J6 = null, Y6 = null, X6 = 0, Z6 = /* @__PURE__ */ new Set();-function wAe(e) {+function DAe(e) {return J6 = e, Y6 && e(Y6), () => {J6 === e && (J6 = null);};}-function TAe(e) {- return J6 && (Y6 = e, J6(e), ume(Promise.resolve(SAe)), _Ae()), Promise.resolve();+function OAe(e) {+ return J6 && (Y6 = e, J6(e), fme(Promise.resolve(TAe)), bAe()), Promise.resolve();}async function Q6(e, t, n = (e) => e) {let r = X6;- if (t.isConnected || Z6.add(t), !await RV(e, {}, {+ if (t.isConnected || Z6.add(t), !await IV(e, {}, {container: t,resident: !0,isCurrent: () => !!J6 && r === X6,place: () => n(t)}) || r !== X6 || !J6) throw new DOMException("应用已卸载", "AbortError");}-function EAe() {+function kAe() {X6 += 1, J6 = null, Y6 = null, $6 = null, e8 = null, r8 = null, i8 = null, o8 = null, s8 = null, l8 = null, u8 = null, f8 = null, p8 = null, h8 = null, g8 = null, v8 = null;for (let e of Z6) e.remove();Z6.clear(), XQ();@@ -75063,49 +75088,49 @@ function EAe() {var $6 = null, e8 = null;function t8(e) {return $6 ??= (async () => {- let t = vOe(e), n = document.createElement("div");+ let t = xOe(e), n = document.createElement("div");return n.dataset.stageHost = "", await Q6("stage", n, (e) => (document.body.append(e), e)), e8 = t, t;})(), $6;}var n8 = () => e8, r8 = null, i8 = null;-function DAe(e) {+function AAe(e) {return r8 ??= (async () => {- let t = gce(e), n = document.createElement("div");+ let t = _ce(e), n = document.createElement("div");return n.dataset.immerseHost = "", await Q6("immerse", n, (e) => (document.body.append(e), e)), i8 = t, t;})(), r8;}var a8 = () => i8, o8 = null, s8 = null;-function OAe(e) {+function jAe(e) {return o8 ??= (async () => {- let t = Uwe(e), n = document.createElement("div");+ let t = Kwe(e), n = document.createElement("div");return n.dataset.settingsHost = "", await Q6("settings-panel", n, (e) => (document.body.append(e), e)), s8 = t, t;})(), o8;}var c8 = () => s8, l8 = null, u8 = null;-function kAe(e) {+function MAe(e) {return l8 ??= (async () => {- let t = rTe(e);+ let t = oTe(e);return await Q6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), u8 = t, t;})(), l8;}var d8 = () => u8, f8 = null, p8 = null;-function AAe(e) {+function NAe(e) {return f8 ??= (async () => {- let t = ble(e);+ let t = xle(e);return await Q6("manage-header", e.root, (e) => (e.replaceChildren(), e)), p8 = t, t;})(), f8;}var m8 = () => p8, h8 = null, g8 = null;-function jAe(e) {+function PAe(e) {return h8 ??= (async () => {- let t = loe(e);+ let t = doe(e);return await Q6("batch-dock", e.root), g8 = t, t;})(), h8;}var _8 = () => g8, v8 = null;-function MAe(e) {+function FAe(e) {return v8 ??= (async () => {- Hoe(e), await Q6("glow-picker", e.root);+ Woe(e), await Q6("glow-picker", e.root);})(), v8;}function y8(e, t, n, r) {@@ -75195,7 +75220,7 @@ var b8 = class {if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}}, Y = new b8();-function NAe() {+function IAe() {return Y.dispose(), Y = new b8(), Y;}//#endregion@@ -75210,7 +75235,7 @@ var x8 = {rollSeed: void 0,seededSample: void 0};-function PAe() {+function LAe() {ZQ(L("#toasts"), {success: R("check"),error: R("circle-alert")@@ -75258,7 +75283,7 @@ function PAe() {}//#endregion//#region src/react/catalog-grid/catalog-state.ts-var FAe = [+var RAe = ["loc","creator","studio",@@ -75279,9 +75304,9 @@ var FAe = ["folder_recursive"];function S8(e, t, n, r = n.defaultSort) {- return Rk(e, t, n.defaultSort, n.defaultSortDirection, r);+ return Ik(e, t, n.defaultSort, n.defaultSortDirection, r);}-function IAe(e, t, n) {+function zAe(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Zt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -75306,18 +75331,18 @@ function IAe(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function LAe(e, t) {+function BAe(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function RAe(e) {+function VAe(e) {let t = Jt[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of FAe) {+ for (let t of RAe) {let r = e[t];- r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== Fk(e.sort ?? "")) && n.set(t, r);+ r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== Nk(e.sort ?? "")) && n.set(t, r);}return !Jt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function zAe(e, t, n) {+function HAe(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -75332,7 +75357,7 @@ function zAe(e, t, n) {region: "",state: "",sort: t.defaultSort,- dir: Lk(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: Fk(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -75354,7 +75379,7 @@ function C8(e) {}//#endregion//#region src/react/catalog-grid/catalog-controller.ts-var BAe = class {+var UAe = class {currentRevision = 0;currentPage = "";painting = null;@@ -75399,16 +75424,16 @@ var BAe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, w8 = 3e4, T8 = 0, VAe = (e, t = T8) => [+}, w8 = 3e4, T8 = 0, WAe = (e, t = T8) => ["facets",e,t-], HAe = (e, t, n = T8) => [+], GAe = (e, t, n = T8) => ["tops",e,t,n-], UAe = (e, t = T8) => [+], KAe = (e, t = T8) => ["tops",e,t@@ -75417,20 +75442,20 @@ async function E8(e) {let t = String(e), n = await z(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await z(`/api/tops?${r}`));}-function WAe(e, t) {+function qAe(e, t) {return Promise.all([U.fetchQuery({- queryKey: VAe(e),+ queryKey: WAe(e),queryFn: () => z(`/api/facets${e ? `?${e}` : ""}`),staleTime: w8}), U.fetchQuery({- queryKey: HAe(t, e),+ queryKey: GAe(t, e),queryFn: () => E8(t),staleTime: w8})]);}-function GAe(e) {+function JAe(e) {return U.fetchQuery({- queryKey: UAe(e),+ queryKey: KAe(e),queryFn: () => E8(e),staleTime: w8});@@ -75552,11 +75577,11 @@ var O8 = ["follow","activity","configuration"-], KAe = (e) => k8.filter(([t]) => A8.includes(t) && (t !== "configuration" || e)), j8 = k8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], YAe = (e) => k8.filter(([t]) => A8.includes(t) && (t !== "configuration" || e)), j8 = k8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), qAe = [...O8, ...j8], JAe = {+]]), XAe = [...O8, ...j8], ZAe = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -75593,7 +75618,7 @@ function F8(e) {let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${B(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${ca({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${B(n)}</span>${r}`;}-function YAe(e) {+function QAe(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(Xi(t));};@@ -75613,7 +75638,7 @@ function YAe(e) {}//#endregion//#region src/application/source-action.ts-function XAe(e) {+function $Ae(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -75635,12 +75660,12 @@ function L8(e, t) {for (let e of HX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...Rk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...Ik(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}function R8(e) {let t = new URLSearchParams();- for (let n of HX) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== Fk(e.sort || "")) && t.set(n, e[n]);+ for (let n of HX) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== Nk(e.sort || "")) && t.set(n, e[n]);return t.toString();}function z8(e) {@@ -75654,11 +75679,11 @@ function B8(e, t) {let n = new URLSearchParams(R8(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 ZAe(e, t, n, r) {+function eje(e, t, n, r) {let i = B8(n, r);return en(e, t) + (i ? `?${i}` : "");}-function QAe() {+function tje() {let e = "";return {fresh(t, n) {@@ -75680,10 +75705,10 @@ function QAe() {}//#endregion//#region src/react/entity-page/photo-surface.ts-function $Ae(e, t) {+function nje(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function eje(e) {+function rje(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);@@ -75706,12 +75731,12 @@ function eje(e) {}//#endregion//#region src/react/entity-page/entity-controller.ts-function tje(e, t, n) {+function ije(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(ZAe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(eje(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -75738,7 +75763,7 @@ function tje(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = Ik(e, n.sort || "new", n.dir || "");+ let n = c(), i = Pk(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -75790,7 +75815,7 @@ function tje(e, t, n) {}//#endregion//#region src/react/entity-page/entity-loading.ts-function nje(e) {+function aje(e) {return async (t, n, r) => {!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {r() && e.syncParts(t, n);@@ -75799,7 +75824,7 @@ function nje(e) {}//#endregion//#region src/react/entity-page/entity-portrait.ts-function rje(e, t) {+function oje(e, t) {let n = e === "studio" || e === "agency", r = t.id ? Ia({kind: e,id: t.id,@@ -75822,11 +75847,11 @@ function rje(e, t) {}//#endregion//#region src/react/entity-page/entity-application.ts-function ije(e) {- let t = QAe(), n = {+function sje(e) {+ let t = tje(), n = {...e.helpers,- portraitImg: rje- }, r = tje(e.controller, n, e.actions);+ portraitImg: oje+ }, r = ije(e.controller, n, e.actions);return {...r,helpers: n,@@ -75835,13 +75860,13 @@ function ije(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: nje(e.loading),- photos: eje(e.photos)+ loading: aje(e.loading),+ photos: rje(e.photos)};}//#endregion//#region src/card-art/feed-identity.ts-function aje(e) {+function cje(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="${B(e.code)}" data-actor="${B(t.source_actor_id)}" data-name="${B(t.name)}"` : "", i = n ? "" : La(t.name, t, null);return "id" in t && t.id ? `<a class="mav"${r} href="${B(en("performer", t.name, t.id))}" aria-label="打开女优页:${B(t.name)}">${i}</a>` : `<span class="mav"${r} title="${B(t.name)}">${i}</span>`;@@ -75869,23 +75894,23 @@ var V8 = {function H8(e) {return e.has_cover ? Ha(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${is("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : Ha(e, "big").replace(/ src="[^"]*"/, ` src="${B(Ma(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function oje(e) {- let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = H8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? lF({+function lje(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = H8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? cF({is_jav: !0,code: e.code,name: e.code,display_title: e.title || ""}) : B(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${B(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">- ${a}<div class="pic" style="--card-ratio:${mA}">${n}+ ${a}<div class="pic" style="--card-ratio:${fA}">${n}<div class="hovertools feednewtools"><button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${B(r)}">${R("star")}</button><button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${B(r)}">${R("x")}</button><button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${B(r)}">${R("check")}</button></div></div>- <div class="meta">${aje(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${cje(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function sje() {+function uje() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");@@ -75904,7 +75929,7 @@ function G8(e) {localStorage.setItem(W8, e ? "1" : "0");} catch {}}-function cje() {+function dje() {try {let e = localStorage.getItem(W8);return e === "1" || e !== "0" && null;@@ -75913,9 +75938,9 @@ function cje() {}}function K8(e) {- !e || FV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = V8.feedNewSkeletonHtml())));+ !e || NV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = V8.feedNewSkeletonHtml())));}-function lje(e, t) {+function fje(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : ts(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -75925,17 +75950,17 @@ function lje(e, t) {}function q8(e) {let t = e && !e.error && e.items || [];- return lje(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(oje).join("")}</div>`;+ return fje(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(lje).join("")}</div>`;}function J8(e) {- e && ($7(e), Z.appSettings.feedAutoScroll && Qs(e));+ e && (e9(e), Z.appSettings.feedAutoScroll && Qs(e));}function Y8(e) {return Zt(e) && e !== "/junk-files";}-function uje() {+function pje() {let e = L("#feedNew");- FV(e) ? zV(e, { revision: ++V8.feedRevision }) : (K8(e), RV("feed-new", {+ NV(e) ? LV(e, { revision: ++V8.feedRevision }) : (K8(e), IV("feed-new", {host: e,revision: V8.feedRevision,helpers: V8.feedNewHelpers,@@ -75947,32 +75972,32 @@ function uje() {}function X8() {let e = L("#feedNew");- e.querySelectorAll(".feednewrow").forEach($s), BV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");+ e.querySelectorAll(".feednewrow").forEach($s), RV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");}function Z8() {- V8.feedRevision += 1, zV(L("#feedNew"), { revision: V8.feedRevision }), a5({ feedRevision: V8.feedRevision });+ V8.feedRevision += 1, LV(L("#feedNew"), { revision: V8.feedRevision }), a5({ feedRevision: V8.feedRevision });}-function dje() {+function mje() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Qs(e) : $s(e));}var Q8 = 0;-function fje([e]) {+function hje([e]) {let t = e.contentRect.width >= V8.HERO_WIDE_PX;cancelAnimationFrame(Q8), Q8 = requestAnimationFrame(() => {Q8 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);});}-function pje() {- V8.FEED_SKELETON_CARDS = 8, V8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${mA}"></div>+function gje() {+ V8.FEED_SKELETON_CARDS = 8, V8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${fA}"></div><div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span><div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(V8.FEED_SKELETON_CARDS)}</div>`, V8.entityShapes = null, V8.entityShapesComplete = !1, V8.hasEntityShape = (e, t) => V8.entityShapesComplete || !!V8.entityShapes?.has(`${e}/${un(t)}`), V8.hasEntityPart = (e, t, n) => !!t && !!V8.entityShapes?.get(`${e}/${un(t)}`)?.includes(n), V8.feedNewSkeletonSection = () => `<section class="feednew">${V8.feedNewSkeletonHtml()}</section>`, V8.COSTAR_SKELETON_PEOPLE = 12, V8.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>​</span></button>".repeat(V8.COSTAR_SKELETON_PEOPLE)}</div></div>`, V8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, V8.feedRevision = 0, V8.feedNewHelpers = {feedRowHtml: q8,wireFeedRow: (e) => J8(e)- }, V8.feedNewActions = { settled: (e) => G8(e) }, V8.HERO_WIDE_PX = 900, Y.resize(fje).observe(L("#index"));+ }, V8.feedNewActions = { settled: (e) => G8(e) }, V8.HERO_WIDE_PX = 900, Y.resize(hje).observe(L("#index"));}//#endregion//#region src/entity-skeleton.ts-function mje(e, t, n, r = "") {+function _je(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">@@ -75987,9 +76012,9 @@ function mje(e, t, n, r = "") {}//#endregion//#region src/filter-controls-skeleton.ts-var $8 = (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>` : Vo(e, "size-4 shrink-0"), e5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", t5 = (e, t, n) => `<span data-entity-layout="" class="${xU}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${SU}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${e5}>${$8(r)}</span>`).join("")}</span>`;+var $8 = (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>` : Vo(e, "size-4 shrink-0"), e5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", t5 = (e, t, n) => `<span data-entity-layout="" class="${SU}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${CU}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${e5}>${$8(r)}</span>`).join("")}</span>`;function n5(e, t) {- let n = fM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? t5(t.label, t.value, t.options) : "";+ let n = dM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? t5(t.label, t.value, t.options) : "";return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${e5}>${$8("shuffle")}</button>${i}${t5("馆藏显示方式", n, [["cards","卡片",@@ -76028,11 +76053,11 @@ var r5 = {application: void 0};function i5() {- let e = PV(L("#index"));+ let e = MV(L("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}function a5(e) {- r5.entityPageCurrent() && zV(L("#index"), e);+ r5.entityPageCurrent() && LV(L("#index"), e);}function o5() {if (Cl.type === "item") return Cl;@@ -76049,14 +76074,14 @@ function o5() {return Cl;}function s5(e, t, n = e7()) {- return cMe(n).map(([n, r]) => {- let i = e === n, a = Ik(n, e, t);+ return t7(n).map(([n, r]) => {+ let i = e === n, a = Pk(n, e, t);return {key: n,label: r,pressed: i,- dir: i && Pk(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? Pk(a.sort, a.dir) : ""}排序` : ""+ dir: i && Mk(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? Mk(a.sort, a.dir) : ""}排序` : ""};});}@@ -76064,7 +76089,7 @@ function c5(e, t, n, r = r5.EMPTY_ENTITY_MEDIA, i = {}) {return r5.application.route(e, t, n, r, i);}function l5() {- return $Ae({+ return nje({entityWall: r5.entityPageWall,entityCurrent: r5.entityPageCurrent(),indexVisible: !L("#index").hidden,@@ -76077,12 +76102,12 @@ function u5() {r5.photos.sync();}function d5() {- l5() ? Ioe(bA()) : NA();+ l5() ? Roe(vA()) : jA();}-function hje(e) {+function vje(e) {r5.photos.setSize(e);}-var f5 = XAe({+var f5 = $Ae({request: (e) => z("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })@@ -76094,7 +76119,7 @@ async function p5(e) {let t = { textContent: "" };return await f5(e, t), t.textContent;}-async function gje(e) {+async function yje(e) {let t = { textContent: "" }, n = [];return await m5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));@@ -76133,17 +76158,17 @@ async function m5(e, t, n) {t.textContent = r5.sourceHint(e.message), x8.actionFailure("核对目录", e);}}-function _je(e) {+function bje(e) {return `<div class="srctools">${r5.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function vje(e, t) {+function xje(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");r && Y.handler(r, "onclick", () => f5(Number(r.dataset.reveal), n, { button: r })), i && Y.handler(i, "onclick", () => m5(Number(i.dataset.sync), n, t));}-async function yje(e, t) {+async function Sje(e, t) {let n = yc({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",@@ -76185,12 +76210,12 @@ function h5(e, t) {let n = ["performer", "studio"].includes(e) && V8.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>${Ho()}${e === "agency" ? "" : n5(s5(W.sort, W.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- value: gA(),- options: dA- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${e5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${e5}>${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="${B(e.k)}" aria-pressed="${W.state === e.k}" ${e5}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = mje(e, r, e === "agency" ? vs({+ value: mA(),+ options: lA+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${e5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${e5}>${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="${B(e.k)}" aria-pressed="${W.state === e.k}" ${e5}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = _je(e, r, e === "agency" ? vs({kind: "performers",layout: j5.peopleIndexLayout()- }) : rY("正在读取作品", wA(CA({+ }) : rY("正在读取作品", SA(xA({active: n,home: !1,portrait: !1@@ -76210,9 +76235,9 @@ function _5(e) {L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}function v5(e, t) {- y9(r5.application.fresh(e, t));+ b9(r5.application.fresh(e, t));}-function bje() {+function Cje() {r5.ENTITY_FILTER_KEYS = ["loc","creator",@@ -76234,16 +76259,16 @@ function bje() {return e.type === "home" ? W : e.filters;}, L("#q").value = W.q, X.rememberSearchValue();}-function xje() {+function wje() {r5.entityPageView = "", r5.entityPageWall = !1, r5.entityPageRevision = 0, r5.entityPageCurrent = () => !!i5(), r5.entityPageLive = (e, t) => {let n = i5();return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;}, r5.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, r5.parseMediaView = z8, r5.entityViewSearch = B8, r5.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, r5.entityBodySkeleton = () => G7(), r5.entityPageHelpers = {+ }, r5.parseMediaView = z8, r5.entityViewSearch = B8, r5.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, r5.entityBodySkeleton = () => K7(), r5.entityPageHelpers = {wireDrag: (e) => {- e && $7(e);+ e && e9(e);},wireScroller: (e) => {e && Hs(e);@@ -76252,10 +76277,10 @@ function xje() {feedRowHtml: q8,receipt: (e, t) => x8.actionReceipt(e, t),failure: (e, t) => x8.actionFailure(e, t),- aliasForm: (e, t) => yje(e, t),- sourceToolsHtml: (e) => _je(e),- wireSourceTools: (e, t) => vje(e, t),- comboItems: (e) => P7(e),+ aliasForm: (e, t) => Sje(e, t),+ sourceToolsHtml: (e) => bje(e),+ wireSourceTools: (e, t) => xje(e, t),+ comboItems: (e) => F7(e),sortKeys: (e, t, n) => s5(e, t, n)}, r5.entityFollowActions = {...$.followFeedActions,@@ -76279,8 +76304,8 @@ function xje() {<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${R("folder-sync")}</button>`;}-function Sje() {- r5.application = ije({+function Tje() {+ r5.application = sje({controller: {context: () => {let e = o5();@@ -76303,20 +76328,20 @@ function Sje() {preferences: () => ({revision: r5.entityPageRevision,feedRevision: V8.feedRevision,- photoSize: bA(),- photoLayout: xA(),- photoLayouts: pA,+ photoSize: vA(),+ photoLayout: yA(),+ photoLayouts: dA,followImagesOnly: !!Z.appSettings.followImagesOnly,- javLayout: gA(),- javLayouts: dA,+ javLayout: mA(),+ javLayouts: lA,states: X.VIEW_PILLS,peopleLayout: j5.peopleIndexLayout(),- layout: W7(),+ layout: G7(),selectMode: Dl,selected: new Set(Tl),seekSeconds: Z.appSettings.seekSeconds,groupCollapse: Z.appSettings.groupCollapse,- wireDrag: $7,+ wireDrag: e9,skeletonHtml: r5.entityBodySkeleton,canLoadMore: r5.entityBodyCanLoadMore,follow: {@@ -76324,14 +76349,14 @@ function Sje() {actions: r5.entityFollowActions}}),- changeFilter: S7,+ changeFilter: C7,rollSeed: () => x8.rollSeed(),writeSeed: (e) => {W.seed = e, Ql();},- setJavLayout: r7,- javLayout: gA,- setPhotoLayout: EA,+ setJavLayout: i7,+ javLayout: mA,+ setPhotoLayout: wA,syncPhotoWalls: u5,openEntity: v5,photoViewActive: l5,@@ -76339,8 +76364,8 @@ function Sje() {r5.entityPageView = e, r5.entityPageWall = t;},syncDensity: d5,- scheduleSticky: u7,- releasePage: () => BV(L("#index")),+ scheduleSticky: d7,+ releasePage: () => RV(L("#index")),showMissing: _5,dropBars: D8},@@ -76356,19 +76381,19 @@ function Sje() {},photos: {preferences: () => ({- size: bA(),- layout: xA(),+ size: vA(),+ layout: yA(),imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),pushEntity: a5,- pushFollow: w9,+ pushFollow: T9,syncDensity: d5,- storeSize: Poe+ storeSize: Ioe},helpers: r5.entityPageHelpers,actions: {- toggleTag: N7,+ toggleTag: P7,openFollowAuthor: P5,javContext: (e) => Zl({ entityJavLayout: !!e })},@@ -76381,7 +76406,7 @@ function Sje() {//#endregion//#region src/application/playlists.jsvar y5 = { playlistWrite: void 0 };-function Cje(e, t) {+function Eje(e, t) {e === "tag" ? (Zl({ state: {...W,tag: t,@@ -76391,13 +76416,13 @@ function Cje(e, t) {q: "",state: "",orient: ""- } }), X.clearSearchField(), Q.route(h7()), U5(), j7()) : v5(e, t);+ } }), X.clearSearchField(), Q.route(g7()), U5(), M7()) : v5(e, t);}function b5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${B(e)}"></label>`;}-async function wje({ title: e, count: t, save: n }) {+async function Dje({ title: e, count: t, save: n }) {let r = yc({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,@@ -76411,14 +76436,14 @@ async function wje({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await a9(a.id, a.current_asset_id, !0), x8.actionReceipt("已保存为播放列表", { undo: async () => {+ i && (await o9(a.id, a.current_asset_id, !0), x8.actionReceipt("已保存为播放列表", { undo: async () => {await y5.playlistWrite({action: "delete",id: a.id- }), y9("/playlists");+ }), b9("/playlists");} }));}-async function Tje(e) {+async function Oje(e) {let t = ((await z("/api/playlists")).items || []).map((e) => `<label class="pickrow">${ss(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${B(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = yc({title: "加入播放列表",@@ -76463,17 +76488,17 @@ async function Tje(e) {} });}function x5() {- cl(), r9(!1), H5();- let e = PV(L("#stats"));+ cl(), i9(!1), H5();+ let e = MV(L("#stats"));e?.path !== "/playlists" || !e.host.isConnected ? Zl({ pageOpens: Hl + 1 }) : (V5({ manage: !1 }), Zl({ playlistsRevision: Jl + 1 }));}-function Eje(e) {+function kje(e) {Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));}function S5(e) {- Zl({ configurationRequestedSection: e }), Q.navigatePath(dV(e));+ Zl({ configurationRequestedSection: e }), Q.navigatePath(lV(e));}-function Dje() {+function Aje() {y5.playlistWrite = (e) => z("/api/playlist", {method: "POST",body: JSON.stringify(e)@@ -76499,7 +76524,7 @@ function T5(e, t, n, r, i, a = !1) {...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function Oje(e, t, n, r) {+function jje(e, t, n, r) {let i = C5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,@@ -76518,16 +76543,16 @@ var E5 = {coverRecheck: void 0};function D5() {- H7({+ U7({selected: new Set(Tl),selectMode: Dl}), a5({selected: new Set(Tl),selectMode: Dl- }), w9({+ }), T9({selected: new Set(El),selectMode: Dl- }), E5.batchDockProps = Rje(), _8() && (_8().render(E5.batchDockProps), Z.syncGlassOptics());+ }), E5.batchDockProps = Vje(), _8() && (_8().render(E5.batchDockProps), Z.syncGlassOptics());}function O5(e, t = !1) {Zl(w5({@@ -76535,25 +76560,25 @@ function O5(e, t = !1) {followSelected: El}, A5(), C5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Dl), Dl && cl(), L("#selectMode").setAttribute("aria-pressed", String(Dl)), D5();}-function kje() {+function Mje() {return [...F5.gridCards()].map((e) => +e.dataset.id);}function k5(e, t = !1) {Zl(T5({selected: Tl,followSelected: El- }, A5(), C5(location.pathname), kje(), e, t)), O5(!0);+ }, A5(), C5(location.pathname), Mje(), e, t)), O5(!0);}-function Aje() {+function Nje() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function jje(e, t = !1) {+function Pje(e, t = !1) {Zl(T5({selected: Tl,followSelected: El- }, A5(), "follow", Aje(), e, t)), O5(!0);+ }, A5(), "follow", Nje(), e, t)), O5(!0);}-async function Mje(e, t) {+async function Fje(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -76585,7 +76610,7 @@ async function Mje(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"));- O5(!1, !0), await a7();+ O5(!1, !0), await o7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;x8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {if (r === "dispose" && t.restored_reasons) for (let e of [@@ -76612,7 +76637,7 @@ async function Mje(e, t) {operation: r})});- await a7();+ await o7();} : null });} catch (e) {throw cc(t, !1), e;@@ -76622,7 +76647,7 @@ async function Mje(e, t) {}});}-async function Nje() {+async function Ije() {let e = [...Tl];if (!e.length) return;let t = yc({@@ -76652,9 +76677,9 @@ async function Nje() {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 && (O5(!1, !0), await a7(), x8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (O5(!1, !0), await o7(), x8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function Pje(e, t) {+async function Lje(e, t) {let n = [...El];if (!n.length) return;let r = {@@ -76689,7 +76714,7 @@ async function Pje(e, t) {}});}-async function Fje(e, t) {+async function Rje(e, t) {let n = [...Tl];if (!n.length) return;let r = {@@ -76716,7 +76741,7 @@ async function Fje(e, t) {operation: e,...e === "dispose" ? { disposal_reason: "junk" } : {}})- }), O5(!1, !0), await I7();+ }), O5(!1, !0), await L7();let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;x8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {await z("/api/batch", {@@ -76725,7 +76750,7 @@ async function Fje(e, t) {ids: n,operation: t})- }), await I7();+ }), await L7();} : null });} catch (e) {throw cc(t, !1), e;@@ -76735,8 +76760,8 @@ async function Fje(e, t) {}});}-function Ije() {- jAe({+function zje() {+ PAe({root: L("[data-batch-dock]"),run: (e, t, n) => {E5.BATCH_RUNNERS[e]?.(t, n);@@ -76745,7 +76770,7 @@ function Ije() {e.render(E5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function Lje() {+function Bje() {E5.batchDockProps = {count: 0,context: "catalog",@@ -76758,16 +76783,16 @@ function Lje() {["other", "其他"],["none", "撤回判定"]], E5.BATCH_RUNNERS = {- batch: Mje,- region: Nje,- follow: Pje,- junk: Fje,+ batch: Fje,+ region: Ije,+ follow: Lje,+ junk: Rje,clear: () => O5(!1, !0)}, Y.handler(L("#density"), "onclick", () => {- l5() ? hje(bA() === "big" ? "small" : "big") : Foe();- }), NA(), ol({+ l5() ? vje(vA() === "big" ? "small" : "big") : Loe();+ }), jA(), ol({selecting: () => Dl,- censored: () => Z7(),+ censored: () => Q7(),delaySeconds: () => Z.appSettings.hoverDelaySeconds}), Y.listen(window, "pagehide", () => cl()), Y.listen(document, "visibilitychange", () => {document.hidden && cl();@@ -76785,8 +76810,8 @@ function A5() {followLastSelectedId: kl};}-function Rje() {- return Oje({+function Vje() {+ return jje({selected: Tl,followSelected: El}, location.pathname, location.search, W.state);@@ -76797,45 +76822,45 @@ var j5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function zje() {+function Hje() {return Z.appSettings.followLayout === "table" ? "table" : "default";}-function Bje() {+function Uje() {return UZ(location.search);}-function Vje(e) {+function Wje(e) {return WZ(e);}-function Hje(e) {- Q.route(Vje(e));+function Gje(e) {+ Q.route(Wje(e));}-function Uje(e = "") {+function Kje(e = "") {return GZ(location.search, e);}-function Wje(e) {+function qje(e) {return F8(e);}function M5(e) {return N8(e);}function N5() {- L("#stats").hidden = !0, L("#index").hidden = !1, R7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;+ L("#stats").hidden = !0, L("#index").hidden = !1, z7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;}-function Gje(e, t) {+function Jje(e, t) {Zl({ state: {...W,state: "",tag: e.join(","),tag_match: t- } }), O5(!1, !1), Q.route(h7()), U5(), h9(), j7();+ } }), O5(!1, !1), Q.route(g7()), U5(), g9(), M7();}function P5(e) {j5.controller.openFollowAuthor(e);}-function Kje(e) {+function Yje(e) {j5.controller.openFollowTag(e);}-function qje() {+function Xje() {$.FOLLOW_MANAGE_TABS = ["list","add",@@ -76844,15 +76869,15 @@ function qje() {e.target.closest?.("[data-empty-settings]") && S5("媒体库与入库");}), j5.peopleIndexLayout = () => V3(Z.appSettings.peopleLayout), j5.personAvatar = P8;}-function Jje() {- j5.controller = YAe({+function Zje() {+ j5.controller = QAe({route: Q.route,- followView: x9,- adoptFollowView: S9,+ followView: S9,+ adoptFollowView: C9,hideIndex: () => {L("#index").hidden = !0;},- openPage: y9+ openPage: b9});}//#endregion@@ -76872,15 +76897,15 @@ function I5(e = "正在读取作品") {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 = xCe(c$(location.search)), Ts(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && w7({+ 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 = wCe(c$(location.search)), Ts(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && T7({count: null,- ...D7()- })), L("#loadSentinel").hidden = !0, V7()) return;- let r = L("#grid"), i = G7(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== d2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== K7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : F5.setGridCards(i), Ts(L("#grid")));+ ...O7()+ })), L("#loadSentinel").hidden = !0, H7()) return;+ let r = L("#grid"), i = K7(e), a = r.querySelector(".catalog-skeleton");+ (a?.dataset.skeleton !== d2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== q7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : F5.setGridCards(i), Ts(L("#grid")));}function L5() {- L("#catalogFilter").style.display = "none", C7();+ L("#catalogFilter").style.display = "none", w7();}function R5() {let e = new Promise((e) => {@@ -76892,7 +76917,7 @@ function R5() {});return Promise.race([F5.entityShapesReady ||= U8(), e]);}-function Yje() {+function Qje() {let e = decodeURIComponent(location.pathname);if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), L5();else if (/^\/assets\/\d+$/.test(e)) L5();@@ -76902,22 +76927,22 @@ function Yje() {else if (Q.managedPagePath(e)) {L5();let t = L("#stats");- t.hidden = !1, R7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : F5.managementPlaceholder(e), Ts(t);+ t.hidden = !1, z7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : F5.managementPlaceholder(e), Ts(t);} else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) L5(), N5(), W3(L("#index"), H3(e.slice(1), location.search), j5.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {- L5(), L("#index").hidden = !1, R7();+ L5(), L("#index").hidden = !1, z7();let t = $t[e.split("/")[1]], n = e.split("/").slice(2).join("/");(V8.hasEntityShape(t, n) ? Promise.resolve() : R5()).then(() => {L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (h5(t, n), Ts(L("#index")));});- } else Q.routeMeta(e) ? I5() : (R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);+ } else Q.routeMeta(e) ? I5() : (z7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);}-function Xje() {+function $je() {$.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => l2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: bA()+ gridSize: vA()}), $.followSkeletonHtml = (e = "正在读取关注内容") => `<div class="peach-react"><div class="follow" data-follow-feed><div data-follow-head><h2 data-follow-title>关注</h2></div><div class="tier followauthors" data-skeleton-tier="av"></div>@@ -76928,15 +76953,15 @@ function Xje() {${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = is(rs), F5.setGridCards = (e) => gs(L("#grid"), () => {L("#grid").innerHTML = `<div class="grid">${e}</div>`;}), F5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), F5.managementPlaceholder = (e) => u2(e, {- followLayout: zje(),+ followLayout: Hje(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(Bje())+ }))(Uje())}), F5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", F5.entityShapesReady = null, F5.ENTITY_SHAPES_WAIT = 400, F5.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = EV(decodeURIComponent(t.pathname))?.title;- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, p9();+ let t = new URL(e, location.origin), n = wV(decodeURIComponent(t.pathname))?.title;+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, m9();};}//#endregion@@ -76948,7 +76973,7 @@ var z5 = (e) => e.replace(/[&<>"']/g, (e) => ({"\"": ""","'": "'"})[e]);-function Zje(e, t, n) {+function eMe(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-${z5(r)}"/></svg>`;@@ -76957,7 +76982,7 @@ function Zje(e, t, n) {}//#endregion//#region src/application/filter-scroll.js-function Qje(e, t, n, r = !1) {+function tMe(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -76999,19 +77024,19 @@ var B5 = {mobileFilterPath: void 0};function V5({ manage: e = !0, placeholder: t = "" } = {}) {- L("#stats").hidden = !1, L("#index").hidden = !0, R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? X5() : (Z5(""), h9()), t && f2(L("#stats"), t);+ L("#stats").hidden = !1, L("#index").hidden = !0, z7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? X5() : (Z5(""), g9()), t && f2(L("#stats"), t);}function H5() {X.hideCatalogCombo(), L5(), document.body.classList.remove("entity-open", "index-open");}function U5() {- document.body.classList.remove("entity-open", "index-open"), BV(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Y8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", C7(), X5(), Q5();+ document.body.classList.remove("entity-open", "index-open"), RV(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Y8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", w7(), X5(), Q5();}-function $je() {+function nMe() {Q.route("/"), U5();}function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {- m9({+ h9({content: e.length || t.length || n ? {kind: "follow",tags: e.map(([e, t]) => ({@@ -77035,10 +77060,10 @@ function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {});}function G5(e) {- aNe({- ...x9(),+ sNe({+ ...S9(),...e- }), m9({ filters: $.followSidebarFilters() });+ }), h9({ filters: $.followSidebarFilters() });}function K5() {return matchMedia("(max-width:760px)").matches;@@ -77047,53 +77072,53 @@ function q5(e) {let t = L("#drawer"), n = !e && t.contains(document.activeElement);t.inert = !e && K5(), 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 eMe() {+function rMe() {K5() && q5(!1);}-function tMe() {+function iMe() {Bl === null && (Zl({ runtimeConfigurable: !1 }), z("/healthz").then((e) => {Zl({ runtimeConfigurable: !!e.configurable }), Bl && Y5() && X5();}).catch(() => {}));}function J5(e = "", t = !1) {- if (!t && !lV(location.pathname)) {- let t = YV.navigation;- YV.push(dV(e), { settingsBackground: {+ if (!t && !sV(location.pathname)) {+ let t = qV.navigation;+ qV.push(lV(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && XV(dV(e), {+ } else !t && e && JV(lV(e), {replace: !0,- state: YV.navigation.location.state+ state: qV.navigation.location.state});- return e ||= uV(location.pathname), OAe(B5.settingsHost()).then((t) => (t.open(e), t));+ return e ||= cV(location.pathname), jAe(B5.settingsHost()).then((t) => (t.open(e), t));}-function nMe() {- lV(location.pathname) && (fV(YV.navigation.location.state) ? YV.go(-1) : Q.navigatePath("/", !0));+function aMe() {+ sV(location.pathname) && (uV(qV.navigation.location.state) ? qV.go(-1) : Q.navigatePath("/", !0));}-function rMe() {+function oMe() {return {scroll: L("#drawerScroll"),store: Z.settingsStore,navCatalog: B5.NAV_CATALOG,- navOn: s7,- navTo: c7,- toggleChip: (e, t, n) => S7((r) => {+ navOn: c7,+ navTo: l7,+ toggleChip: (e, t, n) => C7((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) => S7((n) => {+ setDuration: (e, t) => C7((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]), q5(!1), y9(b9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), b9(x9());},selectFollowTag: (e) => {- $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), y9(b9());+ $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), b9(x9());},selectFollowProvider: (e) => G5({ provider: $.followProviders.has(e) ? "" : e }),setFollowDuration: (e, t) => G5({@@ -77105,31 +77130,31 @@ function rMe() {}};}-function iMe() {+function sMe() {let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = Zje(Z.appSettings.sidebarOrder, B5.NAV_CATALOG, s7), e.querySelector("[data-sidebar-head]").append(...t), Y.listen(e, "click", (e) => {+ e.innerHTML = eMe(Z.appSettings.sidebarOrder, B5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), Y.listen(e, "click", (e) => {if (d8()) return;let t = e.target.closest?.("[data-nav]");- t && c7(t.dataset.nav);- }), kAe(rMe()).then((e) => e.render(B5.sidebarProps)).catch(() => {});+ t && l7(t.dataset.nav);+ }), MAe(oMe()).then((e) => e.render(B5.sidebarProps)).catch(() => {});}-async function aMe() {+async function cMe() {let e = Y, t = null;try {t = await z("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && aA(t, (e) => Z.settingsEffects[e]?.());+ e.isActive && rA(t, (e) => Z.settingsEffects[e]?.());}function Y5() {return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (W.state === "ads" ? "cleanup" : "");}function X5() {let e = Y5();- tMe(), e && L5(), L("#count").classList.toggle("no-tagbar", !!e), h9(), e !== "trash" && (E5.trashCount = null), Z5(e);+ iMe(), e && L5(), L("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (E5.trashCount = null), Z5(e);}-function oMe(e) {+function lMe(e) {return {section: e,path: decodeURIComponent(location.pathname),@@ -77140,16 +77165,16 @@ function oMe(e) {}function Z5(e = Y5()) {Q5();- let t = oMe(e), n = m8();+ let t = lMe(e), n = m8();if (n) n.render(t);else {- let e = xce(t);+ let e = Sce(t);e !== B5.manageHeaderSkeleton && (B5.manageHeaderSkeleton = e, B5.manageHeaderRoot().innerHTML = e);}- let r = aP(t)?.title || "";+ let r = iP(t)?.title || "";r !== B5.lastManagePageLabel && (B5.lastManagePageLabel = r, r && hs(B5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function sMe() {+function uMe() {let e = B5.manageHeaderRoot();Y.listen(e, "click", (e) => {if (m8()) return;@@ -77158,12 +77183,12 @@ function sMe() {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]") && M7();- }), AAe({+ } else e.target.closest?.("[data-empty-trash]") && N7();+ }), NAe({root: e,openManage: $5,openDataCleanup: () => Q.navigatePath("/data-cleanup"),- emptyTrash: M7+ emptyTrash: N7}).then(() => Z5()).catch(() => {});}function Q5() {@@ -77174,53 +77199,53 @@ function Q5() {}function $5(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", Ql(), Q.route(l$()), U5(), h9(), j7());+ t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", Ql(), Q.route(l$()), U5(), g9(), M7());}function e7() {let e = decodeURIComponent(location.pathname);return e === "/" ? W.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? W.jav === "1" || Wl : !1;}-function cMe(e = e7()) {- let t = kk.filter(([e]) => e !== "seed");- return e ? [Ak, ...t] : t;+function t7(e = e7()) {+ let t = Dk.filter(([e]) => e !== "seed");+ return e ? [Ok, ...t] : t;}-function t7() {+function n7() {return decodeURIComponent(location.pathname) === "/" && W.jav !== "1";}-function n7() {- return _A(t7());+function r7() {+ return hA(n7());}-function lMe(e) {- Moe(e), i7(), L("#grid").hidden || q7();+function dMe(e) {+ Poe(e), a7(), L("#grid").hidden || J7();}-function r7(e) {- TA(e), i7(), q7();+function i7(e) {+ CA(e), a7(), J7();}-function i7() {+function a7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {- e.checked = e.value === n7();- }), X.catalogFilterProps && w7({ layout: E7() });-}-function uMe(e) {- Noe(e), i7(), q7();+ e.checked = e.value === r7();+ }), X.catalogFilterProps && T7({ layout: D7() });}-async function a7() {- D8(), X.mixRelatedCache.clear(), await Promise.all([o7(), j7()]);+function fMe(e) {+ Foe(e), a7(), J7();}async function o7() {+ D8(), X.mixRelatedCache.clear(), await Promise.all([s7(), M7()]);+}+async function s7() {if (r5.entityPageCurrent() && !L("#index").hidden) {a5({ revision: ++r5.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);- if (EV(e)?.reload === "reopen" || e === "/follow") {+ if (wV(e)?.reload === "reopen" || e === "/follow") {Zl({ pageOpens: Hl + 1 });return;}let t = Q.routeMeta(e);- t?.route.reload ? await t.route.reload() : await I7();+ t?.route.reload ? await t.route.reload() : await L7();}-function s7(e) {+function c7(e) {let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = B5.DIRECT_MANAGE_NAV[e];if (r) return Y5() === r;if (e === "manage") {@@ -77229,8 +77254,8 @@ function s7(e) {}return e === "jav" ? t === "/jav" || e7() : e === "shorts" ? W.orient === "竖屏" : e === "" ? t === "/" && !Y5() && !W.state && !e7() && W.orient !== "竖屏" : Jt[e] ? n === e && W.orient !== "竖屏" : n ? n === e : t === "/" && W.state === e && W.orient !== "竖屏";}-function c7(e) {- if (eMe(), B5.DIRECT_MANAGE_NAV[e]) {+function l7(e) {+ if (rMe(), B5.DIRECT_MANAGE_NAV[e]) {$5(B5.DIRECT_MANAGE_NAV[e]);return;}@@ -77243,23 +77268,23 @@ function c7(e) {return;}if (e === "") {- g7();+ _7();return;}let t = Jt[e] ? null : Q.routePathOf("nav", e);- t ? Q.openRoutePath(t) : (e === "shorts" ? (W.orient = "竖屏", W.state = "") : (W.orient = "", W.state = e), Ql(), Q.route(h7()), U5(), h9(), j7());+ t ? Q.openRoutePath(t) : (e === "shorts" ? (W.orient = "竖屏", W.state = "") : (W.orient = "", W.state = e), Ql(), Q.route(g7()), U5(), g9(), M7());}-function l7() {+function u7() {let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);Dl && Al !== E5.currentSelectSurface() && O5(!1, !0);let n = t.length > 1 && Object.prototype.hasOwnProperty.call($t, t[0]), r = Zt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";L("#selectMode").hidden = !i, L("#density").hidden = !a, u5(), !i && Dl && O5(!1, !0);}-function dMe() {+function pMe() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);(t !== B5.mobileFilterHost || location.pathname !== B5.mobileFilterPath) && (B5.mobileFilterScroll = null), B5.mobileFilterHost = t, B5.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\"]");- B5.mobileFilterScroll = Qje(B5.mobileFilterScroll, n, innerWidth <= 760, r);+ B5.mobileFilterScroll = tMe(B5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {let e = n === t && B5.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;@@ -77273,64 +77298,64 @@ function dMe() {});}}-function fMe() {- dMe(), [".board-filter-frame", "#count"].forEach((e) => {+function mMe() {+ pMe(), [".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 u7() {+function d7() {B5.stickyFrame ||= Y.frame(() => {- B5.stickyFrame = 0, fMe();+ B5.stickyFrame = 0, mMe();});}-function pMe() {+function hMe() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), Y.handler(L("#filterBtn"), "onclick", () => q5(!L("#drawer").classList.contains("open"))), B5.SIDEBAR_ITEMS = O8, B5.MANAGE_SECTIONS = k8, B5.MANAGE_MENU_SECTIONS = A8, B5.manageMenuSections = () => KAe(Bl === !0), B5.OPTIONAL_SIDEBAR_ITEMS = j8, B5.NAV_CATALOG = qAe, B5.DIRECT_MANAGE_NAV = JAe, B5.settingsHost = () => ({- selectSection: (e) => XV(dV(e), {+ }), Y.handler(L("#filterBtn"), "onclick", () => q5(!L("#drawer").classList.contains("open"))), B5.SIDEBAR_ITEMS = O8, B5.MANAGE_SECTIONS = k8, B5.MANAGE_MENU_SECTIONS = A8, B5.manageMenuSections = () => YAe(Bl === !0), B5.OPTIONAL_SIDEBAR_ITEMS = j8, B5.NAV_CATALOG = XAe, B5.DIRECT_MANAGE_NAV = ZAe, B5.settingsHost = () => ({+ selectSection: (e) => JV(lV(e), {replace: !0,- state: YV.navigation.location.state+ state: qV.navigation.location.state}),- closed: nMe,+ closed: aMe,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => mo(e),navCatalog: B5.NAV_CATALOG,- themeOptions: Ooe,- videoLayouts: dA,+ themeOptions: Aoe,+ videoLayouts: lA,followInitialRanges: M8,- videoLayout: () => n7(),- setVideoLayout: uMe,- censored: Z7,- setCensored: IMe,+ videoLayout: () => r7(),+ setVideoLayout: fMe,+ censored: Q7,+ setCensored: RMe,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: LMe,+ setHighContrast: zMe,receipt: (e) => x8.actionReceipt(e),failure: x8.actionFailure,- syncRemote: (e) => aA(e, (e) => Z.settingsEffects[e]?.()),+ syncRemote: (e) => rA(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),configurable: () => z("/healthz").then((e) => (Zl({ runtimeConfigurable: !!e.configurable }), Bl)).catch(() => null)- }), Y.handler(L("#settingsBtn"), "onclick", () => void J5()), B5.lastManagePageLabel = "", B5.manageHeaderSkeleton = "", B5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, B5.scrollT = null, B5.stickyFrame = 0, B5.mobileFilterScroll = null, B5.mobileFilterHost = null, B5.mobileFilterPath = "", Y.listen(document, "focusin", u7), Y.listen(document, "focusout", u7), Y.listen(window, "scroll", () => {- u7(), location.pathname === "/follow" && C9() && Zl({ followScrollY: scrollY }), window.__scrolling = !0, cl(), clearTimeout(B5.scrollT), B5.scrollT = Y.delay(() => {+ }), Y.handler(L("#settingsBtn"), "onclick", () => void J5()), B5.lastManagePageLabel = "", B5.manageHeaderSkeleton = "", B5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, B5.scrollT = null, B5.stickyFrame = 0, B5.mobileFilterScroll = null, B5.mobileFilterHost = null, B5.mobileFilterPath = "", Y.listen(document, "focusin", d7), Y.listen(document, "focusout", d7), Y.listen(window, "scroll", () => {+ d7(), location.pathname === "/follow" && w9() && Zl({ followScrollY: scrollY }), window.__scrolling = !0, cl(), clearTimeout(B5.scrollT), B5.scrollT = Y.delay(() => {window.__scrolling = !1;}, 180);- }, { passive: !0 }), Y.listen(window, "resize", u7, { passive: !0 }), Y.handler(L("#scrim"), "onclick", () => q5(!1));+ }, { passive: !0 }), Y.listen(window, "resize", d7, { passive: !0 }), Y.handler(L("#scrim"), "onclick", () => q5(!1));}//#endregion//#region src/catalog-filter-skeleton.ts-var d7 = 64, f7 = (e) => e.replace(/[&<>"]/g, (e) => ({+var f7 = 64, p7 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), p7 = (e) => e.repeat(d7);-function mMe(e, t, n) {- let r = e.map((e) => `<a href="${f7(e.href)}" data-catalog-view="${f7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${f7(e.label)}</a>`).join("");- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + p7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + p7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + `</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(d7) + `</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>${Ho()}</span>` + (n ? n5(n.sorts, n.layout) : "") + "</div></div></div></div>";+})[e]), m7 = (e) => e.repeat(f7);+function gMe(e, t, n) {+ let r = e.map((e) => `<a href="${p7(e.href)}" data-catalog-view="${p7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${p7(e.label)}</a>`).join("");+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + m7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + m7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + `</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(f7) + `</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>${Ho()}</span>` + (n ? n5(n.sorts, n.layout) : "") + "</div></div></div></div>";}//#endregion//#region src/application/catalog.js@@ -77369,40 +77394,40 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function hMe() {- X.initialParams.has("loc") || (W.loc = m7(W.loc), Ql());+function _Me() {+ X.initialParams.has("loc") || (W.loc = h7(W.loc), Ql());}-function m7(e) {- return LAe(e, Z.sourceOnline);+function h7(e) {+ return BAe(e, Z.sourceOnline);}-function h7(e = W) {- return RAe(e);+function g7(e = W) {+ return VAe(e);}-function gMe() {- Zl(C8(zAe(W, Z.appSettings, x8.rollSeed))), D8();+function vMe() {+ Zl(C8(HAe(W, Z.appSettings, x8.rollSeed))), D8();}-function g7(e = null, t = !1) {- gMe(), e && (Object.assign(W, e), Ql()), Q.route(e ? h7() : "/"), X.clearSearchField(), r9(!1), U5(), h9(), j7(), t && window.scrollTo({+function _7(e = null, t = !1) {+ vMe(), e && (Object.assign(W, e), Ql()), Q.route(e ? g7() : "/"), X.clearSearchField(), i9(!1), U5(), g9(), M7(), t && window.scrollTo({top: 0,behavior: "smooth"});}-function _Me(e, t = null) {+function yMe(e, t = null) {let n = e.id;- !e.medium || e.medium === "video" ? s9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : k5(n);+ !e.medium || e.medium === "video" ? c9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : k5(n);}-function _7(e) {+function v7(e) {return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, z("/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 vMe(e, t) {- n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : v7(e, t);+function bMe(e, t) {+ n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : y7(e, t);}-function v7(e, t) {- e.edition_group ? WMe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? GMe(e.part_group.seed_id, e.id, !0, t) : s9(e.id, !0, null, t);+function y7(e, t) {+ e.edition_group ? KMe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? qMe(e.part_group.seed_id, e.id, !0, t) : c9(e.id, !0, null, t);}-async function yMe(e, t) {+async function xMe(e, t) {try {let n = await z("/api/watch-later", {method: "POST",@@ -77419,7 +77444,7 @@ async function yMe(e, t) {x8.actionFailure("更新稍后看", e);}}-async function bMe(e, t) {+async function SMe(e, t) {try {await z("/api/batch", {method: "POST",@@ -77427,7 +77452,7 @@ async function bMe(e, t) {ids: [e.id],operation: t})- }), await I7();+ }), await L7();let n = t === "restore" ? "dispose" : "restore";x8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {await z("/api/batch", {@@ -77437,14 +77462,14 @@ async function bMe(e, t) {operation: n,...n === "dispose" ? { disposal_reason: e.disposal_reason ?? null } : {}})- }), await I7();+ }), await L7();} });} catch (e) {throw x8.actionFailure("操作", e), e;}}-async function xMe(e, t, n, r) {- let i = Number(e.rating) || 0, a = RM(i, t), o = async (t, r) => {+async function CMe(e, t, n, r) {+ let i = Number(e.rating) || 0, a = LM(i, t), o = async (t, r) => {let i = (await z("/api/feedback", {method: "POST",body: JSON.stringify({@@ -77458,12 +77483,12 @@ async function xMe(e, t, n, r) {};try {let e = await o(a, r);- x8.actionReceipt(e ? `已评 ${IM(e)} 星` : "已取消评分", { undo: () => o(i) });+ x8.actionReceipt(e ? `已评 ${FM(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {throw r?.aborted || x8.actionFailure("评分", e), e;}}-async function y7(e) {+async function b7(e) {let t = new URLSearchParams();if (e7() && 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" && W.state && t.set("state", W.state), e.type !== "item") {let e = r5.activeFilterState();@@ -77486,9 +77511,9 @@ async function y7(e) {e[n] && t.set(n, e[n]);});}- return WAe(t.toString(), X.topsQueryParams(e).toString());+ return qAe(t.toString(), X.topsQueryParams(e).toString());}-function SMe() {+function wMe() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");@@ -77500,32 +77525,32 @@ function SMe() {behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth"});}-function b7(e) {- o5().type !== "entity" && w7({ tags: O7(e) }), m9({ filters: { ...e } }), F7();+function x7(e) {+ o5().type !== "entity" && T7({ tags: k7(e) }), h9({ filters: { ...e } }), I7();}-async function x7(e) {- let t = ++X.facetCountsSeq, [n] = await y7(e);- t === X.facetCountsSeq && (e.type === "home" && (e9.facets = n), m9({ latest: X7(n, e) }));+async function S7(e) {+ let t = ++X.facetCountsSeq, [n] = await b7(e);+ t === X.facetCountsSeq && (e.type === "home" && (t9.facets = n), h9({ latest: Z7(n, e) }));}-function S7(e) {- SMe();+function C7(e) {+ wMe();let t = o5();if (t.type === "entity") {let n = { ...t.filters };- e(n), c5(t.kind, t.name, n), b7(n), x7(o5());+ e(n), c5(t.kind, t.name, n), x7(n), S7(o5());} else if (t.type === "item") {let t = r5.cloneBarsContext(wl);- if (r9(!1), Zl({ detailReturnBarsContext: null }), t && t.type === "entity") {- e(t.filters), c5(t.kind, t.name, t.filters) ? j7() : Zl({ pageOpens: Hl + 1 });+ if (i9(!1), Zl({ detailReturnBarsContext: null }), t && t.type === "entity") {+ e(t.filters), c5(t.kind, t.name, t.filters) ? M7() : Zl({ pageOpens: Hl + 1 });return;}e(W), Zl({ barsContext: {type: "home",filters: W- } }), Q.route(h7()), U5(), j7();- } else e(W), Ql(), Q.route(h7()), b7(W), x7(Cl);+ } }), Q.route(g7()), U5(), M7();+ } else e(W), Ql(), Q.route(g7()), x7(W), S7(Cl);}-function CMe() {+function TMe() {return {tiers: null,empty: !1,@@ -77542,94 +77567,94 @@ function CMe() {combo: [],comboHidden: !0,comboHost: L("#combo"),- actions: T7(),+ actions: E7(),helpers: {- wireDrag: $7,+ wireDrag: e9,wireScroller: (e) => {e && Hs(e);}}};}-function C7() {- X.catalogFilterProps && w7({});+function w7() {+ X.catalogFilterProps && T7({});}-function w7(e) {+function T7(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 || CMe(),+ ...X.catalogFilterProps || TMe(),...e- }, !X.catalogFilterMounting && (FV(t) ? zV(t, e) : (!t.firstChild && !n && (t.innerHTML = mMe(X.catalogViews(), X.catalogFilterProps.state, D7()), Ts(t)), X.catalogFilterMounting = RV("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (NV(t) ? LV(t, e) : (!t.firstChild && !n && (t.innerHTML = gMe(X.catalogViews(), X.catalogFilterProps.state, O7()), Ts(t)), X.catalogFilterMounting = IV("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => zV(t, X.catalogFilterProps)).finally(() => {+ }).then(() => LV(t, X.catalogFilterProps)).finally(() => {X.catalogFilterMounting = null;})));}-function T7() {+function E7() {return {currentHref: () => {- let e = new URL(h7(), location.origin);+ let e = new URL(g7(), location.origin);return e.searchParams.set("loc", W.loc || ""), e.searchParams.set("thumb", W.thumb || "0"), e.searchParams.set("sort", W.sort || ""), e.searchParams.set("dir", W.dir || ""), e.pathname + e.search;},openEntity: (e, t) => v5(e, t),setView: (e) => {- W.state = e, Ql(), w7({ state: e }), Q.route(h7()), j7();+ W.state = e, Ql(), T7({ state: e }), Q.route(g7()), M7();},- toggleTag: (e) => N7(e),- clearFilter: (e) => S7((t) => {+ toggleTag: (e) => P7(e),+ clearFilter: (e) => C7((t) => {t[e] = "";}),- clearAll: () => S7((e) => {+ clearAll: () => C7((e) => {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = Ik(e, W.sort, W.dir);- t && (W.sort = t.sort, W.dir = t.dir, Ql(), Y7());+ let t = Pk(e, W.sort, W.dir);+ t && (W.sort = t.sort, W.dir = t.dir, Ql(), X7());},- reshuffle: () => FMe(),+ reshuffle: () => LMe(),setLayout: (e) => {- e7() ? r7(e) : lMe(e);+ e7() ? i7(e) : dMe(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await GAe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];- return e === "performers" ? n.map(k7) : n.map(A7);+ let n = (await JAe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ return e === "performers" ? n.map(A7) : n.map(j7);}};}-function E7() {+function D7() {return e7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: gA(),- options: dA- } : t7() ? {+ value: mA(),+ options: lA+ } : n7() ? {name: "home-layout",label: "首页卡片版式",- value: n7(),- options: dA+ value: r7(),+ options: lA} : null;}-function D7() {+function O7() {return {sorts: s5(W.sort, W.dir),- layout: E7(),+ layout: D7(),state: W.state || "",trash: W.state === "trash"};}-function O7(e) {+function k7(e) {return X.catalogTagRows.map((t) => ({...t,selected: X.tagPressed(e.tag, t.k)}));}-function k7(e) {+function A7(e) {return {name: e.k,ringHtml: `<span data-tier-initial>${B(xn(e.k))}</span>${Ia({@@ -77643,22 +77668,22 @@ function k7(e) {})}`};}-function A7(e) {+function j7(e) {return {name: e.k,fallback: bn(e.k, 2),logo: e.has_logo ? Na(e.k, "icon", e.logo_version) : ""};}-function wMe(e) {- X.catalogFilterProps?.tiers || (X.barsRendered = "", w7({+function EMe(e) {+ X.catalogFilterProps?.tiers || (X.barsRendered = "", T7({tiers: null,state: e.state || ""}));}-async function j7() {+async function M7() {let e = ++X.barsRequestSeq;- if (m9(), !bl(location.pathname) || Cl.type === "item") return;+ if (h9(), !bl(location.pathname) || Cl.type === "item") return;let t = o5(), n = r5.activeFilterState(), r = JSON.stringify([t,n,@@ -77666,18 +77691,18 @@ async function j7() {W.seed || "",e7()]);- wMe(n);- let [i, a] = await y7(t);+ EMe(n);+ let [i, a] = await b7(t);if (e !== X.barsRequestSeq) return;let o = r + "\n" + JSON.stringify([i, a]);if (o === X.barsRendered) {- B5.sidebarCatalog && m9({+ B5.sidebarCatalog && h9({content: B5.sidebarCatalog,filters: { ...n }});return;}- X.barsRendered = o, t.type === "home" && (e9.facets = i);+ X.barsRendered = o, t.type === "home" && (t9.facets = i);let s = i.tags || [];_a(a.performers), _a(a.studios);let c = t.type === "home" && !e7() && !W.state && !W.q && !i.locations.some((e) => e.n > 0);@@ -77691,37 +77716,37 @@ async function j7() {k: e.k,label: fl(e.k),n: e.n ?? null- })), w7({+ })), T7({tiers: {key: String(X.barsRequestSeq),- performers: a.performers.map(k7),- studios: a.studios.map(A7)+ performers: a.performers.map(A7),+ studios: a.studios.map(j7)},empty: c,- tags: O7(n),+ tags: k7(n),tagFirst: d.length + p.length,views: X.catalogViews(),state: n.state || ""- }), F7(), B5.sidebarCatalog = {+ }), I7(), B5.sidebarCatalog = {kind: "catalog",key: String(++B5.sidebarContentSeq),- facets: X7(i, t)- }, m9({+ facets: Z7(i, t)+ }, h9({content: B5.sidebarCatalog,filters: { ...n },latest: null});}-function TMe(e, t) {- e9.total = e, W.state === "trash" && (E5.trashCount = {- total: e9.total,+function DMe(e, t) {+ t9.total = e, W.state === "trash" && (E5.trashCount = {+ total: t9.total,shown: t- }), X5(), w7({ count: {- total: e9.total,+ }), X5(), T7({ count: {+ total: t9.total,shown: t} });}-function M7() {+function N7() {return xc({title: "清空回收站",body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",@@ -77733,17 +77758,17 @@ function M7() {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"));x8.actionReceipt(`已永久删除 ${e.purged} 项`);} finally {- await I7();+ await L7();}}});}-function N7(e) {- S7((t) => {+function P7(e) {+ C7((t) => {t.tag = e ? X.withTagToggled(t.tag, e) : "";});}-function P7(e) {+function F7(e) {let t = [];return e.creator && t.push({kind: "clear",@@ -77763,13 +77788,13 @@ function P7(e) {label: fl(e)})), t;}-function F7() {- w7({- combo: P7(W),+function I7() {+ T7({+ combo: F7(W),comboHidden: !X.catalogOnScreen()});}-async function I7() {+async function L7() {let e = Q.claimSurface(Q.surfacePath());if (Zl({barsContext: {@@ -77777,88 +77802,88 @@ async function I7() {filters: W},detailReturnBarsContext: null- }), r9(!1), W.state === "ads") return OMe(e);- if (X.controller.page === "/junk-files" && R7(), I5(), U5(), Y8(location.pathname) && W.browse !== "folders") {+ }), i9(!1), W.state === "ads") return AMe(e);+ if (X.controller.page === "/junk-files" && z7(), I5(), U5(), Y8(location.pathname) && W.browse !== "folders") {if (await F5.entityShapesReady, !Q.surfaceCurrent(e)) return;- uje();+ pje();} else X8();- return F7(), L("#count").classList.remove("manage-static", "junkcount"), z7(e);+ return I7(), L("#count").classList.remove("manage-static", "junkcount"), B7(e);}-function L7(e) {+function R7(e) {X.controller.settle(e);}-function R7() {+function z7() {let e = L("#grid");- cl(e), BV(e), X.controller.clear(), e.innerHTML = "";+ cl(e), RV(e), X.controller.clear(), e.innerHTML = "";}-function z7(e) {- return U7("/", DMe, e, { place: sNe });+function B7(e) {+ return W7("/", kMe, e, { place: lNe });}-function EMe(e) {- return U7("/junk-files", AMe, e);-}-function B7() {- return !!PV(L("#grid"));+function OMe(e) {+ return W7("/junk-files", MMe, e);}function V7() {- return X.controller.taken(B7());+ return !!MV(L("#grid"));+}+function H7() {+ return X.controller.taken(V7());}-function H7(e) {- zV(L("#grid"), e);+function U7(e) {+ LV(L("#grid"), e);}-function U7(e, t, n, r = {}) {+function W7(e, t, n, r = {}) {let i = L("#grid");- X.controller.page && X.controller.page !== e && R7();- let a = X.controller.begin(e, B7()), o = t();- if (!a.mount) return H7(o), a.settled;+ X.controller.page && X.controller.page !== e && z7();+ let a = X.controller.begin(e, V7()), o = t();+ if (!a.mount) return U7(o), a.settled;cl(i);- let s = () => BV(i);- return a.signal.addEventListener("abort", s, { once: !0 }), RV(e, o, {+ let s = () => RV(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), IV(e, o, {...r,container: i,isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()}).catch((e) => console.error(e)).finally(() => {- a.signal.removeEventListener("abort", s), a.finish(B7());+ a.signal.removeEventListener("abort", s), a.finish(V7());}), a.settled;}-function W7() {- let e = t7();- return CA({+function G7() {+ let e = n7();+ return xA({active: e7() || e,home: e,portrait: W.orient === "竖屏"});}-function G7(e = "正在读取作品") {- return rY(e, K7());-}-function K7() {- return W ? wA(W7()) : 16 / 9;+function K7(e = "正在读取作品") {+ return rY(e, q7());}function q7() {- V7() && (cl(L("#grid")), H7({- layout: W7(),+ return W ? SA(G7()) : 16 / 9;+}+function J7() {+ H7() && (cl(L("#grid")), U7({+ layout: G7(),seekSeconds: Z.appSettings.seekSeconds})), r5.entityPageCurrent() && (cl(L("#index [data-entity-hero]")), a5({- layout: W7(),+ layout: G7(),seekSeconds: Z.appSettings.seekSeconds}));}-function DMe() {+function kMe() {let e = decodeURIComponent(location.pathname), t = Zt(e), n = W.state === "trash";return {mode: "catalog",helpers: X.gridHelpers,actions: X.gridActions,- layout: W7(),+ layout: G7(),wall: e === "/wall",selectMode: Dl,selected: new Set(Tl),seekSeconds: Z.appSettings.seekSeconds,revision: X.controller.revision,- wireDrag: $7,- settled: L7,- skeletonHtml: () => G7(),+ wireDrag: e9,+ settled: R7,+ skeletonHtml: () => K7(),filters: { ...W },batchSize: Z.appSettings.batchSize,groupCollapse: Z.appSettings.groupCollapse,@@ -77866,9 +77891,9 @@ function DMe() {mix: t && e !== "/wall" && !n && W.browse !== "folders",shorts: t && e !== "/wall" && !e7() && W.orient !== "竖屏" && !n && W.browse !== "folders",countRow: L("#count"),- onCount: TMe,- onCountFailed: () => w7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : rK({+ onCount: DMe,+ onCountFailed: () => T7({ count: !1 }),+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : iK({jav: e7() && !t,configurable: Bl,filtered: !t@@ -77876,11 +77901,11 @@ function DMe() {canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function OMe(e) {+function AMe(e) {let t = L("#count");- return X.controller.page === "/junk-files" && B7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (R7(), I5("正在读取垃圾文件")), U5(), F7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), EMe(e);+ return X.controller.page === "/junk-files" && V7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (z7(), I5("正在读取垃圾文件")), U5(), I7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), OMe(e);}-async function kMe(e, t) {+async function jMe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await z("/api/batch", {@@ -77890,7 +77915,7 @@ async function kMe(e, t) {operation: t,...r ? { disposal_reason: "junk" } : {}})- }), await I7();+ }), await L7();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";x8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {await z("/api/batch", {@@ -77899,13 +77924,13 @@ async function kMe(e, t) {ids: n,operation: e})- }), await I7();+ }), await L7();} });} catch (e) {throw x8.actionFailure("操作", e), e;}}-function AMe() {+function MMe() {return {...c$(location.search),helpers: X.junkQueueHelpers,@@ -77915,7 +77940,7 @@ function AMe() {selectMode: Dl,selected: new Set(Tl),countRow: L("#count"),- settled: L7,+ settled: R7,skeletonHtml: () => l2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"@@ -77923,8 +77948,8 @@ function AMe() {canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function jMe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => S8(e, t, Z.appSettings, n), Zl(C8(IAe(location, Z.appSettings, x8.rollSeed))), X.searchValueSnapshot = {+function NMe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => S8(e, t, Z.appSettings, n), Zl(C8(zAe(location, Z.appSettings, x8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {@@ -77945,37 +77970,37 @@ function jMe() {};};}-function MMe() {+function PMe() {Y.handler(L("#wallBtn"), "onclick", () => {O5(!1, !0);let e = o5(), t = {...r5.activeFilterState(),jav: e7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(JG(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(YG(void 0, t));}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = W.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {let n = X.tagList(e), r = n.indexOf(t);return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");}, X.gridHelpers = {badgeHtml: (e, t) => Z.srcBadge(e, t),- titleHtml: (e, t) => lF(e, t),- displayName: (e, t) => cF(e, t),+ titleHtml: (e, t) => cF(e, t),+ displayName: (e, t) => sF(e, t),tagLabel: (e) => fl(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {- let r = await t8(e9.stageHost);+ let r = await t8(t9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},- wallDetails: v7,- open: (e, t) => vMe(e, t),- openResource: (e, t) => n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : _Me(e, t),- openShort: (e) => n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : u9(e.id),- openShorts: () => u9(),- openMix: (e, t) => UMe(e, e, !0, t),+ wallDetails: y7,+ open: (e, t) => bMe(e, t),+ openResource: (e, t) => n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : yMe(e, t),+ openShort: (e) => n8()?.miniplayerTakesCard(e) ? n8().miniplayerPlay(e.id) : d9(e.id),+ openShorts: () => d9(),+ openMix: (e, t) => GMe(e, e, !0, t),openEntity: (e, t) => v5(e, t),- openUnowned: () => g7({ owner: "none" }, !0),+ openUnowned: () => _7({ owner: "none" }, !0),toggleTag: (e) => {- S7((t) => {+ C7((t) => {t.tag = X.tagPressed(t.tag, e) ? "" : e;}), window.scrollTo({top: 0,@@ -77983,11 +78008,11 @@ function MMe() {});},toggleSelection: (e, t) => k5(e, t),- watchLater: (e, t) => yMe(e, t),- rate: (e, t, n, r) => xMe(e, t, n, r),- resourceOperation: (e, t) => bMe(e, t),- mixRelated: (e) => _7(e),- canFlip: () => !Dl && !Z7() && !window.__scrolling && !X.reduceMotion()+ watchLater: (e, t) => xMe(e, t),+ rate: (e, t, n, r) => CMe(e, t, n, r),+ resourceOperation: (e, t) => SMe(e, t),+ mixRelated: (e) => v7(e),+ canFlip: () => !Dl && !Q7() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {let n = new URLSearchParams({n: "60",@@ -78016,22 +78041,22 @@ function MMe() {href: e.k ? Jt[e.k] : "/"})), X.TAGS_FIRST = 26, Y.listen(L("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");- t && !e.defaultPrevented && (e.preventDefault(), T7().setView(t.dataset.catalogView));+ t && !e.defaultPrevented && (e.preventDefault(), E7().setView(t.dataset.catalogView));}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {creator: "创作者",studio: "厂牌",owner: "归属"}, X.hideCatalogCombo = () => {- X.catalogFilterProps && w7({ comboHidden: !0 });+ X.catalogFilterProps && T7({ comboHidden: !0 });};}-function NMe() {+function FMe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {Dl && O5(!1, !0), Q.route(e);},toggleSelection: (e, t) => k5(e, t),- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : s9(e.id, !0, null, t),+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : c9(e.id, !0, null, t),reveal: async (e) => {try {return await z("/api/reveal", {@@ -78042,10 +78067,10 @@ function NMe() {return r5.sourceHint(e.message);}},- operate: (e, t) => kMe(e, t)+ operate: (e, t) => jMe(e, t)};}-X.controller = new BAe();+X.controller = new UAe();//#endregion//#region src/application/preferences.jsvar Z = {@@ -78069,7 +78094,7 @@ var Z = {emptyState: void 0,CENSOR_KEY: void 0};-async function J7() {+async function Y7() {let e = Y;try {let t = await Un(e.signal);@@ -78080,18 +78105,18 @@ async function J7() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), hMe(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), _Me(), Z.sourceOnline;}-function Y7() {+function X7() {let e = Q.surfacePath();- if (!Zt(e) || e === "/junk-files") return I7();+ if (!Zt(e) || e === "/junk-files") return L7();let t = Z.nextCatalogLoad();- return XV(h7(), {+ return JV(g7(), {replace: !0,- state: YV.navigation.location.state+ state: qV.navigation.location.state}), t;}-function PMe(e) {+function IMe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -78112,7 +78137,7 @@ function PMe(e) {cost: "free"};}-function X7(e, t) {+function Z7(e, t) {let n = (e, t = (e) => e.label || fl(e.k)) => (e || []).map((e) => ({value: String(e.k),label: t(e),@@ -78123,7 +78148,7 @@ function X7(e, t) {value: e.k,label: Cn[e.k] || e.k,n: e.n ?? null,- dot: PMe(e.k),+ dot: IMe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -78135,8 +78160,8 @@ function X7(e, t) {duration: !!e.stats?.duration};}-async function FMe(e = !1) {- if (e && (document.hidden || !Zt(decodeURIComponent(location.pathname)) || e9.stageOpen() || e9.immerseOpen() || Dl || Tl.size || document.activeElement === L("#q"))) return !1;+async function LMe(e = !1) {+ if (e && (document.hidden || !Zt(decodeURIComponent(location.pathname)) || t9.stageOpen() || t9.immerseOpen() || Dl || Tl.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;@@ -78145,14 +78170,14 @@ async function FMe(e = !1) {return;}let n = t === "reopen" ? e : "/stats";- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, YV.navigation.location.state) : Q.navigatePath(n);+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, qV.navigation.location.state) : Q.navigatePath(n);} else if (L("#index").hidden) {- W.sort = "seed", W.dir = "", W.seed = x8.rollSeed(), Ql(), D8(), w7({ refreshing: !0 });+ W.sort = "seed", W.dir = "", W.seed = x8.rollSeed(), Ql(), D8(), T7({ refreshing: !0 });try {- let e = Y7();- await null, await Promise.all([e, j7()]);+ let e = X7();+ await null, await Promise.all([e, M7()]);} finally {- w7({ refreshing: !1 });+ T7({ refreshing: !1 });}return e || window.scrollTo({top: 0,@@ -78160,68 +78185,68 @@ async function FMe(e = !1) {}), !0;}}-function Z7() {+function Q7() {return document.body.classList.contains("censor");}-function Q7(e) {+function $7(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function IMe(e) {- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Q7(e), e && cl();+function RMe(e) {+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), $7(e), e && cl();}-function LMe(e) {+function zMe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}-function $7(e) {+function e9(e) {return Hs(e, { drag: !0 });}-function RMe() {- ["#nrow", "#count"].forEach((e) => $7(L(e))), document.querySelectorAll(".tier,.srow").forEach($7);+function BMe() {+ ["#nrow", "#count"].forEach((e) => e9(L(e))), document.querySelectorAll(".tier,.srow").forEach(e9);}-function zMe() {+function VMe() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function BMe() {+function HMe() {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 = iA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), po(Z.appSettings.uiSounds), yo(), cA(), uA(), PA(), LA(), RA(), 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 = {- theme: () => cA(),+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = nA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), po(Z.appSettings.uiSounds), yo(), oA(), cA(), MA(), FA(), IA(), 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 = {+ theme: () => oA(),uiSounds: () => {po(Z.appSettings.uiSounds), Z.appSettings.uiSounds && mo("toggle-on");},- glowFrame: () => IA(),+ glowFrame: () => PA(),glow: () => {- IA(), LA();+ PA(), FA();},batchSize: () => {- location.pathname === "/" && I7();+ location.pathname === "/" && L7();},defaultSort: () => {- W.sort = Z.appSettings.defaultSort, W.dir = Lk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && Y7();+ W.sort = Z.appSettings.defaultSort, W.dir = Fk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && X7();},sortDirection: () => {- W.dir = Lk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && Y7();+ W.dir = Fk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && X7();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {ul(e, "previewing", !1), ul(e, "longhover", !1);}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);},- seekSeconds: () => q7(),- groupCollapse: () => o7(),- feedAutoScroll: () => dje(),+ seekSeconds: () => J7(),+ groupCollapse: () => s7(),+ feedAutoScroll: () => mje(),feedLimit: () => Z8(),feedCompilations: () => Z8(),miniplayer: () => {Z.appSettings.miniplayer || n8()?.closeMiniplayer();},javImage: () => {- Ea(document, Z.appSettings.javImage), q7(), document.querySelectorAll("img[data-jav-image].cover").forEach(Vc), HMe();+ Ea(document, Z.appSettings.javImage), J7(), document.querySelectorAll("img[data-jav-image].cover").forEach(Vc), WMe();},- searchHistoryLimit: () => zV(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => LV(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {...Object.fromEntries(Object.entries(No).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : R(t)])),online: R("rss")@@ -78230,12 +78255,12 @@ function BMe() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${B(r)}" aria-label="${B(r)}">` + (Z.SRCICON[e] || "") + "</span>";}, Z.emptyState = os;}-function VMe() {- Z.CENSOR_KEY = "peach-censor", Q7(localStorage.getItem(Z.CENSOR_KEY) === "1");+function UMe() {+ Z.CENSOR_KEY = "peach-censor", $7(localStorage.getItem(Z.CENSOR_KEY) === "1");}//#endregion//#region src/application/media.js-var e9 = {+var t9 = {total: void 0,facets: void 0,stageHost: void 0,@@ -78246,18 +78271,18 @@ var e9 = {immerseOpen: void 0,requestedImmerseId: void 0};-function t9() {+function n9() {let e = Number(new URLSearchParams(location.search).get("t"));return Number.isFinite(e) && e > 0 ? {time: e,autoplay: !1} : null;}-function n9() {+function r9() {return n8()?.exit() || Promise.resolve();}-function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && g9(), n8()?.dispose({ miniplayer: n }), Zl({+function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {+ Q.queueOpenRequest !== r && _9(), n8()?.dispose({ miniplayer: n }), Zl({activeQueue: null,pendingQueueRoute: null,presentedItem: null@@ -78265,15 +78290,15 @@ function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailOriginAnchor: null,detailOriginAbove: !1,detailReturnNeedsRestore: !1- }), u7(), e && Q.route(jl || "/");+ }), d7(), e && Q.route(jl || "/");}-function HMe() {+function WMe() {n8()?.repaintPoster();}-function i9(e, t, n, r, i = null, a = {}) {+function a9(e, t, n, r, i = null, a = {}) {t = +t;let o = Fl?.kind === e && (e === "playlist" ? Fl.playlistId : Fl.seedId) === t;- r && !o && Zl({ detailReturnPath: location.pathname + location.search }), r && bV();+ r && !o && Zl({ detailReturnPath: location.pathname + location.search }), r && vV();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -78284,38 +78309,38 @@ function i9(e, t, n, r, i = null, a = {}) {fresh: !o};if (a.autoplay && (s.autoplay = !0), r) {- g9();+ _9();let e = Q.queueOpenRequest = {- seq: YV.navigation.seq,+ seq: qV.navigation.seq,cancelled: !1};- Q.requestedQueue = () => s9(n == null ? null : +n, !1, s, i, !0, e), Zl({ queueOpens: Ul + 1 });- } else return s9(n == null ? null : +n, !1, s, i, r);+ Q.requestedQueue = () => c9(n == null ? null : +n, !1, s, i, !0, e), Zl({ queueOpens: Ul + 1 });+ } else return c9(n == null ? null : +n, !1, s, i, r);}-function UMe(e, t = e, n = !0, r = null) {- return i9("mix", e, t, n, r);+function GMe(e, t = e, n = !0, r = null) {+ return a9("mix", e, t, n, r);}-function WMe(e, t = e, n = !0, r = null) {- return i9("editions", e, t, n, r);+function KMe(e, t = e, n = !0, r = null) {+ return a9("editions", e, t, n, r);}-function GMe(e, t = e, n = !0, r = null) {- return i9("parts", e, t, n, r);+function qMe(e, t = e, n = !0, r = null) {+ return a9("parts", e, t, n, r);}-function a9(e, t = null, n = !0) {- return i9("playlist", e, t, n);+function o9(e, t = null, n = !0) {+ return a9("playlist", e, t, n);}-function o9() {+function s9() {return !!L("#grid").querySelector("[data-id],[data-mix-seed]") || !L("#index").hidden || !L("#stats").hidden;}-async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {+async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {if (a?.cancelled) return;- if (a || g9(), t && !n) {- Zl({ detailReturnPath: location.pathname + location.search }), _9("/assets/" + +e, "item", () => s9(e, !1, null, r));+ if (a || _9(), t && !n) {+ Zl({ detailReturnPath: location.pathname + location.search }), v9("/assets/" + +e, "item", () => c9(e, !1, null, r));return;}cl(), e = e == null ? null : +e;- let o = r?.isConnected ? r : Ml?.isConnected ? Ml : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Nl, c = o9(), l = Pl || !t && !c, u = Cl.type === "item" ? wl : r5.cloneBarsContext(o5());- t ? Zl({ detailReturnPath: location.pathname + location.search }) : i || Zl({ detailReturnPath: SV() || jl }), t && bV(), n8()?.showing() !== "item" && r9(!1, !0, {+ let o = r?.isConnected ? r : Ml?.isConnected ? Ml : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Nl, c = s9(), l = Pl || !t && !c, u = Cl.type === "item" ? wl : r5.cloneBarsContext(o5());+ t ? Zl({ detailReturnPath: location.pathname + location.search }) : i || Zl({ detailReturnPath: bV() || jl }), t && vV(), n8()?.showing() !== "item" && i9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), Zl({@@ -78326,70 +78351,70 @@ async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), Zl({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, CV("item"));- let d = await t8(e9.stageHost);+ } }), Zl({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, xV("item"));+ let d = await t8(t9.stageHost);if (a?.cancelled) return;let f = a ? {- ...e9.itemDetailActions,+ ...t9.itemDetailActions,present: (e, t) => {- a.cancelled || e9.itemDetailActions.present(e, t);+ a.cancelled || t9.itemDetailActions.present(e, t);},redirect: (e) => {- a.cancelled || e9.itemDetailActions.redirect(e);+ a.cancelled || t9.itemDetailActions.redirect(e);}- } : e9.itemDetailActions;+ } : t9.itemDetailActions;await d.open({kind: "item",id: e,queue: n,relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,- helpers: e9.itemDetailHelpers,+ helpers: t9.itemDetailHelpers,actions: f,grid: {helpers: X.gridHelpers,actions: X.gridActions},- layout: W7(),+ layout: G7(),selectMode: Dl,selected: new Set(Tl),seekSeconds: Z.appSettings.seekSeconds,- resume: t || e == null ? null : t9()- }), u7();+ resume: t || e == null ? null : n9()+ }), d7();}-async function c9() {+async function l9() {let e = r5.cloneBarsContext(wl), t = jl || "/", n = Pl;- await n9(), r9(!1, !1, { miniplayer: !1 }), Zl({ detailReturnBarsContext: null }), xV(), Zl({ barsContext: e || {+ await r9(), i9(!1, !1, { miniplayer: !1 }), Zl({ detailReturnBarsContext: null }), yV(), Zl({ barsContext: e || {type: "home",filters: W- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Zl({ pageOpens: Hl + 1 }) : (j7(), location.pathname === "/playlists" && Zl({ pageOpens: Hl + 1 })));+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Zl({ pageOpens: Hl + 1 }) : (M7(), location.pathname === "/playlists" && Zl({ pageOpens: Hl + 1 })));}-async function l9(e, t = !0) {+async function u9(e, t = !0) {if (t) {- Zl({ detailReturnPath: location.pathname + location.search }), _9("/works/" + encodeURIComponent(e), "jav", () => l9(e, !1));+ Zl({ detailReturnPath: location.pathname + location.search }), v9("/works/" + encodeURIComponent(e), "jav", () => u9(e, !1));return;}- let n = YV.navigation.seq, r = r5.cloneBarsContext(o5()), i = !o9(), a = SV() || (i ? "/jav?tab=discover" : jl) || "/jav?tab=discover";- n8()?.showing() !== "jav" && r9(!1, !0, { miniplayer: !1 }), Zl({+ let n = qV.navigation.seq, r = r5.cloneBarsContext(o5()), i = !s9(), a = bV() || (i ? "/jav?tab=discover" : jl) || "/jav?tab=discover";+ n8()?.showing() !== "jav" && i9(!1, !0, { miniplayer: !1 }), Zl({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), cl();- let [o, s] = await Promise.all([t8(e9.stageHost), V("/healthz")]);- YV.navigation.seq === n && (await o.open({+ let [o, s] = await Promise.all([t8(t9.stageHost), V("/healthz")]);+ qV.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,actions: {- close: () => void c9(),+ close: () => void l9(),navigate: (e) => Q.navigatePath(e),canonicalCode: (t) => {- YV.navigation.seq === n && t && t !== e && XV("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ qV.navigation.seq === n && t && t !== e && JV("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: YV.navigation.location.state+ state: qV.navigation.location.state});},openTag: (e) => {- S7((t) => {+ C7((t) => {t.tag = e;}), window.scrollTo({top: 0,@@ -78398,47 +78423,47 @@ async function l9(e, t = !0) {},receipt: (e) => x8.toast({ text: e })}- }), u7());+ }), d7());}-async function u9(e = null, t = !0) {- t ? (e9.requestedImmerseId = e, Q.route("/immerse")) : (n8()?.closeMiniplayer(), await (await DAe(e9.immerseHost)).open(e));+async function d9(e = null, t = !0) {+ t ? (t9.requestedImmerseId = e, Q.route("/immerse")) : (n8()?.closeMiniplayer(), await (await AAe(t9.immerseHost)).open(e));}-function KMe() {- e9.total = 0, e9.facets = null, e9.stageHost = {+function JMe() {+ t9.total = 0, t9.facets = null, t9.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),toast: (e, t) => x8.toast({ text: e }, t),- loadSourceStatus: () => J7(),+ loadSourceStatus: () => Y7(),offlineReason: (e) => Z.offlineReason(e)},sourceOffline: (e) => Z.sourceOffline(e),expand: (e, t, n) => {- e === "follow" ? E9(t, !0, n) : s9(t, !0);+ e === "follow" ? D9(t, !0, n) : c9(t, !0);},- openItem: (e) => void s9(e)- }, e9.stageOpen = () => !!n8()?.isOpen();+ openItem: (e) => void c9(e)+ }, t9.stageOpen = () => !!n8()?.isOpen();}-function qMe() {- e9.itemDetailHelpers = {+function YMe() {+ t9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => lF(e),- displayName: (e) => cF(e),+ titleHtml: (e) => cF(e),+ displayName: (e) => sF(e),javImage: () => Z.appSettings.javImage,tagLabel: (e) => fl(e),isDurationTag: (e) => En.has(e),- tagCandidates: () => e9.facets && e9.facets.tags || [],+ tagCandidates: () => t9.facets && t9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),relatedSkeletonHtml: () => l2("正在读取推荐", {cards: !0,className: "related-skeleton"}),- mixRelated: (e) => _7(e),- wireDrag: (e) => $7(e),+ mixRelated: (e) => v7(e),+ wireDrag: (e) => e9(e),wireDragReorder: (e, t) => _c(e, t)- }, e9.itemDetailActions = {- close: () => c9(),+ }, t9.itemDetailActions = {+ close: () => l9(),present: (e) => {Zl({ presentedItem: e });let t = wl;@@ -78446,66 +78471,66 @@ function qMe() {type: "item",id: e.id,filters: t?.type === "entity" ? { ...t.filters } : r5.emptyEntityFilters()- } }), Il && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Il}`, !1, CV("item")), Zl({ pendingQueueRoute: null })), j7();+ } }), Il && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Il}`, !1, xV("item")), Zl({ pendingQueueRoute: null })), M7();},redirect: (e) => {let t = !!Il;e.kind === "follow" ? (Q.queueOpenRequest = null, Zl({pendingQueueRoute: null,followDetailReturnPath: jl || "/"- }), Q.route(`/posts/${e.id}`, !t, CV("follow")), E9(e.id, !1, null, !0)) : e.kind === "item" ? s9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? y9("/playlists") : x5() : r9(!1);+ }), Q.route(`/posts/${e.id}`, !t, xV("follow")), D9(e.id, !1, null, !0)) : e.kind === "item" ? c9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? b9("/playlists") : x5() : i9(!1);},- openQueueItem: (e, t, n = !0) => void i9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),+ openQueueItem: (e, t, n = !0) => void a9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {let e = Ll;if (!e) return;let t = Fl;- t ? i9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : s9(e.id, !1);+ t ? a9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : c9(e.id, !1);},- checkSource: async (e) => (await J7())[e] !== !1,+ checkSource: async (e) => (await Y7())[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", y9(b9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", b9(x9());},openEntity: (e, t) => v5(e, t),- openUnowned: () => g7({ owner: "none" }, !0),- openRegion: (e) => g7({ region: e || "none" }, !0),+ openUnowned: () => _7({ owner: "none" }, !0),+ openRegion: (e) => _7({ region: e || "none" }, !0),openTag: (e) => {- S7((t) => {+ C7((t) => {t.tag = e;}), window.scrollTo({top: 0,behavior: "smooth"});},- addToPlaylist: (e) => Tje(e),- saveMix: (e) => wje(e),- editPlaylist: () => y9("/playlists"),- openPlaylists: () => y9("/playlists"),+ addToPlaylist: (e) => Oje(e),+ saveMix: (e) => Dje(e),+ editPlaylist: () => b9("/playlists"),+ openPlaylists: () => b9("/playlists"),reveal: (e) => p5(e),- sync: (e) => gje(e),+ sync: (e) => yje(e),trashChanged: async (e, t) => {- W.state === "ads" && (t || e === "trash") && (t || (xV(), r9(!0, !1, { miniplayer: !1 })), await I7());+ W.state === "ads" && (t || e === "trash") && (t || (yV(), i9(!0, !1, { miniplayer: !1 })), await L7());},toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),failure: (e, t) => x8.actionFailure(e, t)- }, e9.immerseHost = {+ }, t9.immerseHost = {filters: () => W,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => cF(e),+ displayName: (e) => sF(e),route: (e) => Q.route("/immerse?id=" + e, !0),- closed: () => g7(),- openItem: (e) => void s9(e),+ closed: () => _7(),+ openItem: (e) => void c9(e),openEntity: (e, t) => v5(e, t),- openUnowned: () => g7({ owner: "none" }, !0),+ openUnowned: () => _7({ owner: "none" }, !0),toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),warn: (e) => x8.toast({ text: e }, { sound: "warning" }),failure: (e, t) => x8.actionFailure(e, t)- }, e9.immerseOpen = () => !!a8()?.isOpen(), Y.handler(L("#immerseBtn"), "onclick", () => u9());+ }, t9.immerseOpen = () => !!a8()?.isOpen(), Y.handler(L("#immerseBtn"), "onclick", () => d9());}//#endregion//#region src/application/tutorial.js-var d9 = {+var f9 = {postSetupTutorialDone: void 0,postSetupTutorialNeedsReopen: void 0,postSetupTutorialTasks: void 0,@@ -78514,29 +78539,29 @@ var d9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function JMe() {- Lc(), await d9.writePostSetupTutorialDone(!1), await f9();+async function XMe() {+ Lc(), await f9.writePostSetupTutorialDone(!1), await p9();}-async function f9() {+async function p9() {let e = L("#postSetupTutorial");if (!e) return;let t = () => {e.hidden = !0, e.innerHTML = "", delete e.dataset.tutorialSignature, e.removeAttribute("aria-busy");};- if (d9.postSetupTutorialNeedsReopen && (d9.postSetupTutorialNeedsReopen = !1, await d9.writePostSetupTutorialDone(!1).catch(() => {})), Dc() !== "pending" || await d9.readPostSetupTutorialDone()) {+ if (f9.postSetupTutorialNeedsReopen && (f9.postSetupTutorialNeedsReopen = !1, await f9.writePostSetupTutorialDone(!1).catch(() => {})), Dc() !== "pending" || await f9.readPostSetupTutorialDone()) {t();return;}let n = Fc();e.hidden = !1, e.setAttribute("aria-busy", "true"), e.firstElementChild || (e.innerHTML = `<article class="post-setup-notification post-setup-loading">${R("compass")}<p>正在检查安装进度…</p></article>`);try {- let r = await d9.postSetupTutorialTasks();+ let r = await f9.postSetupTutorialTasks();if (!Ic(n)) return;let i = new Set(r.map((e) => e.key)), a = new Set([...jc()].filter((e) => i.has(e)));Mc(a);let o = r.filter((e) => !a.has(e.key)), s = o.filter((e) => !e.done);if (!s.length) {- Oc("complete"), t(), await d9.writePostSetupTutorialDone(!0).catch(() => {});+ Oc("complete"), t(), await f9.writePostSetupTutorialDone(!0).catch(() => {});return;}let c = Nc(o);@@ -78544,7 +78569,7 @@ async function f9() {e.removeAttribute("aria-busy");return;}- e.innerHTML = d9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");+ e.innerHTML = f9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");let l = s[0], u = e.querySelector("[data-tutorial-collapse]"), d = e.querySelector(".post-setup-collapse-body");d.inert = kc(), d.classList.toggle("ui-fcollapse-settled", !d.inert), Y.handler(u, "onclick", () => {let t = e.querySelector(".post-setup-notification"), n = t.dataset.collapsed !== "true";@@ -78553,38 +78578,38 @@ async function f9() {let t = jc(), n = e.dataset.tutorialSkip;t.add(n), Mc(t), x8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {let e = jc();- e.delete(n), Mc(e), Oc("pending"), await f9();- } }), f9();+ e.delete(n), Mc(e), Oc("pending"), await p9();+ } }), p9();}));let f = new Map(o.map((e) => [e.key, e]));e.querySelectorAll("[data-tutorial-task]").forEach((e) => Y.handler(e, "onclick", (t) => {let n = f.get(e.dataset.tutorialTask);- !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), d9.openTutorialTarget(n));- })), Y.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => d9.openTutorialTarget(l));+ !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), f9.openTutorialTarget(n));+ })), Y.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => f9.openTutorialTarget(l));} catch {if (!Ic(n)) return;e.innerHTML = Rc(R("alert")), e.removeAttribute("aria-busy"), Y.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {- delete e.dataset.tutorialSignature, e.innerHTML = "", f9();+ delete e.dataset.tutorialSignature, e.innerHTML = "", p9();}), Y.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function YMe() {- if (Zl({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), d9.postSetupTutorialDone = null, d9.postSetupTutorialNeedsReopen = !1, Vl) {- Oc("pending"), d9.postSetupTutorialDone = !1, d9.postSetupTutorialNeedsReopen = !0;+function ZMe() {+ if (Zl({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), f9.postSetupTutorialDone = null, f9.postSetupTutorialNeedsReopen = !1, Vl) {+ Oc("pending"), f9.postSetupTutorialDone = !1, f9.postSetupTutorialNeedsReopen = !0;let e = new URL(location.href);- e.searchParams.delete("onboarding"), XV(e, {+ e.searchParams.delete("onboarding"), JV(e, {replace: !0,- state: YV.navigation.location.state+ state: qV.navigation.location.state});}{let e = new URL(location.href), t = e.searchParams.get("agentation");- localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), XV(e, {+ localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), JV(e, {replace: !0,- state: YV.navigation.location.state+ state: qV.navigation.location.state})), t === "on" && import("/dev/agentation.js").catch(() => {});}- d9.postSetupTutorialTasks = async () => {+ f9.postSetupTutorialTasks = async () => {let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await z("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);return [{@@ -78637,7 +78662,7 @@ function YMe() {icon: "square-check-big"}];- }, d9.postSetupTutorialHtml = (e, t, n) => {+ }, f9.postSetupTutorialHtml = (e, t, n) => {let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = kc(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}"><a href="${e.href}" data-tutorial-task="${e.key}"><span class="post-setup-check" aria-hidden="true">${e.done ? R("check") : R(e.icon)}</span>@@ -78658,19 +78683,19 @@ function YMe() {<footer><button class="geist-button" type="button" data-tutorial-action="next">继续:${i.label}</button></footer></div></article>`;- }, d9.writePostSetupTutorialDone = async (e) => {- d9.postSetupTutorialDone = e, await z("/api/settings", {+ }, f9.writePostSetupTutorialDone = async (e) => {+ f9.postSetupTutorialDone = e, await z("/api/settings", {method: "POST",body: JSON.stringify({ postSetupTutorialDone: e })});- }, d9.readPostSetupTutorialDone = async () => {- if (d9.postSetupTutorialDone === null) try {- d9.postSetupTutorialDone = (await z("/api/settings")).postSetupTutorialDone === !0;+ }, f9.readPostSetupTutorialDone = async () => {+ if (f9.postSetupTutorialDone === null) try {+ f9.postSetupTutorialDone = (await z("/api/settings")).postSetupTutorialDone === !0;} catch {- d9.postSetupTutorialDone = !1;+ f9.postSetupTutorialDone = !1;}- return d9.postSetupTutorialDone;- }, d9.openTutorialTarget = (e) => {+ return f9.postSetupTutorialDone;+ }, f9.openTutorialTarget = (e) => {e.setupEntry && Zl({ cameFromSetup: !0 }), Q.navigatePath(e.href);};}@@ -78695,11 +78720,11 @@ var Q = {queueOpenRequest: void 0,initialOverlayOpened: void 0};-function p9() {+function m9() {let e = d8();- e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(s7(e.dataset.nav))));+ e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(c7(e.dataset.nav))));}-function m9(e = {}) {+function h9(e = {}) {let t = Q.surfacePath();t !== B5.sidebarSurface && (B5.sidebarSurface = t, B5.sidebarProps = {...B5.sidebarProps,@@ -78710,33 +78735,33 @@ function m9(e = {}) {...e}, d8()?.render(B5.sidebarProps);}-function h9() {- m9(), p9(), l7();-}function g9() {+ h9(), m9(), u7();+}+function _9() {Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Zl({ pendingQueueRoute: null });}-function _9(e, t, n) {- g9(), bV(), Q.requestedOverlay = {+function v9(e, t, n) {+ _9(), vV(), Q.requestedOverlay = {path: e,open: n- }, Q.route(e, !1, CV(t));+ }, Q.route(e, !1, xV(t));}-function v9() {- Q.surfaceEpoch++, X.barsRequestSeq++, F5.syncPageTitle(location.href), m9(), xV(), f9();+function y9() {+ Q.surfaceEpoch++, X.barsRequestSeq++, F5.syncPageTitle(location.href), h9(), yV(), p9();}-function y9(e) {+function b9(e) {Q.route(e), Zl({ pageOpens: Hl + 1 });}-function XMe() {+function QMe() {Q.routeMeta = (e) => {- let t = EV(e);+ let t = wV(e);return t ? { route: t } : null;- }, Q.routePathOf = (e, t) => Object.keys(TV).find((n) => TV[n][e] === t), Q.catalogPage = (e) => Zt(e) || e === "/trash", Q.managedPagePath = (e) => {- let t = EV(e);- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !gV(e) && e !== "/immerse";+ }, Q.routePathOf = (e, t) => Object.keys(CV).find((n) => CV[n][e] === t), Q.catalogPage = (e) => Zt(e) || e === "/trash", Q.managedPagePath = (e) => {+ let t = wV(e);+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !mV(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? u9(zMe()) : e === "/follow" ? T9() : e === "/playlists" || Q.catalogPage(e) ? y9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? Uje() : e) : (O5(!1, !0), y9(M5({+ e === "/immerse" ? d9(VMe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? Kje() : e) : (O5(!1, !0), b9(M5({kind: e.slice(1),q: "",scope: "local",@@ -78745,35 +78770,35 @@ function XMe() {})));};}-function ZMe() {+function $Me() {Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({epoch: Q.surfaceEpoch,path: e,signal: Q.surfaceRequests?.signal- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Y8(e) || X8(), BV(L("#stats"), L("#index")), !Zt(e) && e !== "/trash" && R7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {- Q.surfaceEpoch++, X.barsRequestSeq++, XV(e, {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Y8(e) || X8(), RV(L("#stats"), L("#index")), !Zt(e) && e !== "/trash" && z7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ Q.surfaceEpoch++, X.barsRequestSeq++, JV(e, {replace: t,state: n}), F5.syncPageTitle(e), queueMicrotask(() => {- l7(), Q5(), m9(), f9();+ u7(), Q5(), h9(), p9();});}, Q.navigatePath = (e, t = !1, n) => {- t ? YV.replace(e, n) : YV.push(e, n), queueMicrotask(() => {- l7(), Q5();+ t ? qV.replace(e, n) : qV.push(e, n), queueMicrotask(() => {+ u7(), Q5();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}//#endregion//#region src/jobs.ts-function QMe(e, t, n) {+function eNe(e, t, n) {if (!Number.isFinite(n) || n <= 0) return "";let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;return `<div class="ui-board-job-progress" role="progressbar" aria-label="${B(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${B(e)}<small>${Math.round(i)}%</small></span></div>`;}-function $Me(e, t = 0, n = 0) {- return n > 0 ? QMe(e, t, n) : is(e);+function tNe(e, t = 0, n = 0) {+ return n > 0 ? eNe(e, t, n) : is(e);}-async function eNe(e) {+async function nNe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -78788,14 +78813,14 @@ async function eNe(e) {await t(2e3);}}-function tNe(e) {+function rNe(e) {let t = e.note || ((e) => ts(e, {label: "任务状态",variant: "error"- })), n = e.loading || is, r = e.progress || ((e, t, n) => $Me(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");+ })), n = e.loading || is, r = e.progress || ((e, t, n) => tNe(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;- eNe({+ nNe({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -78845,7 +78870,7 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function nNe(e) {+function iNe(e) {let t = (e.results || []).filter((e) => !e.ok).length;x8.toast({ text: li(e) }, {warn: !!t,@@ -78853,17 +78878,17 @@ function nNe(e) {sound: t ? "warning" : "success",action: {label: "查看",- run: () => T9(!0)+ run: () => E9(!0)}});}-function b9() {- return Xi(x9());+function x9() {+ return Xi(S9());}-function rNe() {+function aNe() {return $.controller.read();}-function x9() {+function S9() {return {status: $.followFilter,media: $.followMediaView,@@ -78878,33 +78903,33 @@ function x9() {seed: $.followSeed};}-function S9(e) {+function C9(e) {$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;}-function iNe() {- let e = PV(L("#stats"));+function oNe() {+ let e = MV(L("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}-function C9() {- return !!iNe();+function w9() {+ return !!oNe();}-function w9(e) {- C9() && zV(L("#stats"), e);+function T9(e) {+ w9() && LV(L("#stats"), e);}-function aNe(e, t = {}) {+function sNe(e, t = {}) {return $.controller.route(e, t);}-function T9(e = !1) {+function E9(e = !1) {$.controller.enter(e);}-async function E9(e, t = !0, n = null, r = !1) {+async function D9(e, t = !0, n = null, r = !1) {if (t) {- !location.pathname.startsWith("/posts/") && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), _9(`/posts/${+e}`, "follow", () => E9(e, !1, n, r));+ !location.pathname.startsWith("/posts/") && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), v9(`/posts/${+e}`, "follow", () => D9(e, !1, n, r));return;}cl(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Zl({ followDetailReturnPath: SV() || "/follow" }), t && bV(), n8()?.showing() !== "follow" && r9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, CV("follow")), await (await t8(e9.stageHost)).open({+ t && i && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Zl({ followDetailReturnPath: bV() || "/follow" }), t && vV(), n8()?.showing() !== "follow" && i9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, xV("follow")), await (await t8(t9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -78912,54 +78937,54 @@ async function E9(e, t = !0, n = null, r = !1) {relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,helpers: $.followFeedHelpers,actions: $.followDetailActions,- resume: t ? null : t9()- }), u7();+ resume: t ? null : n9()+ }), d7();}-async function oNe() {- await n9(), r9(!1, !1, { miniplayer: !1 }), xV(), Q.route(Rl || "/follow"), !(r5.entityPageView && r5.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && C9() ? (rNe(), w9({ view: x9() })) : Zl({ pageOpens: Hl + 1 }));+async function cNe() {+ await r9(), i9(!1, !1, { miniplayer: !1 }), yV(), Q.route(Rl || "/follow"), !(r5.entityPageView && r5.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && w9() ? (aNe(), T9({ view: S9() })) : Zl({ pageOpens: Hl + 1 }));}-function sNe(e) {+function lNe(e) {let t = document.createElement("div");return t.className = "peach-react", gs(e, () => {e.textContent = "", e.append(t);}), t;}-function cNe() {+function uNe() {$.followFeedHelpers = ml({wireDrag: (e) => {- e && $7(e);+ e && e9(e);},wireScroller: (e) => {e && Hs(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: tNe+ jobProgress: rNe}), $.followFeedActions = {loaded: (e) => W5(e),- openDetail: (e) => E9(e),+ openDetail: (e) => D9(e),openAuthor: (e) => Q.navigatePath(en("creator", e)),- toggleSelection: (e, t) => jje(e, t),+ toggleSelection: (e, t) => Pje(e, t),setImagesOnly: (e) => {Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), u5();},setPhotoLayout: (e) => {- EA(e), u5();+ wA(e), u5();},- canFlip: () => !Dl && !Z7() && !window.__scrolling && !X.reduceMotion(),+ canFlip: () => !Dl && !Q7() && !window.__scrolling && !X.reduceMotion(),toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),failure: (e, t) => x8.actionFailure(e, t),- checkReport: (e) => nNe(e)+ checkReport: (e) => iNe(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- n8()?.showing() !== "follow" && (cl(), r9(!1), H5(), !C9() && (Q.claimSurface(Q.surfacePath()), V5({ manage: !1 }), L("#stats").querySelector(".peach-react") && BV(L("#stats")), L("#stats").replaceChildren()));+ n8()?.showing() !== "follow" && (cl(), i9(!1), H5(), !w9() && (Q.claimSurface(Q.surfacePath()), V5({ manage: !1 }), L("#stats").querySelector(".peach-react") && RV(L("#stats")), L("#stats").replaceChildren()));}}, $.followDetailActions = Sl({- view: x9,- adoptView: S9,+ view: S9,+ adoptView: C9,rememberReturn: (e) => Zl({ followDetailReturnPath: e }),- close: () => void oNe(),- open: (e, t, n) => void E9(e, !0, t, n),+ close: () => void cNe(),+ open: (e, t, n) => void D9(e, !0, t, n),drawer: W5,openAuthor: (e) => Q.navigatePath(en("creator", e))}, {@@ -78967,11 +78992,11 @@ function cNe() {failure: x8.actionFailure});}-function lNe() {+function dNe() {$.controller = $i({location: () => location,- view: x9,- adoptView: S9,+ view: S9,+ adoptView: C9,session: () => ({discoverySeed: Gl,revision: Kl,@@ -78985,14 +79010,14 @@ function lNe() {preferences: () => ({selectMode: Dl,selected: El,- photoSize: bA(),- photoLayout: xA(),+ photoSize: vA(),+ photoLayout: yA(),imagesOnly: !!Z.appSettings.followImagesOnly}),- live: C9,- push: w9,+ live: w9,+ push: T9,route: Q.route,- openPage: y9,+ openPage: b9,rollSeed: () => Number(x8.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {@@ -79007,16 +79032,16 @@ function lNe() {}//#endregion//#region src/application/lifecycle.js-var D9 = { overlayScan: void 0 };-function uNe() {- Kbe(), uc(document), $a(document.documentElement, { variant: "page" }), $a(L("#drawerScroll")), D9.overlayScan = 0, Y.mutation(() => {- D9.overlayScan ||= Y.delay(() => {- D9.overlayScan = 0, sc();+var O9 = { overlayScan: void 0 };+function fNe() {+ Ybe(), uc(document), $a(document.documentElement, { variant: "page" }), $a(L("#drawerScroll")), O9.overlayScan = 0, Y.mutation(() => {+ O9.overlayScan ||= Y.delay(() => {+ O9.overlayScan = 0, sc();});}).observe(document.body, {childList: !0,subtree: !0- }), sc(), da(document.body), X.homeHasFeed = cje(), X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, B5.sidebarProps = {+ }), sc(), da(document.body), X.homeHasFeed = dje(), X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, B5.sidebarProps = {content: null,filters: {},latest: null@@ -79028,7 +79053,7 @@ function uNe() {}//#endregion//#region src/react/search/recommendations.ts-async function dNe(e) {+async function pNe(e) {let t = (await Promise.allSettled([e("/api/items?sort=rand&limit=5"),e("/api/jav/discoveries?scope=library&limit=5"),@@ -79052,9 +79077,9 @@ async function dNe(e) {let t = Ii(e);for (let n of ["videos", "images"]) {if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;- let r = Li(e, n), i = l.sources.find((e) => e.id === r.source_id), a = PU(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;+ let r = Li(e, n), i = l.sources.find((e) => e.id === r.source_id), a = FU(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;(n === "images" ? c : s).push({- value: AU(r),+ value: jU(r),id: r.id,who: a.author,href: `/posts/${r.id}`,@@ -79070,7 +79095,7 @@ async function dNe(e) {let u = (t[4]?.items || []).map((e) => ({value: e.k,href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,- avatarHtml: NU(l.sources.filter((t) => t.author_key === e.key), e.k),+ avatarHtml: PU(l.sources.filter((t) => t.author_key === e.key), e.k),subtitle: "关注中的作者"})), d = /* @__PURE__ */ new Map();for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {@@ -79141,7 +79166,7 @@ async function dNe(e) {}//#endregion//#region src/application/search-morph.js-function fNe(e, t, n, r, i, a, o) {+function mNe(e, t, n, r, i, a, o) {let s = a.startsWith("linear(") ? a.slice(7, -1).split(",").map(Number) : [0, 1];return s.map((a, c) => {let l = c / (s.length - 1), u = (e, t) => e + (t - e) * a, d = Math.max(8, Math.min(o - 44, u(e.left, t.left))), f = Math.max(36, Math.min(o - 8 - d, u(e.width, t.width))), p = u(e.height, t.height) + Math.sin(Math.PI * l) * t.height * .12, m = u(e.top + e.height / 2, t.top + t.height / 2);@@ -79157,65 +79182,65 @@ function fNe(e, t, n, r, i, a, o) {}//#endregion//#region src/application/search.js-var O9 = {+var k9 = {searchControl: void 0,searchActions: void 0,searchHelpers: void 0,searchMorph: void 0,searchMorphViewport: void 0};-function k9() {- O9.searchControl?.close();+function A9() {+ k9.searchControl?.close();}-function pNe(e) {+function hNe(e) {let t = e ? Sa({...e,is_jav: !!e.code}, Z.appSettings.javImage) : "";return t === "cover" ? Ha(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";}-function A9() {- O9.searchMorph?.cancel(), O9.searchMorph = null, L(".search").classList.remove("search-morphing");+function j9() {+ k9.searchMorph?.cancel(), k9.searchMorph = null, L(".search").classList.remove("search-morphing");}-function j9(e) {+function M9(e) {let t = L(".search"), n = L("#searchBtn");if (t.classList.contains("open") === e) return;- let r = !!O9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);- A9(), t.classList.remove("open");+ let r = !!k9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);+ j9(), t.classList.remove("open");let o = n.getBoundingClientRect();if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = tc();t.classList.add("search-morphing");- let h = t.animate(fNe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(mNe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"});- O9.searchMorph = h, Y.handler(h, "onfinish", () => {- O9.searchMorph === h && A9();+ k9.searchMorph = h, Y.handler(h, "onfinish", () => {+ k9.searchMorph === h && j9();});}-function mNe() {- return e9.immerseOpen() ? a8().activeVideo() : n8()?.activeVideo() || null;+function gNe() {+ return t9.immerseOpen() ? a8().activeVideo() : n8()?.activeVideo() || null;}-function hNe(e) {+function _Ne(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function gNe() {- O9.searchControl = null, O9.searchActions = {+function vNe() {+ k9.searchControl = null, k9.searchActions = {search: (e) => {- X.rememberSearchValue(), r9(!1), W.q = e, Ql(), Q.route(W.jav === "1" ? h7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);+ X.rememberSearchValue(), i9(!1), W.q = e, Ql(), Q.route(W.jav === "1" ? g7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);},- openItem: (e) => s9(e),+ openItem: (e) => c9(e),openEntity: (e, t) => v5(e, t),openPath: (e) => Q.route(e, !1),openFollow: (e, t, n) => {- $.followMediaView = t, E9(e, !0, n);+ $.followMediaView = t, D9(e, !0, n);}- }, O9.searchHelpers = {- pool: () => nK(W, z),- recommendations: () => dNe(z),- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? H8(e) : pNe(e)}</span>`,+ }, k9.searchHelpers = {+ pool: () => rK(W, z),+ recommendations: () => pNe(z),+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? H8(e) : hNe(e)}</span>`,present: (e) => wo(e),dismiss: (e) => To(e),wireScroller: (e) => Hs(e),@@ -79230,13 +79255,13 @@ function gNe() {text: e.value,scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft})- }, RV("search", {+ }, IV("search", {input: L("#q"),historyLimit: Z.appSettings.searchHistoryLimit,- actions: O9.searchActions,- helpers: O9.searchHelpers,+ actions: k9.searchActions,+ helpers: k9.searchHelpers,expose: (e) => {- O9.searchControl = e;+ k9.searchControl = e;}}, {container: L("#searchMenu"),@@ -79249,19 +79274,19 @@ function gNe() {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function _Ne() {- O9.searchMorph = null, O9.searchMorphViewport = innerWidth, Y.listen.bind(Y, window)("resize", () => {- innerWidth !== O9.searchMorphViewport && (O9.searchMorphViewport = innerWidth, A9());- }, { passive: !0 }), Y.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", A9), Y.handler(L("#searchBtn"), "onclick", () => {- j9(!0), L("#q").focus({ preventScroll: !0 });+function yNe() {+ k9.searchMorph = null, k9.searchMorphViewport = innerWidth, Y.listen.bind(Y, window)("resize", () => {+ innerWidth !== k9.searchMorphViewport && (k9.searchMorphViewport = innerWidth, j9());+ }, { passive: !0 }), Y.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), Y.handler(L("#searchBtn"), "onclick", () => {+ M9(!0), L("#q").focus({ preventScroll: !0 });}), Y.handler(L("#searchBack"), "onclick", () => {- j9(!1), k9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });+ M9(!1), A9(), 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 || j9(!1), k9());+ e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || M9(!1), A9());};Y.listen(document, "pointerdown", e, !0), Y.listen(document, "focusin", e), Y.handler(L("#brandHome"), "onclick", (e) => {- e.preventDefault(), g7(null, !0);+ e.preventDefault(), _7(null, !0);}), Y.listen(document, "keydown", (e) => {if (e.key === "Escape") {let t = c8();@@ -79270,14 +79295,14 @@ function _Ne() {return;}if (!L("#searchMenu").hidden) {- k9();+ A9();return;}- if (e9.immerseOpen()) {+ if (t9.immerseOpen()) {a8().close();return;}- if (e9.stageOpen()) {+ if (t9.stageOpen()) {e.defaultPrevented || (e.preventDefault(), n8().requestClose());return;}@@ -79291,7 +79316,7 @@ function _Ne() {}return;}- if (hNe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (_Ne(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;if (e.key === "ArrowLeft" || e.key === "ArrowRight") {let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);if (t) {@@ -79299,26 +79324,26 @@ function _Ne() {return;}}- let t = mNe();+ let t = gNe();if (t) {if (e.key === "t" || e.key === "T") {e.preventDefault(), n8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), sM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), oM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), oM(t);+ e.preventDefault(), aM(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), Cj(t, ".vjs-mute-control");+ e.preventDefault(), Sj(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), Cj(t, ".vjs-fullscreen-control");+ e.preventDefault(), Sj(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {@@ -79330,7 +79355,7 @@ function _Ne() {}//#endregion//#region src/history/links.ts-function vNe(e) {+function bNe(e) {if (e.defaultPrevented || e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) return null;let t = e.target instanceof Element ? e.target.closest("a[href]") : null;if (!t || t.hasAttribute("download") || t.target && t.target.toLowerCase() !== "_self") return null;@@ -79344,54 +79369,54 @@ function vNe(e) {} catch {return null;}- if (i.origin !== window.location.origin || n.startsWith("#") && gV(i.pathname)) return null;- let a = EV(i.pathname);- return n.startsWith("#") && !a?.section || !hV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;+ if (i.origin !== window.location.origin || n.startsWith("#") && mV(i.pathname)) return null;+ let a = wV(i.pathname);+ return n.startsWith("#") && !a?.section || !pV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;}//#endregion//#region src/application/composition.js-var M9 = {+var N9 = {shellActions: void 0,routing: void 0};-function yNe() {+function xNe() {let e = Y, t = (e) => {- e.kind === "item" ? s9(e.id, !1) : e.kind === "jav" ? l9(e.code, !1) : e.kind === "follow" ? E9(e.id, !1) : i9(e.queue, e.key, e.item, !1);+ e.kind === "item" ? c9(e.id, !1) : e.kind === "jav" ? u9(e.code, !1) : e.kind === "follow" ? D9(e.id, !1) : a9(e.queue, e.key, e.item, !1);};- if (sje(), F5.entityShapesReady = U8(), Yje(), location.pathname === "/") {+ if (uje(), F5.entityShapesReady = U8(), Qje(), location.pathname === "/") {let e = new URLSearchParams(location.search);!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1);}- Y8(decodeURIComponent(location.pathname)) && K8(L("#feedNew")), iMe(), M9.shellActions = {+ Y8(decodeURIComponent(location.pathname)) && K8(L("#feedNew")), sMe(), N9.shellActions = {openSettings: (e) => J5(e, !0),closeSettings: () => c8()?.close(!1),- openItem: (e) => void s9(e),+ openItem: (e) => void c9(e),openEntity: (e, t) => void v5(e, t),openTag: (e) => {- $je(), N7(e);+ nMe(), P7(e);},- openTasteSignal: Cje,+ openTasteSignal: Eje,navigate: (e) => {- let n = new URL(e, location.href), r = hV(n.pathname, n.search);+ let n = new URL(e, location.href), r = pV(n.pathname, n.search);if (r) {let e = r.kind === "queue" ? "item" : r.kind;- _9(n.pathname + n.search + n.hash, e, () => t(r));- } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !gV(location.pathname)) {+ v9(n.pathname + n.search + n.hash, e, () => t(r));+ } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !mV(location.pathname)) {Q.route(e);- let t = YV.navigation.seq;- s6(n.hash, () => YV.navigation.seq === t);+ let t = qV.navigation.seq;+ s6(n.hash, () => qV.navigation.seq === t);} else Q.navigatePath(e);},openManage: $5,managePath: (e) => Q.routePathOf("section", e) || "",- openFollow: () => T9(),+ openFollow: () => E9(),receipt: (e, t) => x8.actionReceipt(e, t),toast: (e, t) => x8.toast(e, t),failure: x8.actionFailure,revealSource: p5,- reopenTutorial: JMe,- routeReview: Eje,- routeFollowManage: Hje,+ reopenTutorial: XMe,+ routeReview: kje,+ routeFollowManage: Gje,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},@@ -79402,22 +79427,22 @@ function yNe() {},exitSelectMode: () => O5(!1, !1),personAvatar: (e, t, n) => j5.personAvatar(e, t, n),- authorAvatar: (e) => Wje(e),- showIndexTags: Gje,+ authorAvatar: (e) => qje(e),+ showIndexTags: Jje,openFollowAuthor: P5,- openFollowTag: Kje,- openPlaylist: (e, t) => void a9(e, t, !0),- canFlip: () => !Dl && !Z7() && !window.__scrolling && !X.reduceMotion(),+ openFollowTag: Yje,+ openPlaylist: (e, t) => void o9(e, t, !0),+ canFlip: () => !Dl && !Q7() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {e === "entity" ? (cl(), Zl({ barsContext: {type: "home",filters: W- } }), U5(), document.body.classList.add("entity-open"), C7(), N5()) : e === "index" ? (cl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), U5(), document.body.classList.add("index-open"), C7(), N5()) : (cl(), Q.claimSurface(t), e === "catalog" ? U5() : (H5(), V5({ manage: e === "management" })));+ } }), U5(), document.body.classList.add("entity-open"), w7(), N5()) : e === "index" ? (cl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), U5(), document.body.classList.add("index-open"), w7(), N5()) : (cl(), Q.claimSurface(t), e === "catalog" ? U5() : (H5(), V5({ manage: e === "management" })));},clearSearch: () => X.clearSearchField(),openImmerse: (e) => {- let t = e9.requestedImmerseId === void 0 ? e : e9.requestedImmerseId;- e9.requestedImmerseId = void 0, u9(t, !1);+ let t = t9.requestedImmerseId === void 0 ? e : t9.requestedImmerseId;+ t9.requestedImmerseId = void 0, d9(t, !1);},openQueueRequest: () => {let e = Q.requestedQueue;@@ -79425,10 +79450,10 @@ function yNe() {},openOverlay: (e) => {let n = Q.requestedOverlay;- Q.requestedOverlay = null, YV.navigation.claimed && (!ZV() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (ZV() && (Q.initialOverlayOpened = !0), t(e));+ Q.requestedOverlay = null, qV.navigation.claimed && (!YV() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (YV() && (Q.initialOverlayOpened = !0), t(e));},closeStage: () => {- e9.stageOpen() && r9(!1);+ t9.stageOpen() && i9(!1);},grid: {helpers: X.gridHelpers,@@ -79436,11 +79461,11 @@ function yNe() {},configurable: () => !!Bl,surfaceShown: (e) => {- e === "index" ? (h9(), u7()) : j7();+ e === "index" ? (g9(), d7()) : M7();},entity: {missing: (e) => {- M9.shellActions.surfaceChanged("entity", location.pathname), _5(e);+ N9.shellActions.surfaceChanged("entity", location.pathname), _5(e);},loading: (e, t, n) => r5.application.loading(e, t, n),props: (e, t, n) => r5.application.addressProps(e, t, n),@@ -79448,53 +79473,53 @@ function yNe() {let r = r5.parseEntityFilters(n);e === "creator" && (r.creator = "");let i = o5();- return i.type !== "entity" || i.kind !== e || i.name !== t || !c5(e, t, r, r5.parseMediaView(n), { push: !1 }) ? !1 : (b7(r), x7(o5()), !0);+ return i.type !== "entity" || i.kind !== e || i.name !== t || !c5(e, t, r, r5.parseMediaView(n), { push: !1 }) ? !1 : (x7(r), S7(o5()), !0);}},follow: $.followFeedShell,catalog: {- defaultLoc: () => m7("local,115"),+ defaultLoc: () => h7("local,115"),open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {- n && (v9(), l7(), Q5()), t && D8(), e === "/trash" ? (X.clearSearchField(), U5()) : (L("#q").value = W.q, X.rememberSearchValue()), h9(), j7(), Z.handOff(I7());+ n && (y9(), u7(), Q5()), t && D8(), e === "/trash" ? (X.clearSearchField(), U5()) : (L("#q").value = W.q, X.rememberSearchValue()), g9(), M7(), Z.handOff(L7());},load: () => {- Z.handOff(I7());+ Z.handOff(L7());},fill: () => {- if (V7() || !ZV() && !L("#grid").querySelector(".catalog-skeleton")) return;+ if (H7() || !YV() && !L("#grid").querySelector(".catalog-skeleton")) return;let e = L("#count");- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), z7(Q.surfaceToken(Q.surfacePath()));+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), B7(Q.surfaceToken(Q.surfacePath()));},release: () => {- R7(), X8();+ z7(), X8();}}- }, M9.routing = !1, e.listen(document, "click", (e) => {- let t = vNe(e);- t && (e.preventDefault(), M9.shellActions.navigate(t));- }), Y.own(YV.listen((e) => {- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !gV(e.location.pathname) && r9(!1), M9.routing && !e.claimed && v9();- })), TAe(M9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), sMe(), Ije(), X5(), Promise.all([- J7(),- aMe(),+ }, N9.routing = !1, e.listen(document, "click", (e) => {+ let t = bNe(e);+ t && (e.preventDefault(), N9.shellActions.navigate(t));+ }), Y.own(qV.listen((e) => {+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !mV(e.location.pathname) && i9(!1), N9.routing && !e.claimed && y9();+ })), OAe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), uMe(), zje(), X5(), Promise.all([+ Y7(),+ cMe(),F5.entityShapesReady]).then(() => {- e.isActive && (F5.wantsDiscoveryBars() && j7().catch((e) => console.error("首页横条装载失败", e)), h9(), RMe(), M9.routing = !0, Zl({ pageOpens: 1 }), v9(), u7());+ e.isActive && (F5.wantsDiscoveryBars() && M7().catch((e) => console.error("首页横条装载失败", e)), g9(), BMe(), N9.routing = !0, Zl({ pageOpens: 1 }), y9(), d7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});}//#endregion//#region src/theme-transition.ts-var N9 = !1;-async function bNe(e, t) {- if (N9) return;+var P9 = !1;+async function SNe(e, t) {+ if (P9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();return;}let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = Math.hypot(Math.max(r, innerWidth - r), Math.max(i, innerHeight - i)) * 2.5, o = document.createElement("style");- o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, N9 = !0, document.head.append(o);+ o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, P9 = !0, document.head.append(o);let s = document.documentElement;s.dataset.themeSnapshot = "true";let c = !1, l = () => {@@ -79505,12 +79530,12 @@ async function bNe(e, t) {} catch {l();} finally {- delete s.dataset.themeSnapshot, o.remove(), N9 = !1;+ delete s.dataset.themeSnapshot, o.remove(), P9 = !1;}}//#endregion//#region src/application/chrome.js-function xNe() {+function CNe() {(() => {let e = Y, t = ["#brandHome",@@ -79572,7 +79597,7 @@ function xNe() {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());}), z("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- gW(t.libraries);+ _W(t.libraries);let n = [["","全部媒体库",@@ -79610,14 +79635,14 @@ function xNe() {(document.querySelector(".top") || m.closest("header")).prepend(h), e.own(() => h.remove());let g = document.createElement("div");g.className = "board-sidebar-foot", e.own(() => g.remove()), g.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${R("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${R("moon")}</button></div>`, g.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), g.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(g), g.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {- t.getAttribute("aria-pressed") !== "true" && bNe(t, () => {- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), cA();+ t.getAttribute("aria-pressed") !== "true" && SNe(t, () => {+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), oA();});- })), cA();+ })), oA();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 = Oo(g, v, _);- e.own(y.dispose), e.own(Voe(v)), MAe({+ e.own(y.dispose), e.own(Uoe(v)), FAe({root: _,store: Z.settingsStore,openDetails: () => {@@ -79761,13 +79786,13 @@ function xNe() {}//#endregion//#region src/application/initialize.js-function P9() {- uNe(), XMe(), Xje(), ZMe(), BMe(), PAe(), jMe(), YMe(), bje(), KMe(), Lje(), MMe(), pje(), Dje(), cNe(), qje(), xje(), lNe(), Jje(), Sje(), pMe(), NMe(), gNe(), qMe(), _Ne(), VMe(), yNe(), xNe(), Y.own(R7), Y.own(g9);+function wNe() {+ fNe(), QMe(), $je(), $Me(), HMe(), LAe(), NMe(), ZMe(), Cje(), JMe(), Bje(), PMe(), gje(), Aje(), uNe(), Xje(), wje(), dNe(), Zje(), Tje(), hMe(), FMe(), vNe(), YMe(), yNe(), UMe(), xNe(), CNe(), Y.own(z7), Y.own(_9);}//#endregion//#region src/ui-kit/middle-truncate.tsvar F9 = "…", I9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, L9 = /* @__PURE__ */ new WeakMap(), R9 = /* @__PURE__ */ new WeakSet(), z9 = null, B9 = null, V9 = /* @__PURE__ */ new Set(), H9 = (e) => I9 ? [...I9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function SNe(e, t) {+function TNe(e, t) {let n = H9(e);if (!n.length || t(e)) return String(e ?? "");let r = 0, i = Math.max(0, n.length - 1), a = F9;@@ -79785,7 +79810,7 @@ var U9 = Object.assign((e, t) => {Number.isFinite(a) && (i += Math.max(0, H9(t).length - 1) * a);let o = parseFloat(n.wordSpacing);return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;-}, { canvas: null }), CNe = (e) => {+}, { canvas: null }), ENe = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -79795,17 +79820,17 @@ var U9 = Object.assign((e, t) => {n === e ? a++ : t > 0 && (i += t, a++);}return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);-}, wNe = (e) => {+}, DNe = (e) => {let t = L9.get(e);if (!t || !e.isConnected) return;- let n = CNe(e), r = n > 0 ? SNe(t.full, (t) => U9(e, t) <= n) : t.full;+ let n = ENe(e), r = n > 0 ? TNe(t.full, (t) => U9(e, t) <= n) : t.full;t.rendered = r, e.textContent !== r && (e.textContent = r);let i = r !== t.full;e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), (!e.hasAttribute("title") || e.dataset.middleTitle === "true") && (e.title = t.full, e.dataset.middleTitle = "true");}, W9 = (e) => {let t = L9.get(e);t && !t.raf && (t.raf = requestAnimationFrame(() => {- t.raf = 0, wNe(e);+ t.raf = 0, DNe(e);}));}, G9 = (e) => {e instanceof HTMLElement && (L9.has(e) || L9.set(e, {@@ -79818,7 +79843,7 @@ var U9 = Object.assign((e, t) => {let t = e;t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);};-function TNe(e = document) {+function ONe(e = document) {B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();let t = V9, n = !0;z9 = new ResizeObserver((e) => e.forEach((e) => {@@ -79893,7 +79918,7 @@ var q9 = ["jav-detail","wants","index"-], ENe = {+], kNe = {catalog: [...q9,...J9,@@ -79914,10 +79939,10 @@ var q9 = ["avatar-choices"]};-function DNe() {+function ANe() {let e = /* @__PURE__ */ new Set(), t = null;return (n, r) => {- for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of ENe[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of kNe[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);@@ -79930,12 +79955,12 @@ function DNe() {})), t || Promise.resolve();};}-function ONe() {+function jNe() {let e = St({- queryKey: dF,- queryFn: ({ signal: e }) => pF(e),- refetchInterval: (e) => fF(e.state.data)- }), t = (0, D.useRef)(void 0), [n] = (0, D.useState)(DNe), r = e.data?.result_versions;+ queryKey: uF,+ queryFn: ({ signal: e }) => fF(e),+ refetchInterval: (e) => dF(e.state.data)+ }), t = (0, D.useRef)(void 0), [n] = (0, D.useState)(ANe), r = e.data?.result_versions;return (0, D.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -79946,54 +79971,54 @@ var X9 = null;function Z9(e) {X9 !== e || e.owners || (X9 = null, e.effects.dispose());}-function kNe() {+function MNe() {if (!X9) {- let e = NAe();+ let e = IAe();X9 = {effects: e,owners: 0- }, e.own(TNe(document)), e.own(() => {+ }, e.own(ONe(document)), e.own(() => {cl(), U.cancelQueries();- }), e.own(EAe), e.own(pme), e.own(So);+ }), e.own(kAe), e.own(hme), e.own(So);}return X9.owners += 1, X9.effects.resume(), X9;}-function ANe() {+function NNe() {let [e, t] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {- let e = X9 === null, n = kNe(), r = wAe(t);+ let e = X9 === null, n = MNe(), r = DAe(t);if (e) try {- P9();+ wNe();} catch (e) {throw r(), n.effects.dispose(), X9 = null, e;}return () => {r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));};- }, []), /* @__PURE__ */ (0, O.jsx)(Ghe, {+ }, []), /* @__PURE__ */ (0, O.jsx)(qhe, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, O.jsx)(ONe, {}) : null+ background: e ? /* @__PURE__ */ (0, O.jsx)(jNe, {}) : null});}var Q9 = /* @__PURE__ */ new WeakMap();-function jNe(e) {+function PNe(e) {let t = Q9.get(e);if (t) return t;- let n = (0, Et.createRoot)(e, Khe);+ let n = (0, Et.createRoot)(e, Jhe);Q9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));- }, (0, Tt.flushSync)(() => n.render(/* @__PURE__ */ (0, O.jsx)(ANe, {}))), n;+ }, (0, Tt.flushSync)(() => n.render(/* @__PURE__ */ (0, O.jsx)(NNe, {}))), n;}//#endregion//#region src/react/bootstrap.tsxg();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");-jNe($9);+PNe($9);//#endregion-export { xI as $2ec61d1d4f780267$export$a8a3e93435678ff9, PI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, rR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, CT as $72abaeab4d80592f$export$78efe591171d7d45, YR as $76d00c5a4edb230a$export$76ccd210b9029917, KR as $76d00c5a4edb230a$export$816b5d811295e6bc, QR as $76d00c5a4edb230a$export$b59bdbef9ce70de2, ez as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, GR as $76d00c5a4edb230a$export$f850895b287ef28e, Mde as $b4f18e3395fe64d7$export$3d96ec278d3efce4, jde as $b4f18e3395fe64d7$export$3e41faf802a29e71, Ode as $b4f18e3395fe64d7$export$b2539bed5023c21c, iz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Fde as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, uw as $ea3928288112382f$export$439d29a4e110a164, gR as $f2ff30fde7b014be$export$3ddf2d174ce01153, CR as $fe21c36db05242bb$export$a98f0dcb43a68a25, wR as $fe21c36db05242bb$export$d7b12c4107be0d61, _fe as $l, BA as ACCENT_CHOICES, fwe as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, pwe as AMANE_BRIDGE_REBUILD_URL, On as ApiError, dW as ArtSlot, J as Button, JF as ButtonLink, Efe as Bx, Bt as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, pr as COLUMN_SORT, l1 as CONFIGURATION_KEY, tX as CONFIGURATION_URL, mwe as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, gi as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, rV as Checkbox, nV as CheckboxGlyph, qB as ChevronSortDown, hZ as Chip, q2 as CloudDownloadDialog, zH as CollapseChevron, RH as CollapseRegion, p$ as CollectionSummary, Gve as DEFAULT_CATEGORY, Mn as DEFAULT_SORT, LQ as DIAGNOSTICS_KEY, Hye as DIRECTORY_TEMPLATE_ERROR, M0 as DISCOVERY_SORTS, V2 as DOWNLOADS_KEY, B2 as DOWNLOADS_URL, TY as DUPLICATES_KEY, cY as DataTableFooter, iY as DataTableFrame, sY as DataTableSort, KH as Disclosure, SDe as DownloadsPanel, cfe as E3, Kve as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, bfe as Ea, Lfe as EmptyFocusButton, Iz as EmptyState, WH as ErrorText, ghe as ExternalLink, cr as FEEDS_KEY, lX as FEED_SCHEDULE_KEY, xke as FLOW_LABEL_X, L3 as FLOW_VIEWBOX, or as FOLLOW_CHECK_KEY, ar as FOLLOW_CREDENTIALS_KEY, M8 as FOLLOW_INITIAL_RANGE_OPTIONS, ir as FOLLOW_MANAGE_KEY, sr as FOLLOW_RESOLVE_KEY, cX as FOLLOW_SCHEDULE_KEY, vhe as Fact, _he as FactList, GH as FieldLabel, R$ as Fieldset, L$ as FieldsetTitle, RF as FilterGlass, zF as FilterGlassRows, LF as FilterIconButton, VF as FilterPill, hhe as Footer, bz as Gg, UF as GlassPill, UH as Help, Dz as HintText, pke as IDLE_POLL_MS, Pve as IDLE_REPAIR, MF as IconButton, Mz as Input, jz as InputBase, dA as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, MX as JUNK_KEY, X3 as JavHeader, Ove as KEEP_LABELS, ur as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, uH as LIBRARY_PROCESSING_KEY, qY as LINKS_KEY, JY as LINK_CHECK_KEY, mye as LINK_KINDS, YY as LINK_PRUNE_KEY, Cn as LOC, Ez as Label, V$ as LibraryProcessingCard, $z as LibraryShortcuts, xH as LinkButton, NH as LoadingDots, ufe as M6, yye as MEDIA_PROCESSING_KEY, dX as MEDIA_PROCESSING_URL, AY as MEDIA_REPAIR_KEY, kY as MEDIA_REPAIR_URL, Bn as MEDIA_SOURCES_KEY, No as MEDIA_SOURCE_ICONS, Rt as MEDIA_SOURCE_OPTIONS, ZB as MENU_ITEM, QB as MENU_ITEM_INTERACTIVE, XB as MENU_POPOVER_SURFACE, CH as MenuDialog, sG as MixCard, Nz as ModalFrame, Ev as MotionConfigContext, Tz as NR, Fz as Note, Nfe as OA, mX as ORGANIZE_KEY, _X as ORPHAN_RECORDS_KEY, yz as OV, fz as P7, ACe as PHASES, nX as PICK_FOLDER_URL, U$ as PLAYLISTS_KEY, mTe as POLICY_COLUMNS, gTe as POLICY_COVER_NOTE, hTe as POLICY_MATRIX, q1 as POLICY_SUMMARY, oY as Pagination, B$ as PathLine, rF as PillTabList, FH as Progress, FY as QUALITY_GOALS_KEY, j$ as REPAIR_CARD_TEXT, jY as REPAIR_LIBRARIES_KEY, SX as RESOURCE_APPLY_KEY, xX as RESOURCE_SCAN_KEY, UCe as RESULT_PANEL, WCe as RESULT_SECTION, Wve as REVIEW_CATEGORIES, jX as REVIEW_COUNTS_KEY, RY as REVIEW_KEY, zY as REVIEW_LABELS, uW as RetryNote, Mfe as Rf, phe as Rows, uwe as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, lwe as SCRAPING_SETTINGS_URL, bU as SEGMENT, yU as SEGMENTED_TRACK, sX as SETTINGS_KEY, rX as SETTINGS_URL, Nn as SORT_DEFAULT_DIR, jn as SORT_OPTIONS, Vt as SOURCE_LABELS, c3 as STATS_KEY, fhe as Section, mhe as SectionSkeleton, vU as SegmentedRadioGroup, nge as SegmentedTabList, KU as Segments, aY as Select, dU as Select$1, p1 as SelectField, fU as SelectItem, Ck as SelectionDock, BH as SettingsCard, dhe as SettingsRow, VH as SettingsSectionLabel, She as SiteLabel, TU as SortDirectionIcon, JU as SortKeys, bQ as SourceAvatar, XH as SourceLabel, qH as SourceMark, HH as Stack, z$ as StatusLabel, P2 as Switch, dF as TASKS_KEY, nke as TASTE_REFRESH_KEY, rke as TASTE_WINDOWS, uX as THUMBNAIL_JOBS_KEY, PX as TRASH_KEY, Ile as TRIGGER_LABELS, YJ as Table, hY as TableColumnControls, gY as TableColumnResizer, vY as TableSelectionHeader, IH as TaskProgress, kz as TextField, Oz as TextFieldContext, vz as Un, _$ as WANTS_KEY, r4 as WantMagnets, Jf as WithPromise, pz as Wt, _z as Xc, wz as Xf, ffe as Xt, lfe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, jfe as aB, qr as addAlias, Kr as addSource, y$ as addWant, V as apiGet, H as apiSend, iA as appSettingsStore, sbe as applyConfirmText, AX as applyLeftovers, obe as applyPlanText, lbe as applyText, cA as applyTheme, Zg as asNumber, Yye as attachOrphan, kr as authorAvatar, jr as authorGroups, Or as authorInitial, Dr as authorName, wq as autoResetPageIndex, La as avatarInner, m3 as bandRows, Uye as baseName, Nve as batchOperate, Ok as boundedPreference, Ave as bulkCloudPreferences, Bz as busyProps, Afe as cB, MDe as cachedMagnetStates, Rf as calcGeneratorVelocity, Qve as canApprove, lf as cancelFrame, ebe as candidateText, MH as cardClass, wA as cardRatio, gz as cc, fi as checkEvidenceGap, di as checkFailures, ni as checkFeeds, vye as checkLine, li as checkReceipt, ui as checkSummary, gwe as checkText, pi as checkedText, NW as clickedBlank, Sve as cloudLocations, O0 as cloudProxySkeleton, Dx as clsx, Cfe as cn, Wm as collectMotionValues, rJ as columnVisibilityFeature, WJ as column_getCanSort, BJ as column_getSortFn, Xve as commonReviewSources, sV as configurationSection, ske as configureTasteBrowser, xc as confirmModal, qK as copyInstancePropertiesWithoutMemos, Aa as coverUrl, Jq as createColumnHelper, rwe as createPlaylist, _i as credentialDone, w0 as credentialsSkeleton, sye as currentReviewRow, eF as cx, Sz as dZ, iye as decisionPayload, aye as decisionReceipt, rye as defaultChoice, awe as deletePlaylist, K1 as diagnosticsSkeleton, RCe as discoveryArtwork, w$ as discoveryKey, BTe as discoveryScore, Eve as distinctName, uye as dropReviewRows, si as dropSources, kfe as du, jve as duplicateVictims, vF as elapsedText, Ia as entityFaceImg, en as entityPath, Sr as errorHeadline, An as errorMessage, B as esc, Sq as expandRowModel, lz as f1, xr as feedIntervalText, e1 as fetchAmaneBridge, zr as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, Rr as fetchCredentials, q$ as fetchCustomSources, RQ as fetchDiagnostics, T$ as fetchDiscoveries, DY as fetchDuplicates, jle as fetchEarlier, Sye as fetchFeedSchedule, $r as fetchFeeds, Lr as fetchFollow, xye as fetchFollowSchedule, IX as fetchJunkSummary, QY as fetchLinkCheck, $Y as fetchLinkPrune, ZY as fetchLinkStats, bye as fetchMediaProcessing, MY as fetchMediaRepair, Vn as fetchMediaSources, hX as fetchOrganize, Fye as fetchOrganizeExample, vX as fetchOrphanRecords, Qr as fetchPending, W$ as fetchPlaylists, IY as fetchQualityGoals, NY as fetchRepairLibraries, Br as fetchResolveJob, wX as fetchResourceApply, CX as fetchResourceScan, WY as fetchReview, FX as fetchReviewCounts, fX as fetchSettings, Q$ as fetchSources, l3 as fetchStats, Vr as fetchSuggestions, pF as fetchTasks, P3 as fetchTaste, cke as fetchTasteJob, Cye as fetchThumbnailJobs, LX as fetchTrashSummary, v$ as fetchWants, Jve as filterReviewRows, xn as firstGrapheme, pK as flexRender, Cke as flowGraph, wke as flowLabel, SOe as fmtCount, hn as fmtDur, _n as fmtSize, Gle as foldRoutine, ii as followFeedByName, lr as followSuggestKey, qle as followupDetail, cf as frame, $de as g4, oJ as getDefaultPaginationState, CA as gridLayout, Ar as groupByAuthor, Wle as groupFollowups, VY as groupReviewRows, ibe as hasChanges, TX as hasResourceRoots, hF as hasResultProblems, mke as historySpan, uz as i2, fke as importTasteExport, T0 as indexersSkeleton, Af as interpolate, x$ as invalidateWants, _F as isActive, br as isBroken, mr as isLayout, hh as isMotionValue, BY as isReviewCategory, Kle as isRoutine, E0 as javBrowserSkeleton, I0 as javContentSkeleton, gA as javLayout, F0 as javTagSkeleton, mbe as junkBreakdown, owe as keepPlaylist, _e as keepPreviousData, Pr as keepSelected, u3 as known, rfe as l7, Ule as latestOfKind, POe as lengthRows, Wn as localTime, ri as lookupFeedActor, ofe as m7, xz as mM, qt as mapLimit, Zr as markItem, h3 as max, MOe as mediumRows, Mle as mergeFinished, g3 as min, fye as mirrorText, Lve as missingToolText, OY as mixedCloudPreferences, EF as momentText, Ry as motion, Km as motionValue, Gye as organizeOutcome, Q0 as overlayHost, hr as pageSizeOf, Nr as pageWindow, In as paginationRange, oi as patchSource, YV as peachHistory, YV as peachHistory$1, nye as pendingGenres, wOe as percentText, Rye as pickOrganizeFolder, Wye as planSummary, d3 as playedFor, EOe as playedItemUrl, fF as pollInterval, ds as popCount, nwe as posterUrl, kW as previewLibraryColor, Lye as previewOrganize, Bve as previewUrl, Hle as problemDestination, yF as progressText, YH as providerIcon, _ye as pruneText, DX as purgeCount, Xye as purgeOrphan, Cz as pv, Ofe as qE, U as queryClient, dz as r2, bke as radarRows, kOe as radialArc, AOe as radialBarSize, OOe as radialCeiling, DOe as radialSlices, Bj as randomId, vke as rankDetail, yke as rankShares, p3 as reachedShare, xF as readableErrorHeadline, VTe as recommendationScore, cye as recordGenre, Qye as recordsText, swe as recreatePlaylist, ewe as refreshPlaylists, tl as relayoutCovers, ci as reloadFollowManage, dye as reloadReview, yTe as rememberShape, Bye as rememberTemplates, Jr as removeAlias, ti as removeFeed, Gr as removeSource, dke as removeTasteSource, b$ as removeWants, Yr as renameAliasGroup, iwe as renamePlaylist, IOe as replayRows, E as require_jsx_runtime, v as require_react, S as require_react_dom, IK as require_with_selector, NCe as resetWants, Fn as resolveFollowSort, Wf as resolveStartTime, twe as resumeAssetId, qve as reviewGroupingOptions, pbe as reviewSummary, Yve as reviewWindow, eye as rowEvidence, UY as rowFieldName, pJ as rowPaginationFeature, PJ as rowSelectionFeature, qJ as rowSortingFeature, HY as rowSubject, tye as rowTags, $ve as rowTitle, efe as s5, Xr as saveCredential, abe as scanLine, Oye as schedulePollInterval, FCe as searchNote, Zve as selectReviewRange, Fr as selectionState, ei as setFeedEnabled, Wr as setSourceEnabled, dV as settingsPath, Tve as sharedNamePrefix, XV as shellNavigate, y8 as showToast, sn as siteMarkUrl, oq as skipFirstRun, tF as sortCx, _r as sortLabel, Ht as sourceDefaultCost, hi as sourceIconUrl, cbe as sourceMeta, ns as spinnerHtml, Df as spring, Rz as spriteGlyph, Hr as startCheck, hye as startLinkCheck, gye as startLinkPrune, zye as startOrganize, Ur as startResolve, nbe as startResourceApply, tbe as startResourceScan, uke as startTasteRefresh, Rle as statusLabel, Ive as statusLine, yr as statusText, TA as storeJavLayout, oye as submitDecision, OF as summaryItems, Yq as tableFeatures, sq as tableMemo, Mr as tableRows, Vle as taskIssues, F3 as tasteDate, gke as tasteDimensions, hke as tasteHours, N3 as tasteKey, ake as tasteRefetchInterval, oke as tasteTime, Uu as time, gfe as tl, Ir as toggleGroup, I3 as topScores, yfe as uo, AH as useAction, RZ as useBackgroundJob, tu as useConstant, FF as useHorizontalScroller, nu as useIsomorphicLayoutEffect, jW as useLibraryTints, Ct as useMutation, iV as useOverlayScrollbar, St as useQuery, A as useQueryClient, Ay as useReducedMotion, Dye as useRunSchedule, Tye as useSaveFollowSchedule, pX as useSaveSettings, kye as useSaveThumbnailMode, JJ as useTable, dY as useTablePreferences, Mve as victimBytes, PCe as wantName, TOe as watchNote, f3 as watchedShare, Hs as wireHorizontalScroller, Vye as withOrganizeJob };+export { yI as $2ec61d1d4f780267$export$a8a3e93435678ff9, MI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, tR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, xT as $72abaeab4d80592f$export$78efe591171d7d45, qR as $76d00c5a4edb230a$export$76ccd210b9029917, WR as $76d00c5a4edb230a$export$816b5d811295e6bc, XR as $76d00c5a4edb230a$export$b59bdbef9ce70de2, QR as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, UR as $76d00c5a4edb230a$export$f850895b287ef28e, Pde as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Nde as $b4f18e3395fe64d7$export$3e41faf802a29e71, Ade as $b4f18e3395fe64d7$export$b2539bed5023c21c, nz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Lde as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, cw as $ea3928288112382f$export$439d29a4e110a164, mR as $f2ff30fde7b014be$export$3ddf2d174ce01153, xR as $fe21c36db05242bb$export$a98f0dcb43a68a25, SR as $fe21c36db05242bb$export$d7b12c4107be0d61, yfe as $l, RA as ACCENT_CHOICES, hwe as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, gwe as AMANE_BRIDGE_REBUILD_URL, On as ApiError, fW as ArtSlot, J as Button, KF as ButtonLink, Ofe as Bx, Bt as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, pr as COLUMN_SORT, l1 as CONFIGURATION_KEY, tX as CONFIGURATION_URL, _we as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, gi as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, tV as Checkbox, eV as CheckboxGlyph, GB as ChevronSortDown, hZ as Chip, q2 as CloudDownloadDialog, BH as CollapseChevron, zH as CollapseRegion, p$ as CollectionSummary, Jve as DEFAULT_CATEGORY, Mn as DEFAULT_SORT, LQ as DIAGNOSTICS_KEY, Gye as DIRECTORY_TEMPLATE_ERROR, M0 as DISCOVERY_SORTS, V2 as DOWNLOADS_KEY, B2 as DOWNLOADS_URL, TY as DUPLICATES_KEY, cY as DataTableFooter, iY as DataTableFrame, sY as DataTableSort, qH as Disclosure, TDe as DownloadsPanel, ufe as E3, Yve as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, Sfe as Ea, zfe as EmptyFocusButton, Pz as EmptyState, GH as ErrorText, vhe as ExternalLink, cr as FEEDS_KEY, lX as FEED_SCHEDULE_KEY, wke as FLOW_LABEL_X, L3 as FLOW_VIEWBOX, or as FOLLOW_CHECK_KEY, ar as FOLLOW_CREDENTIALS_KEY, M8 as FOLLOW_INITIAL_RANGE_OPTIONS, ir as FOLLOW_MANAGE_KEY, sr as FOLLOW_RESOLVE_KEY, cX as FOLLOW_SCHEDULE_KEY, bhe as Fact, yhe as FactList, KH as FieldLabel, R$ as Fieldset, L$ as FieldsetTitle, IF as FilterGlass, LF as FilterGlassRows, FF as FilterIconButton, zF as FilterPill, _he as Footer, vz as Gg, VF as GlassPill, WH as Help, Tz as HintText, gke as IDLE_POLL_MS, Lve as IDLE_REPAIR, AF as IconButton, Az as Input, kz as InputBase, lA as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, MX as JUNK_KEY, X3 as JavHeader, jve as KEEP_LABELS, ur as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, cH as LIBRARY_PROCESSING_KEY, qY as LINKS_KEY, JY as LINK_CHECK_KEY, _ye as LINK_KINDS, YY as LINK_PRUNE_KEY, Cn as LOC, wz as Label, V$ as LibraryProcessingCard, Zz as LibraryShortcuts, SH as LinkButton, PH as LoadingDots, ffe as M6, Sye as MEDIA_PROCESSING_KEY, dX as MEDIA_PROCESSING_URL, AY as MEDIA_REPAIR_KEY, kY as MEDIA_REPAIR_URL, Bn as MEDIA_SOURCES_KEY, No as MEDIA_SOURCE_ICONS, Rt as MEDIA_SOURCE_OPTIONS, YB as MENU_ITEM, XB as MENU_ITEM_INTERACTIVE, JB as MENU_POPOVER_SURFACE, wH as MenuDialog, cG as MixCard, jz as ModalFrame, Ev as MotionConfigContext, Cz as NR, Nz as Note, Ffe as OA, mX as ORGANIZE_KEY, _X as ORPHAN_RECORDS_KEY, _z as OV, uz as P7, NCe as PHASES, nX as PICK_FOLDER_URL, U$ as PLAYLISTS_KEY, _Te as POLICY_COLUMNS, yTe as POLICY_COVER_NOTE, vTe as POLICY_MATRIX, q1 as POLICY_SUMMARY, oY as Pagination, B$ as PathLine, nF as PillTabList, IH as Progress, FY as QUALITY_GOALS_KEY, j$ as REPAIR_CARD_TEXT, jY as REPAIR_LIBRARIES_KEY, SX as RESOURCE_APPLY_KEY, xX as RESOURCE_SCAN_KEY, KCe as RESULT_PANEL, qCe as RESULT_SECTION, qve as REVIEW_CATEGORIES, jX as REVIEW_COUNTS_KEY, RY as REVIEW_KEY, zY as REVIEW_LABELS, dW as RetryNote, Pfe as Rf, hhe as Rows, pwe as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, fwe as SCRAPING_SETTINGS_URL, xU as SEGMENT, bU as SEGMENTED_TRACK, sX as SETTINGS_KEY, rX as SETTINGS_URL, Nn as SORT_DEFAULT_DIR, jn as SORT_OPTIONS, Vt as SOURCE_LABELS, c3 as STATS_KEY, mhe as Section, ghe as SectionSkeleton, yU as SegmentedRadioGroup, ige as SegmentedTabList, qU as Segments, aY as Select, fU as Select$1, p1 as SelectField, pU as SelectItem, xk as SelectionDock, VH as SettingsCard, phe as SettingsRow, HH as SettingsSectionLabel, whe as SiteLabel, EU as SortDirectionIcon, YU as SortKeys, bQ as SourceAvatar, ZH as SourceLabel, JH as SourceMark, UH as Stack, z$ as StatusLabel, P2 as Switch, uF as TASKS_KEY, ake as TASTE_REFRESH_KEY, oke as TASTE_WINDOWS, uX as THUMBNAIL_JOBS_KEY, PX as TRASH_KEY, Lle as TRIGGER_LABELS, YJ as Table, hY as TableColumnControls, gY as TableColumnResizer, vY as TableSelectionHeader, LH as TaskProgress, Dz as TextField, Ez as TextFieldContext, gz as Un, _$ as WANTS_KEY, r4 as WantMagnets, Jf as WithPromise, dz as Wt, hz as Xc, Sz as Xf, mfe as Xt, dfe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, Nfe as aB, qr as addAlias, Kr as addSource, y$ as addWant, V as apiGet, H as apiSend, nA as appSettingsStore, ube as applyConfirmText, AX as applyLeftovers, lbe as applyPlanText, fbe as applyText, oA as applyTheme, Zg as asNumber, Qye as attachOrphan, kr as authorAvatar, jr as authorGroups, Or as authorInitial, Dr as authorName, Tq as autoResetPageIndex, La as avatarInner, m3 as bandRows, Kye as baseName, Ive as batchOperate, Ek as boundedPreference, Nve as bulkCloudPreferences, Rz as busyProps, Mfe as cB, FDe as cachedMagnetStates, Rf as calcGeneratorVelocity, tye as canApprove, lf as cancelFrame, rbe as candidateText, NH as cardClass, SA as cardRatio, mz as cc, fi as checkEvidenceGap, di as checkFailures, ni as checkFeeds, xye as checkLine, li as checkReceipt, ui as checkSummary, ywe as checkText, pi as checkedText, PW as clickedBlank, Tve as cloudLocations, O0 as cloudProxySkeleton, Tx as clsx, Tfe as cn, Wm as collectMotionValues, rJ as columnVisibilityFeature, WJ as column_getCanSort, BJ as column_getSortFn, $ve as commonReviewSources, aV as configurationSection, uke as configureTasteBrowser, xc as confirmModal, JK as copyInstancePropertiesWithoutMemos, Aa as coverUrl, Jq as createColumnHelper, owe as createPlaylist, _i as credentialDone, w0 as credentialsSkeleton, uye as currentReviewRow, $P as cx, bz as dZ, sye as decisionPayload, cye as decisionReceipt, oye as defaultChoice, cwe as deletePlaylist, K1 as diagnosticsSkeleton, VCe as discoveryArtwork, w$ as discoveryKey, UTe as discoveryScore, kve as distinctName, pye as dropReviewRows, si as dropSources, jfe as du, Pve as duplicateVictims, _F as elapsedText, Ia as entityFaceImg, en as entityPath, Sr as errorHeadline, An as errorMessage, B as esc, Cq as expandRowModel, sz as f1, xr as feedIntervalText, e1 as fetchAmaneBridge, zr as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, Rr as fetchCredentials, q$ as fetchCustomSources, RQ as fetchDiagnostics, T$ as fetchDiscoveries, DY as fetchDuplicates, Mle as fetchEarlier, Tye as fetchFeedSchedule, $r as fetchFeeds, Lr as fetchFollow, wye as fetchFollowSchedule, IX as fetchJunkSummary, QY as fetchLinkCheck, $Y as fetchLinkPrune, ZY as fetchLinkStats, Cye as fetchMediaProcessing, MY as fetchMediaRepair, Vn as fetchMediaSources, hX as fetchOrganize, Rye as fetchOrganizeExample, vX as fetchOrphanRecords, Qr as fetchPending, W$ as fetchPlaylists, IY as fetchQualityGoals, NY as fetchRepairLibraries, Br as fetchResolveJob, wX as fetchResourceApply, CX as fetchResourceScan, WY as fetchReview, FX as fetchReviewCounts, fX as fetchSettings, Q$ as fetchSources, l3 as fetchStats, Vr as fetchSuggestions, fF as fetchTasks, P3 as fetchTaste, dke as fetchTasteJob, Eye as fetchThumbnailJobs, LX as fetchTrashSummary, v$ as fetchWants, Zve as filterReviewRows, xn as firstGrapheme, mK as flexRender, Eke as flowGraph, Dke as flowLabel, TOe as fmtCount, hn as fmtDur, _n as fmtSize, Kle as foldRoutine, ii as followFeedByName, lr as followSuggestKey, Jle as followupDetail, cf as frame, tfe as g4, oJ as getDefaultPaginationState, xA as gridLayout, Ar as groupByAuthor, Gle as groupFollowups, VY as groupReviewRows, sbe as hasChanges, TX as hasResourceRoots, mF as hasResultProblems, _ke as historySpan, cz as i2, hke as importTasteExport, T0 as indexersSkeleton, Af as interpolate, x$ as invalidateWants, gF as isActive, br as isBroken, mr as isLayout, hh as isMotionValue, BY as isReviewCategory, qle as isRoutine, E0 as javBrowserSkeleton, I0 as javContentSkeleton, mA as javLayout, F0 as javTagSkeleton, _be as junkBreakdown, lwe as keepPlaylist, _e as keepPreviousData, Pr as keepSelected, u3 as known, afe as l7, Wle as latestOfKind, LOe as lengthRows, Wn as localTime, ri as lookupFeedActor, cfe as m7, yz as mM, qt as mapLimit, Zr as markItem, h3 as max, FOe as mediumRows, Nle as mergeFinished, g3 as min, hye as mirrorText, Bve as missingToolText, OY as mixedCloudPreferences, wF as momentText, Iy as motion, Km as motionValue, Jye as organizeOutcome, Q0 as overlayHost, hr as pageSizeOf, Nr as pageWindow, In as paginationRange, oi as patchSource, qV as peachHistory, qV as peachHistory$1, aye as pendingGenres, DOe as percentText, Vye as pickOrganizeFolder, qye as planSummary, d3 as playedFor, kOe as playedItemUrl, dF as pollInterval, ds as popCount, awe as posterUrl, AW as previewLibraryColor, Bye as previewOrganize, Uve as previewUrl, Ule as problemDestination, vF as progressText, XH as providerIcon, bye as pruneText, DX as purgeCount, $ye as purgeOrphan, xz as pv, Afe as qE, U as queryClient, lz as r2, Cke as radarRows, MOe as radialArc, NOe as radialBarSize, jOe as radialCeiling, AOe as radialSlices, zj as randomId, xke as rankDetail, Ske as rankShares, p3 as reachedShare, yF as readableErrorHeadline, WTe as recommendationScore, dye as recordGenre, tbe as recordsText, uwe as recreatePlaylist, rwe as refreshPlaylists, tl as relayoutCovers, ci as reloadFollowManage, mye as reloadReview, STe as rememberShape, Uye as rememberTemplates, Jr as removeAlias, ti as removeFeed, Gr as removeSource, mke as removeTasteSource, b$ as removeWants, Yr as renameAliasGroup, swe as renamePlaylist, zOe as replayRows, E as require_jsx_runtime, v as require_react, S as require_react_dom, LK as require_with_selector, ICe as resetWants, Fn as resolveFollowSort, Wf as resolveStartTime, iwe as resumeAssetId, Xve as reviewGroupingOptions, gbe as reviewSummary, Qve as reviewWindow, rye as rowEvidence, UY as rowFieldName, pJ as rowPaginationFeature, PJ as rowSelectionFeature, qJ as rowSortingFeature, HY as rowSubject, iye as rowTags, nye as rowTitle, nfe as s5, Xr as saveCredential, cbe as scanLine, jye as schedulePollInterval, RCe as searchNote, eye as selectReviewRange, Fr as selectionState, ei as setFeedEnabled, Wr as setSourceEnabled, lV as settingsPath, Ove as sharedNamePrefix, JV as shellNavigate, y8 as showToast, sn as siteMarkUrl, sq as skipFirstRun, eF as sortCx, _r as sortLabel, Ht as sourceDefaultCost, hi as sourceIconUrl, dbe as sourceMeta, ns as spinnerHtml, Df as spring, Iz as spriteGlyph, Hr as startCheck, vye as startLinkCheck, yye as startLinkPrune, Hye as startOrganize, Ur as startResolve, abe as startResourceApply, ibe as startResourceScan, pke as startTasteRefresh, zle as statusLabel, zve as statusLine, yr as statusText, CA as storeJavLayout, lye as submitDecision, EF as summaryItems, Yq as tableFeatures, cq as tableMemo, Mr as tableRows, Hle as taskIssues, F3 as tasteDate, yke as tasteDimensions, vke as tasteHours, N3 as tasteKey, cke as tasteRefetchInterval, lke as tasteTime, Uu as time, vfe as tl, Ir as toggleGroup, I3 as topScores, xfe as uo, jH as useAction, RZ as useBackgroundJob, tu as useConstant, NF as useHorizontalScroller, nu as useIsomorphicLayoutEffect, MW as useLibraryTints, Ct as useMutation, nV as useOverlayScrollbar, St as useQuery, A as useQueryClient, Oy as useReducedMotion, Aye as useRunSchedule, Oye as useSaveFollowSchedule, pX as useSaveSettings, Mye as useSaveThumbnailMode, JJ as useTable, dY as useTablePreferences, Fve as victimBytes, LCe as wantName, OOe as watchNote, f3 as watchedShare, Hs as wireHorizontalScroller, Wye as withOrganizeJob };-//# debugId=99032ff4-87c0-4448-9107-37f6c03224b8\ No newline at end of file+//# debugId=04416e02-4088-4fb7-ad4a-57a96a3a7bdc\ No newline at end of file